Searched refs:mDataStore (Results 1 – 2 of 2) sorted by relevance
73 private PreferenceDataStore mDataStore; field in PreferenceDataStoreTest87 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 …]
163 private final PersistentDataStore mDataStore = new PersistentDataStore(); field in InputManagerService792 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 …]