- Jun 09, 2021
-
-
Allen Su authored
-
- Jun 08, 2021
-
-
Treehugger Robot authored
* changes: cleanups and fixes for process_madvise compaction Avoid unnecessary smaps logic during app compaction CachedAppOptimizer: fix fd leak. Fix function return type Migrate to use process_madvise syscall instead of procfs interface for memory compaction
-
Treehugger Robot authored
-
Sarah Chin authored
-
Sarah Chin authored
-
Edgar Arriaga authored
some fix suggestions that came up on ag/13665789 and some other cleanups 1. Use unique_fd instead of raw int to keep pidfd 2. Return the total compacted bytes on success for compactProcess 3. Fix for error potentially returning a random value 4. Fix truncation that could happen when calling madvise 5. Fail fast after encountering an error instead of silently advancing to other VMAs when compacting. Bug: 162993824 Test: Manual Signed-off-by:
Edgar Arriaga <edgararriaga@google.com> Change-Id: Ide644f66cf0ebdea570dcb365d6a2400ffb18f4e
-
Edgar Arriaga authored
ForEachVma can extract data from both maps and smaps files, however the smaps logic is not used during app compaction. Replace its usage with ForEachVmaFromMaps which reads only maps file and skips any smaps logic. This results in ~22% CPU usage reduction. Test: Manual Bug: 181174877 Signed-off-by:
Edgar Arriaga <edgararriaga@google.com> Change-Id: I165f211c2084676bc7872d190ffad14141f56ea8 Merged-In: I165f211c2084676bc7872d190ffad14141f56ea8
-
Josh Gao authored
errno isn't modified when a syscall returns successfully: this would leak if errno was already non-zero before entering this function. Bug: 172518739 Test: none Change-Id: I38050863ceca226a9c2d143c85e0713c6a6fe511 Merged-In: I38050863ceca226a9c2d143c85e0713c6a6fe511
-
Sarah Chin authored
-
Sarah Chin authored
-
Sarah Chin authored
Prevent retry and continuous set up/fail loop. Test: build Fix: 185609488 Change-Id: I641ff0a9f6d96ba2bcc07cfebf54205d46e0e5ef Merged-In: I641ff0a9f6d96ba2bcc07cfebf54205d46e0e5ef
-
Sarah Chin authored
-
SongFerngWang authored
A list of additional NR advanced band is used to determine which particular band has high data rate capability. The data rate is higher than the generic 5G data rate. Bug: 183652287 Test: build pass Change-Id: I45551902c7f1f4cfdc575b6a6c65351bce85d638 Merged-In: I45551902c7f1f4cfdc575b6a6c65351bce85d638
-
SongFerngWang authored
NetworkTypeController set OVERRIDE_NETWORK_TYPE_NR_ADVANCED when device connect NR and frequency is mmWave. Bug: 179443240 Bug: 179453836 Test: atest frameworks/opt/telephony/src/java/com/android/internal/telephony/NetworkTypeController.java Change-Id: I242e8499a1bb31dcb5a3f0fbae2f8423c8c8f8a0 Merged-In: I242e8499a1bb31dcb5a3f0fbae2f8423c8c8f8a0
-
Remi NGUYEN VAN authored
-
Treehugger Robot authored
-
Greg Kaiser authored
Test: TreeHugger Change-Id: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e Merged-In: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e
-
Edgar Arriaga authored
Currently the system uses procfs and we are migrating to use a syscall called process_madvise which makes the code upstreamable and will allow for making compaction widely available for multiple android devices. It also opens room for future developments that involve a finer grain VMA compressions than the current procfs allows. Test: Ran the system without crashes and verified am_compact was effectively showing compressed memory (free zram reduced) when compressing. Bug: 162993824 Test: Manual, verified that zram was being increased over time after compactions happened Change-Id: I9d9d895aee7fbc46a2f12f6ca080ab8457ea7222 Merged-In: I9d9d895aee7fbc46a2f12f6ca080ab8457ea7222
-
- Jun 07, 2021
-
-
Sarah Chin authored
Bug: 181889657 Test: atest DataConnectionTest Change-Id: I473b6bc3341bc3782b9c53eeca58c2ede18b6702 Merged-In: I473b6bc3341bc3782b9c53eeca58c2ede18b6702
-
Calin Juravle authored
Test: m Change-Id: Ice016370ab5b4a5ce99ca118eaace55426643422
-
Anton Hansson authored
-
Anton Hansson authored
ApiLint tries to only lint "new" APIs, i.e. those introduced since the last frozen API. Using android-non-updatable's last frozen txt does not work well for this, as it is incomplete API surface on its own, so metalava cannot see all APIs that were present in the previous API (such as methods inherited from ART), and so makes the wrong decisions for which APIs are new. Bug: 171506470 Test: m checkapi Change-Id: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44 Merged-In: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44 (cherry picked from commit 4f90aa51)
-
Jeff Sharkey authored
-
Remi NGUYEN VAN authored
-
- Jun 04, 2021
-
-
Treehugger Robot authored
-
Nikita Iashchenko authored
-
Thiébaud Weksteen authored
-
Remi NGUYEN VAN authored
-
Sarah Chin authored
-
Sarah Chin authored
-
Sarah Chin authored
-
Calin Juravle authored
Test: adb shell setprop dalvik.vm.ps-min-save-period-ms 300; Bug: 185979271 Change-Id: I2f30675b335ca0b9b1f1d30144fcdfa4fc680b41
-
Sarah Chin authored
Instead of throwing exceptions, return the default null/empty/void behavior. Test: atest TelephonyManagerTest Fix: 175881713 Change-Id: Ia15c8183212bc67e74b45fc119b5ef9d4c295c94 Merged-In: Ia15c8183212bc67e74b45fc119b5ef9d4c295c94
-
Sarah Chin authored
Test: atest DataConnectionTest, DcTrackerTest Bug: 183979790 Bug: 183739359 Change-Id: I71d30dd27430721f2d9c8b9e488d1e50e65992bb Merged-In: I71d30dd27430721f2d9c8b9e488d1e50e65992bb
-
Sarah Chin authored
Higher priority goes first in mPrioritySortedApnContexts, so change default priority to be higher than enterprise. Test: atest DcTrackerTest Bug: 183738520 Change-Id: Ib2f9594933d00307276f4538714a5354d36baf09 Merged-In: Ib2f9594933d00307276f4538714a5354d36baf09
-
Sarah Chin authored
NoOp instead of return ISE when the device is not CDMA capable. Test: atest TelephonyManagerTest Fix: 175665470 Change-Id: I36d69f4bf337ef9c102327bfe87752c56847af87 Merged-In: I36d69f4bf337ef9c102327bfe87752c56847af87
-
- Jun 03, 2021
-
-
Treehugger Robot authored
-
Shuo Qian authored
Merge "Add KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL for treating *67 and *82 as a temporary mode CLIR when dialing E911"
-
Treehugger Robot authored
-
Julia Reynolds authored
-