Home
last modified time | relevance | path

Searched refs:MODE_DEFAULT (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppOpsSettingsTest.java19 import static android.app.AppOpsManager.MODE_DEFAULT;
94 mAppOpsManager.setMode(mAppOpCode, uid, mPackageName, MODE_DEFAULT); in resetAppOpModeForAllProfiles()
172 findAndVerifySwitchState(appOpMode == MODE_ALLOWED || appOpMode == MODE_DEFAULT); in testAppDetailScreenForAppOp()
187 final boolean initialState = (fromAppOp == MODE_ALLOWED || fromAppOp == MODE_DEFAULT); in testSwitchToggle()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackSuggestionsFactory.java38 private static final int MODE_DEFAULT = 0; field in LeanbackSuggestionsFactory
55 mMode = MODE_DEFAULT; in onStartInput()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateInstallAppsBridge.java109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState()
117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource()
DAppStateAppOpsBridge.java324 this.appOpMode = AppOpsManager.MODE_DEFAULT; in PermissionState()
332 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateInstallAppsBridge.java109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState()
117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource()
DAppStateAppOpsBridge.java324 this.appOpMode = AppOpsManager.MODE_DEFAULT; in PermissionState()
332 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageAppOp.java172 if (appOpMode == AppOpsManager.MODE_DEFAULT) {
183 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested;
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java171 private int mAppOpMode = AppOpsManager.MODE_DEFAULT;
176 if (mAppOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateInstallAppsBridgeTest.java56 appState.appOpMode = AppOpsManager.MODE_DEFAULT; in testInstallAppsStateIsPotentialAppSource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBackgroundActivityPreferenceControllerTest.java184 LOW_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_DEFAULT); in updateSummary_modeDefault_showNotRestricted()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DSmsDatabaseHandler.java192 if (mode != AppOpsManager.MODE_DEFAULT) { in canWriteToDatabase()
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/
DMessengerDelegateTest.java59 AppOpsManager.MODE_DEFAULT); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceControllerTest.java137 mController.init(APP_OP_CODE, PERMISSION, AppOpsManager.MODE_DEFAULT); in checkInitialized_noNegativeOpMode_throwsIllegalStateException()
DAppStateAppOpsBridgeTest.java172 addPackageWithPermission(packageInfo, AppOpsManager.MODE_DEFAULT); in loadsAppOpsExtraInfo_modeDefault_isPermissible()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java100 sModeNameToMode.put(MODE_NAME_DEFAULT, AppOpsManager.MODE_DEFAULT); in sModeNameToMode.put() argument