/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | CanUseIconPredicateTest.kt | 45 Icon.createWithContentUri( in testReturnsFalseForDifferentUser() 58 Icon.createWithContentUri( in testReturnsTrueForCorrectUser() 70 val uriIcon = Icon.createWithContentUri(Uri.parse("content://test")) in testReturnsTrueForUriWithoutUser()
|
D | TemperatureControlBehaviorTest.kt | 82 Icon.createWithContentUri(""), in testBehaviourSupportsThumbnailSubBehaviour()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 711 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/ |
D | IconsContentProviderTest.java | 51 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/ |
D | CustomTileInteractorTest.kt | 253 icon = Icon.createWithContentUri("file://test_1") in <lambda>() 259 icon = Icon.createWithContentUri("file://test_2") in <lambda>()
|
D | CustomTileDataInteractorTest.kt | 238 icon = Icon.createWithContentUri("file://test_1") in <lambda>()
|
D | CustomTileUserActionInteractorTest.kt | 245 defaultTileIcon = Icon.createWithContentUri("default_icon"),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | SystemActionPerformerTest.java | 82 Icon.createWithContentUri("content://test"), 91 Icon.createWithContentUri("content://test"),
|
D | AccessibilityManagerServiceTest.java | 166 Icon.createWithContentUri("content://test"),
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | CustomTileRepositoryTest.kt | 314 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/ |
D | AccessibilityManagerTest.java | 89 Icon.createWithContentUri("content://test"), 179 Icon.createWithContentUri("content://test"), in testRegisterSystemAction()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 707 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/ |
D | BigPictureIconManagerTest.kt | 70 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/ |
D | ImageLoaderTest.kt | 203 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/ |
D | LocalImageResolverTest.java | 60 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/ |
D | NotificationTest.java | 1135 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/ |
D | NotificationHistoryProtoHelper.java | 217 notification.setIcon(Icon.createWithContentUri(imageUri)); in loadIcon()
|
D | NotificationShellCmd.java | 462 return Icon.createWithContentUri(asUri); in parseIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterView.java | 414 ((KeyButtonView) v).loadAsync(Icon.createWithContentUri(uri)); in createView()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationVisitUrisTest.java | 696 return Icon.createWithContentUri(iconUri); in generate()
|
D | NotificationManagerServiceTest.java | 6762 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 …]
|
D | NotificationRecordTest.java | 1028 .setSmallIcon(Icon.createWithContentUri(Uri.parse("content://something"))) in testCalculateGrantableUris_PappProvided()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 1357 return Icon.createWithContentUri(uri); in changeIcon()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 1219 final Icon uriIcon = Icon.createWithContentUri("test_uri"); 1444 final Icon uriIcon = Icon.createWithContentUri("test_uri");
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 1814 return Icon.createWithContentUri(uri); in getShortcutIcon()
|