Home
last modified time | relevance | path

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

12

/packages/apps/Car/RotaryController/tests/robotests/src/com/android/car/rotary/
DNavigatorTest.java97 assertThat(window.getRoot()).isSameAs(root); in testSetRootNodeForWindow()
140 assertThat(target.node).isSameAs(button2); in testFindRotateTarget()
145 assertThat(target.node).isSameAs(button3); in testFindRotateTarget()
150 assertThat(target.node).isSameAs(button3); in testFindRotateTarget()
155 assertThat(target.node).isSameAs(button3); in testFindRotateTarget()
326 assertThat(target.node).isSameAs(button2); in testFindRotateTargetInScrollableContainer()
332 assertThat(target.node).isSameAs(button2); in testFindRotateTargetInScrollableContainer()
337 assertThat(target.node).isSameAs(button2); in testFindRotateTargetInScrollableContainer()
517 assertThat(target).isSameAs(bottomLeft1); in testFindNudgeTarget()
525 assertThat(target).isSameAs(topLeft2); in testFindNudgeTarget()
[all …]
DTreeTraverserTest.java107 assertThat(result).isSameAs(node0); in testFindNodeOrAncestor()
112 assertThat(result).isSameAs(node0); in testFindNodeOrAncestor()
117 assertThat(result).isSameAs(node0); in testFindNodeOrAncestor()
192 assertThat(result).isSameAs(node0); in testDepthFirstSearch()
197 assertThat(result).isSameAs(node4); in testDepthFirstSearch()
202 assertThat(result).isSameAs(node6); in testDepthFirstSearch()
281 assertThat(result).isSameAs(node0); in testReverseDepthFirstSearch()
285 assertThat(result).isSameAs(node1); in testReverseDepthFirstSearch()
289 assertThat(result).isSameAs(node2); in testReverseDepthFirstSearch()
DNodeBuilderTest.java54 assertThat(parent.getWindow()).isSameAs(window); in testBuildNode()
72 assertThat(child1.getParent()).isSameAs(parent); in testBuildNode()
74 assertThat(parent.getChild(0)).isSameAs(child1); in testBuildNode()
75 assertThat(parent.getChild(1)).isSameAs(child2); in testBuildNode()
DWindowBuilderTest.java41 assertThat(window.getRoot()).isSameAs(root); in testBuildWindow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DCategoryManagerTest.java70 assertThat(mCategoryManager).isSameAs(CategoryManager.get(mContext)); in getInstance_shouldBeSingleton()
150 assertThat(category.getTile(0)).isSameAs(tile3); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
151 assertThat(category.getTile(1)).isSameAs(tile1); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
152 assertThat(category.getTile(2)).isSameAs(tile2); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
173 assertThat(category.getTile(0)).isSameAs(tile2); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
174 assertThat(category.getTile(1)).isSameAs(tile1); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
175 assertThat(category.getTile(2)).isSameAs(tile3); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
195 assertThat(category.getTile(0)).isSameAs(tile1); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
196 assertThat(category.getTile(1)).isSameAs(tile2); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
197 assertThat(category.getTile(2)).isSameAs(tile3); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
[all …]
DDashboardFragmentTest.java132 assertThat(controller).isSameAs(retrievedController); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
145 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/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java402 assertThat(adminPref).isSameAs(mMePreference); in updateUserList_shouldAddAdminUserPreference()
421 assertThat(guestPref.getOnPreferenceClickListener()).isSameAs(mFragment); in updateUserList_existingGuest_shouldAddGuestUserPreference()
440 assertThat(userPref.getOnPreferenceClickListener()).isSameAs(mFragment); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
460 assertThat(userPref.getOnPreferenceClickListener()).isSameAs(mFragment); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
497 assertThat(userPref.getOnPreferenceClickListener()).isSameAs(mFragment); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference()
522 assertThat(userPref.getOnPreferenceClickListener()).isSameAs(mFragment); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DInitialUserSetterTest.java294 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameAs(user); in testReplaceGuestIfNeeded_nonGuest()
305 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameAs(newGuest); in testReplaceGuestIfNeeded_ok_nonEphemeralGuest()
314 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameAs(user); in testReplaceGuestIfNeeded_lockScreen()
325 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameAs(newGuest); in testReplaceGuestIfNeeded_ok_ephemeralGuest()
892 .isSameAs(expectedUser); in assertInitialUserSet()
/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/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.java55 .isSameAs(countryTimeZones); in testRegionsWithTimeZone()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java85 assertThat(carSensorManager2).isSameAs(carSensorManager); in testCarConnection()
DCarAppFocusManagerTest.java387 assertThat(Thread.currentThread()).isSameAs(mEventThread); in assertEventThread()
/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/DocumentsUI/tests/unit/com/android/documentsui/base/
DUserIdTest.java94 assertThat(UserId.of(differentUserHandle).asContext(mockContext)).isSameAs( in testAsContext_differentUserShouldCreatePackageContextAsUser()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java153 assertThat(observer.getObservedValue()).isSameAs(mMediaControllerFromBrowser); in testGetMediaController_connectedBrowser()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserIdManagerTest.java160 assertThat(mUserIdManager.getUserIds()).isSameAs(mUserIdManager.getUserIds()); in testGetUserIds_systemUserAndManagedUser_returnCachedList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java536 assertThat(sipper).isSameAs(mScreenBatterySipper); in testFindBatterySipperByType_findTypeScreen()
544 assertThat(sipper).isSameAs(mNormalBatterySipper); in testFindBatterySipperByType_findTypeApp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java108 assertThat(view).isSameAs(inputView); in testBuildView_constructedWithView_shouldReturnSameView()

12