/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/exportimport/ |
D | QueryDocumentProvidersTest.java | 133 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_singleRoot_returnsRoot() 209 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_singleRootSupportsMultipleMimeTypes_returnsRoot() 230 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_singleRootSupportsAllMimeTypes_returnsRoot() 262 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_multipleRoots_returnsRoots() 267 assertThat(documentProviders.get(1).getIconResource()).isEqualTo(1); in queryDocumentProviders_multipleRoots_returnsRoots() 291 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_secondDocumentProviderThrowsException_returnsRoot() 324 assertThat(documentProviders.get(0).getIconResource()).isEqualTo(0); in queryDocumentProviders_singleRootFromMultipleDocumentProviders_returnsRoots() 330 assertThat(documentProviders.get(1).getIconResource()).isEqualTo(1); in queryDocumentProviders_singleRootFromMultipleDocumentProviders_returnsRoots()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 66 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_buildsMatchingObject() 144 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noSubtitle_buildsMatchingObject() 167 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noScreenTitle_buildsMatchingObject() 190 assertThat(data.getIconResource()).isEqualTo(0); in testBuilder_noIcon_buildsMatchingObject() 214 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noUri_buildsMatchingObject()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessorTest.java | 103 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_validKey_validSliceReturned() 125 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned() 160 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceFromUri_validUri_validSliceReturned() 305 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned() 327 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
|
D | SliceDataConverterTest.java | 123 assertThat(fakeSlice.getIconResource()).isNotNull(); in assertFakeSlice() 140 assertThat(fakeSlice.getIconResource()).isEqualTo(FAKE_ICON); in assertFakeA11ySlice() 156 doReturn(FAKE_ICON).when(resolveInfo).getIconResource(); in getFakeService()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaChooser.java | 93 mTabButton.setImageResource(getIconResource()); in onCreateTabButton() 129 abstract int getIconResource(); in getIconResource() method in MediaChooser
|
D | AudioMediaChooser.java | 47 public int getIconResource() { in getIconResource() method in AudioMediaChooser
|
D | ContactMediaChooser.java | 56 public int getIconResource() { in getIconResource() method in ContactMediaChooser
|
D | GalleryMediaChooser.java | 91 public int getIconResource() { in getIconResource() method in GalleryMediaChooser
|
D | CameraMediaChooser.java | 226 public int getIconResource() { in getIconResource() method in CameraMediaChooser
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/ |
D | ExportImportDocumentProviderTest.java | 54 assertThat(deserializedDocumentProvider.getIconResource()).isEqualTo(TEST_ICON_RESOURCE_ID); in testDeserailize()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | SliceTester.java | 150 sliceData.getIconResource()); in testSettingsSliderSlice() 190 sliceData.getIconResource()); in testSettingsCopyableSlice()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/exportimport/ |
D | ExportImportDocumentProvider.java | 95 public @DrawableRes int getIconResource() { in getIconResource() method in ExportImportDocumentProvider
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesIndexer.java | 112 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
|
D | SliceData.java | 105 public int getIconResource() { in getIconResource() method in SliceData
|
D | SliceBuilderUtils.java | 339 if (sliceData.getIconResource() != 0) { in buildSliderSlice() 445 int iconResource = data.getIconResource(); in getSafeIcon()
|
D | SliceDataConverter.java | 284 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityActivityPreference.java | 107 if (activityInfo.getIconResource() == 0) { in getA11yActivityIcon()
|
D | AccessibilityServicePreference.java | 101 if (resolveInfo.getIconResource() == 0) { in getA11yServiceIcon()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/ |
D | TtsEnginePreferenceFragmentTest.java | 72 doReturn(1).when(serviceInfo).getIconResource(); in setUp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 92 int iconResource = info.activityInfo.getIconResource(); in initialisePackageNames()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 141 int getIconResource() { in getIconResource() method in SelectFromListWizardFragment.ListItem 277 int iconResource = item.getIconResource(); in init()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | AppsUtil.java | 104 int iconResourceId = activityInfo.getIconResource(); in getActivityIconUriString()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconProvider.java | 170 final int iconRes = ai.getIconResource(); in loadActivityInfoIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.kt | 227 this.icon = targetContext.getDrawable(info.getIconResource()) in updateCastSettings()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 174 info.getIconResource()); in getFullResIcon()
|