Home
last modified time | relevance | path

Searched refs:MODE_IGNORED (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java488 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()
DBackgroundActivityPreferenceControllerTest.java133 doReturn(AppOpsManager.MODE_IGNORED).when(mAppOpsManager) in handlePreferenceTreeClick_unRestrictApp_showDialog()
194 LOW_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_IGNORED); in updateSummary_modeIgnored_showRestricted()
DRestrictAppPreferenceControllerTest.java87 AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, false, AppOpsManager.MODE_IGNORED, in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppActionTest.java91 .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/
DLocationAccessPolicyTest.java54 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/
DBackgroundActivityPreferenceController.java112 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in handlePreferenceTreeClick()
130 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in updateSummary()
DBatteryUtils.java335 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/
DBackgroundActivityPreferenceController.java112 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in handlePreferenceTreeClick()
130 final boolean restricted = mode == AppOpsManager.MODE_IGNORED; in updateSummary()
DBatteryUtils.java362 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/
DAppRestrictionPredicate.java50 appInfo.uid, appInfo.packageName) == AppOpsManager.MODE_IGNORED; in test()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DAppRestrictionPredicate.java50 appInfo.uid, appInfo.packageName) == AppOpsManager.MODE_IGNORED; in test()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DUsageAccessFragment.java45 AppOpsManager.MODE_IGNORED); in onAttach()
DWifiControlPreferenceController.java56 AppOpsManager.MODE_IGNORED); in WifiControlPreferenceController()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppAction.java63 AppOpsManager.MODE_IGNORED); in handlePositiveAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/actions/
DRestrictAppAction.java63 AppOpsManager.MODE_IGNORED); in handlePositiveAction()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DAppUsageAccess.java107 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppUsageAccess()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DChangeWifiStateDetails.java92 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setCanChangeWifiState()
/packages/apps/Settings/src/com/android/settings/wifi/
DChangeWifiStateDetails.java92 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setCanChangeWifiState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/financialapps/
DFinancialAppsController.java123 : AppOpsManager.MODE_IGNORED); in updateList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DUsageAccessDetails.java110 mPackageName, newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setHasAccess()
/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java110 mPackageName, newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setHasAccess()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyDetectionJobService.java164 AppOpsManager.MODE_IGNORED); in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java164 AppOpsManager.MODE_IGNORED); in saveAnomalyToDatabase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetectorTest.java94 doReturn(AppOpsManager.MODE_IGNORED).when(mAppOpsManager).checkOpNoThrow( in setUp()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java23 import static android.app.AppOpsManager.MODE_IGNORED;
926 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_IGNORED); in disallowAppOp()

12