- Aug 02, 2022
-
-
Josh Tsuji authored
-
Yike Zhang authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Lucas Lin authored
-
lucaslin authored
This commit addressed the comments in different commits, it did - Make isVpnApp() to be a static method. - Rename getRedactedNetworkCapabilitiesOfUnderlyingNetwork to getRedactedNetworkCapabilities and rename getRedactedLinkPropertiesOfUnderlyingNetwork to getRedactedLinkProperties. - Reduce the scope of synchronized block in handleSessionLost(). - Fast return when there is an IllegalArgumentException in handleSessionLost(). - Remove inaccurate comment. - Update the document of mCurrentToken. - Define an initial token value of IKE session. - Add "/* exeception */" annotation to handleSessionLost(null) calls. Bug: 236409954 Test: atest FrameworksNetTests:VpnTest Change-Id: I8c938f8796345dc2eee6c8eff513b0f993bc8165
-
Yan Yan authored
This commit creates a wrapper class for NetworkAgent to make the Vpn code more testable. Bug: 192077544 Test: atest VpnTest Change-Id: Ia599fed8c874ea9622a1f56f686de293bcbfddb8
-
Jon Eckenrode authored
-
- Aug 01, 2022
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Jul 29, 2022
-
-
Mark Renouf authored
This code is managed as part of SystemUI screenshots. Change-Id: I624a52754cffcca66798d2813d25d8896597a39a
-
- Jul 28, 2022
-
-
Treehugger Robot authored
-
Jon Eckenrode authored
Change-Id: I0c2afdd0a8c914854d96e27c924ee74af488e1e4
-
Hyundo Moon authored
-
- Jul 27, 2022
-
-
Theodore Dubois authored
Test: treehugger Change-Id: I9d54e3c2c006aaa54a5bc044e39ab5d5e2ff7484
-
Yike Zhang authored
-
Yike authored
This change modifies the test config file by switching to use `PushFilePreparer` instead of `FilePusher`, since the `FilePusher` class which is defined in `compatibility-tradefed` is designed for the tests that are part of compatibility suite, but dex-builder-test is not. Bug: 220991354 Test: atest-src dex-builder-test \ --experimental-device-driven-test \ --experimental-java-runtime-dependencies \ --bazel-arg=--test_timeout=48000 Test: atest dex-builder-test Change-Id: I85be14a454acac23705131c3a121c70fde07a138
-
Aaron Huang authored
-
Yike Zhang authored
-
- Jul 26, 2022
-
-
Sudheer Shanka authored
* changes: Allow shell uid without checking the package name. Allow apps receiving MediaSession callbacks to start FGS from BG.
-
Almaz Mingaleev authored
-
Treehugger Robot authored
-
Almaz Mingaleev authored
Time is deprecated and should not be used. Bug: 16550209 Test: atest FrameworksCoreTests:android.net.NetworkPolicyTest Change-Id: Ib1a29f52982701028e63da2856b9fbb3626244f9
-
Almaz Mingaleev authored
-
Yike authored
In Android.bp, all dependencies of a test should be declared explicitly, so that test infrastructure could only provide the needed dependencies instead of all to run a test. This change adds the missing dependency that is used in test config file but not declared in Android.bp. Bug: 222438068 Test: atest-src UpdatableSystemFontTest \ --experimental-device-driven-test \ --experimental-java-runtime-dependencies \ --bazel-arg=--test_timeout=48000 Test: atest UpdatableSystemFontTest Merged-In: Ic1b5b94aabd4c95744109f2cc7443ae04c43b3a6 Change-Id: Ie23b74f37af3019e50753e2169752abadbf3e0fa
-
Almaz Mingaleev authored
Time is deprecated and there are better alternatives. Bug: 16550209 Test: atest FrameworksSaxTests Change-Id: I301d1075b4b64c4586c2e4d7d9b0a12e609fe064
-
Julia Reynolds authored
-
Sudheer Shanka authored
Bug: 230779051 Test: manual Change-Id: I2867a15840a0987c948179e2f8069e652c4a0c1f Merged-In: I2867a15840a0987c948179e2f8069e652c4a0c1f
-
Sudheer Shanka authored
If the app invoking the MediaSession callbacks is capable of starting a FGS from background, then also allow the target app receiving the callbacks to start FGS from background. Bug: 221873343 Test: manual Change-Id: I98de12b5410c3f0f70d7d2be12bef3e6d0e1bf73 Merged-In: I98de12b5410c3f0f70d7d2be12bef3e6d0e1bf73
-
- Jul 25, 2022
-
-
Ember Rose authored
Change-Id: I1e927013d14731d3be5024bc581ebd664f878eb9 Test: N/A Bug: 237226979
-
Kevin Jeon authored
-
qinyige1 authored
Method isServiceTokenValidLocked should be called with mNotificationLock held, otherwise there will be race condition. Bug: 236512598 Test: Manual Change-Id: I7e24b5afe3d0a5233debf9da45200c2f4e1f570f
-
Yike authored
All of a test's dependencies should be explicitly declared in the Soong build module to enable infrastructure features that ensure correctness and optimize runtime. Here in the test config file, AppEnumerationInternalTests uses `AppEnumerationSyncProviderTestApp.apk`, so that this change declares `AppEnumerationSyncProviderTestApp` in the Soong build module. Besides, this change modifies the test config file by switching to use `PushFilePreparer` instead of `FilePusher`, since `FilePusher` is designed for the tests that are part of compatibility suite and AppEnumerationInternalTests is not. Bug: 222438068 Test: atest-src AppEnumerationInternalTests \ --experimental-device-driven-test \ --experimental-java-runtime-dependencies \ --bazel-arg=--test_timeout=48000 Test: atest AppEnumerationInternalTests Change-Id: I8f09efe82b8dbd11d900752c3810d9215026062e
-
- Jul 22, 2022
-
-
Treehugger Robot authored
-
David Zeuthen authored
Properly encode an P-256 EC Public Key in uncompressed form, in particular ensure that the resulting blob is always 65 bytes long as is expected. Was able to reproduce this with about 4% failures running a test. After the fix didn't get a failure in 1,000 runs. Also remove unused Util.integerCollectionToArray() function. Bug: 239857653 Test: atest --rerun-until-failure 1000 android.security.identity.cts.ProvisioningTest#testProvisionAndRetrieveMultipleTime Change-Id: I9a8a5570fde5a80f74632606126cdfcc1f6c7c99
-
Xiao Ma authored
-
Treehugger Robot authored
-
Suprabh Shukla authored
FGS starts are allowed by default to apps targeting pre-S sdks. However, on update their alarms may start getting denied if the app could not reset its alarms. Explicitly adding them to the allowlist to avoid this problem. Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest Test: Manual, using steps listed in b/238407723 Bug: 239098759 Bug: 238407723 Change-Id: I895901f0c870b161a8a4df92ebe93c873a55abc9 Merged-In: I895901f0c870b161a8a4df92ebe93c873a55abc9
-
Treehugger Robot authored
-
- Jul 21, 2022
-
-
Garfield Tan authored
Also move the resource owners to the new OWNERS file from the OWNERS file one level of folder above. Bug: None Test: None Change-Id: I81b3eeff0cf565482772023243652a949cfbcd1f
-