/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 488 doReturn(AppOpsManager.MODE_IGNORED).when(mAppOpsManager).checkOpNoThrow( in testBackgroundRestrictionOn_restrictionOn_returnTrue() 577 mBatteryUtils.setForceAppStandby(UID, LOW_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions() 581 AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions() 583 AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions() 588 mBatteryUtils.setForceAppStandby(UID, HIGH_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forceOApp_forceOneRestriction() 592 HIGH_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forceOApp_forceOneRestriction() 595 HIGH_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forceOApp_forceOneRestriction() 600 mBatteryUtils.setForceAppStandby(UID, HIGH_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_restrictApp_recordTime() 618 PACKAGE_NAME)).thenReturn(AppOpsManager.MODE_IGNORED); in testIsForceAppStandbyEnabled_enabled_returnTrue() 704 HIGH_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_IGNORED); in clearForceAppStandby_appRestricted_clearAndReturnTrue()
|
D | BackgroundActivityPreferenceControllerTest.java | 133 doReturn(AppOpsManager.MODE_IGNORED).when(mAppOpsManager) in handlePreferenceTreeClick_unRestrictApp_showDialog() 194 LOW_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_IGNORED); in updateSummary_modeIgnored_showRestricted()
|
D | RestrictAppPreferenceControllerTest.java | 87 AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, false, AppOpsManager.MODE_IGNORED, in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | RestrictAppActionTest.java | 91 .setForceAppStandby(UID_1, PACKAGE_NAME_1, AppOpsManager.MODE_IGNORED); in testHandlePositiveAction() 93 .setForceAppStandby(UID_2, PACKAGE_NAME_2, AppOpsManager.MODE_IGNORED); in testHandlePositiveAction()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 54 private int mFineAppOp = AppOpsManager.MODE_IGNORED; 55 private int mCoarseAppOp = AppOpsManager.MODE_IGNORED; 313 .setFineAppOp(AppOpsManager.MODE_IGNORED) in getScenarios()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 112 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in handlePreferenceTreeClick() 130 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in updateSummary()
|
D | BatteryUtils.java | 335 return mode == AppOpsManager.MODE_IGNORED || mode == AppOpsManager.MODE_ERRORED; in isBackgroundRestrictionEnabled() 408 if (mode == AppOpsManager.MODE_IGNORED) { in setForceAppStandby() 420 packageName) == AppOpsManager.MODE_IGNORED; in isForceAppStandbyEnabled()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 112 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in handlePreferenceTreeClick() 130 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in updateSummary()
|
D | BatteryUtils.java | 362 return mode == AppOpsManager.MODE_IGNORED || mode == AppOpsManager.MODE_ERRORED; in isBackgroundRestrictionEnabled() 435 if (mode == AppOpsManager.MODE_IGNORED) { in setForceAppStandby() 447 packageName) == AppOpsManager.MODE_IGNORED; in isForceAppStandbyEnabled()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | AppRestrictionPredicate.java | 50 appInfo.uid, appInfo.packageName) == AppOpsManager.MODE_IGNORED; in test()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/ |
D | AppRestrictionPredicate.java | 50 appInfo.uid, appInfo.packageName) == AppOpsManager.MODE_IGNORED; in test()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | UsageAccessFragment.java | 45 AppOpsManager.MODE_IGNORED); in onAttach()
|
D | WifiControlPreferenceController.java | 56 AppOpsManager.MODE_IGNORED); in WifiControlPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | RestrictAppAction.java | 63 AppOpsManager.MODE_IGNORED); in handlePositiveAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/actions/ |
D | RestrictAppAction.java | 63 AppOpsManager.MODE_IGNORED); in handlePositiveAction()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | AppUsageAccess.java | 107 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppUsageAccess()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | ChangeWifiStateDetails.java | 92 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setCanChangeWifiState()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | ChangeWifiStateDetails.java | 92 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setCanChangeWifiState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/financialapps/ |
D | FinancialAppsController.java | 123 : AppOpsManager.MODE_IGNORED); in updateList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | UsageAccessDetails.java | 110 mPackageName, newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setHasAccess()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | UsageAccessDetails.java | 110 mPackageName, newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setHasAccess()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyDetectionJobService.java | 164 AppOpsManager.MODE_IGNORED); in saveAnomalyToDatabase()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDetectionJobService.java | 164 AppOpsManager.MODE_IGNORED); in saveAnomalyToDatabase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | RestrictAppDetectorTest.java | 94 doReturn(AppOpsManager.MODE_IGNORED).when(mAppOpsManager).checkOpNoThrow( in setUp()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 23 import static android.app.AppOpsManager.MODE_IGNORED; 926 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_IGNORED); in disallowAppOp()
|