/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppOpsSettingsTest.java | 20 import static android.app.AppOpsManager.MODE_ERRORED; 181 testAppDetailScreenForAppOp(MODE_ERRORED, user.id); in testSingleApp() 202 testSwitchToggle(MODE_ALLOWED, MODE_ERRORED); in testIfSwitchTogglesAppOp() 203 testSwitchToggle(MODE_ERRORED, MODE_ALLOWED); in testIfSwitchTogglesAppOp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridgeTest.java | 42 appState.appOpMode = AppOpsManager.MODE_ERRORED; in testInstallAppsStateCanInstallApps() 52 appState.appOpMode = AppOpsManager.MODE_ERRORED; in testInstallAppsStateIsPotentialAppSource()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureDetails.java | 19 import static android.app.AppOpsManager.MODE_ERRORED; 97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureDetails.java | 19 import static android.app.AppOpsManager.MODE_ERRORED; 97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | MockLocationAppPreferenceController.java | 137 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 148 appName, AppOpsManager.MODE_ERRORED); in removeMockLocationForApp()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MockLocationAppPreferenceController.java | 143 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 154 appName, AppOpsManager.MODE_ERRORED); in removeMockLocationForApp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 88 if (whitelisted || mode == AppOpsManager.MODE_ERRORED in updateState() 127 if (mode == AppOpsManager.MODE_ERRORED) { in updateSummary()
|
D | BatteryUtils.java | 335 return mode == AppOpsManager.MODE_IGNORED || mode == AppOpsManager.MODE_ERRORED; in isBackgroundRestrictionEnabled()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 88 if (whitelisted || mode == AppOpsManager.MODE_ERRORED in updateState() 127 if (mode == AppOpsManager.MODE_ERRORED) { in updateSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | ModifySystemSettingsFragment.java | 45 AppOpsManager.MODE_ERRORED); in onAttach()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 219 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOpsManager).noteOp(anyInt(), anyInt(), in testCameraChangeAppOpsFail() 249 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOpsManager).noteOp(anyInt(), anyInt(), in testCameraChangeAppOpsBelowNMR1Fail()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | WriteSettings.java | 90 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setWriteSettingsAccess()
|
D | SystemAlertWindow.java | 102 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setSystemAlertWindowAccess()
|
D | ExternalSources.java | 131 newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanInstallApps()
|
D | PictureInPicture.java | 122 (Boolean) newValue ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in bindPreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | ExternalSourcesDetails.java | 105 newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanInstallApps()
|
D | DrawOverlayDetails.java | 116 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanDrawOverlay()
|
D | WriteSettingsDetails.java | 100 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanWriteSettings()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | WriteSettingsDetails.java | 100 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanWriteSettings()
|
D | DrawOverlayDetails.java | 116 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanDrawOverlay()
|
D | ExternalSourcesDetails.java | 110 newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanInstallApps()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | MockLocationAppPreferenceControllerTest.java | 118 eq(AppOpsManager.MODE_ERRORED)); in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceControllerTest.java | 173 LOW_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_ERRORED); in updateSummary_modeError_showSummaryDisabled()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppOpsPreferenceControllerTest.java | 69 private static final int NEGATIVE_MODE = AppOpsManager.MODE_ERRORED;
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 275 .setFineAppOp(AppOpsManager.MODE_ERRORED) in getScenarios()
|