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.java73 private PreferenceDataStore mDataStore; field in PreferenceDataStoreTest
87 mDataStore = mock(PreferenceDataStore.class); in setup()
116 preference.setPreferenceDataStore(mDataStore); in testSetGetOnPreference()
118 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetGetOnPreference()
123 mManager.setPreferenceDataStore(mDataStore); in testSetGetOnPreferenceManager()
125 assertEquals(mDataStore, mManager.getPreferenceDataStore()); in testSetGetOnPreferenceManager()
134 mManager.setPreferenceDataStore(mDataStore); in testSetOnPreferenceManagerGetOnPreference()
136 assertEquals(mDataStore, preference.getPreferenceDataStore()); in testSetOnPreferenceManagerGetOnPreference()
143 mPreference.setPreferenceDataStore(mDataStore); in testDataStoresHierarchy()
152 assertEquals(mDataStore, mPreference.getPreferenceDataStore()); in testDataStoresHierarchy()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java163 private final PersistentDataStore mDataStore = new PersistentDataStore(); field in InputManagerService
792 synchronized (mDataStore) { in deliverInputDevicesChanged()
914 synchronized (mDataStore) { in getTouchCalibrationForInputDevice()
915 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
936 synchronized (mDataStore) { in setTouchCalibrationForInputDevice()
938 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
943 mDataStore.saveIfNeeded(); in setTouchCalibrationForInputDevice()
1061 synchronized (mDataStore) { in updateKeyboardLayouts()
1063 mDataStore.removeUninstalledKeyboardLayouts(availableKeyboardLayouts); in updateKeyboardLayouts()
1065 mDataStore.saveIfNeeded(); in updateKeyboardLayouts()
[all …]