platform_apis must be true when sdk_version is empty.
So add platform_apis into file that is not included it.
Bug: 132780927
Test: m
Change-Id: Ie7badd61248bbabaf51ef8fb30bdd832af88da15
If LOCAL_SRC_FILES is not empty then building rro package will fail.
Sometimes LOCAL_SRC_FILES will be not empty by mistake, so delete
LOCAL_SRC_FILES for all rro modules.
Bug: 136694299
Test: treehugger
Change-Id: I2555c97f4ae98f6949837a19b4db4877cb38b607
Merged-In: I2555c97f4ae98f6949837a19b4db4877cb38b607
* changes:
Remove providesRoutesToMostDestinations.
Cherry-pick the relevant parts of master change I566437e4fe10e1346858149120c50b3c20ca073f to avoid a conflict
Makes SystemSuspend native stack traces available in
ANR dumps and adb bugreport.
Bug: 135458700
Test: adb shell am hang; check /data/anr/<anr file>
for android.system.suspend stack traces.
Test: adb shell am hang, adb bugreport,
grep through bug report for suspend stack traces.
(grep -rn "Cmd line: /system/bin/hw/android.system.suspend@1.0-service")
Test: Confirmed that deadlock on suspend/resume path triggers ANR dump.
Simulated deadlock by adding sleep to suspend thread.
Unplug the device lock the screen and wait for suspend to trigger.
Check anr dump and bugreport for stack traces.
Test: Confirmed traces are also available on user builds via adb bugreport.
(adb bugreport pulls data from ANR dump files).
Merged-In: I6be189f11193f12351fcf07c6583dce3402de28d
Merged-In: Id274afd4e3fbe2288ef6d5f6566c2601b8fc0a50
Merged-In: Icfc67c544e8d3fe3ef59ac12801c1a82c5545935
Change-Id: Ia9cb991894e2e0558144936ecee5e95def405e71
See another CL in the topic
Bug: 132428457
Test: builds
Change-Id: I87ba3fb539d0761c515adc8e2d2acc8dfc5e6a9a
Merged-In: If0bd3d368c7373ab0028211a8a4246a9821893af
Tethering may use wrong sub id for entitlement when data
subscription is changed from preferred data sub id to CBRS
sub id. Fix by using the active data sub id for tethering.
Bug: 134994718
Test: -build, flash, boot
-FrameworkNetTests
-manual test with carrier SIMs
Change-Id: Icb3f5eeb2319e50b2dc98369ad152988c934da57
Merged-In: Icb3f5eeb2319e50b2dc98369ad152988c934da57
TestableNetworkCallback will become a standard tool. This patch
and its companion in packages/modules/NetworkStack mostly move
it out of ConnectivityServiceTest, but also applies a few
cleanups like reordering arguments for standard order, renaming
...Like to ...That to match Mockito namings, and introduces
stonger static typing on some callbacks, which allows to remove
some unchecked casts.
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I808a95ac33ec0c81a8829cad36a6917524297574
IApexService.stagePackage is going away (see another CL in this topic).
Bug: 136078302
Test: builds
Change-Id: I0552b4c514b921163d4737304483b39adf834897
Merged-In: If0bd3d368c7373ab0028211a8a4246a9821893af
This change includes the core logic for determining when a
compatibility change is enabled for a given app, and overriding this
for dev/testing. None of this code is integrated into the wider
system yet.
Follow on changes will:
- Read compatibilty changes from disk to construct CompatChange
instances.
- Send the list of disabled changes to each new app process when they
are created.
- Add a new `adb shell am` command for adding/removing package
overrides.
See also go/gating-and-logging for more context.
Test: atest PlatformCompatTest
Bug: 135010838
Change-Id: Ie91b1fe899e1ccb154cd5b5d8e9666c5b163b522
Remove the ability to turn off TimeDetectorService. After
http://r.android.com/1000492 it will be required in all cases.
Also remove [Old|New]NetworkTimeUpdateService as the expected
changes have not been implemented.
Bug: 133492648
Test: build only
Merged-In: Iad7ff59b19fa54750831819c68b7b733e5763902
Change-Id: Iad7ff59b19fa54750831819c68b7b733e5763902
The old logic created a log entry indicating an error when the
actual result was success.
Make the log entry accurate.
Also, ensure that an out-of-space failure is actually reported.
Fixes: 136201068
Test: Manually checked 'adb logcat'
Change-Id: I52110b84496d9fc90bf08d16cb434ea0c979fa04
To allow testing, and work on rooted userdebug devices, allow the root
user to issue package bg-dexopt commands.
Bug: 111798412
Exempt-From-Owner-Approval: cherry-pick
Test: atest BackgroundDexOptServiceIntegrationTests
Merged-In: I5f52b8322ba386c797a9176a1b216cc547c66456
Change-Id: I5f52b8322ba386c797a9176a1b216cc547c66456
- Ensure that calling uid is shell.
- Clear calling identity such that we don't get permission
failures when calling getCurrentUser()
Test: self
Exempt-From-Owner-Approval: cherry-pick
Merged-In: Ifbaceb47edbbc4a6b002d49411ca4635ffc33a08
Change-Id: Ifbaceb47edbbc4a6b002d49411ca4635ffc33a08
Fixes: 111798412
Interface stats on stacked interfaces is usually clatd. For
xt_qtaguid supported device, the stats is already accounted
against its final egress interface by the kernel.
Framework side does not need to handle stats on statcked
interface at all.
However, on devices that support BPF offload, xlat464
packets are seen by the iptables rules as arriving on stack
interface only. Thus, add stack interface into accounting is
needed.
Bug: 136193260
Test: 1. atest FrameworksNetTests
2. atest android.app.usage.cts.NetworkUsageStatsTest
3. manual test on ipv6-only wifi network
Change-Id: I8ebbefbe4df00e40f4896a17fa52c8438d41286e
Extract the logic to downgrade apps from the logic to
optimize apps. This will make easier to add more logic for downgrade
applications as required for b/112144519
Bug: 112144519
Test: This change is cover by the integration tests in
BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java
Merged-In: Ia3ec6198bd8bac9871372ae87994ca0c596e36d7
Change-Id: Ia3ec6198bd8bac9871372ae87994ca0c596e36d7
FrameworksNetTests-jni-defaults lib should only contain jni
dependencies. Remove static_libs/libs from it and update
FrameworksNetTests/FrameworksNetSmokeTests libs as well.
Bug: NA
Test: atest FrameworksNetSmokeTests FrameworksNetTests
Change-Id: I705e949e4c00035c9734b6a240529d1c2216eb6b