/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockManagerTest.java | 143 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/ |
D | BluetoothDeviceLayerDrawableTest.java | 52 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/ |
D | RichTextViewTest.java | 59 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/ |
D | CbGeoUtilsTest.java | 65 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/ |
D | ReflectionUtils.java | 67 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/ |
D | AndroidFutureTest.java | 127 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/ |
D | BaseDesignActivityTest.java | 56 .isInstanceOf(CarSetupWizardDesignLayout.class); in testGetCarSetupWizardLayout()
|
D | BaseCompatActivityTest.java | 87 .isInstanceOf(CarSetupWizardCompatLayout.class); in testGetCarSetupWizardLayout()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationManagerTest.java | 61 .isInstanceOf(SystemTextClassifier.class); in testGetSystemTextClassifier()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | FooterPreferenceTest.java | 56 .isInstanceOf(LinkMovementMethod.class); in bindPreference_shouldLinkifyContent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 200 .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/ |
D | ToastUITest.java | 140 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/ |
D | NetworkDetailsTrackerTest.java | 114 assertThat(tracker).isInstanceOf(StandardNetworkDetailsTracker.class); in testCreateNetworkDetailsTracker_returnsStandardNetworkDetailsTracker()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifStyleTest.java | 79 .isInstanceOf(ProgressBar.class); in glifLoadingScreen_shouldHaveProgressBar()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | FakeProviderWithAsserts.java | 97 assertThat(expectedOperation).isInstanceOf(clazz); in getExpectedOperation()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | ExpandableSwitchItemTest.java | 71 assertThat(switchContent).isInstanceOf(CheckableLinearLayout.class); in testInitialState()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtilsTest.java | 91 mCachedBluetoothDevice).first).isInstanceOf(AdaptiveIcon.class); in getBtRainbowDrawableWithDescription_normalHeadset_returnAdaptiveIcon()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 87 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in setIcon_resourceId_shouldSetIcon()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 91 assertThat(elem).isInstanceOf(RecentTaskInfo.class); in testTaskIdsForUser()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 100 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/ |
D | StringUtilTest.java | 105 assertThat(charSequence).isInstanceOf(SpannableStringBuilder.class); in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 454 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/ |
D | GlobalActionsDialogTest.java | 254 assertThat(stuff.get(i)).isInstanceOf(classes[i]); in assertItemsOfType()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LooperStatsTest.java | 515 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
|