Home
last modified time | relevance | path

Searched refs:getSubtitle (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DWifiRowTest.java75 assertThat(row.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disabled)); in getQCItem_wifiDisabled_returnsRow()
90 assertThat(row.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disconnected)); in getQCItem_wifiNotConnected_returnsRow()
108 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_wifiConnected_returnsRow()
127 assertThat(row.getSubtitle()).isEqualTo(testTitle); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow()
146 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()
165 assertThat(row.getSubtitle()).isEqualTo(testTitle); in getQCItem_osuWifiConnected_hasFriendlyName_returnsRow()
184 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow()
235 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_createsRow_zoneWrite()
254 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_createsRow_zoneRead()
DWifiTileTest.java67 assertThat(tile.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disabled)); in getQCItem_wifiDisabled_returnsTile()
81 assertThat(tile.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disconnected)); in getQCItem_wifiNotConnected_returnsTile()
98 assertThat(tile.getSubtitle()).isEqualTo(testSSID); in getQCItem_wifiConnected_returnsTile()
116 assertThat(tile.getSubtitle()).isEqualTo(testTitle); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsTile()
134 assertThat(tile.getSubtitle()).isEqualTo(testSSID); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()
152 assertThat(tile.getSubtitle()).isEqualTo(testTitle); in getQCItem_osuWifiConnected_hasFriendlyName_returnsTile()
170 assertThat(tile.getSubtitle()).isEqualTo(testSSID); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile()
DMobileDataTileTest.java93 assertThat(tile.getSubtitle()).isEqualTo( in getQCItem_noNetworkName_setsDefaultSubtitle()
103 assertThat(tile.getSubtitle()).isEqualTo(TEST_NETWORK_NAME); in getQCItem_hasNetworkName_setsSubtitle()
112 assertThat(tile.getSubtitle()).isEqualTo( in getQCItem_dataDisabled_setsSubtitle()
DHotspotRowTest.java92 assertThat(row.getSubtitle()).isEqualTo( in getQCItem_hotspotDisabled_returnsRow()
102 assertThat(row.getSubtitle()).isEqualTo(String.format("%s / %s", TEST_SSID, TEST_PASSWORD)); in getQCItem_hotspotEnabled_noDevices_returnsRow()
113 assertThat(row.getSubtitle()).isEqualTo( in getQCItem_hotspotEnabled_hasDevices_returnsRow()
DMobileDataRowTest.java93 assertThat(row.getSubtitle()).isNull(); in getQCItem_noNetworkName_nullSubtitle()
102 assertThat(row.getSubtitle()).isEqualTo(TEST_NETWORK_NAME); in getQCItem_hasNetworkName_setsSubtitle()
111 assertThat(row.getSubtitle()).isEqualTo( in getQCItem_dataDisabled_setsSubtitle()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DDriveModeQcPanelTest.java57 Assert.assertEquals(qcRows.get(0).getSubtitle(), "Active"); in driveModeManagerIsProvided_correctItemsAreReturned()
58 Assert.assertNull(qcRows.get(1).getSubtitle()); in driveModeManagerIsProvided_correctItemsAreReturned()
59 Assert.assertNull(qcRows.get(2).getSubtitle()); in driveModeManagerIsProvided_correctItemsAreReturned()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DInCallModelTest.java111 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle()
124 assertEquals(content.getSubtitle(), mDialingCallSecondaryText); in updateModelWithPhoneNumber_dialing_setsPhoneNumberAndSubtitle()
138 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithContact_active_noAvatarUri_setsContactNameAndInitialsIcon()
154 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithContact_active_invalidAvatarUri_setsContactNameAndInitialsIcon()
169 assertEquals(content.getSubtitle(), mDialingCallSecondaryText); in updateModelWithContact_dialing_setsCardContent()
DMediaViewModelTest.java146 assertNull(content.getSubtitle()); in noChange_doesNotCallPresenter()
153 when(mMetadata.getSubtitle()).thenReturn(ARTIST_NAME); in changeSourceAndMetadata_updatesModel()
171 assertEquals(content.getSubtitle(), ARTIST_NAME); in changeSourceAndMetadata_updatesModel()
197 when(mMetadata.getSubtitle()).thenReturn(ARTIST_NAME); in changeMetadataOnly_doesNotCallPresenter()
207 assertEquals(content.getSubtitle(), ARTIST_NAME); in changeMetadataOnly_doesNotCallPresenter()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/assistive/
DProjectionModelTest.java152 assertEquals(PROJECTING_DEVICE_NAME, String.valueOf(content.getSubtitle())); in changeProjectionStatusToProjectingDevice_callsPresenter()
162 assertEquals(NONPROJECTING_DEVICE_NAME, String.valueOf(content.getSubtitle())); in changeProjectionStatusToNonProjectingDevice_callsPresenter()
172 assertEquals(PROJECTING_DEVICE_NAME, String.valueOf(content.getSubtitle())); in changeProjectionStatusToSingleProjectingAndNonProjectingDevice_callsPresenter()
188 assertEquals(formattedPluralString, String.valueOf(content.getSubtitle())); in changeProjectionStatusToMultipleProjectingAndNonProjectingDevice_callsPresenter()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DDriveModeQcPanel.java53 .setSubtitle(getSubtitle(driveMode)) in getQCItem()
64 private String getSubtitle(String driveMode) { in getSubtitle() method in DriveModeQcPanel
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DHotspotRow.java95 .setSubtitle(getSubtitle()) in getQCItem()
139 private String getSubtitle() { in getSubtitle() method in HotspotRow
DMobileDataRow.java96 .setSubtitle(getSubtitle(dataEnabled)) in getQCItem()
131 String getSubtitle(boolean dataEnabled) { in getSubtitle() method in MobileDataRow
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceHelperTest.java179 assertThat(testRowBuild.getSubtitle()).isEqualTo("5G"); in createCarrierRow_hasDdsAndActiveNetworkIsNotCellular_verifyTitleAndSummary()
198 assertThat(testRowBuild.getSubtitle()).isEqualTo(expectedSubtitle); in createCarrierRow_wifiOnhasDdsAndActiveNetworkIsCellular_verifyTitleAndSummary()
216 assertThat(testRowBuild.getSubtitle()).isEqualTo(expectedSubtitle); in createCarrierRow_noNetworkAvailable_verifyTitleAndSummary()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DCalmModeFragmentTest.java61 when(testMediaItem.getSubtitle()).thenReturn(TEST_MEDIA_SUB_TITLE); in setUp()
135 when(testMediaItem.getSubtitle()).thenReturn(null); in fragmentResumed_testMediaSubTitleNull_isVisible()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DCalmModeFragment.java345 if (mediaItemMetadata.getSubtitle() != null in updateMediaTitle()
346 && mediaItemMetadata.getSubtitle().length() > 0) { in updateMediaTitle()
348 medaTitleBuilder.append(mediaItemMetadata.getSubtitle()); in updateMediaTitle()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java112 viewHolder.getSubtitle().setText(glue.getMediaSubtitle()); in createControlsRowPresenter()
115 viewHolder.getSubtitle().setText(""); in createControlsRowPresenter()
117 if (TextUtils.isEmpty(viewHolder.getSubtitle().getText())) { in createControlsRowPresenter()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DEmptyState.java37 default String getSubtitle() { in getSubtitle() method
DDevicePolicyBlockerEmptyState.java52 public String getSubtitle() { in getSubtitle() method in DevicePolicyBlockerEmptyState
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DAction.java30 public CharSequence getSubtitle(); in getSubtitle() method
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextView.java58 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextView
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/
DEmptyStateUiHelperTest.kt173 override fun getSubtitle() = "Test subtitle" in testShowEmptyState_noOnClickHandler() method
203 override fun getSubtitle() = "Test subtitle" in testShowEmptyState_withOnClickHandlerAndClickListener() method
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DDistantDisplayQcItem.java49 public String getSubtitle() { in getSubtitle() method in DistantDisplayQcItem
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetySourceDataOverrides.java64 .setSubtitle(issue.getSubtitle()) in copyIssueToBuilderWithoutActions()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCTileTest.java59 assertThat(newTile.getSubtitle()).isEqualTo(TEST_SUBTITLE); in createFromParcel_accurateData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DMetadata.java227 if (desc.getSubtitle() != null) mMetadata.artist = desc.getSubtitle().toString(); in fromMediaDescription()

123