/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppOpsSettingsTest.java | 19 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/ |
D | LeanbackSuggestionsFactory.java | 38 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/ |
D | AppStateInstallAppsBridge.java | 109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState() 117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource()
|
D | AppStateAppOpsBridge.java | 324 this.appOpMode = AppOpsManager.MODE_DEFAULT; in PermissionState() 332 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridge.java | 109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState() 117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource()
|
D | AppStateAppOpsBridge.java | 324 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/ |
D | ManageAppOp.java | 172 if (appOpMode == AppOpsManager.MODE_DEFAULT) { 183 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested;
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridge.java | 171 private int mAppOpMode = AppOpsManager.MODE_DEFAULT; 176 if (mAppOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridgeTest.java | 56 appState.appOpMode = AppOpsManager.MODE_DEFAULT; in testInstallAppsStateIsPotentialAppSource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceControllerTest.java | 184 LOW_SDK_PACKAGE)).thenReturn(AppOpsManager.MODE_DEFAULT); in updateSummary_modeDefault_showNotRestricted()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | SmsDatabaseHandler.java | 192 if (mode != AppOpsManager.MODE_DEFAULT) { in canWriteToDatabase()
|
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/ |
D | MessengerDelegateTest.java | 59 AppOpsManager.MODE_DEFAULT); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppOpsPreferenceControllerTest.java | 137 mController.init(APP_OP_CODE, PERMISSION, AppOpsManager.MODE_DEFAULT); in checkInitialized_noNegativeOpMode_throwsIllegalStateException()
|
D | AppStateAppOpsBridgeTest.java | 172 addPackageWithPermission(packageInfo, AppOpsManager.MODE_DEFAULT); in loadsAppOpsExtraInfo_modeDefault_isPermissible()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Roles.java | 100 sModeNameToMode.put(MODE_NAME_DEFAULT, AppOpsManager.MODE_DEFAULT); in sModeNameToMode.put() argument
|