- Sep 30, 2019
-
-
Tobias Thierer authored
libcore.net.MimeMap might move to a different package in future, in which case that part of its TEST_MAPPING would move elsewhere. Test: croot frameworks/base/mime && atest Test: croot libcore/luni/src/main/java/libcore/net && atest Bug: 136256059 Change-Id: Id4aa29e6bbda439009bf82376865bff5cf36a6d9
-
- Nov 28, 2018
-
-
Joe Onorato authored
This first CL adds a class, PowerProfile that parses the power profile xml file into a set of individual *Profile classes, one for each of the hardware "components." There will be more to come. This library will be used to compute the power model from a batterystats or statsd dump, with abstractions so clients don't need to know all of the nuances of batterystats' old versions, or statsd's configs. Test: atest frameworks/base/tools/powermodel --host Change-Id: I79802f91234b09539072d10f15534cef391fe04a
-
- Oct 22, 2018
-
-
Eric Holk authored
This is planned to ship on device, so by convention the view_compiler should not be in a tools directory. Change-Id: I0eb03812d77ec38edc3908725acb40bacb345ecd
-
- Oct 01, 2018
-
-
Eric Holk authored
This is an initial step towards a tool for pre-compiling layout XML files. It accepts an XML file and produces a Java language class called CompiledView with a static method, inflate. Calling CompiledView.inflate should then return a view object that is equivalent to calling LayoutInflater.inflate on the same resource. There are still several important limitations, but this works well enough to do some experimentation. The limitations include: * Currently only one layout can be compiled at a time. * `merge` and `include` nodes are not supported. * View compilation is a manual process that requires code changes in the application. * The tests in this CL do not yet exercise any interesting behavior. Bug: 111895153 Change-Id: I3e6880b08c52087d24ae7486495bd7fa282f4ff7
-