Searched refs:runWithShellPermissionIdentity (Results 1 – 9 of 9) sorted by relevance
74 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() method1126 runWithShellPermissionIdentity(() -> in waitForActiveNetworkMetered()1428 runWithShellPermissionIdentity(() -> { in testKeepaliveWifiUnsupported() method1450 runWithShellPermissionIdentity(() -> { in testCreateTcpKeepalive() method1655 runWithShellPermissionIdentity(() -> {1671 runWithShellPermissionIdentity(() -> {[all …]
47 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()
42 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;174 runWithShellPermissionIdentity(() -> { in tearDown() method228 runWithShellPermissionIdentity( in testRegisterCallbackWithCarrierPrivileges()256 runWithShellPermissionIdentity( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() method268 runWithShellPermissionIdentity( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()391 runWithShellPermissionIdentity( in verifyOnDataStallSuspected()
23 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;195 runWithShellPermissionIdentity(() -> { in setAppop() method480 runWithShellPermissionIdentity( in testStartStopVpnProfileV4()489 runWithShellPermissionIdentity( in testStartStopVpnProfileV6()
22 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;114 runWithShellPermissionIdentity(this::runTest, MANAGE_TEST_NETWORKS); in run()
34 import com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity in <lambda>()137 runWithShellPermissionIdentity({ agent.register() }, MANAGE_TEST_NETWORKS) in <lambda>()
91 import com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity in <lambda>()916 val snapshots = runWithShellPermissionIdentity(ThrowingSupplier { in testSetSubscriberId()
22 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;85 runWithShellPermissionIdentity(() -> setProperty( in testWrongNamespace()
33 import static com.android.compatibility.common.util.SystemUtil.runWithShellPermissionIdentity;729 runWithShellPermissionIdentity(() -> { in testDefault() method