/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 127 listPreference.setSummary(mBuilder.getSummary()); in updateState() 139 listPreference.setSummary(mBuilder.getSummary()); in onPreferenceChange() 478 setSummary(R.string.network_3G); in setPreferenceValueAndSummary() 485 setSummary(R.string.network_3G); in setPreferenceValueAndSummary() 489 setSummary(R.string.network_global); in setPreferenceValueAndSummary() 495 setSummary(R.string.network_2G); in setPreferenceValueAndSummary() 499 setSummary(R.string.network_global); in setPreferenceValueAndSummary() 504 setSummary( in setPreferenceValueAndSummary() 514 setSummary(mShow4gForLTE in setPreferenceValueAndSummary() 517 setSummary(mShow4gForLTE in setPreferenceValueAndSummary() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionPreference.java | 205 setSummary(null); in updateUi() 310 setSummary(summary); in updateSummaryForIndividuallyControlledPermissionGroup() 323 setSummary(R.string.permission_access_only_foreground); in updateSummaryForPermissionGroupWithBackgroundPermission() 326 setSummary(R.string.permission_access_always); in updateSummaryForPermissionGroupWithBackgroundPermission() 328 setSummary(R.string.permission_access_only_foreground); in updateSummaryForPermissionGroupWithBackgroundPermission() 332 setSummary(R.string.permission_access_never); in updateSummaryForPermissionGroupWithBackgroundPermission() 348 setSummary(R.string.permission_summary_enabled_system_fixed); in updateSummaryForFixedByPolicyPermissionGroup() 353 setSummary(R.string.disabled_by_admin); in updateSummaryForFixedByPolicyPermissionGroup() 356 setSummary(R.string.permission_summary_enforced_by_policy); in updateSummaryForFixedByPolicyPermissionGroup() 363 setSummary(R.string.enabled_by_admin); in updateSummaryForFixedByPolicyPermissionGroup() [all …]
|
D | AppPermissionGroupsFragment.java | 374 preference.setSummary( in updatePreferences() 378 preference.setSummary( in updatePreferences() 384 preference.setSummary(getString( in updatePreferences() 390 preference.setSummary( in updatePreferences() 398 preference.setSummary( in updatePreferences() 402 preference.setSummary( in updatePreferences() 408 preference.setSummary( in updatePreferences() 415 preference.setSummary(R.string.permission_subtitle_media_only); in updatePreferences() 422 preference.setSummary( in updatePreferences() 426 preference.setSummary( in updatePreferences() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 303 when(mMockHeaderController.setSummary(nullable(String.class))) in setUp() 426 verify(mMockSecurityPref).setSummary(SECURITY); in securityPreference_stringShouldBeSet() 557 verify(mMockHeaderController).setSummary(summary); in entityHeader_shouldHaveSummarySet() 663 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldHaveDetailTextSetForConnectedNetwork() 675 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldHaveDetailTextSetForDisconnectedNetwork() 685 verify(mMockSignalStrengthPref, never()).setSummary(any(String.class)); in signalStrengthPref_shouldNotHaveDetailTextSetForNotInRangeNetwork() 699 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldShowXLevelIcon_showXTrue() 722 verify(mMockTxLinkSpeedPref).setSummary(expectedLinkSpeed); in linkSpeedPref_shouldVisibleForConnectedNetwork() 732 verify(mMockTxLinkSpeedPref, never()).setSummary(any(String.class)); in linkSpeedPref_shouldInvisibleForDisconnectedNetwork() 742 verify(mMockTxLinkSpeedPref, never()).setSummary(any(String.class)); in linkSpeedPref_shouldInvisibleForNotInRangeNetwork() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 48 .setSummary(SUMMARY) in testBuilder_buildsMatchingObject() 79 .setSummary(SUMMARY) in testBuilder_noKey_throwsIllegalStateException() 92 .setSummary(SUMMARY) in testBuilder_noTitle_throwsIllegalStateException() 106 .setSummary(SUMMARY) in testBuilder_noFragment_throwsIllegalStateException() 119 .setSummary(SUMMARY) in testBuilder_noPrefController_throwsIllegalStateException() 155 .setSummary(SUMMARY) in testBuilder_noScreenTitle_buildsMatchingObject() 178 .setSummary(SUMMARY) in testBuilder_noIcon_buildsMatchingObject() 201 .setSummary(SUMMARY) in testBuilder_noUri_buildsMatchingObject() 225 .setSummary(SUMMARY) in testEquality_identicalObjects() 244 .setSummary(SUMMARY) in testEquality_matchingKey_EqualObjects() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnEditor.java | 603 mName.setSummary(checkNull(mName.getText())); in fillUI() 604 mApn.setSummary(checkNull(mApn.getText())); in fillUI() 605 mProxy.setSummary(checkNull(mProxy.getText())); in fillUI() 606 mPort.setSummary(checkNull(mPort.getText())); in fillUI() 607 mUser.setSummary(checkNull(mUser.getText())); in fillUI() 608 mServer.setSummary(checkNull(mServer.getText())); in fillUI() 609 mPassword.setSummary(starify(mPassword.getText())); in fillUI() 610 mMmsProxy.setSummary(checkNull(mMmsProxy.getText())); in fillUI() 611 mMmsPort.setSummary(checkNull(mMmsPort.getText())); in fillUI() 612 mMmsc.setSummary(checkNull(mMmsc.getText())); in fillUI() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 133 preference.setSummary(preference.getEntries().get(index)) in onPreferenceChange() 138 pref.setSummary(simpleMenuPreference.getEntries().get(i)) in onPreferenceChange() 156 KEY_TIMER_RINGTONE -> pref.setSummary(DataModel.dataModel.timerRingtoneTitle) in onPreferenceChange() 215 it.setSummary(homeTimezonePref.getEntry()) in loadTimeZoneList() 230 it.setSummary(it.getEntry()) in refresh() 236 it.setSummary(volumeButtonsPref.getEntry()) in refresh() 267 it.setSummary(weekStartPref.getEntries().get(idx)) in refresh() 274 it.setSummary(DataModel.dataModel.timerRingtoneTitle) in refresh() 279 preference.setSummary(preference.getEntry()) in refreshListPreference() 286 listPref.setSummary(R.string.auto_silence_never) in updateAutoSnoozeSummary() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSizesController.java | 68 mAppSize.setSummary(errorRes); in updateUi() 69 mDataSize.setSummary(errorRes); in updateUi() 70 mCacheSize.setSummary(errorRes); in updateUi() 71 mTotalSize.setSummary(errorRes); in updateUi() 78 mAppSize.setSummary(getSizeStr(context, codeSize)); in updateUi() 82 mDataSize.setSummary(getSizeStr(context, dataSize)); in updateUi() 87 mCacheSize.setSummary(getSizeStr(context, cacheSize)); in updateUi() 93 mTotalSize.setSummary(getSizeStr(context, totalSize)); in updateUi()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 242 mEnableSyncPreference.setSummary(getString(R.string.cloud_sync_summary)); in onSharedPreferenceChanged() 244 mEnableSyncPreference.setSummary(getString(R.string.cloud_sync_summary_disabled)); in onSharedPreferenceChanged() 297 mEnableSyncPreference.setSummary(getString(R.string.cloud_sync_summary_disabled)); in refreshSyncSettingsMessaging() 298 mAccountSwitcher.setSummary(""); in refreshSyncSettingsMessaging() 303 mEnableSyncPreference.setSummary(""); in refreshSyncSettingsMessaging() 304 mAccountSwitcher.setSummary(""); in refreshSyncSettingsMessaging() 306 mEnableSyncPreference.setSummary( in refreshSyncSettingsMessaging() 309 mEnableSyncPreference.setSummary(getString(R.string.add_account_to_enable_sync)); in refreshSyncSettingsMessaging() 311 mEnableSyncPreference.setSummary(getString(R.string.cloud_sync_summary)); in refreshSyncSettingsMessaging() 313 mEnableSyncPreference.setSummary(getString(R.string.cloud_sync_summary_disabled)); in refreshSyncSettingsMessaging() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherPreferenceController.java | 134 mPreference.setSummary(mContext.getResources().getQuantityString( in initWifiTetherSoftApManager() 146 mPreference.setSummary(R.string.wifi_tether_starting); in handleWifiApStateChanged() 153 mPreference.setSummary(R.string.wifi_tether_stopping); in handleWifiApStateChanged() 156 mPreference.setSummary(R.string.wifi_hotspot_off_subtext); in handleWifiApStateChanged() 160 mPreference.setSummary(R.string.wifi_sap_no_channel_error); in handleWifiApStateChanged() 162 mPreference.setSummary(R.string.wifi_error); in handleWifiApStateChanged() 172 mPreference.setSummary(mContext.getString(R.string.wifi_tether_enabled_subtext, in updateConfigSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 200 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_off)); in getSummary_PrivateDnsModeOff() 210 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsModeOpportunistic() 216 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_on)); in getSummary_PrivateDnsModeOpportunistic() 223 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsModeOpportunistic() 233 verify(mPreference).setSummary( in getSummary_PrivateDnsModeProviderHostname() 240 verify(mPreference).setSummary(HOSTNAME); in getSummary_PrivateDnsModeProviderHostname() 247 verify(mPreference).setSummary( in getSummary_PrivateDnsModeProviderHostname() 258 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsDefaultMode() 266 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_off)); in getSummary_PrivateDnsDefaultMode() 276 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsDefaultMode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 173 .setSummary(nullable(String.class)); in setUp() 294 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_noUsageTimeAndGraphDisabled_hasCorrectSummary() 314 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_bgTwoMinFgZeroAndGraphDisabled_hasCorrectSummary() 335 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_bgLessThanAMinFgZeroAndGraphDisabled_hasCorrectSummary() 357 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_totalUsageLessThanAMinAndGraphDisabled_hasCorrectSummary() 377 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_TotalAMinutesBgLessThanAMinAndGraphDisabled_hasCorrectSummary() 396 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_TotalAMinBackgroundZeroAndGraphDisabled_hasCorrectSummary() 414 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_fgTwoMinBgFourMinAndGraphDisabled_hasCorrectSummary() 429 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_noUsageTime_hasCorrectSummary() 446 verify(mEntityHeaderController).setSummary(captor.capture()); in testInitHeader_backgroundTwoMinForegroundZero_hasCorrectSummary() [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsDataRoleController.java | 47 mNextRolePref.setSummary(R.string.usb_switching_failed); 81 mHostPref.setSummary(""); in refresh() 82 mDevicePref.setSummary(""); in refresh() 89 mNextRolePref.setSummary(""); in refresh() 92 mNextRolePref.setSummary(R.string.usb_switching_failed); in refresh() 106 preference.setSummary(R.string.usb_switching); in onRadioButtonClicked()
|
D | UsbDetailsPowerRoleController.java | 47 mSwitchPreference.setSummary(R.string.usb_switching_failed); 85 mSwitchPreference.setSummary(""); in refresh() 93 mSwitchPreference.setSummary(""); in refresh() 96 mSwitchPreference.setSummary(R.string.usb_switching_failed); in refresh() 112 mSwitchPreference.setSummary(R.string.usb_switching); in onPreferenceClick()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiDetailsFragment.java | 151 mConnectionStatusPref.setSummary(active ? R.string.connected : R.string.not_connected); in update() 156 mIpAddressPref.setSummary(mConnectivityListener.getWifiIpAddress()); in update() 157 mSignalStrengthPref.setSummary(getSignalStrength()); in update() 175 mProxySettingsPref.setSummary(proxySettings == ProxySettings.NONE in update() 181 mIpSettingsPref.setSummary(ipAssignment == IpAssignment.STATIC in update() 235 mMacAddressPref.setSummary(R.string.mac_address_not_available); in updateMacAddressPref() 237 mMacAddressPref.setSummary(macAddress); in updateMacAddressPref() 264 mRandomMacPref.setSummary(R.string.mac_address_ephemeral_summary); in updateRandomMacPref() 267 mRandomMacPref.setSummary(mRandomMacPref.getEntries()[isMacRandomized ? 0 : 1]); in updateRandomMacPref()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutFragment.java | 146 firmwareVersionPref.setSummary(Build.VERSION.RELEASE_OR_CODENAME); in onCreatePreferences() 152 securityPatchPref.setSummary(patch); in onCreatePreferences() 165 findPreference(KEY_BASEBAND_VERSION).setSummary(basebandVersion); in onCreatePreferences() 166 findPreference(KEY_DEVICE_MODEL).setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreatePreferences() 168 .setSummary(getSystemPropertySummary(PROPERTY_EQUIPMENT_ID)); in onCreatePreferences() 171 buildNumberPref.setSummary(Build.DISPLAY); in onCreatePreferences() 174 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(getContext())); in onCreatePreferences() 178 selinuxPref.setSummary(R.string.selinux_status_disabled); in onCreatePreferences() 180 selinuxPref.setSummary(R.string.selinux_status_permissive); in onCreatePreferences() 290 deviceNamePref.setSummary(DeviceManager.getDeviceName(getActivity())); in refreshDeviceName()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 736 preference.setSummary(summaries[index]); in updateListPreference() 754 mPassword.setSummary(R.string.local_backup_password_summary_change); in updatePasswordSummary() 756 mPassword.setSummary(R.string.local_backup_password_summary_none); in updatePasswordSummary() 839 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_set, label)); in updateDebuggerOptions() 843 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_not_set)); in updateDebuggerOptions() 876 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_set, label)); in updateMockLocation() 879 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_not_set)); in updateMockLocation() 1073 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions() 1078 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions() 1099 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 219 mEapSimSubscriptionPref.setSummary(R.string.wifi_require_sim_card_to_connect); in onQueryComplete() 222 mEapSimSubscriptionPref.setSummary(mContext.getString( in onQueryComplete() 491 .setSummary(mWifiEntry.getSummary()) in refreshEntityHeader() 596 mSignalStrengthPref.setSummary(mSignalStr[mRssiSignalLevel]); in refreshRssiViews() 652 mFrequencyPref.setSummary(band); in refreshFrequency() 657 mSecurityPref.setSummary(mWifiEntry.getSecurityString(false /* concise */)); in refreshSecurity() 669 mTxLinkSpeedPref.setSummary(mContext.getString( in refreshTxSpeed() 682 mRxLinkSpeedPref.setSummary(mContext.getString( in refreshRxSpeed() 689 mSsidPref.setSummary(mWifiEntry.getSsid()); in refreshSsid() 720 mEapSimSubscriptionPref.setSummary(displayName); in refreshEapSimSubscription() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ApplicationViewHolder.java | 88 void setSummary(CharSequence summary) { in setSummary() method in ApplicationViewHolder 92 void setSummary(@StringRes int summary) { in setSummary() method in ApplicationViewHolder 144 setSummary(entry.internalSizeStr); in updateSizeText() 147 setSummary(entry.externalSizeStr); in updateSizeText() 150 setSummary(entry.sizeStr); in updateSizeText() 154 setSummary(invalidSizeStr); in updateSizeText()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/ |
D | WifiDetailsState.java | 186 mConnectionStatusPref.setSummary(active in update() 200 mIpAddressPref.setSummary(mNetworkModule.getConnectivityListener().getWifiIpAddress()); in update() 201 mSignalStrengthPref.setSummary(getSignalStrength()); in update() 221 mProxySettingsPref.setSummary(proxySettings == IpConfiguration.ProxySettings.NONE in update() 229 mIpSettingsPref.setSummary(ipAssignment == IpConfiguration.IpAssignment.STATIC in update() 255 mMacAddressPref.setSummary(mContext.getString(R.string.mac_address_not_available)); in updateMacAddressPref() 257 mMacAddressPref.setSummary(macAddress); in updateMacAddressPref()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | ChooseSimActivity.java | 158 subItem.setSummary(getString(R.string.choose_sim_activating)); in onItemSelected() 217 item.setSummary(getString(R.string.choose_sim_could_not_activate)); in onStateChange() 245 item.setSummary(getString(R.string.choose_sim_activating)); in displaySubscriptions() 250 item.setSummary(TextUtils.isEmpty(phoneNumber) ? "" : phoneNumber); in displaySubscriptions() 267 item.setSummary(getString(R.string.choose_sim_activating)); in displaySubscriptions() 270 item.setSummary(TextUtils.isEmpty(phoneNumber) ? "" : phoneNumber); in displaySubscriptions() 300 item.setSummary(getString(R.string.choose_sim_could_not_activate)); in handleEnableRemovableSimError()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | SoundWorkSettingsController.java | 167 preference.setSummary(updateRingtoneName(getManagedProfileContext(), ringtoneType)); in onPreferenceChange() 256 mWorkPhoneRingtonePreference.setSummary(R.string.work_sound_same_as_personal); in enableWorkSyncSettings() 258 mWorkNotificationRingtonePreference.setSummary(R.string.work_sound_same_as_personal); in enableWorkSyncSettings() 259 mWorkAlarmRingtonePreference.setSummary(R.string.work_sound_same_as_personal); in enableWorkSyncSettings() 281 mWorkPhoneRingtonePreference.setSummary( in updateWorkRingtoneSummaries() 284 mWorkNotificationRingtonePreference.setSummary( in updateWorkRingtoneSummaries() 286 mWorkAlarmRingtonePreference.setSummary( in updateWorkRingtoneSummaries()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | ChooseLockTypePreferenceController.java | 86 preference.setSummary(R.string.security_lock_none); in updateState() 89 preference.setSummary(R.string.security_lock_pattern); in updateState() 92 preference.setSummary(R.string.security_lock_pin); in updateState() 95 preference.setSummary(R.string.security_lock_password); in updateState() 98 preference.setSummary(""); in updateState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | LocalBackupPasswordPreferenceControllerTest.java | 63 verify(mPreference).setSummary(R.string.local_backup_password_summary_change); in updateState_hasBackupPassword_preferenceShouldHavePasswordSetSummary() 76 verify(mPreference).setSummary(R.string.local_backup_password_summary_none); in updateState_noBackupPassword_preferenceShouldHaveNoPasswordSetSummary() 89 verify(mPreference, never()).setSummary(any()); in updateState_backupManagerIsNull_shouldDisablePreference() 102 verify(mPreference, never()).setSummary(any()); in updateState_backupManagerIsNotNullAndNotAdminUser_shouldDisablePreference() 115 verify(mPreference, never()).setSummary(any()); in updateState_backupManagerIsNotNullAndAdminUser_shouldEnablePreference()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 158 preference.setSummary(defaultSummary); in setValue() 160 preference.setSummary(scramble(value)); in setValue() 163 preference.setSummary(defaultSummary); in setValue() 165 preference.setSummary(value); in setValue() 456 pref.setSummary(getPreferenceKey(pref).defaultSummary); in onPreferenceChange() 458 pref.setSummary(scramble(value)); in onPreferenceChange() 460 pref.setSummary(value); in onPreferenceChange() 547 PreferenceKey.DisplayName.preference.setSummary(displayName); in checkIfDisplayNameSet() 596 mAdvancedSettingsTrigger.setSummary(R.string.advanced_settings_hide); in show() 609 mAdvancedSettingsTrigger.setSummary(R.string.advanced_settings_show); in hide()
|