Home
last modified time | relevance | path

Searched refs:aom (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppOpsUtils.java85 final AppOpsManager aom = InstrumentationRegistry.getTargetContext().getSystemService( in setUidMode() local
87 SystemUtil.runWithShellPermissionIdentity(() -> aom.setUidMode(opStr, uid, mode)); in setUidMode()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DDisplayWakeReportedTests.java83 (aom) -> aom.setMode(AppOpsManager.OP_TURN_SCREEN_ON, Process.myUid(), in testWakeWithWakeLock()
DAtomTests.java400 private void noteAppOp(AppOpsManager aom, String opStr) { in noteAppOp() argument
401 aom.noteOp(opStr, android.os.Process.myUid(), MY_PACKAGE_NAME, null, "statsdTest"); in noteAppOp()
404 private void startAppOp(AppOpsManager aom, String opStr) { in startAppOp() argument
405 aom.startOp(opStr, android.os.Process.myUid(), MY_PACKAGE_NAME, null, "statsdTest"); in startAppOp()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DBaseAppVerifierImpl.java100 AppOpsManager aom = mContext.getSystemService(AppOpsManager.class); in setUp() local
101 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(aom, in setUp()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java310 AppOpsManager aom = mContext.getSystemService(AppOpsManager.class); in setUp() local
311 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(aom, in setUp()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java5229 AppOpsManager aom = getContext().getSystemService(AppOpsManager.class); in requestMockLocationPermission() local
5230 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(aom, (appOpsMan) -> appOpsMan in requestMockLocationPermission()