Searched refs:mSliceWeakDataCache (Results 1 – 3 of 3) sorted by relevance
123 Map<Uri, SliceData> mSliceWeakDataCache; field in SettingsSliceProvider134 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()
128 Map<Uri, SliceData> mSliceWeakDataCache; field in SettingsSliceProvider139 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()
138 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()