Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSettingsSliceProviderTest.java152 mProvider.mSliceWeakDataCache = new HashMap<>(); in setUp()
187 SliceData data = mProvider.mSliceWeakDataCache.get(INTENT_SLICE_URI); in testLoadSlice_returnsSliceFromAccessor()
219 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in testLoadSlice_cachedEntryRemovedOnBuild()
223 SliceData cachedData = mProvider.mSliceWeakDataCache.get(data.getUri()); in testLoadSlice_cachedEntryRemovedOnBuild()
233 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_mainThread_shouldNotOverrideStrictMode()
247 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_backgroundThread_shouldOverrideStrictMode()
275 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_nightModeChanged_shouldReloadTheme()
288 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_nightModeNotChanged_shouldNotReloadTheme()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java142 Map<Uri, SliceData> mSliceWeakDataCache; field in SettingsSliceProvider
160 mSliceWeakDataCache = new WeakHashMap<>(); in onCreateSliceProvider()
262 final SliceData cachedSliceData = mSliceWeakDataCache.get(sliceUri); in onBindSlice()
270 mSliceWeakDataCache.remove(sliceUri); in onBindSlice()
423 mSliceWeakDataCache.put(uri, sliceData); in loadSlice()