- Jan 21, 2021
-
-
Jeff Vander Stoep authored
Test: n/a Change-Id: Ic4ffafeb36d2bc69ebdd39e3f8ff40547bdcddd3
-
- Jan 15, 2021
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
junyulai authored
Currently, SecurityControllerImpl listen to all network changes. However, the default capabilities are removed one by one manually. This might be problematic when a new default capability is introduced. Thus, calling clearCapabilities instead. Test: atest SystemUITests:com.android.systemui.statusbar.policy.SecurityControllerTest#testNetworkRequest Test: atest FrameworksNetTests NetworkStackTests TetheringTests SystemUITests Test: atest CtsNetTestCases Bug: 177411288 Bug: 175662146 Change-Id: Ic5741bc4125369c4a0a03a455447e44058a93aac
-
Brad Ebinger authored
Test: manual - verify logs with CTS tests Change-Id: I14c5a38ef00bc9858945e979d081ae15ac46051c
-
Remi NGUYEN VAN authored
The new venue friendly name field is not present on R- Bug: 162783305 Change-Id: I63bd9c61d27c7d3b07826053373c9c5e38666948 Test: atest FrameworksNetTests
-
Tianjie Xu authored
-
James Lin authored
Merge "Remove the hidden API "onRemoteCapabilityRequest" from the exposed interface CapabilityExchangeEventListener"
-
Treehugger Robot authored
-
James Mattis authored
-
- Jan 14, 2021
-
-
Treehugger Robot authored
-
Grace Jia authored
-
Brad Ebinger authored
-
Shuo Qian authored
-
James.cf Lin authored
Remove the hidden API "onRemoteCapabilityRequest" from the exposed interface CapabilityExchangeEventListener The interface CapabilityExchangeEventListener is exposed. However the API "onRemoteCapabilityRequest" is hidden and it will cause it cannot be implemented. Remove this api for now and add it back when the api is ready to exposed. Bug: 177451691 Test: atest CtsSystemApiSignatureTestCases:android.signature.cts.api.system.SignatureTest#testSignature Change-Id: I9ac1b8a5654fe16b9ae862d6e65aec9319cb6be5
-
Shashwat Razdan authored
Bug: 176851064 Test: cts test runs only with this CL Change-Id: I6466bd3871ff3ad0e5178451d18bacf52be0f491
-
Elliott Hughes authored
-
Jeff Sharkey authored
-
Roshan Pius authored
-
Rambo Wang authored
-
Nikita Ioffe authored
-
Lorenzo Colitti authored
* changes: UserManager restricted profile SystemApis Improve testing of CONNECTIVITY_ACTION broadcasts.
-
Mathew Inwood authored
-
Aaron Huang authored
-
Treehugger Robot authored
-
Adam Bookatz authored
Makes two new SystemApis: getRestrictedProfileParent() canHaveRestrictedProfile() Temporarily disables VPN Tests that rely on the old APIs until those tests are updated (b/175883995). Bug: 171529940 Test: atest FrameworksNetTests:com.android.server.connectivity.VpnTest Test: Tests for UserManager SystemApis are TODO awaiting completion of new user test infrastructure (b/163890431) (cherry picked from commit 20ba13f5) Change-Id: I28e39400039631e7d391dc7b0d003e8a38d1f06a
-
Lorenzo Colitti authored
We currently test CONNECTIVITY_ACTION broadcasts by directly registering BroadcastReceivers with BroadcastInterceptingContext, and making the receivers unregister themselves when all the broadcasts they expect have been received. This works for current test cases, but does not work if anything registers another receiver for CONNECTIVITY_ACTION. In that case, when we unregister the receiver in the receiver's onReceive method, BroadcastInterceptingContext will throw a ConcurrentModificationException because the list of receivers is being modified during iteration. Fix this by adding an ExpectedBroadcast class that stores the receiver and unregisters the receiver only when the test checks that the broadcast was received, which happens after the receiver runs. This is easier to use and also guarantees that the receiver is unregistered even if the test is expecting that the broadcast is never fired. Accordingly, remove mRegisteredReceivers and the code that uses it; it's no longer necessary now that ExpectedBroadcast always unregisters its receivers. Also add a convenience expectConnectivityAction method to expect a CONNECTIVITY_ACTION broadcast with specific contents. This makes the test easier to read and more detailed. Convert some existing tests to this method. While I'm at it, fix a test that was using "mCellNetworkAgent" to represent a wifi network. Bug: 173331190 Test: test-only change Change-Id: Ibada8b4215625e1016d9fd170526206920af76f5
-
Tianjie authored
The key in keystore is used to encrypt the escrow data. We need to iterate over all users before deleting it from key store. Otherwise, the RoR for the 2nd user will fail. Bug: 172780686 Test: atest CtsAppSecurityHostTestCases:ResumeOnRebootHostTest#resumeOnReboot_TwoUsers_BothUserUnlock_Success Change-Id: I82d94195fe5716d42e363604be5ead3eb3e300fd
-
Junyu Lai authored
-
Aaron Huang authored
Connectivity mainline module cannot use hidden API so replace Slog with Log which is a public API. Test: FrameworksNetTests Change-Id: I8758079cf635ff4ab218df53c0f7bf6fc23ce476
-
Aaron Huang authored
-
Josh Gao authored
* changes: fdtrack: GC before checking fd count. Move system_server fdtrack implementation to Java.
-
Tianjie Xu authored
* changes: Wrap the escrow data with key from keystore Load and generate key from keystore in reboot escrow
-
Grace Jia authored
Test: atest CtsTelephonyTestCases Bug: 174028667 Change-Id: I7b9d8f6dca6af37007a577796b4c46f010c2b23c
-
Treehugger Robot authored
-
- Jan 13, 2021
-
-
Benedict Wong authored
* changes: Add utility methods for creation of NetInfo, NetCaps, and LinkProps Add VcnGatewayConnection state skeleton, signals and fields
-
Nikita Ioffe authored
Test: n/a Change-Id: I841bb165b4ebd2c06cc2f958dbc55a29404554c9
-
Rambo Wang authored
Introduce RAN to better associate it with thresholds. Later CL should be able to further simplify APIs which ask for both RAN and SignalThresholdInfo. Validate threshold values during constructing. Deliberately hide all the public fields and methods, so the following CL will only need to expose designed properties. Make it easy for API review. Bug: 164432835 Test: atest com.android.internal.telephony.SignalThresholdInfoTest Change-Id: Ib0600c43b90ab0231b29f989976cb090f4b37bf8
-
James Mattis authored
Waiting for idle in testRequestsSortedByIdSortsCorrectly to give it time to handle async operations as part of registering network callbacks. Bug: 177376544 Test: atest FrameworksNetTests:ConnectivityServiceTest# testRequestsSortedByIdSortsCorrectly --rerun-until-failure 200 Change-Id: I268c4607d1a4c79e79f1385f014563cea0c2f979
-