Home
last modified time | relevance | path

Searched refs:getResId (Results 1 – 6 of 6) 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/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java362 R.drawable.ic_settings_accent).toIcon().getResId(); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
370 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
377 R.drawable.ic_settings_accent).toIcon().getResId(); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
389 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
396 R.drawable.ic_settings_accent).toIcon().getResId(); in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
404 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
411 R.drawable.ic_settings_accent).toIcon().getResId(); in buildSliderSlice_noIconPassed_returnsSliceWithIcon()
418 final int actualIconResource = primaryAction.getIcon().toIcon().getResId(); in buildSliderSlice_noIconPassed_returnsSliceWithIcon()
439 final int actualIconResource = actualIcon.toIcon().getResId(); in getSafeIcon_replacesEmptyIconWithSettingsIcon()
453 final int actualIconResource = actualIcon.toIcon().getResId(); in getSafeIcon_invalidResource_shouldFallbackToSettingsIcon()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/
DMockMessageNotificationBuilder.java289 when(action.icon).thenReturn(iconCompat.getResId()); in getMockReplyAction()
316 when(action.icon).thenReturn(iconCompat.getResId()); in getMockMarkAsReadAction()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DResourceAssetLoader.java80 mResourceAsset.getResources().openRawResource(mResourceAsset.getResId())); in loadData()
DResourceAsset.java106 int getResId() { in getResId() method in ResourceAsset
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DCommonUtils.java105 public static int getResId(String name) { in getResId() method in CommonUtils