/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | ManageAppOp.java | 159 public final int appOpMode; 162 int appOpMode) { 165 this.appOpMode = appOpMode; 172 if (appOpMode == AppOpsManager.MODE_DEFAULT) { 175 return appOpMode == AppOpsManager.MODE_ALLOWED; 183 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; 190 + ", appOpMode: " + appOpMode
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateInstallAppsBridge.java | 96 appState.appOpMode = getAppOpMode(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, uid, in createInstallAppsStateFor() 106 int appOpMode; field in AppStateInstallAppsBridge.InstallAppsState 109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState() 113 return appOpMode == AppOpsManager.MODE_ALLOWED; in canInstallApps() 117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource() 124 sb.append(", appOpMode: " + appOpMode); in toString()
|
D | AppStateAppOpsBridge.java | 126 permissionState.appOpMode = ops.get(0).getOps().get(0).getMode(); in getPermissionInfo() 268 pe.appOpMode = packageOp.getOps().get(0).getMode(); in loadAppOpsStates() 320 public int appOpMode; field in AppStateAppOpsBridge.PermissionState 324 this.appOpMode = AppOpsManager.MODE_DEFAULT; in PermissionState() 332 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible() 335 return appOpMode == AppOpsManager.MODE_ALLOWED; in isPermissible()
|
D | AppStateWriteSettingsBridge.java | 70 this.appOpMode = permissionState.appOpMode; in WriteSettingsState()
|
D | AppStateUsageBridge.java | 60 this.appOpMode = permissionState.appOpMode; in UsageState()
|
D | AppStateOverlayBridge.java | 79 this.appOpMode = permissionState.appOpMode; in OverlayState()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridge.java | 96 appState.appOpMode = getAppOpMode(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, uid, in createInstallAppsStateFor() 106 int appOpMode; field in AppStateInstallAppsBridge.InstallAppsState 109 this.appOpMode = AppOpsManager.MODE_DEFAULT; in InstallAppsState() 113 return appOpMode == AppOpsManager.MODE_ALLOWED; in canInstallApps() 117 return appOpMode != AppOpsManager.MODE_DEFAULT || permissionRequested; in isPotentialAppSource() 124 sb.append(", appOpMode: " + appOpMode); in toString()
|
D | AppStateAppOpsBridge.java | 126 permissionState.appOpMode = ops.get(0).getOps().get(0).getMode(); in getPermissionInfo() 268 pe.appOpMode = packageOp.getOps().get(0).getMode(); in loadAppOpsStates() 320 public int appOpMode; field in AppStateAppOpsBridge.PermissionState 324 this.appOpMode = AppOpsManager.MODE_DEFAULT; in PermissionState() 332 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in isPermissible() 335 return appOpMode == AppOpsManager.MODE_ALLOWED; in isPermissible()
|
D | AppStateWriteSettingsBridge.java | 70 this.appOpMode = permissionState.appOpMode; in WriteSettingsState()
|
D | AppStateUsageBridge.java | 60 this.appOpMode = permissionState.appOpMode; in UsageState()
|
D | AppStateOverlayBridge.java | 79 this.appOpMode = permissionState.appOpMode; in OverlayState()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Permissions.java | 274 Integer appOpMode = getAppOpMode(packageName, appOp, context); in isPermissionAndAppOpGranted() local 275 if (appOpMode == null) { in isPermissionAndAppOpGranted() 281 return appOpMode == AppOpsManager.MODE_ALLOWED; in isPermissionAndAppOpGranted() 285 return appOpMode == AppOpsManager.MODE_FOREGROUND in isPermissionAndAppOpGranted() 286 || appOpMode == AppOpsManager.MODE_ALLOWED; in isPermissionAndAppOpGranted() 325 int appOpMode; in grantPermissionAndAppOp() local 328 appOpMode = AppOpsManager.MODE_ALLOWED; in grantPermissionAndAppOp() 334 appOpMode = AppOpsManager.MODE_FOREGROUND; in grantPermissionAndAppOp() 336 appOpMode = AppOpsManager.MODE_ALLOWED; in grantPermissionAndAppOp() 339 permissionOrAppOpChanged = setAppOpMode(packageName, appOp, appOpMode, context); in grantPermissionAndAppOp() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridgeTest.java | 39 appState.appOpMode = AppOpsManager.MODE_ALLOWED; in testInstallAppsStateCanInstallApps() 42 appState.appOpMode = AppOpsManager.MODE_ERRORED; in testInstallAppsStateCanInstallApps() 52 appState.appOpMode = AppOpsManager.MODE_ERRORED; in testInstallAppsStateIsPotentialAppSource() 56 appState.appOpMode = AppOpsManager.MODE_DEFAULT; in testInstallAppsStateIsPotentialAppSource()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppOpsSettingsTest.java | 161 private void testAppDetailScreenForAppOp(int appOpMode, int userId) throws Exception { in testAppDetailScreenForAppOp() argument 168 mPackageManager.getPackageUidAsUser(mPackageName, userId), mPackageName, appOpMode); in testAppDetailScreenForAppOp() 172 findAndVerifySwitchState(appOpMode == MODE_ALLOWED || appOpMode == MODE_DEFAULT); in testAppDetailScreenForAppOp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | AppStateChangeWifiStateBridge.java | 73 this.appOpMode = permissionState.appOpMode; in WifiSettingsState()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridge.java | 73 this.appOpMode = permissionState.appOpMode; in WifiSettingsState()
|