Home
last modified time | relevance | path

Searched refs:isSameAs (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DCategoryManagerTest.java66 assertThat(mCategoryManager).isSameAs(CategoryManager.get(mContext)); in getInstance_shouldBeSingleton()
162 assertThat(category.getTile(0)).isSameAs(tile3); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
163 assertThat(category.getTile(1)).isSameAs(tile1); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
164 assertThat(category.getTile(2)).isSameAs(tile2); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
201 assertThat(category.getTile(0)).isSameAs(tile2); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
202 assertThat(category.getTile(1)).isSameAs(tile1); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
203 assertThat(category.getTile(2)).isSameAs(tile3); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
238 assertThat(category.getTile(0)).isSameAs(tile1); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
239 assertThat(category.getTile(1)).isSameAs(tile2); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
240 assertThat(category.getTile(2)).isSameAs(tile3); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
[all …]
DDashboardFragmentTest.java106 assertThat(controller).isSameAs(retrievedController); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
119 assertThat(controller1).isSameAs(retrievedController); in testPreferenceControllerSetter_shouldAddAndNotReplace()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java292 assertThat(observer.getObservedValue()).isSameAs(valueObject); in testIff_changePredicate()
321 assertThat(observer.getObservedValue()).isSameAs(firstObject); in testIff_changeValue()
407 assertThat(observer.getObservedValue()).isSameAs(falseObject); in testIfThenElse_liveDataParams_changePredicate()
413 assertThat(observer.getObservedValue()).isSameAs(trueObject); in testIfThenElse_liveDataParams_changePredicate()
447 assertThat(observer.getObservedValue()).isSameAs(trueObject); in testIfThenElse_liveDataParams_changeValue_value()
515 assertThat(observer.getObservedValue()).isSameAs(falseObject); in testIfThenElse_valueParams_changePredicate()
521 assertThat(observer.getObservedValue()).isSameAs(trueObject); in testIfThenElse_valueParams_changePredicate()
569 assertThat(observer.getObservedValue()).isSameAs(fallbackObject); in testCoalesceNull_liveDataParams_changeSource()
575 assertThat(observer.getObservedValue()).isSameAs(firstSourceObject); in testCoalesceNull_liveDataParams_changeSource()
581 assertThat(observer.getObservedValue()).isSameAs(secondSourceObject); in testCoalesceNull_liveDataParams_changeSource()
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java209 assertThat(mPlaybackViewModel.getMediaController()).isSameAs(newController); in testChangeMediaSource_consistentController()
212 assertThat(mPlaybackViewModel.getMediaController()).isSameAs(mMediaController); in testChangeMediaSource_consistentController()
220 assertThat(mPlaybackViewModel.getMediaController()).isSameAs(newController); in testChangeMediaSource_consistentController()
223 assertThat(mPlaybackViewModel.getMediaController()).isSameAs(mMediaController); in testChangeMediaSource_consistentController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSecurityFeatureProviderImplTest.java51 assertThat(m1).isSameAs(m2); in getTrustAgentManager_shouldReturnCache()
59 assertThat(l1).isSameAs(l2); in getLockPatternUtils_shouldReturnCache()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfileTest.java67 assertThat(newRpm().getUser()).isSameAs(mProfileInfo); in testGetUser_isSelf()
73 assertThat(newRpm().getUser()).isSameAs(mProfileInfo); in testGetUser_isChild()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsSubscriberServiceTest.java144 assertThat(mSubscriberService.getPublisherInfo(PUBLISHER_ID)).isSameAs(PUBLISHER_INFO); in testGetPublisherInfo()
151 assertThat(mSubscriberService.getAvailableLayers()).isSameAs(AVAILABLE_LAYERS); in testGetAvailableLayers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/utils/
DLocalClassLoaderContextThemeWrapperTest.java39 assertThat(mContextThemeWrapper.getClassLoader()).isSameAs(clazz.getClassLoader()); in getClassLoader_shouldUseLocalClassLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/
DMetricsFeatureProviderTest.java50 assertThat(feature1).isSameAs(feature2); in getFactory_shouldReuseCachedInstance()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsInitializeTest.java97 assertThat(updatedShortcuts.get(0)).isSameAs(info); in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java57 .isSameAs(countryTimeZones); in testRegionsWithTimeZone()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java112 public boolean isSameAs(@NonNull WearEstimateChange wearEstimateChange) { in isSameAs() method in WearEstimateRecord
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DPreferenceControllerFragmentTest.java66 assertThat(mockController).isSameAs(retrievedController); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java150 assertThat(observer.getObservedValue()).isSameAs(mMediaControllerFromBrowser); in testGetMediaController_connectedBrowser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java535 assertThat(sipper).isSameAs(mScreenBatterySipper); in testFindBatterySipperByType_findTypeScreen()
543 assertThat(sipper).isSameAs(mNormalBatterySipper); in testFindBatterySipperByType_findTypeApp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java111 assertThat(view).isSameAs(inputView); in testBuildView_constructedWithView_shouldReturnSameView()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java405 assertThat(firstMenuItemView).isSameAs(getMenuItemView(0)); in menuItems_equalItems_shouldntRecreateViews()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java387 assertThat(mController.mAppEntry).isSameAs(appEntry); in forceStopPackage_methodInvokedAndUpdated()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java421 assertTrue(expected.isSameAs(actual)); in testReadWearHistory()