Home
last modified time | relevance | path

Searched refs:previousMode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsCheckingServiceImpl.java197 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()
DAppOpsService.java2044 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/
DStorageManagerInternal.java96 @Nullable String packageName, int mode, int previousMode); in onAppOpsChanged() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java271 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/
DNotificationTest.java1868 String previousMode = nightModeSplit[1].trim(); in changeNightMode() local
1870 return previousMode; in changeNightMode()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2532 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/
DStorageManagerService.java4992 int previousMode) { in onAppOpsChanged() argument
5004 if (previousMode == MODE_ALLOWED && mode != MODE_ALLOWED) { in onAppOpsChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6217 int previousMode = mMode.getAndSet(mode); in onUpdateAudioMode() local
6239 updateAbsVolumeMultiModeDevices(previousMode, mode); in onUpdateAudioMode()