- Dec 19, 2019
-
-
Neil Fuller authored
-
Chen Xu authored
-
Fan Zhang authored
-
Jean-Michel Trivi authored
-
Suren Baghdasaryan authored
* changes: Add ION usage into dumpsys report and account ION pools as kernel cache Improve cached kernel memory accounting using meminfo KReclaimable field Add JNI API to query sizes of ION heaps, pools and mapped part of the heaps
-
Fan Zhang authored
Test: manual Bug: 136194151 Change-Id: I5c9732062e5123539343843fb9a9ae3ca7111890 Merged-In: I5c9732062e5123539343843fb9a9ae3ca7111890
-
Treehugger Robot authored
-
Jean-Michel Trivi authored
Fix issue introduced by commit d32a94d2 where in case of an A2DP disconnection, the device was disconnected then reconnected. Bug: 146544156 Test: disconnect A2DP device, check it's not listed in dumpsys media.audio_policy Change-Id: Ic5f9387194d92a7a050e7a295a13a9ae18cd96ce
-
Suren Baghdasaryan authored
Report ION pools, ION mapped and unmapped heap sizes. Account ION pools as kernel reclaimable memory which removes them from the "Lost RAM" category. Bug: 138148041 Test: dumpsys meminfo Change-Id: Ica3e1c3f73656b1b937f2fc58c18e0157e02bf57 Signed-off-by:
Suren Baghdasaryan <surenb@google.com>
-
Suren Baghdasaryan authored
KReclaimable field from /proc/meminfo is designed to represent total amount of memory that kernel can reclaim when needed. This includes reclaimable memory consumed by slab and reported in SReclaimable field as well as ION pools. By using KReclaimable instead of SReclaimable we will account for ION pools currently reported under "Lost RAM" category in dumpsys meminfo report. Bug: 138148041 Test: dumpsys meminfo Change-Id: Ifdea234d05639db93074ab598b81db5ff5b43612 Signed-off-by:
Suren Baghdasaryan <surenb@google.com>
-
Suren Baghdasaryan authored
Provide means for system_server to query ION memory usage. The new API allows to get total size of ION heaps, pools and part of ION heaps that is mapped into user space. Bug: 138148041 Test: dumpsys meminfo Change-Id: I6d76d534bbab5ee1646e8e3e3fe5210dcf76bc23 Merged-In: I6d76d534bbab5ee1646e8e3e3fe5210dcf76bc23 Signed-off-by:
Suren Baghdasaryan <surenb@google.com>
-
Marco Nelissen authored
-
Neil Fuller authored
Extract a simple wrapper around ArrayMap called "ArrayMapWithHistory", with associated tests. TimeDetectorStrategyImpl and TimeZoneDetectorStrategy were duplicating some data structure logic. ArrayMapWithHistory works the same as ArrayMap, but there is a (mostly hidden) history of the values for each map entry. This is useful for debugging. A second class, ReferenceWithHistory, has been included to support the ArrayMapWithHistory class and for use when extending the time / time zone detector strategy implementations: this will be useful as additional sources like GNSS / NTP are added to time detector, and geo-location are added to time zone detection. Bug: 146563025 Bug: 140712361 Test: atest com.android.server.timedetector Test: atest com.android.server.timezonedetector Change-Id: Ia6195cb628679a6a32c0118d2921e699514eed7d
-
Yifan Hong authored
-
Jiyong Park authored
-
Chen Xu authored
-
Marco Nelissen authored
Test: build Change-Id: Ia17176fc4bfd099db5faad2b5f9b9d99a3407d2d
-
Joe Onorato authored
-
Victor Chang authored
Test: treehugger Change-Id: I61366a576e75137cef2b6607cd860cfd16c23869
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Austin Wang authored
-
Junyu Lai authored
-
SongFerng Wang authored
-
Aaron Huang authored
-
Austin Wang authored
This reverts commit a5264903. Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=sdk_phone_armv7-sdk&lkgb=6083299&lkbb=6085371&fkbb=6083313, bug b/146533269 Change-Id: Ie5b031d7b277cf0e09b0a9776b26bf74f5f69e70
-
joker.yang authored
on go device when try to get timestamp, the value over-followed sometimes as a result, GtsIncidentManagerTestCases would fail due to a negative timestamp Bug: 142513252 Change-Id: I7d5e701bb8bf4e788a718e093681f97b95cb8551
-
Suren Baghdasaryan authored
-
markchien authored
".apex" is easy to confuse. Rename as below: apex: com.android.tethering.apex -> com.android.tethering apk: com.android.tethering -> com.android.networkstack.tethering Bug: 146471733 Test: build Change-Id: I2c7647abb996539a3af6cfe0e0214a5e8927c0d6 Merged-In: I2c7647abb996539a3af6cfe0e0214a5e8927c0d6
-
Mark Chien authored
-
Remi NGUYEN VAN authored
-
Jiyong Park authored
The module framework is now a build-only library whose purpose is to provide hidden APIs from the non-updatable part of the platform and APIs from the modules. Merging updatable_media_stub to framework, like the stub libraries from other modules. Bug: N/A Test: m Exempt-From-Owner-Approval: cherry-pick from internal Merged-In: Ib627523aab44b7c41d27d70c6ae34cda5dc2e27c (cherry picked from commit 92721349) Change-Id: Ib627523aab44b7c41d27d70c6ae34cda5dc2e27c
-
Brad Ebinger authored
-
Yifan Hong authored
Such checks uses old libvintf to parse new VINTF metadata, which is not supported. The check is now moved to OTA package build time, so there is no need to check it on the device. Test: builds Bug: 139300422 Change-Id: Ifaec06b5298f698958e5727316bf661d1960d0aa
-
Jayachandran Chinnakkannu authored
-
- Dec 18, 2019
-
-
Suren Baghdasaryan authored
With new KReclaimable stat available in /proc/meminfo include it in getMemInfo results so that it can be accounted in dumpsys meminfo reports. Bug: 138148041 Test: dumpsys meminfo Change-Id: Id475fcc0a63c6fc12ea64e08cec5cd24c83848a5 Signed-off-by:
Suren Baghdasaryan <surenb@google.com>
-
Grace Jia authored
-
Grace Jia authored
Test: manual Bug: 135929421 Change-Id: I63043646bb96b8543849c617ce1ccd41a558f24d
-
Jordan Liu authored
-