Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCProvider.java40 final Map<Uri, SettingsQCBackgroundWorker> mSubscribedWorkers = new ArrayMap<>(); field in SettingsQCProvider
104 if (mSubscribedWorkers.containsKey(uri)) { in startBackgroundWorker()
110 mSubscribedWorkers.put(uri, worker); in startBackgroundWorker()
116 SettingsQCBackgroundWorker worker = mSubscribedWorkers.get(uri); in stopBackgroundWorker()
119 mSubscribedWorkers.remove(uri); in stopBackgroundWorker()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DSettingsQCProviderTest.java78 SettingsQCBackgroundWorker worker = mProvider.mSubscribedWorkers.get(QCTestUtils.URI); in onSubscribe_startsBackgroundWorker()
90 SettingsQCBackgroundWorker worker = mProvider.mSubscribedWorkers.get(QCTestUtils.URI); in onSubscribe_stopsBackgroundWorker()
97 assertThat(mProvider.mSubscribedWorkers.containsKey(QCTestUtils.URI)).isFalse(); in onSubscribe_stopsBackgroundWorker()