This change ensures that carrier configs are saved as part of the
snapshot, allowing all entities in the VCN to query telephony
subscription information from the same source.
Test: atest FrameworksVcnTests
Change-Id: I31447d84fe98d6bd2cc78ead41746198728c400b
This changes the VCN to allow a VCN provisioning package to retrieve
its listing of configured subgroups and clear its own configurations,
regardless of whether it is the active subscription group.
Safety is guaranteed based on the VCN's clearing of packages when app
data is cleared, and when the app is uninstalled. In addition to the
configurations not being retrievable, the clearing of the configs will
ensure that sideloading of an app with the same package name provides
no ability to otherwise impact settings.
Bug: 227248744
Test: atest FrameworksVcnTests
Change-Id: I2c774c00373942f895169a761d4e9a1d5b0b2edb
Update FLAG_ONLY_ALERT_ONCE docs to match implementation
from Android P and onwards.
Bug: 222328375
Test: atest BuzzBeepBlinkTest
Change-Id: Ic058b8265551362b04b9cd0363e43a4c08ecd736
We often get bugs where testers have executed a LONG list of test steps.
It becomes extremely difficult to know where in the logs corresponds to
which test script step.
This adds a new telecom shell command:
adb shell telecom log-mark Testing 1 2 3
This command adds a USER_LOG_MARK event log item to all ongoing calls and
to the general telecom logs with the specified message.
Test: Tested using the new shell command to mark the telecom logs in and out of calls.
Fixes: 228895073
Change-Id: Ic11edc777e57a4fc8748a42c931379faf7cea671
Reverts most changes to Playback device message handling in Standby from
aosp/1970899, to fix CTS tests and avoid unexpected behavior changes.
aosp/1970899 has all devices use HdmiCecStandbyModeHandler, which causes
Playback devices to ignore or <Feature Abort> certain messages in
standby. This caused CTS failures for cect_hf_4_6_7 and
cect_11_2_2_1 (b/226366076).
This CL moves all behavior-affecting handlers except for <User Control
Pressed> (required for the fix in aosp/1970899) back to TVs only: it is
safer to preserve the original behavior until there is a reason to change it.
Test: atest CtsHdmiCecHostTestCases
Bug: 226366076
Change-Id: I888da78e27503ca0dada29e8a8b1f3d3fe03a608
Add NET_CAPABILITY_NOT_VPN can prevent Ikev2VpnNetworkCallback
receiving onAvailable when VPN is connected. Otherwise, the VPN
network will be misused as underlying network to establish VPN
connection again, which is a wrong behavior.
Bug: 228574221
Test: atest CtsNetTestCases:Ikev2VpnTest
Change-Id: Iac85caa0f5bd37a7e79c14fe796737d7b36fa4bd
Summary cannot be updated with key after notification is removed from NotificationsByKey.
So OngoingFlag of Autogrounpsummary remains.
Modify the GroupHelper interface to deliver summary updateable information.
Test: Make autogroupsummary.
Test: update one of notification with ongoing flag.
Test: cancel the notification and check flag of autogroupsummary.
Change-Id: I0d14daaa69a94c1a3fe81b12d16b44e3a78281fe
Merged-In: I0d14daaa69a94c1a3fe81b12d16b44e3a78281fe
Locking on an interned string can cause unexpected locking collisions, and we should lock the mLock object here.
Change-Id: I8b6557371b0cb79e1bcbc732982cf66b9de663a5
This adds additional logs to the VCN's dumpsys to facilitate debugging
of the VCN.
Test: atest FrameworksVcnTests
Change-Id: Id8cd668991331dbf2f3395172e5cd90b36c408a9
When disting into the apistubs/... dir (the "new" path),
the merged api txts are called android.txt rather than
current.txt, to align with all the other <module>.txt.
Also add a new dist goal to build just these files into a
convenient location.
Test: m api_txt dist
Change-Id: I762763cc42b497e00277a8871ef62b0a11423e35
Make it executable, make it work with python3.
Bug: 228451704
Test: $ m api_txt dist
$ PREVIOUS_API=prebuilts/sdk/##
$ for api in $(ls -1 out/dist/apistubs/android); do
frameworks/base/tools/apilint/deprecated_at_birth.py \
out/dist/apistubs/android/$api/api/ \
${PREVIOUS_API}/$api/api/
done
Change-Id: Ib0eda541be68b0b21ae0dea3f51a82b44f7f9e7c
Now that these methods are no longer called, and none of them are a
public API or have @UnsupportedAppUsage, they can be removed.
inCryptKeeperBounce() actually had one known app user via reflection,
despite the method not having @UnsupportedAppUsage. However, that user
only made the call if Build.VERSION.SDK_INT < VERSION_CODES.P, so it is
not being used anymore.
Bug: 208476087
Change-Id: Idc218e5f355bb61257b07cf5b5b6df5f4c6ece11
Since FDE (Full Disk Encryption) is no longer supported, there is no
need for DevicePolicyManagerService.getEncryptionStatus() to check for
FDE-specific encryption statuses.
There is more that needs to be cleaned up here, but this gets rid of the
dependency on some obsolete StorageManager methods.
Bug: 208476087
Test: atest DevicePolicyManagerTest
Change-Id: I26c3fafc1b134177324de929d3600fb2dd7f4d1d
These will later be referenced by a google3 gcl file as part of a new
libcore test set. Doc: go/libcore-benchmarks-doc
Test: N/A
Bug: 210606618
Change-Id: I4f38b797f8f4978d00e92da07c3db8df366a6897