Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java143 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_customClock()
155 assertThat(captor.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_customClock()
169 assertThat(captor1.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_uniqueInstances()
170 assertThat(captor2.getValue()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onClockChanged_uniqueInstances()
200 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_dockedCustomClock()
222 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_badDockedSettingsFallback()
241 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onUserChanged_customClock()
253 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/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCbGeoUtilsTest.java65 assertThat(geo.get(0)).isInstanceOf(CbGeoUtils.Polygon.class); in testEncodeGeometries()
80 assertThat(geo.get(1)).isInstanceOf(CbGeoUtils.Circle.class); in testEncodeGeometries()
97 assertThat(geo.get(0)).isInstanceOf(CbGeoUtils.Polygon.class); in testParseGeometriesFromString()
112 assertThat(geo.get(1)).isInstanceOf(CbGeoUtils.Circle.class); in testParseGeometriesFromString()
/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/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java127 assertThat(cause).isInstanceOf(UnsupportedOperationException.class); in testWriteToParcel_Exception()
155 assertThat(executionException.getCause()).isInstanceOf(UnsupportedOperationException.class); in testWriteToParcel_Incomplete_Exception()
/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/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationManagerTest.java61 .isInstanceOf(SystemTextClassifier.class); in testGetSystemTextClassifier()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DFooterPreferenceTest.java56 .isInstanceOf(LinkMovementMethod.class); in bindPreference_shouldLinkifyContent()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCountryDetectorServiceTest.java200 .isInstanceOf(CustomCountryDetectorTestClass.class); in initialize_deviceWithCustomDetector_useCustomDetectorClass()
211 .isInstanceOf(ComprehensiveCountryDetector.class); in initialize_deviceWithInvalidCustomDetector_useDefaultDetector()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java140 assertThat(params).isInstanceOf(WindowManager.LayoutParams.class); in testShowToast_addsViewWithCorrectLayoutParamsToWindowManager()
156 assertThat(params).isInstanceOf(WindowManager.LayoutParams.class); in testShowToast_forAndroidPackage_addsAllUserFlag()
169 assertThat(params).isInstanceOf(WindowManager.LayoutParams.class); in testShowToast_forSystemUiPackage_addsAllUserFlag()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DNetworkDetailsTrackerTest.java114 assertThat(tracker).isInstanceOf(StandardNetworkDetailsTracker.class); in testCreateNetworkDetailsTracker_returnsStandardNetworkDetailsTracker()
/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/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java71 assertThat(switchContent).isInstanceOf(CheckableLinearLayout.class); in testInitialState()
/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/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java87 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in setIcon_resourceId_shouldSetIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java91 assertThat(elem).isInstanceOf(RecentTaskInfo.class); in testTaskIdsForUser()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java100 import static com.android.layoutlib.bridge.util.ReflectionUtils.isInstanceOf;
766 if (isInstanceOf(group.getChildAt(i), className)) { in findChildView()
779 if (isInstanceOf(group.getChildAt(i), DesignLibUtil.CN_TOOLBAR)) { in hasToolbar()
868 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.java454 if (ReflectionUtils.isInstanceOf(view, RecyclerViewUtil.CN_RECYCLER_VIEW)) { in setupViewInContext()
467 } else if (ReflectionUtils.isInstanceOf(view, DrawerLayoutUtil.CN_DRAWER_LAYOUT)) { in setupViewInContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogTest.java254 assertThat(stuff.get(i)).isInstanceOf(classes[i]); in assertItemsOfType()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java515 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()