Home
last modified time | relevance | path

Searched refs:createWithContentUri (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DCanUseIconPredicateTest.kt45 Icon.createWithContentUri( in testReturnsFalseForDifferentUser()
58 Icon.createWithContentUri( in testReturnsTrueForCorrectUser()
70 val uriIcon = Icon.createWithContentUri(Uri.parse("content://test")) in testReturnsTrueForUriWithoutUser()
DTemperatureControlBehaviorTest.kt82 Icon.createWithContentUri(""), in testBehaviourSupportsThumbnailSubBehaviour()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java711 final Icon icon1 = Icon.createWithContentUri("content://media/icon1"); in visitUris()
712 final Icon icon2 = Icon.createWithContentUri("content://media/icon2"); in visitUris()
713 final Icon icon3 = Icon.createWithContentUri("content://media/icon3"); in visitUris()
714 final Icon icon4 = Icon.createWithContentUri("content://media/icon4"); in visitUris()
730 final Icon iconLight = Icon.createWithContentUri("content://light/icon"); in visitUris_themedIcons()
731 final Icon iconDark = Icon.createWithContentUri("content://dark/icon"); in visitUris_themedIcons()
746 final Icon icon1 = Icon.createWithContentUri("content://inner/icon1"); in visitUris_nestedViews()
747 final Icon icon2 = Icon.createWithContentUri("content://inner/icon2"); in visitUris_nestedViews()
748 final Icon icon3 = Icon.createWithContentUri("content://inner/icon3"); in visitUris_nestedViews()
749 final Icon icon4 = Icon.createWithContentUri("content://inner/icon4"); in visitUris_nestedViews()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsContentProviderTest.java51 final Drawable actual = Icon.createWithContentUri(uri).loadDrawable(context); in testLoadResource()
66 assertThat(Icon.createWithContentUri(badUri).loadDrawable(context)).isNull(); in testLoadResource_badUri()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileInteractorTest.kt253 icon = Icon.createWithContentUri("file://test_1") in <lambda>()
259 icon = Icon.createWithContentUri("file://test_2") in <lambda>()
DCustomTileDataInteractorTest.kt238 icon = Icon.createWithContentUri("file://test_1") in <lambda>()
DCustomTileUserActionInteractorTest.kt245 defaultTileIcon = Icon.createWithContentUri("default_icon"),
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java82 Icon.createWithContentUri("content://test"),
91 Icon.createWithContentUri("content://test"),
DAccessibilityManagerServiceTest.java166 Icon.createWithContentUri("content://test"),
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepositoryTest.kt314 icon = Icon.createWithContentUri("file://test_1") in <lambda>()
326 icon = Icon.createWithContentUri("file://test_2") in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java89 Icon.createWithContentUri("content://test"),
179 Icon.createWithContentUri("content://test"), in testRegisterSystemAction()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java707 return createWithContentUri(uriOrPath); in createFromStream()
868 public static @NonNull Icon createWithContentUri(String uri) { in createWithContentUri() method in Icon
882 public static @NonNull Icon createWithContentUri(Uri uri) { in createWithContentUri() method in Icon
886 return createWithContentUri(uri.toString()); in createWithContentUri()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManagerTest.kt70 Icon.createWithContentUri( in <lambda>()
81 private val invalidIcon by lazy { Icon.createWithContentUri(Uri.parse("this.is/broken")) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/
DImageLoaderTest.kt203 val loadedDrawable = imageLoader.loadDrawable(Icon.createWithContentUri(Uri.parse(uri))) in validUriIcon_returnsBitmapDrawable()
214 imageLoader.loadSize(Icon.createWithContentUri(Uri.parse(uri)), context) in validUriIcon_returnsSize()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLocalImageResolverTest.java60 Icon icon = Icon.createWithContentUri(Uri.parse("bogus://uri")); in resolveImage_invalidIconUri_returnsNull()
287 Icon icon = Icon.createWithContentUri(Uri.parse("some_uri")); in resolveResourcesForIcon_notAResourceIcon_returnsNull()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java1135 Icon icon1 = Icon.createWithContentUri("uri"); in areIconsDifferent_sameLargeIcon_false()
1136 Icon icon2 = Icon.createWithContentUri("uri"); in areIconsDifferent_sameLargeIcon_false()
1150 Icon icon1 = Icon.createWithContentUri("uri1"); in areIconsDifferent_differentLargeIcon_true()
1151 Icon icon2 = Icon.createWithContentUri("uri2"); in areIconsDifferent_differentLargeIcon_true()
1162 Icon icon = Icon.createWithContentUri("uri"); in areIconsDifferent_addedLargeIcon_true()
1172 Icon icon = Icon.createWithContentUri("uri"); in areIconsDifferent_removedLargeIcon_true()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java217 notification.setIcon(Icon.createWithContentUri(imageUri)); in loadIcon()
DNotificationShellCmd.java462 return Icon.createWithContentUri(asUri); in parseIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java414 ((KeyButtonView) v).loadAsync(Icon.createWithContentUri(uri)); in createView()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationVisitUrisTest.java696 return Icon.createWithContentUri(iconUri); in generate()
DNotificationManagerServiceTest.java6762 final Icon smallIcon = Icon.createWithContentUri("content://media/small/icon"); in testVisitUris()
6763 final Icon largeIcon = Icon.createWithContentUri("content://media/large/icon"); in testVisitUris()
6764 final Icon personIcon1 = Icon.createWithContentUri("content://media/person1"); in testVisitUris()
6765 final Icon personIcon2 = Icon.createWithContentUri("content://media/person2"); in testVisitUris()
6766 final Icon personIcon3 = Icon.createWithContentUri("content://media/person3"); in testVisitUris()
6817 final Icon smallIconPublic = Icon.createWithContentUri("content://media/small/icon"); in testVisitUris_publicVersion()
6818 final Icon largeIconPrivate = Icon.createWithContentUri("content://media/large/icon"); in testVisitUris_publicVersion()
6855 final Icon personIcon1 = Icon.createWithContentUri("content://media/person1"); in testVisitUris_messagingStyle()
6856 final Icon personIcon2 = Icon.createWithContentUri("content://media/person2"); in testVisitUris_messagingStyle()
6857 final Icon personIcon3 = Icon.createWithContentUri("content://media/person3"); in testVisitUris_messagingStyle()
[all …]
DNotificationRecordTest.java1028 .setSmallIcon(Icon.createWithContentUri(Uri.parse("content://something"))) in testCalculateGrantableUris_PappProvided()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1357 return Icon.createWithContentUri(uri); in changeIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1219 final Icon uriIcon = Icon.createWithContentUri("test_uri");
1444 final Icon uriIcon = Icon.createWithContentUri("test_uri");
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1814 return Icon.createWithContentUri(uri); in getShortcutIcon()

12