/packages/apps/Car/RotaryController/tests/robotests/src/com/android/car/rotary/ |
D | NavigatorTest.java | 97 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 …]
|
D | TreeTraverserTest.java | 107 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()
|
D | NodeBuilderTest.java | 54 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()
|
D | WindowBuilderTest.java | 41 assertThat(window.getRoot()).isSameAs(root); in testBuildWindow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | CategoryManagerTest.java | 70 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 …]
|
D | DashboardFragmentTest.java | 132 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/ |
D | LiveDataFunctionsTest.java | 292 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/ |
D | PlaybackViewModelTest.java | 209 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/ |
D | SecurityFeatureProviderImplTest.java | 51 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/ |
D | UserSettingsTest.java | 402 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/ |
D | InitialUserSetterTest.java | 294 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/ |
D | RestrictedProfileTest.java | 67 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/ |
D | LocalClassLoaderContextThemeWrapperTest.java | 39 assertThat(mContextThemeWrapper.getClassLoader()).isSameAs(clazz.getClassLoader()); in getClassLoader_shouldUseLocalClassLoader()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/ |
D | MetricsFeatureProviderTest.java | 50 assertThat(feature1).isSameAs(feature2); in getFactory_shouldReuseCachedInstance()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SettingsInitializeTest.java | 97 assertThat(updatedShortcuts.get(0)).isSameAs(info); in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/ |
D | TimeZoneDataTest.java | 55 .isSameAs(countryTimeZones); in testRegionsWithTimeZone()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 85 assertThat(carSensorManager2).isSameAs(carSensorManager); in testCarConnection()
|
D | CarAppFocusManagerTest.java | 387 assertThat(Thread.currentThread()).isSameAs(mEventThread); in assertEventThread()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | WearEstimateRecord.java | 112 public boolean isSameAs(@NonNull WearEstimateChange wearEstimateChange) { in isSameAs() method in WearEstimateRecord
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | PreferenceControllerFragmentTest.java | 66 assertThat(mockController).isSameAs(retrievedController); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | UserIdTest.java | 94 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/ |
D | MediaSourceViewModelTest.java | 153 assertThat(observer.getObservedValue()).isSameAs(mMediaControllerFromBrowser); in testGetMediaController_connectedBrowser()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserIdManagerTest.java | 160 assertThat(mUserIdManager.getUserIds()).isSameAs(mUserIdManager.getUserIds()); in testGetUserIds_systemUserAndManagedUser_returnCachedList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 536 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/ |
D | EntityHeaderControllerTest.java | 108 assertThat(view).isSameAs(inputView); in testBuildView_constructedWithView_shouldReturnSameView()
|