Home
last modified time | relevance | path

Searched refs:isInstanceOf (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java139 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_customClock()
151 assertThat(captor.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_customClock()
165 assertThat(captor1.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_uniqueInstances()
166 assertThat(captor2.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_uniqueInstances()
196 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_dockedCustomClock()
218 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_badDockedSettingsFallback()
237 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onUserChanged_customClock()
249 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onUserChanged_docked()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java52 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_configCorrect()
53 assertThat(drawable.getDrawable(1)).isInstanceOf( in testCreateLayerDrawable_configCorrect()
65 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_withIconScale_configCorrect()
66 assertThat(drawable.getDrawable(1)).isInstanceOf( in testCreateLayerDrawable_withIconScale_configCorrect()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java59 assertThat(text).isInstanceOf(Spanned.class); in testLinkAnnotation()
61 assertThat(textView.getMovementMethod()).isInstanceOf(TouchableLinkMovementMethod.class); in testLinkAnnotation()
68 assertThat(spans[0]).isInstanceOf(LinkSpan.class); in testLinkAnnotation()
160 assertThat(text).isInstanceOf(Spanned.class); in testTextStyle()
167 assertThat(spans[0]).isInstanceOf(TextAppearanceSpan.class); in testTextStyle()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java165 assertThat(getPhoneBackground(layout)).isInstanceOf(GlifPatternDrawable.class); in testSetBackgroundPatternedTrue()
174 assertThat(getPhoneBackground(layout)).isInstanceOf(ColorDrawable.class); in testSetBackgroundPatternedFalse()
184 assertThat(getTabletBackground(layout)).isInstanceOf(GlifPatternDrawable.class); in testSetBackgroundPatternedTrueTablet()
194 assertThat(getTabletBackground(layout)).isInstanceOf(ColorDrawable.class); in testSetBackgroundPatternedFalseTablet()
226 assertThat(header).named("header").isInstanceOf(ColoredHeaderMixin.class); in testMixins()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java67 public static boolean isInstanceOf(Object object, String className) { in isInstanceOf() method in ReflectionUtils
83 public static boolean isInstanceOf(Object object, String[] classNames) { in isInstanceOf() method in ReflectionUtils
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseDesignActivityTest.java56 .isInstanceOf(CarSetupWizardDesignLayout.class); in testGetCarSetupWizardLayout()
DBaseCompatActivityTest.java87 .isInstanceOf(CarSetupWizardCompatLayout.class); in testGetCarSetupWizardLayout()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DFooterPreferenceTest.java62 .isInstanceOf(LinkMovementMethod.class); in bindPreference_shouldLinkifyContent()
DAdaptiveIconTest.java70 assertThat(icon.getDrawable(0)).isInstanceOf(AdaptiveIconShapeDrawable.class); in createIcon_shouldSetBackgroundAndInset()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java67 assertThat(elem).isInstanceOf(RecentTaskInfo.class); in testTaskIdsForUser()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifStyleTest.java79 .isInstanceOf(ProgressBar.class); in glifLoadingScreen_shouldHaveProgressBar()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java97 assertThat(expectedOperation).isInstanceOf(clazz); in getExpectedOperation()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothUtilsTest.java91 mCachedBluetoothDevice).first).isInstanceOf(AdaptiveIcon.class); in getBtRainbowDrawableWithDescription_normalHeadset_returnAdaptiveIcon()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java71 assertThat(switchContent).isInstanceOf(CheckableLinearLayout.class); in testInitialState()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java87 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in setIcon_resourceId_shouldSetIcon()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java95 import static com.android.layoutlib.bridge.util.ReflectionUtils.isInstanceOf;
745 if (isInstanceOf(group.getChildAt(i), className)) { in findChildView()
758 if (isInstanceOf(group.getChildAt(i), DesignLibUtil.CN_TOOLBAR)) { in hasToolbar()
847 if (isInstanceOf(tabHost, FragmentTabHostUtil.CN_FRAGMENT_TAB_HOST)) { in setupTabHost()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DStringUtilTest.java105 assertThat(charSequence).isInstanceOf(SpannableStringBuilder.class); in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java455 if (ReflectionUtils.isInstanceOf(view, RecyclerViewUtil.CN_RECYCLER_VIEW)) { in setupViewInContext()
468 } else if (ReflectionUtils.isInstanceOf(view, DrawerLayoutUtil.CN_DRAWER_LAYOUT)) { in setupViewInContext()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java515 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java144 assertThat((Object) task2.getStack()).isInstanceOf(ActivityStack.class); in testUpdateLaunchBounds()