Home
last modified time | relevance | path

Searched refs:getIconResource (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/exportimport/
DQueryDocumentProvidersTest.java133 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/
DSliceDataTest.java66 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/
DSlicesDatabaseAccessorTest.java103 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()
DSliceDataConverterTest.java123 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/
DMediaChooser.java93 mTabButton.setImageResource(getIconResource()); in onCreateTabButton()
129 abstract int getIconResource(); in getIconResource() method in MediaChooser
DAudioMediaChooser.java47 public int getIconResource() { in getIconResource() method in AudioMediaChooser
DContactMediaChooser.java56 public int getIconResource() { in getIconResource() method in ContactMediaChooser
DGalleryMediaChooser.java91 public int getIconResource() { in getIconResource() method in GalleryMediaChooser
DCameraMediaChooser.java226 public int getIconResource() { in getIconResource() method in CameraMediaChooser
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/
DExportImportDocumentProviderTest.java54 assertThat(deserializedDocumentProvider.getIconResource()).isEqualTo(TEST_ICON_RESOURCE_ID); in testDeserailize()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java150 sliceData.getIconResource()); in testSettingsSliderSlice()
190 sliceData.getIconResource()); in testSettingsCopyableSlice()
/packages/modules/HealthFitness/framework/java/android/health/connect/exportimport/
DExportImportDocumentProvider.java95 public @DrawableRes int getIconResource() { in getIconResource() method in ExportImportDocumentProvider
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesIndexer.java112 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
DSliceData.java105 public int getIconResource() { in getIconResource() method in SliceData
DSliceBuilderUtils.java339 if (sliceData.getIconResource() != 0) { in buildSliderSlice()
445 int iconResource = data.getIconResource(); in getSafeIcon()
DSliceDataConverter.java284 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityActivityPreference.java107 if (activityInfo.getIconResource() == 0) { in getA11yActivityIcon()
DAccessibilityServicePreference.java101 if (resolveInfo.getIconResource() == 0) { in getA11yServiceIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java72 doReturn(1).when(serviceInfo).getIconResource(); in setUp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DHealthConnectResourcesContext.java92 int iconResource = info.activityInfo.getIconResource(); in initialisePackageNames()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java141 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/
DAppsUtil.java104 int iconResourceId = activityInfo.getIconResource(); in getActivityIconUriString()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java170 final int iconRes = ai.getIconResource(); in loadActivityInfoIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.kt227 this.icon = targetContext.getDrawable(info.getIconResource()) in updateCastSettings()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java174 info.getIconResource()); in getFullResIcon()

12