/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/ |
D | ChannelListPreferenceControllerTest.java | 106 assertEquals("All \"Group 1\" notifications", group1.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates() 108 assertEquals("Channel 1A", group1.getPreference(1).getTitle()); in testUpdateFullList_incrementalUpdates() 120 assertEquals("All \"Group 1\" notifications", group1.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates() 122 assertEquals("Channel 1A", group1.getPreference(1).getTitle()); in testUpdateFullList_incrementalUpdates() 124 assertEquals("Channel 1B", group1.getPreference(2).getTitle()); in testUpdateFullList_incrementalUpdates() 136 assertEquals("All \"Group 1\" notifications", group1.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates() 138 assertEquals("Channel 1A", group1.getPreference(1).getTitle()); in testUpdateFullList_incrementalUpdates() 140 assertEquals("Channel 1B - Renamed", group1.getPreference(2).getTitle()); in testUpdateFullList_incrementalUpdates() 155 assertEquals("All \"Group 0\" notifications", group0.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates() 157 assertEquals("Channel 0B", group0.getPreference(1).getTitle()); in testUpdateFullList_incrementalUpdates() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | ProfileSwitcherTest.java | 119 assertThat(rows.get(1).getTitle()).isEqualTo("User1"); in logoutAllowed_managedDevice_switchAllowed() 120 assertThat(rows.get(2).getTitle()).isEqualTo("User2"); in logoutAllowed_managedDevice_switchAllowed() 121 assertThat(rows.get(3).getTitle()).isEqualTo( in logoutAllowed_managedDevice_switchAllowed() 123 assertThat(rows.get(4).getTitle()).isEqualTo( in logoutAllowed_managedDevice_switchAllowed() 125 assertThat(rows.get(5).getTitle()).isEqualTo(mContext.getString(R.string.end_session)); in logoutAllowed_managedDevice_switchAllowed() 140 assertThat(rows.get(1).getTitle()).isEqualTo(mAliveUsers.get(0).name); in logoutAllowed_managedDevice_switchDisallowed() 141 assertThat(rows.get(2).getTitle()).isEqualTo(mContext.getString(R.string.end_session)); in logoutAllowed_managedDevice_switchDisallowed() 157 assertThat(rows.get(0).getTitle()).isEqualTo("Current User"); in switchNotAllowed_returnsOnlyCurrentUser() 171 assertThat(rows.get(0).getTitle()).isEqualTo("User1"); in switchAllowed_usersSwitchable_returnsAllRows() 172 assertThat(rows.get(1).getTitle()).isEqualTo("User2"); in switchAllowed_usersSwitchable_returnsAllRows() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | LogicalRootPreferenceGroupTest.java | 58 assertThat(mPreferenceScreen.getPreference(1).getTitle()) in addPreference_toParent_notToGroup() 59 .isEqualTo(preference.getTitle()); in addPreference_toParent_notToGroup() 88 assertThat(mPreferenceScreen.getPreference(2).getTitle()) in injectPreferencesToParent_whenOrderingAsAdded() 89 .isEqualTo(insertedPreference1.getTitle()); in injectPreferencesToParent_whenOrderingAsAdded() 94 assertThat(mPreferenceScreen.getPreference(3).getTitle()) in injectPreferencesToParent_whenOrderingAsAdded() 95 .isEqualTo(insertedPreference2.getTitle()); in injectPreferencesToParent_whenOrderingAsAdded() 115 assertThat(mPreferenceScreen.getPreference(1).getTitle()) in injectPreferencesToParent_NotOrderingAsAdded_fail() 116 .isEqualTo(preference0.getTitle()); in injectPreferencesToParent_NotOrderingAsAdded_fail() 117 assertThat(mPreferenceScreen.getPreference(2).getTitle()) in injectPreferencesToParent_NotOrderingAsAdded_fail() 118 .isEqualTo(appendedPreference.getTitle()); in injectPreferencesToParent_NotOrderingAsAdded_fail()
|
D | ExtraSettingsLoaderTest.java | 124 assertThat(p.getTitle()).isNull(); in testLoadPreference_uriResources_shouldNotLoadStaticResources() 158 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE2); in testLoadPreference_sortPreferences_byMetadata() 159 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE1); in testLoadPreference_sortPreferences_byMetadata() 188 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE1); in testLoadPreference_sortPreferences_byPackageName() 189 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE2); in testLoadPreference_sortPreferences_byPackageName() 219 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE2); in testLoadPreference_sortPreferences_prioritizeMetadata() 220 assertThat(iter.next().getTitle().toString()).isEqualTo(FAKE_TITLE1); in testLoadPreference_sortPreferences_prioritizeMetadata()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/ |
D | ProfilesPreferenceProviderTest.java | 103 assertThat(first.getTitle()).isEqualTo( in testCreateUserList_firstUserIsCurrentUser() 113 assertThat(userList.get(0).getTitle()).isEqualTo( in testCreateUserList_repeatedGuestUserNotShown() 115 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_repeatedGuestUserNotShown() 116 assertThat(userList.get(2).getTitle()).isEqualTo(TEST_OTHER_USER_2_NAME); in testCreateUserList_repeatedGuestUserNotShown() 124 assertThat(userList.get(userList.size() - 1).getTitle()).isEqualTo( in testCreateUserList_guestShownAsSeparateLastElement() 135 assertThat(userList.get(0).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_currentUserNotShown() 136 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_2_NAME); in testCreateUserList_currentUserNotShown() 137 assertThat(userList.get(2).getTitle()).isEqualTo( in testCreateUserList_currentUserNotShown() 148 assertThat(userList.get(0).getTitle()).isEqualTo( in testCreateUserList_guestNotShown() 150 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_guestNotShown() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupSkipDialogTest.java | 63 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported() 76 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenSupported() 89 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 102 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 115 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() 128 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly() 141 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly() 154 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly() 167 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForBiometrics_shouldShownCorrectly() 180 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForBiometrics_shouldShownCorrectly() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | SliceTester.java | 82 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsIntentSlice() 124 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsToggleSlice() 164 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsSliderSlice() 200 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsCopyableSlice() 232 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsUnavailableSlice() 320 expectedKeywords.add(data.getTitle()); in assertKeywords()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | SliceTester.java | 83 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsIntentSlice() 125 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsToggleSlice() 165 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsSliderSlice() 201 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsCopyableSlice() 233 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsUnavailableSlice() 321 expectedKeywords.add(data.getTitle()); in assertKeywords()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/ |
D | PrintJobPreferenceControllerTest.java | 106 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_CREATED() 117 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED() 128 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED() 140 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED_and_jobInfo_CANCELLING() 152 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED_and_jobInfo_CANCELLING() 163 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_FAILED() 174 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_BLOCKED() 186 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_BLOCKED_and_jobInfo_CANCELLING()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetNetworkItemsPreferenceControllerTest.java | 77 assertContainsString(mPreference.getTitle(), in onCreate_containsDefaultDescription() 86 assertDoesNotContainsString(mPreference.getTitle(), in onCreate_noWifi_doesNotContainWifiText() 95 assertDoesNotContainsString(mPreference.getTitle(), in onCreate_noTelephony_doesNotContainTelephonyText() 104 assertDoesNotContainsString(mPreference.getTitle(), in onCreate_noBluetooth_doesNotContainBluetoothText() 113 assertContainsString(mPreference.getTitle(), in onCreate_hasWifi_containsWifiText() 122 assertContainsString(mPreference.getTitle(), in onCreate_hasTelephony_containsTelephonyText() 131 assertContainsString(mPreference.getTitle(), in onCreate_hasBluetooth_containsBluetoothText()
|
D | FactoryResetAccountsPreferenceControllerTest.java | 127 assertThat(mPreference.getPreference(0).getTitle()).isEqualTo( in onCreate_addsTitlePreference() 174 assertThat(mPreference.getPreference(1).getTitle()).isEqualTo(accountName1); in refreshUi_multipleProfiles_showsAllAccounts() 175 assertThat(mPreference.getPreference(2).getTitle()).isEqualTo(accountName2); in refreshUi_multipleProfiles_showsAllAccounts() 190 assertThat(mPreference.getPreference(1).getTitle()).isNotEqualTo(accountNameNoDesc); in refreshUi_missingAccountDescription_skipsAccount() 206 assertThat(mPreference.getPreference(2).getTitle()).isEqualTo(addedAccountName); in refreshUi_accountAdded_addsPreferenceToGroup() 222 assertThat(mPreference.getPreference(0).getTitle()).isNotEqualTo(accountNameToRemove); in refreshUi_accountRemoved_removesPreferenceFromGroup()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/privacy/ |
D | MicQcPanelTest.java | 106 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mMicOffTitleText); in testGetQCItem_micDisabled_noPrivacyItems_returnsOnlyMicMutedRow() 118 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mMicOnTitleText); in testGetQCItem_micEnabled_noPrivacyItems_returnsOnlyMicMutedRow() 131 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mMicOnTitleText); in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_firstRowMicEnabled() 146 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_secondRowActiveApp() 159 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mMicOffTitleText); in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_firstRowMicDisabled() 175 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp() 193 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mMicOnTitleText); in testGetQCItem_micEnabled_multiplePrivacyItems_firstRowMicEnabled() 213 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_secondRowActiveApp() 233 assertThat(list.getRows().get(2).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_thirdRowActivePhone() 254 assertThat(list.getRows().get(3).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_fourthRowInactiveApps()
|
D | CameraQcPanelTest.java | 106 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mCameraOffTitleText); in testGetQCItem_cameraDisabled_noPrivacyItems_returnsOnlyCameraOffRow() 118 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mCameraOnTitleText); in testGetQCItem_cameraEnabled_noPrivacyItems_returnsOnlyCameraOffRow() 131 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mCameraOnTitleText); in testGetQCItem_cameraEnabled_onlyOneActivePrivacyItem_firstRowCameraEnabled() 146 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_onlyOneActivePrivacyItem_secondRowActiveApp() 160 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mCameraOffTitleText); in testGetQCItem_cameraDisabled_onlyOneInactivePhonePrivacyItem_firstRowCameraDisabled() 177 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp() 195 assertThat(list.getRows().get(0).getTitle()).isEqualTo(mCameraOnTitleText); in testGetQCItem_cameraEnabled_multiplePrivacyItems_firstRowCameraEnabled() 215 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_secondRowActiveApp() 235 assertThat(list.getRows().get(2).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_thirdRowActivePhone() 256 assertThat(list.getRows().get(3).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_fourthRowInactiveApps()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceTest.java | 61 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testPreferenceSummary() 80 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testTwoDayPreferenceSummary() 99 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testYesterdayPreferenceSummary() 118 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testTodayPreferenceSummary() 137 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testNeverUsedPreferenceSummary() 157 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testUnknownLastUsePreferenceSummary() 177 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testSizeSummary()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | HdrFormatSelectionFragmentTest.java | 161 assertThat(supportedFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() 169 assertThat(unsupportedFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() 192 assertThat(dolbyVisionPref.getTitle().toString()) in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() 197 assertThat(hlgPref.getTitle().toString()) in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() 234 assertThat(formatInfoPreferenceCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 238 assertThat(showFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 263 assertThat(hideFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 267 assertThat(enabledFormatsCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 273 assertThat(disabledFormatsCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 283 .mapToObj(i -> category.getPreference(i).getTitle().toString()) in getChildrenTitles()
|
D | AdvancedVolumeFragmentTest.java | 179 assertThat(supportedFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup() 186 assertThat(unsupportedFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup() 208 assertThat(formatInfoPreferenceCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 212 assertThat(showFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() 236 assertThat(hideFormatPreference.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 240 assertThat(enabledFormatsCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 246 assertThat(disabledFormatsCategory.getTitle()).isEqualTo( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() 256 .mapToObj(i -> category.getPreference(i).getTitle().toString()) in getChildrenTitles()
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | MediaViewModelTest.java | 102 assertNull(content.getTitle()); in noChange_doesNotCallPresenter() 111 when(mMetadata.getTitle()).thenReturn(SONG_TITLE); in changeSourceAndMetadata_updatesModel() 124 assertEquals(content.getTitle(), SONG_TITLE); in changeSourceAndMetadata_updatesModel() 141 assertNull(content.getTitle()); in changeSourceOnly_updatesModel() 148 when(mMetadata.getTitle()).thenReturn(SONG_TITLE); in changeMetadataOnly_doesNotCallPresenter() 156 assertEquals(content.getTitle(), SONG_TITLE); in changeMetadataOnly_doesNotCallPresenter()
|
D | InCallModelTest.java | 110 assertEquals(content.getTitle(), formattedNumber); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle() 123 assertEquals(content.getTitle(), formattedNumber); in updateModelWithPhoneNumber_dialing_setsPhoneNumberAndSubtitle() 137 assertEquals(content.getTitle(), DISPLAY_NAME); in updateModelWithContact_active_noAvatarUri_setsContactNameAndInitialsIcon() 153 assertEquals(content.getTitle(), DISPLAY_NAME); in updateModelWithContact_active_invalidAvatarUri_setsContactNameAndInitialsIcon() 168 assertEquals(content.getTitle(), DISPLAY_NAME); in updateModelWithContact_dialing_setsCardContent()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 195 sliceData.getTitle())) { in getSubtitleText() 264 .setTitle(sliceData.getTitle()) in buildToggleSlice() 267 ListBuilder.ICON_IMAGE, sliceData.getTitle())) in buildToggleSlice() 288 .setTitle(sliceData.getTitle()) in buildIntentSlice() 292 sliceData.getTitle())); in buildIntentSlice() 317 ListBuilder.ICON_IMAGE, sliceData.getTitle()); in buildSliderSlice() 328 .setTitle(sliceData.getTitle()) in buildSliderSlice() 392 keywords.add(data.getTitle()); in buildSliceKeywords() 395 && !TextUtils.equals(data.getTitle(), data.getScreenTitle())) { in buildSliceKeywords() 412 final String title = data.getTitle(); in buildUnavailableSlice()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/ |
D | AccountListPreferenceControllerTest.java | 139 assertThat(mPreference.getTitle().toString()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet() 149 assertThat(noAccountPref.getTitle().toString()).isEqualTo( in onCreate_hasNoAccounts_shouldDisplayNoAccountPref() 163 assertThat(firstPref.getTitle().toString()).isEqualTo("Account1"); in onCreate_hasAccounts_shouldDisplayAccounts() 168 assertThat(secondPref.getTitle().toString()).isEqualTo("Account2"); in onCreate_hasAccounts_shouldDisplayAccounts() 184 assertThat(firstPref.getTitle().toString()).isEqualTo("Account1"); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount() 189 assertThat(secondPref.getTitle().toString()).isEqualTo("Account2"); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount() 209 assertThat(firstPref.getTitle().toString()).isEqualTo("Account3"); in onAccountsUpdate_isThisUser_shouldForceUpdate() 245 assertThat(firstPref.getTitle().toString()).isEqualTo("Account3"); in onUsersUpdate_shouldForceUpdate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSwitchPreferenceControllerTest.java | 82 assertThat(TextUtils.equals(mFooterPreference.getTitle(), text)).isTrue(); in updateText_bluetoothOffScanningOn() 91 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOffScanningOff() 100 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOnScanningOff() 109 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOnScanningOn()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 98 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources() 132 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_metadataBundleIsValue() 172 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_integerResources_shouldLoadResources() 201 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_noDefaultSummary() 231 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_noCategory_shouldSetToDeviceCategory() 283 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_shouldLoadDefaultIcon() 350 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_systemApp_returnsPreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints2/ |
D | SavedAccessPointsPreferenceController2Test.java | 98 when(mockWifiEntry.getTitle()).thenReturn(title); in displayPreference_oneAccessPoint_shouldListIt() 108 assertThat(prefs.get(0).getTitle()).isEqualTo(title); in displayPreference_oneAccessPoint_shouldListIt() 116 when(mockWifiEntry.getTitle()).thenReturn(title); in displayPreference_noAccessPoint_shouldRemoveIt() 136 when(mockWifiEntry.getTitle()).thenReturn(title); in onPreferenceClick_shouldCallShowWifiPage()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/fastpair/cache/ |
D | DiscoveryItem.java | 169 return !TextUtils.isEmpty(mStoredDiscoveryItem.getTitle()) && hasUrlOrPopularApp; in isReadyForDisplay() 214 mStoredDiscoveryItem.getTitle(), in getUiHashCode() 235 public String getTitle() { in getTitle() method in DiscoveryItem 236 return mStoredDiscoveryItem.getTitle(); in getTitle() 428 getTitle(), in toString()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectWifiState.java | 107 lastWifiTitle = getActions().get(lastSelectedActionPosition).getTitle(); in updateNetworkList() 118 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition() 230 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, action.getTitle().toString()); in onGuidedActionClicked() 245 return o1.getTitle().toString().compareTo(o2.getTitle().toString()); in compare()
|