/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/ |
D | AppNotificationComponentTest.java | 78 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/ |
D | WifiRowTest.java | 76 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()
|
D | WifiTileTest.java | 65 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()
|
D | BrightnessSliderWithIconTest.java | 40 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_brightness); in getQCItem_iconSet()
|
D | VolumeSliderTestCase.java | 81 assertThat(row.getStartIcon().getResId()).isEqualTo(iconResId); in verifyIconSet()
|
D | HotspotRowTest.java | 85 assertThat(row.getStartIcon().getResId()).isEqualTo(R.drawable.ic_qc_hotspot); in getQCItem_setsTitleAndIcon()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 344 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/ |
D | SafetyCenterResourcesApk.java | 285 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/ |
D | ResourceAssetLoader.java | 86 mResourceAsset.getResources().openRawResource(mResourceAsset.getResId())); in loadData() 91 mResourceAsset.getResId(), options); in loadData()
|
D | ResourceAsset.java | 119 int getResId() { in getResId() method in ResourceAsset
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ColorSelectorLayout.java | 99 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/ |
D | MockMessageNotificationBuilder.java | 323 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/ |
D | CommonUtils.java | 123 public static int getResId(String name) { in getResId() method in CommonUtils
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ |
D | NotificationHelperTest.java | 333 .that(actual.getSmallIcon().getResId()) in isNotificationEqualTo() 334 .isEqualTo(expected.getSmallIcon().getResId()); in isNotificationEqualTo()
|
/packages/apps/TvSettings/ |
D | two-panel-baseline-profile.txt | 1752 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
|