Home
last modified time | relevance | path

Searched refs:mDataStore (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DPersistentDataStoreTest.java90 mDataStore.loadIfNeeded(); in testLoadBrightness()
127 mDataStore.loadIfNeeded(); in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId()
152 mDataStore.saveIfNeeded(); in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId()
194 mDataStore.loadIfNeeded(); in testLoadingBrightnessConfigurations()
227 mDataStore.loadIfNeeded(); in testBrightnessConfigWithInvalidCurveIsIgnored()
246 mDataStore.loadIfNeeded(); in testBrightnessConfigWithInvalidFloatsIsIgnored()
258 mDataStore.loadIfNeeded(); in testEmptyBrightnessConfigurationsDoesntCrash()
272 mDataStore.loadIfNeeded(); in testStoreAndReloadOfDisplayBrightnessConfigurations()
293 mDataStore.saveIfNeeded(); in testStoreAndReloadOfDisplayBrightnessConfigurations()
318 mDataStore.loadIfNeeded(); in testSetBrightnessConfigurationFailsWithUnstableId()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DKeyRemapper.java48 private final PersistentDataStore mDataStore; field in KeyRemapper
55 mDataStore = dataStore; in KeyRemapper()
89 synchronized (mDataStore) { in getKeyRemapping()
90 return mDataStore.getKeyRemapping(); in getKeyRemapping()
107 synchronized (mDataStore) { in remapKeyInternal()
110 mDataStore.clearMappedKey(fromKey); in remapKeyInternal()
112 mDataStore.remapKey(fromKey, toKey); in remapKeyInternal()
115 mDataStore.saveIfNeeded(); in remapKeyInternal()
121 synchronized (mDataStore) { in clearAllRemappingsInternal()
125 mDataStore.clearMappedKey(fromKey); in clearAllRemappingsInternal()
[all …]
H A DKeyboardLayoutManager.java139 mDataStore = dataStore; in KeyboardLayoutManager()
197 synchronized (mDataStore) { in onInputDeviceChanged()
354 synchronized (mDataStore) { in updateKeyboardLayouts()
603 synchronized (mDataStore) { in getCurrentKeyboardLayoutForInputDevice()
630 synchronized (mDataStore) { in setCurrentKeyboardLayoutForInputDevice()
653 synchronized (mDataStore) { in getEnabledKeyboardLayoutsForInputDevice()
674 synchronized (mDataStore) { in addKeyboardLayoutForInputDevice()
702 synchronized (mDataStore) { in removeKeyboardLayoutForInputDevice()
837 synchronized (mDataStore) { in setKeyboardLayoutForInputDevice()
873 synchronized (mDataStore) { in getKeyboardLayoutListForInputDeviceInternal()
[all …]
H A DKeyboardBacklightController.java94 private final PersistentDataStore mDataStore; field in KeyboardBacklightController
137 mDataStore = dataStore; in KeyboardBacklightController()
255 synchronized (mDataStore) { in maybeBackupBacklightBrightness()
257 mDataStore.setKeyboardBacklightBrightness(inputDevice.getDescriptor(), in maybeBackupBacklightBrightness()
261 mDataStore.saveIfNeeded(); in maybeBackupBacklightBrightness()
273 synchronized (mDataStore) { in maybeRestoreBacklightBrightness()
274 brightness = mDataStore.getKeyboardBacklightBrightness( in maybeRestoreBacklightBrightness()
H A DInputManagerService.java199 private final PersistentDataStore mDataStore = new PersistentDataStore(); field in InputManagerService
453 mKeyboardLayoutManager = new KeyboardLayoutManager(mContext, mNative, mDataStore, in InputManagerService()
458 ? new KeyboardBacklightController(mContext, mNative, mDataStore, in InputManagerService()
461 mKeyRemapper = new KeyRemapper(mContext, mNative, mDataStore, injector.getLooper()); in InputManagerService()
1085 synchronized (mDataStore) { in getTouchCalibrationForInputDevice()
1086 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
1103 synchronized (mDataStore) { in setTouchCalibrationForInputDevice()
1105 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
1110 mDataStore.saveIfNeeded(); in setTouchCalibrationForInputDevice()