Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSettingsSliceProvider.java123 Map<Uri, SliceData> mSliceWeakDataCache; field in SettingsSliceProvider
134 mSliceWeakDataCache = new WeakHashMap<>(); in onCreateSliceProvider()
216 SliceData cachedSliceData = mSliceWeakDataCache.get(sliceUri); in onBindSlice()
224 mSliceWeakDataCache.remove(sliceUri); in onBindSlice()
393 mSliceWeakDataCache.put(uri, sliceData); in loadSlice()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java128 Map<Uri, SliceData> mSliceWeakDataCache; field in SettingsSliceProvider
139 mSliceWeakDataCache = new WeakHashMap<>(); in onCreateSliceProvider()
221 SliceData cachedSliceData = mSliceWeakDataCache.get(sliceUri); in onBindSlice()
229 mSliceWeakDataCache.remove(sliceUri); in onBindSlice()
409 mSliceWeakDataCache.put(uri, sliceData); in loadSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSettingsSliceProviderTest.java138 mProvider.mSliceWeakDataCache = new HashMap<>(); in setUp()
172 SliceData data = mProvider.mSliceWeakDataCache.get(uri); in testLoadSlice_returnsSliceFromAccessor()
205 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in testLoadSlice_cachedEntryRemovedOnBuild()
209 SliceData cachedData = mProvider.mSliceWeakDataCache.get(data.getUri()); in testLoadSlice_cachedEntryRemovedOnBuild()
219 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_mainThread_shouldNotOverrideStrictMode()
233 mProvider.mSliceWeakDataCache.put(data.getUri(), data); in onBindSlice_backgroundThread_shouldOverrideStrictMode()