Home
last modified time | relevance | path

Searched refs:expectedIcon (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeySpecParserTests.java30 final String expectedLabel, final String expectedOutputText, final int expectedIcon, in assertParser() argument
40 KeyboardIconsSet.getIconName(expectedIcon), in assertParser()
H A DKeySpecParserTestsBase.java57 final String expectedLabel, final String expectedOutputText, final int expectedIcon, in assertParser() argument
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
H A DSliceTester.java149 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsSliderSlice() local
151 assertThat(expectedIcon.toString()).isEqualTo(icon.toString()); in testSettingsSliderSlice()
189 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsCopyableSlice() local
191 assertThat(expectedIcon.toString()).isEqualTo(primaryAction.getIcon().toString()); in testSettingsCopyableSlice()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
H A DSliceTester.java148 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsSliderSlice() local
150 assertThat(expectedIcon.toString()).isEqualTo(icon.toString()); in testSettingsSliderSlice()
188 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsCopyableSlice() local
190 assertThat(expectedIcon.toString()).isEqualTo(primaryAction.getIcon().toString()); in testSettingsCopyableSlice()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java52 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in getHistoricalNotification() local
68 .setIcon(expectedIcon) in getHistoricalNotification()
83 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in testHistoricalNotificationBuilder() local
96 .setIcon(expectedIcon) in testHistoricalNotificationBuilder()
108 assertThat(expectedIcon.sameAs(n.getIcon())).isTrue(); in testHistoricalNotificationBuilder()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryFilterTest.java52 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in getHistoricalNotification() local
64 .setIcon(expectedIcon) in getHistoricalNotification()
H A DNotificationHistoryProtoHelperTest.java59 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in getHistoricalNotification() local
75 .setIcon(expectedIcon) in getHistoricalNotification()
H A DNotificationHistoryDatabaseTest.java80 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in getHistoricalNotification() local
92 .setIcon(expectedIcon) in getHistoricalNotification()
H A DNotificationHistoryManagerTest.java74 Icon expectedIcon = Icon.createWithResource(InstrumentationRegistry.getContext(), in getHistoricalNotification() local
86 .setIcon(expectedIcon) in getHistoricalNotification()
/aosp12/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
H A DPackageManagerComponentLabelIconOverrideTest.kt150 val expectedIcon = when (result) { regex
228 assertThat(activityInfo.icon).isEqualTo(params.expectedIcon)
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
H A DWifiDetailPreferenceController2Test.java511 Drawable expectedIcon = mMockIconInjector.getIcon(false /* showX */, LEVEL); in entityHeader_shouldHaveIconSetForConnectedNetwork() local
515 verify(mMockHeaderController).setIcon(expectedIcon); in entityHeader_shouldHaveIconSetForConnectedNetwork()
521 Drawable expectedIcon = mMockIconInjector.getIcon(false /* showX */, LEVEL); in entityHeader_shouldHaveIconSetForDisconnectedNetwork() local
525 verify(mMockHeaderController).setIcon(expectedIcon); in entityHeader_shouldHaveIconSetForDisconnectedNetwork()