5 Commits

Author SHA1 Message Date
Vladimir Marko
b946a3a339 Change dirty-image-objects file format.
Use actual descriptors instead of "pretty decriptors".

Test: m
Bug: 175869411
Change-Id: Iad3b4c78947e653c24ff80052cc5dc75f5c4b6c7
2021-02-25 12:19:58 +00:00
Chen Xu
fba9ca44a2 make CallerInfo as SystemAPI
1. move CallerInfo from telephony.internal to andorid.telephony package
2. expose APIs inside CallerInfo which are consumed by non-telephony
code.

Bug: 140908357
Test: Build
Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a
(cherry picked from commit b9a1eefec66e8c2cd5ab9dab512bb729ef2caae8)
Merged-in: Ie95897c77e97e40f5357c107aede82edfea44d5a
2019-10-21 21:39:58 -07:00
Mathieu Chartier
4c7291f76c Update dirty-image-objects
Numbers 60s after boot on taimen, saves ~4MB of RAM system wide.

Obtained on apps:
system_server
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.networkstack
com.android.bluetooth
com.google.android.apps.nexuslauncher
com.google.android.gms.persistent
com.google.android.as
com.google.process.gservices
com.google.android.gms
com.google.android.inputmethod.latin

Before (measured processes):
                PSS     Private Dirty
    .Boot art     2538     2300        0        0
    .Boot art     2663     2428        0        0
    .Boot art     1962     1676        0        0
    .Boot art      816      540        0        0
    .Boot art     1297     1032        0        0
    .Boot art     1234      968        0        0
    .Boot art     1751     1496        0        0
    .Boot art     2227     1984        0        0
    .Boot art     1114      844        0        0
    .Boot art      772      492        0        0
    .Boot art     2215     1972        0        0
    .Boot art     1213      912        0        0
System wide
     71,282K: .art mmap
         66,418K: .Boot art
          4,864K: .App art

After:
                PSS     Private Dirty
    .Boot art     2447     2216        0        0
    .Boot art     2477     2256        0        0
    .Boot art     1717     1444        0        0
    .Boot art      799      540        0        0
    .Boot art     1268     1020        0        0
    .Boot art     1196      948        0        0
    .Boot art     1703     1464        0        0
    .Boot art     2094     1864        0        0
    .Boot art     1055      804        0        0
    .Boot art      749      484        0        0
    .Boot art     2096     1868        0        0
    .Boot art     1058      772        0        0
System wide
    67,138K: .art mmap
         62,274K: .Boot art
          4,864K: .App art

Bug: 134776403
Test: Reboot and inspect RAM usage
Change-Id: I5c056565a10b0becc4257f051aecc05cef6247dd
2019-06-13 00:36:14 +00:00
Paul Duffin
ecb6124d54 Remove uses of libcore.io DropBox and EventLogger
DropBox and EventLogger provide hooks for use by framework to intercept
messages sent by libcore. However, neither of these mechanisms are
actually used by libcore so there is no point in framework code using
it.

Bug: 119748341
Test: make checkbuild, flash
Change-Id: I9dbd1b6dea92f7441efb6d0a579efd13bc0e5139
2018-12-14 15:27:05 +00:00
Mathieu Chartier
a023b86c3b Add frameworks base config and move text blobs there
Bug: 64259751
Test: clean oat files && make and flash
Change-Id: I7c898d69e66257fe0a7827ebbab1fcff4aa6473e
2017-08-11 15:21:13 -07:00