/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizeUtilsTest.java | 106 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testGetAppOptimizationMode_returnRestricted() 115 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testGetAppOptimizationMode_returnUnrestricted() 124 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testGetAppOptimizationMode_returnOptimized() 160 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testSetAppUsageState_Restricted_verifyAction() 174 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testSetAppUsageState_Unrestricted_verifyAction() 188 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testSetAppUsageState_Optimized_verifyAction() 202 when(mMockAppOpsManager.checkOpNoThrow(anyInt(), anyInt(), anyString())) in testSetAppUsageState_sameUnrestrictedMode_verifyNoAction() 345 .checkOpNoThrow(anyInt(), anyInt(), anyString()); in runTestForResetWithMode()
|
D | BatteryUtilsTest.java | 270 .checkOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, UID, PACKAGE_NAME); in testBackgroundRestrictionOn_restrictionOn_returnTrue() 280 .checkOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, UID, PACKAGE_NAME); in testBackgroundRestrictionOn_restrictionOff_returnFalse() 368 when(mAppOpsManager.checkOpNoThrow( in testIsForceAppStandbyEnabled_enabled_returnTrue() 377 when(mAppOpsManager.checkOpNoThrow( in testIsForceAppStandbyEnabled_disabled_returnFalse() 387 when(mAppOpsManager.checkOpNoThrow( in clearForceAppStandby_appRestricted_clearAndReturnTrue() 416 when(mAppOpsManager.checkOpNoThrow( in clearForceAppStandby_appUnrestricted_returnFalse()
|
D | BatteryBackupHelperTest.java | 429 .checkOpNoThrow( in createTestingData() 435 .checkOpNoThrow( in createTestingData()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | AppOpsManagerCompat.java | 69 public int checkOpNoThrow(int op, int uid, String packageName) { in checkOpNoThrow() method in AppOpsManagerCompat 70 return mAppOpsManager.checkOpNoThrow(op, uid, packageName); in checkOpNoThrow()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppStateAppBatteryUsageBridgeTest.java | 49 when(mAppOpsManager.checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, in updateExtraInfo_updatesRestricted() 68 when(mAppOpsManager.checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, in updateExtraInfo_updatesUnrestricted()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizeUtils.java | 123 mAppOpsManager.checkOpNoThrow( in getAppOptimizationMode() 244 aom.checkOpNoThrow( in resetAppOptimizationModeInternal() 271 return appOpsManager.checkOpNoThrow( in getMode()
|
D | BatteryUtils.java | 298 mAppOpsManager.checkOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, uid, packageName); in isBackgroundRestrictionEnabled() 419 return mAppOpsManager.checkOpNoThrow( in isForceAppStandbyEnabled()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | AppRestrictionPredicate.java | 47 return mAppOpsManager.checkOpNoThrow( in test()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 63 final int mode = appOpsManager.checkOpNoThrow(appOp, Process.myUid(), in hasAppOp()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureDetails.java | 107 return appOps.checkOpNoThrow(OP_PICTURE_IN_PICTURE, uid, packageName) == MODE_ALLOWED; in getEnterPipStateForPackage()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppBatteryUsageBridge.java | 101 mAppOpsManager.checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, uid, pkg); in getAppBatteryUsageState()
|
D | AppStateInstallAppsBridge.java | 90 return mAppOpsManager.checkOpNoThrow(appOpCode, uid, packageName); in getAppOpMode()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | PictureInPicture.java | 64 info.extraInfo = mAppOpsManager.checkOpNoThrow(
|
D | ManageAppOp.java | 144 return mAppOpsManager.checkOpNoThrow(getAppOpsOpCode(), uid, packageName);
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | HibernationSwitchPreference.kt | 133 val mode = appOpsManager.checkOpNoThrow( in isArchivingEnabled()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | ManageAppOpState.java | 153 return mAppOpsManager.checkOpNoThrow(getAppOpsOpCode(), uid, packageName);
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | HibernationSwitchPreferenceTest.kt | 135 appOpsManager.checkOpNoThrow(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, PACKAGE_NAME) in mockOpsMode()
|
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/ |
D | TvUnblockSensorActivity.java | 333 return (mAppOpsManager.checkOpNoThrow( in isHTTAccessDisabled()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 2326 p -> (AppOpsManager.MODE_ALLOWED == mAppOpsManager.checkOpNoThrow( in canInteractAcrossUsersOrProfiles()
|