Searched refs:previousMode (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 197 int previousMode = defaultMode; in setUidMode() local 199 previousMode = opModes.get(op, defaultMode); in setUidMode() 201 if (mode == previousMode) { in setUidMode() 255 int previousMode = defaultMode; in setPackageMode() local 259 previousMode = opModes.get(op, defaultMode); in setPackageMode() 263 if (mode == previousMode) { in setPackageMode()
|
D | AppOpsService.java | 2044 int previousMode; in setUidMode() local 2067 previousMode = in setUidMode() 2072 previousMode = MODE_DEFAULT; in setUidMode() 2082 if (mode != MODE_ERRORED && mode != previousMode) { in setUidMode() 2087 notifyStorageManagerOpModeChangedSync(code, uid, null, mode, previousMode); in setUidMode() 2319 @NonNull String packageName, int mode, int previousMode) { in notifyStorageManagerOpModeChangedSync() argument 2323 storageManagerInternal.onAppOpsChanged(code, uid, packageName, mode, previousMode); in notifyStorageManagerOpModeChangedSync() 2358 int previousMode = MODE_DEFAULT; in setMode() local 2365 previousMode = in setMode() 2375 notifyStorageManagerOpModeChangedSync(code, uid, packageName, mode, previousMode); in setMode() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManagerInternal.java | 96 @Nullable String packageName, int mode, int previousMode); in onAppOpsChanged() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 271 final int previousMode = getModeInFile(uid, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() local 274 if (previousMode == AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM)) { in upgradeScheduleExactAlarm() 277 expectedMode = previousMode; in upgradeScheduleExactAlarm()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 1868 String previousMode = nightModeSplit[1].trim(); in changeNightMode() local 1870 return previousMode; in changeNightMode()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2532 final int previousMode = userState.getMagnificationModeLocked(displayId) in onMagnificationTransitionEndedLocked() local 2534 if (!success && previousMode != 0) { in onMagnificationTransitionEndedLocked() 2535 userState.setMagnificationModeLocked(displayId, previousMode); in onMagnificationTransitionEndedLocked() 2537 persistMagnificationModeSettingsLocked(previousMode); in onMagnificationTransitionEndedLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 4992 int previousMode) { in onAppOpsChanged() argument 5004 if (previousMode == MODE_ALLOWED && mode != MODE_ALLOWED) { in onAppOpsChanged()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 6217 int previousMode = mMode.getAndSet(mode); in onUpdateAudioMode() local 6239 updateAbsVolumeMultiModeDevices(previousMode, mode); in onUpdateAudioMode()
|