/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiRowTest.java | 75 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()
|
D | WifiTileTest.java | 67 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()
|
D | MobileDataTileTest.java | 93 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()
|
D | HotspotRowTest.java | 92 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()
|
D | MobileDataRowTest.java | 93 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/ |
D | DriveModeQcPanelTest.java | 57 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/ |
D | InCallModelTest.java | 111 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()
|
D | MediaViewModelTest.java | 146 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/ |
D | ProjectionModelTest.java | 152 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/ |
D | DriveModeQcPanel.java | 53 .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/ |
D | HotspotRow.java | 95 .setSubtitle(getSubtitle()) in getQCItem() 139 private String getSubtitle() { in getSubtitle() method in HotspotRow
|
D | MobileDataRow.java | 96 .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/ |
D | ProviderModelSliceHelperTest.java | 179 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/ |
D | CalmModeFragmentTest.java | 61 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/ |
D | CalmModeFragment.java | 345 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/ |
D | DvrPlaybackControlHelper.java | 112 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/ |
D | EmptyState.java | 37 default String getSubtitle() { in getSubtitle() method
|
D | DevicePolicyBlockerEmptyState.java | 52 public String getSubtitle() { in getSubtitle() method in DevicePolicyBlockerEmptyState
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | Action.java | 30 public CharSequence getSubtitle(); in getSubtitle() method
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/ |
D | DescriptiveTextView.java | 58 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextView
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/ |
D | EmptyStateUiHelperTest.kt | 173 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/ |
D | DistantDisplayQcItem.java | 49 public String getSubtitle() { in getSubtitle() method in DistantDisplayQcItem
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataOverrides.java | 64 .setSubtitle(issue.getSubtitle()) in copyIssueToBuilderWithoutActions()
|
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/ |
D | QCTileTest.java | 59 assertThat(newTile.getSubtitle()).isEqualTo(TEST_SUBTITLE); in createFromParcel_accurateData()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/ |
D | Metadata.java | 227 if (desc.getSubtitle() != null) mMetadata.artist = desc.getSubtitle().toString(); in fromMediaDescription()
|