Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java331 final int previousMode = Settings.Secure.getIntForUser(mContext.getContentResolver(), in performDragging_showMagnificationButton_updateViewLayout() local
350 assertModeUnchanged(previousMode); in performDragging_showMagnificationButton_updateViewLayout()
358 final int previousMode = Settings.Secure.getInt(mContext.getContentResolver(), in performSingleTapActionCanceled_showButtonAnimation() local
368 assertModeUnchanged(previousMode); in performSingleTapActionCanceled_showButtonAnimation()
376 final int previousMode = Settings.Secure.getInt(mContext.getContentResolver(), in performDraggingActionCanceled_showButtonAnimation() local
390 assertModeUnchanged(previousMode); in performDraggingActionCanceled_showButtonAnimation()
/frameworks/base/core/java/android/os/storage/
DStorageManagerInternal.java89 @Nullable String packageName, int mode, int previousMode); in onAppOpsChanged() argument
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java469 String previousMode = nightModeSplit[1].trim(); in changeNightMode() local
471 return previousMode; in changeNightMode()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2529 int previousMode; in setUidMode() local
2538 previousMode = MODE_DEFAULT; in setUidMode()
2545 previousMode = MODE_DEFAULT; in setUidMode()
2555 previousMode = uidState.opModes.get(code); in setUidMode()
2567 if (mode != MODE_ERRORED && mode != previousMode) { in setUidMode()
2573 notifyOpChangedSync(code, uid, null, mode, previousMode); in setUidMode()
2751 int previousMode) { in notifyOpChangedSync() argument
2755 storageManagerInternal.onAppOpsChanged(code, uid, packageName, mode, previousMode); in notifyOpChangedSync()
2789 int previousMode = MODE_DEFAULT; in setMode() local
2795 previousMode = op.mode; in setMode()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1739 final int previousMode = userState.getMagnificationModeLocked() in onMagnificationTransitionEndedLocked() local
1741 if (!success && previousMode != 0) { in onMagnificationTransitionEndedLocked()
1742 userState.setMagnificationModeLocked(previousMode); in onMagnificationTransitionEndedLocked()
1743 persistMagnificationModeSettingLocked(previousMode); in onMagnificationTransitionEndedLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4819 int previousMode) { in onAppOpsChanged() argument
4831 if (previousMode == MODE_ALLOWED && mode != MODE_ALLOWED) { in onAppOpsChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4826 int previousMode = mMode.getAndSet(mode); in onUpdateAudioMode() local
4840 updateAbsVolumeMultiModeDevices(previousMode, mode); in onUpdateAudioMode()