Home
last modified time | relevance | path

Searched refs:mCacheManager (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DCacheManagerTest.java92 private CacheManager mCacheManager; field in CacheManagerTest
136 mCacheManager = in setup()
152 /* cacheManager */ mCacheManager, in testGetTopics_emptyCache()
229 mCacheManager.loadCache(currentEpochId); in testGetTopics()
237 /* cacheManager */ mCacheManager, in testGetTopics()
245 /* cacheManager */ mCacheManager, in testGetTopics()
253 /* cacheManager */ mCacheManager, in testGetTopics()
262 /* cacheManager */ mCacheManager, in testGetTopics()
271 /* cacheManager */ mCacheManager, in testGetTopics()
280 /* cacheManager */ mCacheManager, in testGetTopics()
[all …]
DTopicsWorkerTest.java91 private CacheManager mCacheManager; field in TopicsWorkerTest
129 mCacheManager = in setup()
145 mCacheManager, in setup()
1159 mCacheManager, in testReconcileApplicationUpdate()
1585 mCacheManager, in testHandleAppInstallation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceControllerTest.java124 @Mock private CachedBluetoothDeviceManager mCacheManager; field in AudioSharingCallAudioPreferenceControllerTest
168 when(btManager.getCachedDeviceManager()).thenReturn(mCacheManager); in setUp()
341 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in onFallbackDeviceChanged_updateSummary()
368 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in displayPreference_showCorrectSummary()
369 when(mCacheManager.findDevice(mDevice2)).thenReturn(mCachedDevice2); in displayPreference_showCorrectSummary()
370 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in displayPreference_showCorrectSummary()
390 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in displayPreference_noFallbackDeviceInSharing_showEmptySummary()
428 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in displayPreference_clickToShowCorrectDialog()
429 when(mCacheManager.findDevice(mDevice2)).thenReturn(mCachedDevice2); in displayPreference_clickToShowCorrectDialog()
465 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in logCallAudioDeviceChange_changeCallAudioToEarlierConnectedDevice()
[all …]
DAudioSharingDialogHandlerTest.java108 @Mock private CachedBluetoothDeviceManager mCacheManager; field in AudioSharingDialogHandlerTest
172 when(mLocalBtManager.getCachedDeviceManager()).thenReturn(mCacheManager); in setup()
173 when(mCacheManager.findDevice(mDevice1)).thenReturn(mCachedDevice1); in setup()
174 when(mCacheManager.findDevice(mDevice2)).thenReturn(mCachedDevice2); in setup()
175 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in setup()
176 when(mCacheManager.findDevice(mDevice4)).thenReturn(mCachedDevice4); in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsWorker.java74 private final CacheManager mCacheManager; field in TopicsWorker
87 mCacheManager = cacheManager; in TopicsWorker()
127 return mCacheManager.getKnownTopicsWithConsent(mEpochManager.getCurrentEpochId()); in getKnownTopicsWithConsent()
205 mCacheManager.getTopics( in getTopics()
280 mCacheManager.loadCache(mEpochManager.getCurrentEpochId()); in loadCache()
317 mCacheManager.clearAllTopicsData(tablesToExclude); in clearAllTopicsData()
429 mCacheManager.getTopicsInEpochRange( in getExistingTopicsForAppSdk()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DOnDeviceClassifierTest.java84 @Mock private CacheManager mCacheManager; field in OnDeviceClassifierTest
126 mCacheManager, in setUp()
129 when(mCacheManager.getTopicsWithRevokedConsent()).thenReturn(ImmutableList.of()); in setUp()
150 mCacheManager, in testClassify_earlyReturnIfNoModelAvailable()
314 when(mCacheManager.getTopicsWithRevokedConsent()) in testClassify_appWithBlockedTopic()
322 mCacheManager, in testClassify_appWithBlockedTopic()
355 when(mCacheManager.getTopicsWithRevokedConsent()) in testClassify_appWithAllTopicsBlocked()
363 mCacheManager, in testClassify_appWithAllTopicsBlocked()
DPrecomputedClassifierTest.java73 @Mock private CacheManager mCacheManager; field in PrecomputedClassifierTest
106 sPrecomputedClassifier = new PrecomputedClassifier(mModelManager, mCacheManager, mLogger); in setUp()
107 when(mCacheManager.getTopicsWithRevokedConsent()).thenReturn(ImmutableList.of()); in setUp()
203 when(mCacheManager.getTopicsWithRevokedConsent()) in testClassify_appWithBlockedTopic()
226 when(mCacheManager.getTopicsWithRevokedConsent()) in testClassify_appWithAllTopicsBlocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DPrecomputedClassifier.java66 private final CacheManager mCacheManager; field in PrecomputedClassifier
84 mCacheManager = cacheManager; in PrecomputedClassifier()
189 mCacheManager.getTopicsWithRevokedConsent().stream() in load()
DOnDeviceClassifier.java75 private final CacheManager mCacheManager; field in OnDeviceClassifier
97 mCacheManager = cacheManager; in OnDeviceClassifier()
324 mCacheManager.getTopicsWithRevokedConsent().stream() in load()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceController.java85 @Nullable private final CachedBluetoothDeviceManager mCacheManager; field in AudioSharingCallAudioPreferenceController
160 mCacheManager = mBtManager == null ? null : mBtManager.getCachedDeviceManager(); in AudioSharingCallAudioPreferenceController()
395 if (mCacheManager != null) { in logCallAudioDeviceChange()
405 mCacheManager.findDevice(device); in logCallAudioDeviceChange()