Home
last modified time | relevance | path

Searched refs:getResId (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/
DAppNotificationComponentTest.java78 CommonUtils.getResId("recycler_view")); in test_special_app_could_not_disable_notification()
83 CommonUtils.getResId("recycler_view"))); in test_special_app_could_not_disable_notification()
89 () -> recyclerView.findViewById(CommonUtils.getResId("recycler_view")) in test_special_app_could_not_disable_notification()
93 CommonUtils.getResId("main_switch_bar")); in test_special_app_could_not_disable_notification()
112 CommonUtils.getResId("switchWidget")); in test_special_app_could_not_disable_notification()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DWifiRowTest.java76 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_disabled); in getQCItem_wifiDisabled_returnsRow()
91 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_disconnected); in getQCItem_wifiNotConnected_returnsRow()
109 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_wifiConnected_returnsRow()
128 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow()
147 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()
166 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_osuWifiConnected_hasFriendlyName_returnsRow()
185 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow()
236 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_createsRow_zoneWrite()
255 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_createsRow_zoneRead()
DWifiTileTest.java65 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_disabled); in getQCItem_wifiDisabled_returnsTile()
79 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_disconnected); in getQCItem_wifiNotConnected_returnsTile()
96 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_wifiConnected_returnsTile()
114 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsTile()
132 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()
150 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_osuWifiConnected_hasFriendlyName_returnsTile()
168 assertThat(tile.getIcon().getResId()).isEqualTo(R.drawable.ic_qc_wifi_level_4); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile()
DBrightnessSliderWithIconTest.java40 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_brightness); in getQCItem_iconSet()
DVolumeSliderTestCase.java81 assertThat(row.getStartIcon().getResId()).isEqualTo(iconResId); in verifyIconSet()
DHotspotRowTest.java85 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_hotspot); in getQCItem_setsTitleAndIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java344 R.drawable.ic_settings_accent).toIcon().getResId(); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
352 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
359 R.drawable.ic_settings_accent).toIcon().getResId(); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
371 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
378 R.drawable.ic_settings_accent).toIcon().getResId(); in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
386 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
393 R.drawable.ic_settings_accent).toIcon().getResId(); in buildSliderSlice_noIconPassed_returnsSliceWithIcon()
400 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildSliderSlice_noIconPassed_returnsSliceWithIcon()
421 final int actualIconResource = actualIcon.toIcon().getResId(); in getSafeIcon_replacesEmptyIconWithSettingsIcon()
435 final int actualIconResource = actualIcon.toIcon().getResId(); in getSafeIcon_invalidResource_shouldFallbackToSettingsIcon()
/packages/modules/Permission/SafetyCenter/ResourcesLib/java/com/android/safetycenter/resources/
DSafetyCenterResourcesApk.java285 return getOptionalString(getResId(name, "string")); in getOptionalStringByName()
337 int resId = getResId(name, type); in getResIdAndMaybeThrowIfNull()
348 private int getResId(String name, String type) { in getResId() method in SafetyCenterResourcesApk
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DResourceAssetLoader.java86 mResourceAsset.getResources().openRawResource(mResourceAsset.getResId())); in loadData()
91 mResourceAsset.getResId(), options); in loadData()
DResourceAsset.java119 int getResId() { in getResId() method in ResourceAsset
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorSelectorLayout.java99 int resId = getResId(mColorList.indexOf(color)); in setCheckedColor()
122 private int getResId(int index) { in getResId() method in ColorSelectorLayout
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/
DMockMessageNotificationBuilder.java323 when(action.icon).thenReturn(iconCompat.getResId()); in getMockReplyAction()
350 when(action.icon).thenReturn(iconCompat.getResId()); in getMockMarkAsReadAction()
377 when(action.icon).thenReturn(iconCompat.getResId()); in getMockMuteAction()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DCommonUtils.java123 public static int getResId(String name) { in getResId() method in CommonUtils
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperTest.java333 .that(actual.getSmallIcon().getResId()) in isNotificationEqualTo()
334 .isEqualTo(expected.getSmallIcon().getResId()); in isNotificationEqualTo()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt1752 PLandroidx/core/graphics/drawable/IconCompat$Api23Impl;->getResId(Ljava/lang/Object;)I
1756 PLandroidx/core/graphics/drawable/IconCompat$Api28Impl;->getResId(Ljava/lang/Object;)I
1763 PLandroidx/core/graphics/drawable/IconCompat;->getResId()I