Searched refs:aom (Results 1 – 5 of 5) sorted by relevance
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 115 val aom: AppOpsManager = mock(AppOpsManager::class.java) in resetMockAppState() constant 117 `when`(aom.unsafeCheckOpRaw(anyString(), anyInt(), nullable(String::class.java))) in resetMockAppState() 119 `when`(app.getSystemService(AppOpsManager::class.java)).thenReturn(aom) in resetMockAppState() 315 val aom = app.getSystemService(AppOpsManager::class.java) in verifyAppOpState() constant 317 verify(aom).setUidMode(appOpName, TEST_UID, expectedMode) in verifyAppOpState() 319 verify(aom, never()).setUidMode(eq(appOpName), eq(TEST_UID), anyInt()) in verifyAppOpState()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionGroupsViewModel.kt | 179 val aom = PermissionControllerApplication.get() in <lambda>() constant 200 aom.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, uid, mode) in <lambda>()
|
D | AppPermissionViewModel.kt | 647 val aom = app.getSystemService(AppOpsManager::class.java)!! in <lambda>() constant 656 aom.setUidMode(OPSTR_MANAGE_EXTERNAL_STORAGE, uid, mode) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 525 AppOpsManager aom = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in getVpnApps() local 527 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnSettings.java | 526 AppOpsManager aom = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in getVpnApps() local 527 List<AppOpsManager.PackageOps> apps = aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN}); in getVpnApps()
|