Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DImagePreviewImageLoaderTest.kt65 private val uriOne = Uri.parse("content://org.package.app/image-1.png") constant in com.android.intentresolver.contentpreview.ImagePreviewImageLoaderTest
84 testSubject.prePopulate(listOf(uriOne, uriTwo)) in prePopulate_cachesImagesUpToTheCacheSize()
86 verify(contentResolver, times(1)).loadThumbnail(uriOne, imageSize, null) in prePopulate_cachesImagesUpToTheCacheSize()
89 testSubject(uriOne) in prePopulate_cachesImagesUpToTheCacheSize()
90 verify(contentResolver, times(1)).loadThumbnail(uriOne, imageSize, null) in prePopulate_cachesImagesUpToTheCacheSize()
96 testSubject(uriOne) in invoke_returnCachedImageWhenCalledTwice()
97 testSubject(uriOne) in invoke_returnCachedImageWhenCalledTwice()
105 testSubject(uriOne, false) in invoke_whenInstructed_doesNotCache()
106 testSubject(uriOne, false) in invoke_whenInstructed_doesNotCache()
123 launch(start = UNDISPATCHED) { testSubject(uriOne, false) } in invoke_overlappedRequests_Deduplicate()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt67 val uriOne = createUri(1) in <lambda>() constant
69 imageLoader.setUriLoadingOrder(succeed(uriTwo), succeed(uriOne)) in <lambda>()
73 previews(uriOne, uriTwo), in <lambda>()
83 assertThat(list).containsExactly(uriOne, uriTwo).inOrder() in <lambda>()
89 val uriOne = createUri(1) in <lambda>() constant
92 imageLoader.setUriLoadingOrder(succeed(uriThree), fail(uriTwo), succeed(uriOne)) in <lambda>()
96 previews(uriOne, uriTwo, uriThree), in <lambda>()
106 assertThat(list).containsExactly(uriOne, uriThree).inOrder() in <lambda>()