Home
last modified time | relevance | path

Searched refs:runWithShellPermissionIdentity (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java74 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
372 runWithShellPermissionIdentity( in tearDown()
495 return runWithShellPermissionIdentity(() -> tm.getSubscriberId(subId), in getSubscriberIdForCellNetwork()
517 final List<NetworkStateSnapshot> snapshots = runWithShellPermissionIdentity( in testGetAllNetworkStateSnapshots()
766 runWithShellPermissionIdentity(() -> { in testRegisterNetworkCallback() method
1126 runWithShellPermissionIdentity(() -> in waitForActiveNetworkMetered()
1428 runWithShellPermissionIdentity(() -> { in testKeepaliveWifiUnsupported() method
1450 runWithShellPermissionIdentity(() -> { in testCreateTcpKeepalive() method
1655 runWithShellPermissionIdentity(() -> {
1671 runWithShellPermissionIdentity(() -> {
[all …]
DIpSecAlgorithmImplTest.java47 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
224 runWithShellPermissionIdentity(new TestNetworkRunnable(new CheckCryptoImplTest( in checkAesCtr()
259 runWithShellPermissionIdentity(new TestNetworkRunnable(new CheckCryptoImplTest( in testAesXcbc()
273 runWithShellPermissionIdentity(new TestNetworkRunnable(new CheckCryptoImplTest( in testAesCmac()
297 runWithShellPermissionIdentity( in testChaCha20Poly1305()
DConnectivityDiagnosticsManagerTest.java42 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
174 runWithShellPermissionIdentity(() -> { in tearDown() method
228 runWithShellPermissionIdentity( in testRegisterCallbackWithCarrierPrivileges()
256 runWithShellPermissionIdentity( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() method
268 runWithShellPermissionIdentity( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
391 runWithShellPermissionIdentity( in verifyOnDataStallSuspected()
DIkev2VpnTest.java23 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
195 runWithShellPermissionIdentity(() -> { in setAppop() method
480 runWithShellPermissionIdentity( in testStartStopVpnProfileV4()
489 runWithShellPermissionIdentity( in testStartStopVpnProfileV6()
DTestNetworkRunnable.java22 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
114 runWithShellPermissionIdentity(this::runTest, MANAGE_TEST_NETWORKS); in run()
DNetworkScoreTest.kt34 import com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity in <lambda>()
137 runWithShellPermissionIdentity({ agent.register() }, MANAGE_TEST_NETWORKS) in <lambda>()
DNetworkAgentTest.kt91 import com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity in <lambda>()
916 val snapshots = runWithShellPermissionIdentity(ThrowingSupplier { in testSetSubscriberId()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantSettingsTest.java22 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
85 runWithShellPermissionIdentity(() -> setProperty( in testWrongNamespace()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java33 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;
729 runWithShellPermissionIdentity(() -> { in testDefault() method