- Dec 19, 2019
-
-
Nikita Ioffe authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
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
-
Muhammad Qureshi authored
This CL is a partial cherrypick of ag/9686088. This is needed because new changes to libstatssocket (that need to be cherrypicked into AOSP) wrap #write_to_statsd() with #write_buffer_to_statsd(). Bug: 143978873 Test: m -j Test: flashes successfully Test: DocumentsUI(a Mainline module) is able to successfully log to statsd Change-Id: I886331f728ccaa3d281b5683eb89179aa73596b6 Merged-In: I9cdc6151d8feb29a712532e50f143af9d52c8d94
-
Sarah Chin authored
Replace with TelephonyUtils.IS_DEBUGGABLE and actual call Test: build Bug: 140908357 Change-Id: I9e33c2fe426521b8e186cb8e1e5bd7be06992b52
-
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
-
Nikita Ioffe authored
If device doesn't support userspace reboot then call to PowerManager.reboot("userspace") will throw an UnsupportedOperationException. For the case of upgrading devices, Treble enforces that previous vendor image should work with the new system image. Since userspace reboot requires services to be stopped and restarted cleanly, which upgrading devices might not be able to comply with, we need to have an API to distinguish between devices that support userspace reboot and the ones that do not. Test: atest PowerManagerTest Test: atest CtsUserspaceRebootHostSideTestCases Bug: 138605273 Bug: 135984674 Change-Id: I8303f43ab29499eb2995f0256854c787055d9560
-
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
-