Home
last modified time | relevance | path

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

/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DPreferenceDataStoreTest.java72 private PreferenceDataStore mDataStore; field in PreferenceDataStoreTest
86 mDataStore = mock(PreferenceDataStore.class); in setup()
115 preference.setPreferenceDataStore(mDataStore); in testSetGetOnPreference()
117 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetGetOnPreference()
122 mManager.setPreferenceDataStore(mDataStore); in testSetGetOnPreferenceManager()
124 assertEquals(mDataStore, mManager.getPreferenceDataStore()); in testSetGetOnPreferenceManager()
133 mManager.setPreferenceDataStore(mDataStore); in testSetOnPreferenceManagerGetOnPreference()
135 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetOnPreferenceManagerGetOnPreference()
142 mPreference.setPreferenceDataStore(mDataStore); in testDataStoresHierarchy()
151 assertEquals(mDataStore, mPreference.getPreferenceDataStore()); in testDataStoresHierarchy()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java160 private final PersistentDataStore mDataStore = new PersistentDataStore(); field in InputManagerService
760 synchronized (mDataStore) { in deliverInputDevicesChanged()
882 synchronized (mDataStore) { in getTouchCalibrationForInputDevice()
883 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
904 synchronized (mDataStore) { in setTouchCalibrationForInputDevice()
906 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
911 mDataStore.saveIfNeeded(); in setTouchCalibrationForInputDevice()
1029 synchronized (mDataStore) { in updateKeyboardLayouts()
1031 mDataStore.removeUninstalledKeyboardLayouts(availableKeyboardLayouts); in updateKeyboardLayouts()
1033 mDataStore.saveIfNeeded(); in updateKeyboardLayouts()
[all …]