/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/apps/Settings/src/com/android/settings/development/ |
D | MockLocationAppPreferenceController.java | 144 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 155 appName, AppOpsManager.MODE_ERRORED); in removeMockLocationForApp()
|
/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/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 88 if (whitelisted || mode == AppOpsManager.MODE_ERRORED in updateState() 127 if (mode == AppOpsManager.MODE_ERRORED) { in updateSummary()
|
/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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ManageExternalStorageDetailsTest.java | 142 assertThat(mUidToOpModeMap).containsExactly(mockUid, AppOpsManager.MODE_ERRORED); in onPreferenceChange_disableManageExternalStorage_shouldTriggerAppOpsManager() 158 state.appOpMode = enabled ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED; in injectPermissionState()
|
/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 | 91 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setWriteSettingsAccess()
|
D | SystemAlertWindow.java | 108 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setSystemAlertWindowAccess()
|
D | ExternalSources.java | 132 newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanInstallApps()
|
D | PictureInPicture.java | 123 (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 | ManageExternalStorageDetails.java | 114 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setManageExternalStorageState()
|
D | ExternalSourcesDetails.java | 110 newState ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanInstallApps()
|
D | WriteSettingsDetails.java | 100 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanWriteSettings()
|
D | DrawOverlayDetails.java | 116 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); in setCanDrawOverlay()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | MockLocationAppPreferenceControllerTest.java | 117 eq(AppOpsManager.MODE_ERRORED)); in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionViewModel.kt | 22 import android.app.AppOpsManager.MODE_ERRORED in <lambda>() 652 MODE_ERRORED in <lambda>()
|
/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()
|