Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java45 private PersistentDataStore mDataStore; field in PersistentDataStoreTest
51 mDataStore = new PersistentDataStore(mInjector); in setUp()
78 mDataStore.loadIfNeeded(); in testLoadingBrightnessConfigurations()
79 BrightnessConfiguration config = mDataStore.getBrightnessConfiguration(1 /*userSerial*/); in testLoadingBrightnessConfigurations()
87 config = mDataStore.getBrightnessConfiguration(3 /*userSerial*/); in testLoadingBrightnessConfigurations()
111 mDataStore.loadIfNeeded(); in testBrightnessConfigWithInvalidCurveIsIgnored()
112 assertNull(mDataStore.getBrightnessConfiguration(0 /*userSerial*/)); in testBrightnessConfigWithInvalidCurveIsIgnored()
130 mDataStore.loadIfNeeded(); in testBrightnessConfigWithInvalidFloatsIsIgnored()
131 assertNull(mDataStore.getBrightnessConfiguration(0 /*userSerial*/)); in testBrightnessConfigWithInvalidFloatsIsIgnored()
142 mDataStore.loadIfNeeded(); in testEmptyBrightnessConfigurationsDoesntCrash()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java160 private final PersistentDataStore mDataStore = new PersistentDataStore(); field in InputManagerService
807 synchronized (mDataStore) { in deliverInputDevicesChanged()
929 synchronized (mDataStore) { in getTouchCalibrationForInputDevice()
930 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
951 synchronized (mDataStore) { in setTouchCalibrationForInputDevice()
953 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
958 mDataStore.saveIfNeeded(); in setTouchCalibrationForInputDevice()
1076 synchronized (mDataStore) { in updateKeyboardLayouts()
1078 mDataStore.removeUninstalledKeyboardLayouts(availableKeyboardLayouts); in updateKeyboardLayouts()
1080 mDataStore.saveIfNeeded(); in updateKeyboardLayouts()
[all …]