Searched refs:aom (Results 1 – 6 of 6) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 85 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/ |
D | DisplayWakeReportedTests.java | 83 (aom) -> aom.setMode(AppOpsManager.OP_TURN_SCREEN_ON, Process.myUid(), in testWakeWithWakeLock()
|
D | AtomTests.java | 400 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/ |
D | BaseAppVerifierImpl.java | 100 AppOpsManager aom = mContext.getSystemService(AppOpsManager.class); in setUp() local 101 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(aom, in setUp()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 310 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/ |
D | SatelliteManagerTestOnMockService.java | 5229 AppOpsManager aom = getContext().getSystemService(AppOpsManager.class); in requestMockLocationPermission() local 5230 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(aom, (appOpsMan) -> appOpsMan in requestMockLocationPermission()
|