Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DCollectionInfoStateTest.kt62 val cachedCollectionInfo = collectionInfoState.getCachedCollectionInfo(expectedProvider) in <lambda>() constant
63 assertThat(cachedCollectionInfo?.authority).isEqualTo(expectedCollectionInfo.authority) in <lambda>()
64 assertThat(cachedCollectionInfo?.accountName).isEqualTo(expectedCollectionInfo.accountName) in <lambda>()
65 assertThat(cachedCollectionInfo?.collectionId) in <lambda>()
82 val cachedCollectionInfo = collectionInfoState.getCachedCollectionInfo(expectedProvider) in <lambda>() constant
83 assertThat(cachedCollectionInfo?.authority).isEqualTo(expectedCollectionInfo.authority) in <lambda>()
84 assertThat(cachedCollectionInfo?.accountName).isEqualTo(expectedCollectionInfo.accountName) in <lambda>()
85 assertThat(cachedCollectionInfo?.collectionId) in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DCollectionInfoState.kt91 var cachedCollectionInfo = getCachedCollectionInfo(provider) in getCollectionInfo() variable
93 if (cachedCollectionInfo == null) { in getCollectionInfo()
99 cachedCollectionInfo = getCachedCollectionInfo(provider) in getCollectionInfo()
105 return cachedCollectionInfo ?: CollectionInfo(provider.authority) in getCollectionInfo()