/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
H A D | ImeiInfoDialogControllerTest.java | 102 verify(mDialog, never()).setText(anyInt(), any()); in populateImeiInfo_invalidSlot_shouldSetNothing() 115 verify(mDialog).setText(eq(ID_IMEI_VALUE), any()); in populateImeiInfo_cdmaLteEnabled_shouldSetMeidAndImeiAndMin() 140 verify(mDialog).setText(ID_MIN_NUMBER_VALUE, ""); in populateImeiInfo_cdmaSimDisabled_shouldRemoveImeiInfoAndSetMinPrlToEmpty() 141 verify(mDialog).setText(ID_PRL_VERSION_VALUE, ""); in populateImeiInfo_cdmaSimDisabled_shouldRemoveImeiInfoAndSetMinPrlToEmpty() 155 verify(mDialog).setText(ID_MIN_NUMBER_VALUE, ""); in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting() 156 verify(mDialog).setText(ID_PRL_VERSION_VALUE, ""); in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting() 157 verify(mDialog).setText(eq(ID_IMEI_VALUE), any()); in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting() 170 verify(mDialog).setText(ID_MIN_NUMBER_VALUE, ""); in populateImeiInfo_cdmaSimABSENT_shouldSetImeiInfoAndSetAllCdmaSetting() 171 verify(mDialog).setText(ID_PRL_VERSION_VALUE, ""); in populateImeiInfo_cdmaSimABSENT_shouldSetImeiInfoAndSetAllCdmaSetting() 182 verify(mDialog).setText(eq(ID_IMEI_VALUE), any()); in populateImeiInfo_gsmSimDisabled_shouldSetImeiAndRemoveCdmaSettings() [all …]
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiStatusTest.java | 180 mBSSID.setText(wifiInfo.getBSSID()); 189 mIPAddr.setText(ipBuf); 195 mSSID.setText(wifiInfo.getSSID()); 214 mSupplicantState.setText("DORMANT"); in setSupplicantStateText() 218 mSupplicantState.setText("INACTIVE"); in setSupplicantStateText() 220 mSupplicantState.setText("INVALID"); in setSupplicantStateText() 226 mSupplicantState.setText("BAD"); in setSupplicantStateText() 255 mWifiState.setText(wifiStateString); in setWifiStateText() 259 mRSSI.setText(String.valueOf(rssi)); in handleSignalChanged() 285 mScanList.setText(scanList); in handleScanResultsAvailable() [all …]
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
H A D | NetworkListAdapter.java | 84 vh.netId.setText("" + mNetworkList[position].mNetId); in getView() 85 vh.netType.setText(mNetworkList[position].mType); in getView() 86 vh.netState.setText(mNetworkList[position].mState); in getView() 87 vh.connected.setText(mNetworkList[position].mConnected); in getView() 88 vh.available.setText(mNetworkList[position].mAvailable); in getView() 89 vh.roaming.setText(mNetworkList[position].mRoaming); in getView() 93 vh.dns.setText(mNetworkList[position].mDnsAddresses); in getView() 94 vh.domains.setText(mNetworkList[position].mDomains); in getView() 95 vh.routes.setText(mNetworkList[position].mRoutes); in getView() 136 button.setText(ifOn); in setToggleButton() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewTest.java | 81 mTextView.setText(c, 1, 4); in testArray() 84 mTextView.setText(c, 4, 5); in testArray() 121 mTextView.setText(sb.toString()); in testHyphenationWidth() 161 mTextView.setText(createLongText()); in testCopyShouldNotThrowException() 171 mTextView.setText(createLongText()); in testCutShouldNotThrowException() 185 mTextView.setText(text); in testUseDynamicLayout() 189 mTextView.setText(text); in testUseDynamicLayout() 193 mTextView.setText(precomputed); in testUseDynamicLayout() 197 mTextView.setText(precomputed); in testUseDynamicLayout() 236 mTextView.setText(text, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 66 middleFiller.setText("filler"); in twoButtonsSeparatedByFiller() 120 button.setText("left"); in horizontalButtonSlots() 128 button.setText("center"); in horizontalButtonSlots() 136 button.setText("right"); in horizontalButtonSlots() 158 result.setText(text); in button() 178 ((Button) convertView).setText(text); in convertButton() 198 result.setText(text); in text() 249 t1.setText(text); in doubleText() 258 t2.setText(text); in doubleText() 283 t1.setText(text); in convertDoubleText() [all …]
|
/aosp12/frameworks/base/startop/apps/test/src/ |
H A D | InteractiveMicrobenchmarkActivity.java | 56 header.setText(name); in addHeader() 74 button.setText(name); in addBenchmark() 75 mean.setText(""); in addBenchmark() 76 stdev.setText(""); in addBenchmark() 79 mean.setText("Running..."); in addBenchmark() 80 stdev.setText(""); in addBenchmark() 83 mean.setText(String.format("%.3f", resultMean / 1e6)); in addBenchmark() 84 stdev.setText(String.format("%.3f", resultStdev / 1e6)); in addBenchmark()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
H A D | WallpaperInfoView.java | 61 mTitle.setText(null); in populateWallpaperInfo() 62 mSubtitle1.setText(null); in populateWallpaperInfo() 64 mSubtitle2.setText(null); in populateWallpaperInfo() 66 mExploreButton.setText(null); in populateWallpaperInfo() 71 mTitle.setText(attributions.get(0)); in populateWallpaperInfo() 77 mSubtitle1.setText(attributions.get(1)); in populateWallpaperInfo() 82 mSubtitle2.setText(attributions.get(2)); in populateWallpaperInfo() 87 mExploreButton.setText(actionLabel); in populateWallpaperInfo()
|
/aosp12/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 122 view.setText(mFileName); in onResume() 126 view.setText(Long.toString(info.getCompressedSize())); in onResume() 128 view.setText(Long.toString(info.getThumbPixWidth())); in onResume() 130 view.setText(Long.toString(info.getThumbPixHeight())); in onResume() 134 view.setText(Long.toString(info.getImagePixWidth())); in onResume() 136 view.setText(Long.toString(info.getImagePixHeight())); in onResume() 138 view.setText(Long.toString(info.getImagePixDepth())); in onResume() 140 view.setText(Long.toString(info.getSequenceNumber())); in onResume() 143 view.setText(date.toString()); in onResume() 146 view.setText(date.toString()); in onResume() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/util/ |
H A D | AccountFilterUtil.java | 51 headerTextView.setText(R.string.list_filter_phones); in updateAccountFilterTitle() 55 headerTextView.setText( in updateAccountFilterTitle() 59 headerTextView.setText(R.string.listCustomView); in updateAccountFilterTitle() 65 headerTextView.setText(R.string.list_filter_all_accounts); in updateAccountFilterTitle() 69 headerTextView.setText( in updateAccountFilterTitle() 73 headerTextView.setText(R.string.listCustomView); in updateAccountFilterTitle() 76 headerTextView.setText(R.string.listSingleContact); in updateAccountFilterTitle()
|
/aosp12/packages/services/Car/tests/AdasLocationTestApp/src/com/google/android/car/adaslocation/ |
H A D | AdasLocationActivity.java | 70 mObserveLocationResult.setText(locationToFormattedString(location)); in onCreate() 97 mLastLocationResult.setText(locationToFormattedString(location)); in onCreate() 99 mLastLocationResult.setText(R.string.no_last_location); in onCreate() 109 mMainLocationEnabled.setText(Boolean.toString(mLocationManager in onCreate() 116 .setText(Boolean.toString(mLocationManager in onCreate() 130 mMainLocationEnabled.setText(Boolean.toString(mLocationManager.isLocationEnabled())); in onStart() 132 mAdasLocationEnabled.setText(Boolean.toString(mLocationManager in onStart() 156 mLastLocationResult.setText(""); in onPause() 186 mObserveLocationResult.setText(R.string.waiting_for_location); in startListening() 192 mObserveLocationResult.setText(""); in stopListening()
|
/aosp12/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | RadioInfo.java | 820 mGprsState.setText(""); in unregisterPhoneStateListener() 823 mSent.setText(""); in unregisterPhoneStateListener() 824 mReceived.setText(""); in unregisterPhoneStateListener() 825 mCallState.setText(""); in unregisterPhoneStateListener() 827 mMwi.setText(""); in unregisterPhoneStateListener() 829 mCfi.setText(""); in unregisterPhoneStateListener() 830 mCellInfo.setText(""); in unregisterPhoneStateListener() 831 mDBm.setText(""); in unregisterPhoneStateListener() 832 mGsmState.setText(""); in unregisterPhoneStateListener() 1167 mDeviceId.setText(s); in updateProperties() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferActivity.java | 264 mLine1View.setText(tmp); in customizeViewContent() 267 mLine2View.setText(tmp); in customizeViewContent() 271 mLine3View.setText(tmp); in customizeViewContent() 278 mLine5View.setText(tmp); in customizeViewContent() 283 mLine1View.setText(tmp); in customizeViewContent() 286 mLine2View.setText(tmp); in customizeViewContent() 290 mLine3View.setText(tmp); in customizeViewContent() 297 mLine5View.setText(tmp); in customizeViewContent() 331 mLine1View.setText(tmp); in customizeViewContent() 334 mLine2View.setText(tmp); in customizeViewContent() [all …]
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/projection/ |
H A D | ProjectionFragment.java | 64 mCurrentProjectionStatus.setText(STATE_TO_STRING.get(state)); in onProjectionStatusChanged() 65 mCurrentProjectionPackage.setText(packageName); in onProjectionStatusChanged() 74 detailPackage.setText(detail.getPackageName()); in onProjectionStatusChanged() 77 detailState.setText(STATE_TO_STRING.get(detail.getState())); in onProjectionStatusChanged() 81 detailTransport.setText(TRANSPORT_TO_STRING.get(detail.getTransport())); in onProjectionStatusChanged() 90 deviceId.setText(String.valueOf(device.getId())); in onProjectionStatusChanged() 93 deviceName.setText(device.getName()); in onProjectionStatusChanged() 99 transportView.setText(TRANSPORT_TO_STRING.get(transport)); in onProjectionStatusChanged() 106 deviceProjecting.setText(String.valueOf(device.isProjecting())); in onProjectionStatusChanged()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | CreateViewTest.java | 78 text.setText("S"); in testLayout4() 84 text.setText("S"); in testLayout5() 95 one.setText("S"); in testLayout6() 99 two.setText("M"); in testLayout6() 103 three.setText("T"); in testLayout6() 107 four.setText("W"); in testLayout6() 111 five.setText("H"); in testLayout6() 115 six.setText("F"); in testLayout6()
|
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
H A D | ImeiInfoDialogController.java | 90 mDialog.setText(ID_MEID_NUMBER_VALUE, getMeid()); in updateDialogForCdmaPhone() 92 mDialog.setText(ID_MIN_NUMBER_VALUE, mSubscriptionInfo != null in updateDialogForCdmaPhone() 97 mDialog.setText(ID_MIN_NUMBER_LABEL, in updateDialogForCdmaPhone() 101 mDialog.setText(ID_PRL_VERSION_VALUE, getCdmaPrlVersion()); in updateDialogForCdmaPhone() 106 mDialog.setText(ID_IMEI_VALUE, mTelephonyManager.getImei(mSlotId)); in updateDialogForCdmaPhone() 107 mDialog.setText(ID_IMEI_SV_VALUE, in updateDialogForCdmaPhone() 116 mDialog.setText(ID_IMEI_VALUE, mTelephonyManager.getImei(mSlotId)); in updateDialogForGsmPhone() 117 mDialog.setText(ID_IMEI_SV_VALUE, in updateDialogForGsmPhone()
|
/aosp12/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/ |
H A D | ManagerFragment.java | 180 mOemPaidRxBytesTextView.setText("RX: " + rx); in updateMetricIndicatorByType() 181 mOemPaidTxBytesTextView.setText("TX: " + tx); in updateMetricIndicatorByType() 184 mOemPrivateRxBytesTextView.setText("RX: " + rx); in updateMetricIndicatorByType() 185 mOemPrivateTxBytesTextView.setText("TX: " + tx); in updateMetricIndicatorByType() 188 mOemTotalRxBytesTextView.setText("RX: " + rx); in updateMetricIndicatorByType() 189 mOemTotalTxBytesTextView.setText("TX: " + tx); in updateMetricIndicatorByType() 230 mOEMPaidWifiSSIDsEditText.setText(""); in onResetWifiCapabilitiesBtnClick() 231 mOEMPrivateWifiSSIDsEditText.setText(""); in onResetWifiCapabilitiesBtnClick() 268 mOEMPaidNoFallbackAppsEditText.setText( in setDefaultValues() 271 mOEMPrivateOnlyAppsEditText.setText( in setDefaultValues() [all …]
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarViewAdapter.java | 185 weekDay.setText(buildDayOfWeek()); in getView() 186 date.setText(buildFullDate()); in getView() 191 weekDay.setText(buildWeekNum()); in getView() 195 date.setText(buildMonthYearDate()); in getView() 199 date.setText(buildMonthYearDate()); in getView() 219 title.setText(mButtonNames [DAY_BUTTON_INDEX]); in getView() 258 viewType.setText(mButtonNames [DAY_BUTTON_INDEX]); in getDropDownView() 260 date.setText(buildMonthDayDate()); in getDropDownView() 264 viewType.setText(mButtonNames [WEEK_BUTTON_INDEX]); in getDropDownView() 266 date.setText(buildWeekDate()); in getDropDownView() [all …]
|
/aosp12/packages/apps/TV/src/com/android/tv/dialog/ |
H A D | PinDialogFragment.java | 185 mTitleView.setText(R.string.pin_enter_unlock_channel); in onCreateView() 188 mTitleView.setText(R.string.pin_enter_unlock_program); in onCreateView() 196 mTitleView.setText( in onCreateView() 205 mTitleView.setText(R.string.pin_enter_pin); in onCreateView() 209 mTitleView.setText(R.string.pin_enter_create_pin); in onCreateView() 211 mTitleView.setText(R.string.pin_enter_old_pin); in onCreateView() 240 mWrongPinView.setText( in updateWrongPin() 306 mTitleView.setText(R.string.pin_enter_again); 313 mTitleView.setText(R.string.pin_enter_create_pin); 315 mTitleView.setText(R.string.pin_enter_new_pin); [all …]
|
H A D | DvrHistoryDialogFragment.java | 76 setText(view, R.id.state, getStateString(schedule.getState())); in onCreateDialog() 77 setText(view, R.id.schedule_time, getRecordingTimeText(schedule)); in onCreateDialog() 78 setText( in onCreateDialog() 83 setText(view, R.id.channel_name, getChannelNameText(schedule)); in onCreateDialog() 87 private void setText(View view, int id, CharSequence text) { in onCreateDialog() 88 ((TextView) view.findViewById(id)).setText(text); in onCreateDialog() 91 private void setText(View view, int id, int text) { in onCreateDialog() 92 ((TextView) view.findViewById(id)).setText(text); in onCreateDialog()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/ |
H A D | TvUnblockSensorActivity.java | 103 title.setText(R.string.sensor_privacy_start_use_mic_dialog_title); in initUI() 104 content.setText(R.string.sensor_privacy_start_use_mic_dialog_content); in initUI() 109 title.setText(R.string.sensor_privacy_start_use_camera_dialog_title); in initUI() 110 content.setText(R.string.sensor_privacy_start_use_camera_dialog_content); in initUI() 116 title.setText(R.string.sensor_privacy_start_use_mic_camera_dialog_title); in initUI() 117 content.setText(R.string.sensor_privacy_start_use_mic_camera_dialog_content); in initUI() 122 unblockButton.setText( in initUI() 133 cancelButton.setText(android.R.string.cancel); in initUI()
|
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | ViewHelper.java | 35 v.setText(msgId); in showError() 43 void setText(int viewId, String text) { in setText() method in ViewHelper 46 if (v != null) v.setText(text); in setText() 49 void setText(int viewId, int textId) { in setText() method in ViewHelper 51 if (v != null) v.setText(textId); in setText()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
H A D | ActionButtonsPreferenceTest.java | 80 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 81 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 82 mPref.getButton(ActionButtons.BUTTON3).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 83 mPref.getButton(ActionButtons.BUTTON4).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 236 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label); in onBindViewHolder_setText_shouldShowSameText() 237 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label); in onBindViewHolder_setText_shouldShowSameText() 238 mPref.getButton(ActionButtons.BUTTON3).setText(R.string.settings_label); in onBindViewHolder_setText_shouldShowSameText() 239 mPref.getButton(ActionButtons.BUTTON4).setText(R.string.settings_label); in onBindViewHolder_setText_shouldShowSameText() 255 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setIcon( in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText() 323 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setIcon(0); in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon() [all …]
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | ExportDialog.java | 102 mSeekVal.setText(mSliderLabel + mSeekBar.getProgress()); in onCreateView() 113 mWidthText.setText("" + mOriginalBounds.width()); in onCreateView() 114 mHeightText.setText("" + mOriginalBounds.height()); in onCreateView() 141 mSeekVal.setText(mSliderLabel + arg1); in onProgressChanged() 197 mEstimatedSize.setText(estimatedSize); in updateSize() 214 mWidthText.setText("" + width); in textChanged() 218 mWidthText.setText("" + width); in textChanged() 222 mHeightText.setText("" + height); in textChanged() 231 mHeightText.setText("" + height); in textChanged() 235 mHeightText.setText("" + height); in textChanged() [all …]
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
H A D | ActionDisabledByAdminDialogHelper.java | 133 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle() 138 titleView.setText(R.string.disabled_by_policy_title_adjust_volume); in setAdminSupportTitle() 141 titleView.setText(R.string.disabled_by_policy_title_outgoing_calls); in setAdminSupportTitle() 144 titleView.setText(R.string.disabled_by_policy_title_sms); in setAdminSupportTitle() 147 titleView.setText(R.string.disabled_by_policy_title_camera); in setAdminSupportTitle() 150 titleView.setText(R.string.disabled_by_policy_title_screen_capture); in setAdminSupportTitle() 153 titleView.setText(R.string.disabled_by_policy_title_suspend_packages); in setAdminSupportTitle() 157 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle() 185 textView.setText(supportMessage); in setAdminSupportDetails()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/ |
H A D | SimStatusDialogControllerTest.java | 204 verify(mDialog).setText(NETWORK_PROVIDER_VALUE_ID, carrierName); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar() 232 verify(mDialog).setText(SERVICE_STATE_VALUE_ID, inServiceText); in initialize_updateServiceStateWithInService_shouldUpdateTextToBeCInService() 243 verify(mDialog).setText(SERVICE_STATE_VALUE_ID, offServiceText); in initialize_updateServiceStateWithPowerOff_shouldUpdateTextAndResetSignalStrength() 244 verify(mDialog).setText(SIGNAL_STRENGTH_VALUE_ID, "0"); in initialize_updateServiceStateWithPowerOff_shouldUpdateTextAndResetSignalStrength() 258 verify(mDialog).setText(SIGNAL_STRENGTH_VALUE_ID, "0"); in initialize_updateVoiceDataOutOfService_shouldUpdateSettingAndResetSignalStrength() 270 verify(mDialog).setText(SERVICE_STATE_VALUE_ID, inServiceText); in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateTextToBeInService() 326 verify(mDialog).setText(CELL_VOICE_NETWORK_TYPE_VALUE_ID, in initialize_updateVoiceNetworkTypeWithEdge_shouldUpdateSettingToEdge() 337 verify(mDialog).setText(CELL_DATA_NETWORK_TYPE_VALUE_ID, in initialize_updateDataNetworkTypeWithEdge_shouldUpdateSettingToEdge() 405 verify(mDialog).setText(ICCID_INFO_VALUE_ID, iccid); in initialize_showIccid_shouldSetIccidToSetting() 704 verify(mDialog).setText(IMS_REGISTRATION_STATE_VALUE_ID, in initialize_imsRegistered_shouldSetImsRegistrationStateSummaryToRegisterd() [all …]
|