Searched refs:aom (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizeUtils.java | 141 Context context, IPackageManager ipm, AppOpsManager aom) { in resetAppOptimizationMode() argument 146 aom, in resetAppOptimizationMode() 227 AppOpsManager aom, in resetAppOptimizationModeInternal() argument 244 aom.checkOpNoThrow( in resetAppOptimizationModeInternal()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 121 val aom: AppOpsManager = mock(AppOpsManager::class.java) in resetMockAppState() constant 130 `when`(aom.unsafeCheckOpRaw(anyString(), anyInt(), nullable(String::class.java))) in resetMockAppState() 132 `when`(app.getSystemService(AppOpsManager::class.java)).thenReturn(aom) in resetMockAppState() 376 val aom = app.getSystemService(AppOpsManager::class.java) in verifyAppOpState() constant 378 verify(aom).setUidMode(appOpName, TEST_UID, expectedMode) in verifyAppOpState() 380 verify(aom, never()).setUidMode(eq(appOpName), eq(TEST_UID), anyInt()) in verifyAppOpState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionGroupsViewModel.kt | 339 val aom = app.getSystemService(AppOpsManager::class.java)!! in <lambda>() constant 368 aom.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, lightPackageInfo.uid, mode) in <lambda>()
|
D | AppPermissionViewModel.kt | 1359 val aom = app.getSystemService(AppOpsManager::class.java)!! in <lambda>() constant 1369 aom.setUidMode(OPSTR_MANAGE_EXTERNAL_STORAGE, uid, mode) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 631 AdvancedVpnFeatureProvider featureProvider, AppOpsManager aom) { in getVpnApps() argument 662 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
|