Skip to content
Snippets Groups Projects
  1. Sep 30, 2019
    • Tobias Thierer's avatar
      CtsMimeMapTestCases: Run in presubmit for relevant packages. · af561261
      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
      af561261
  2. Nov 28, 2018
    • Joe Onorato's avatar
      Off-device library for the power model. · 9112a5e0
      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
      9112a5e0
  3. Oct 22, 2018
  4. Oct 01, 2018
    • Eric Holk's avatar
      Prototype XML view compiler · c4239ac4
      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
      c4239ac4
Loading