- Jun 09, 2021
-
-
Treehugger Robot authored
-
Max Bires authored
-
Treehugger Robot authored
-
Pedro Loureiro authored
-
Pedro Loureiro authored
Test: m nothing Change-Id: I4c7b49e6b5f9b3bec2aba305f8a6eb5e1d0561de
-
zakcohen authored
Grant shell android.permission.GET_TOP_ACTIVITY_INFO for testing Launcher tests that need access to AssistContentRequester in shell context. Bug: 190344718 Test: Local build and flash, ran test Merged-In: I551e0bee413432653f39c91664d716f695311b6f Change-Id: I551e0bee413432653f39c91664d716f695311b6f
-
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
-
Seth Moore authored
Previous releases explicitly check for invalid inputs. These checks were removed with the move to keystore2 -- add them back. Remove old prepareAttestationArguments* methods, as they are no longer referenced. Bug: 188741672 Test: com.google.android.gts.security.DeviceIdAttestationHostTest Change-Id: I4eeec8367ebdfad527395206ab9e89b409e02631 Merged-In: I4eeec8367ebdfad527395206ab9e89b409e02631
-
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
-
Max Bires authored
This file was written on the assumption that bindService was synchronous, which it isn't. This change adds a CountDownLatch to force the class to wait for the binding to finish. Bug: 190222116 Test: atest RemoteProvisionerUnitTests Change-Id: I917a61da612f21f9a0f783bea5d24270d4e1db42 Merged-In: I917a61da612f21f9a0f783bea5d24270d4e1db42
-
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
-