Home
last modified time | relevance | path

Searched refs:setSummary (Results 1 – 25 of 742) sorted by relevance

12345678910>>...30

/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java148 listPreference.setSummary(mBuilder.getSummary()); in updateState()
161 listPreference.setSummary(mBuilder.getSummary()); in onPreferenceChange()
528 setSummary(R.string.network_3G); in setPreferenceValueAndSummary()
535 setSummary(R.string.network_3G); in setPreferenceValueAndSummary()
539 setSummary(R.string.network_global); in setPreferenceValueAndSummary()
545 setSummary(R.string.network_2G); in setPreferenceValueAndSummary()
549 setSummary(R.string.network_global); in setPreferenceValueAndSummary()
554 setSummary( in setPreferenceValueAndSummary()
564 setSummary(mShow4gForLTE in setPreferenceValueAndSummary()
567 setSummary(mShow4gForLTE in setPreferenceValueAndSummary()
[all …]
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterStaticEntryTest.kt52 .setSummary(summary1)
57 .setSummary(summary2)
102 .setSummary("a summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
110 .setSummary("sumaree") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
114 .setSummary("sumaree") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
119 .setSummary("a summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
124 .setSummary("a different summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
129 .setSummary("a summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterEntryGroupTest.kt59 .setSummary("A group summary")
65 .setSummary("Another group summary")
86 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary("one").build().summary) in getSummary_returnsSummary()
88 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary("two").build().summary) in getSummary_returnsSummary()
90 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary(null).build().summary) in getSummary_returnsSummary()
179 .setSummary("A group summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
189 SafetyCenterEntryGroup.Builder(entryGroup1).setSummary("different!").build()) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterEntryTest.kt54 .setSummary("a summary")
76 assertThat(SafetyCenterEntry.Builder(entry1).setSummary("a summary").build().summary) in getSummary_returnsSummary()
78 assertThat(SafetyCenterEntry.Builder(entry1).setSummary("another summary").build().summary) in getSummary_returnsSummary()
80 assertThat(SafetyCenterEntry.Builder(entry1).setSummary(null).build().summary).isNull() in getSummary_returnsSummary()
191 .setSummary(null) in parcelRoundTrip_recreatesEqual()
204 .setSummary("a summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
213 .setSummary("a summary") in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
225 SafetyCenterEntry.Builder(entry1).setSummary("a different summary").build()) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java68 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/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceDataTest.java48 .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/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt133 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/wifi/tether/
DWifiTetherPreferenceController.java101 mPreference.setSummary(R.string.not_allowed_by_ent); in displayPreference()
145 mPreference.setSummary( in initWifiTetherSoftApManager()
157 mPreference.setSummary(R.string.wifi_tether_starting); in handleWifiApStateChanged()
164 mPreference.setSummary(R.string.wifi_tether_stopping); in handleWifiApStateChanged()
167 mPreference.setSummary(R.string.wifi_hotspot_off_subtext); in handleWifiApStateChanged()
171 mPreference.setSummary(R.string.wifi_sap_no_channel_error); in handleWifiApStateChanged()
173 mPreference.setSummary(R.string.wifi_error); in handleWifiApStateChanged()
183 mPreference.setSummary(mContext.getString(R.string.wifi_tether_enabled_subtext, in updateConfigSummary()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java635 mName.setSummary(checkNull(mName.getText())); in fillUI()
636 mApn.setSummary(checkNull(mApn.getText())); in fillUI()
637 mProxy.setSummary(checkNull(mProxy.getText())); in fillUI()
638 mPort.setSummary(checkNull(mPort.getText())); in fillUI()
639 mUser.setSummary(checkNull(mUser.getText())); in fillUI()
640 mServer.setSummary(checkNull(mServer.getText())); in fillUI()
641 mPassword.setSummary(starify(mPassword.getText())); in fillUI()
642 mMmsProxy.setSummary(checkNull(mMmsProxy.getText())); in fillUI()
643 mMmsPort.setSummary(checkNull(mMmsPort.getText())); in fillUI()
644 mMmsc.setSummary(checkNull(mMmsc.getText())); in fillUI()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java242 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/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java304 when(mMockHeaderController.setSummary(nullable(String.class))) in setUp()
427 verify(mMockSecurityPref).setSummary(SECURITY); in securityPreference_stringShouldBeSet()
558 verify(mMockHeaderController).setSummary(summary); in entityHeader_shouldHaveSummarySet()
664 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldHaveDetailTextSetForConnectedNetwork()
676 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldHaveDetailTextSetForDisconnectedNetwork()
686 verify(mMockSignalStrengthPref, never()).setSummary(any(String.class)); in signalStrengthPref_shouldNotHaveDetailTextSetForNotInRangeNetwork()
700 verify(mMockSignalStrengthPref).setSummary(expectedStrength); in signalStrengthPref_shouldShowXLevelIcon_showXTrue()
723 verify(mMockTxLinkSpeedPref).setSummary(expectedLinkSpeed); in linkSpeedPref_shouldVisibleForConnectedNetwork()
733 verify(mMockTxLinkSpeedPref, never()).setSummary(any(String.class)); in linkSpeedPref_shouldInvisibleForDisconnectedNetwork()
743 verify(mMockTxLinkSpeedPref, never()).setSummary(any(String.class)); in linkSpeedPref_shouldInvisibleForNotInRangeNetwork()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsDataRoleController.java47 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()
DUsbDetailsPowerRoleController.java47 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/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java211 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_off)); in getSummary_PrivateDnsModeOff()
221 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsModeOpportunistic()
227 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_on)); in getSummary_PrivateDnsModeOpportunistic()
234 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsModeOpportunistic()
244 verify(mPreference).setSummary( in getSummary_PrivateDnsModeProviderHostname()
251 verify(mPreference).setSummary(HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()
258 verify(mPreference).setSummary( in getSummary_PrivateDnsModeProviderHostname()
269 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsDefaultMode()
277 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_off)); in getSummary_PrivateDnsDefaultMode()
287 verify(mPreference).setSummary(getResourceString(R.string.private_dns_mode_opportunistic)); in getSummary_PrivateDnsDefaultMode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java179 .setSummary(nullable(String.class)); in setUp()
301 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_noUsageTimeAndGraphDisabled_hasCorrectSummary()
321 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_bgTwoMinFgZeroAndGraphDisabled_hasCorrectSummary()
342 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_bgLessThanAMinFgZeroAndGraphDisabled_hasCorrectSummary()
364 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_totalUsageLessThanAMinAndGraphDisabled_hasCorrectSummary()
384 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_TotalAMinutesBgLessThanAMinAndGraphDisabled_hasCorrectSummary()
403 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_TotalAMinBackgroundZeroAndGraphDisabled_hasCorrectSummary()
421 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_fgTwoMinBgFourMinAndGraphDisabled_hasCorrectSummary()
436 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_noUsageTime_hasCorrectSummary()
451 verify(mEntityHeaderController).setSummary(captor.capture()); in initHeader_noUsageTimeButConsumedPower_hasEmptySummary()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java152 mConnectionStatusPref.setSummary(active ? R.string.connected : R.string.not_connected); in update()
157 mIpAddressPref.setSummary(mConnectivityListener.getWifiIpAddress()); in update()
158 mSignalStrengthPref.setSummary(getSignalStrength()); in update()
176 mProxySettingsPref.setSummary(proxySettings == ProxySettings.NONE in update()
182 mIpSettingsPref.setSummary(ipAssignment == IpAssignment.STATIC in update()
237 mMacAddressPref.setSummary(R.string.mac_address_not_available); in updateMacAddressPref()
239 mMacAddressPref.setSummary(macAddress); in updateMacAddressPref()
266 mRandomMacPref.setSummary(R.string.mac_address_ephemeral_summary); in updateRandomMacPref()
269 mRandomMacPref.setSummary(mRandomMacPref.getEntries()[isMacRandomized ? 0 : 1]); in updateRandomMacPref()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDeveloperOptionsFragment.java276 pref.setSummary("Plugins: " in loadPluginPrefs()
296 sandboxCategory.setSummary("Learn and practice navigation gestures"); in maybeAddSandboxCategory()
300 launchTutorialStepMenuPreference.setSummary("Select a gesture tutorial step."); in maybeAddSandboxCategory()
309 launchOnboardingTutorialPreference.setSummary("Learn the basic navigation gestures."); in maybeAddSandboxCategory()
324 launchBackTutorialPreference.setSummary("Learn how to use the Back gesture"); in maybeAddSandboxCategory()
335 launchHomeTutorialPreference.setSummary("Learn how to use the Home gesture"); in maybeAddSandboxCategory()
346 launchOverviewTutorialPreference.setSummary("Learn how to use the Overview gesture"); in maybeAddSandboxCategory()
357 launchAssistantTutorialPreference.setSummary("Learn how to use the Assistant gesture"); in maybeAddSandboxCategory()
368 launchSandboxModeTutorialPreference.setSummary("Practice navigation gestures"); in maybeAddSandboxCategory()
380 launchSecondaryDisplayPreference.setSummary("Launch secondary display activity"); in maybeAddSandboxCategory()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java150 firmwareVersionPref.setSummary(Build.VERSION.RELEASE_OR_CODENAME); in onCreatePreferences()
156 securityPatchPref.setSummary(patch); in onCreatePreferences()
169 findPreference(KEY_BASEBAND_VERSION).setSummary(basebandVersion); in onCreatePreferences()
170 findPreference(KEY_DEVICE_MODEL).setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreatePreferences()
172 .setSummary(getSystemPropertySummary(PROPERTY_EQUIPMENT_ID)); in onCreatePreferences()
175 buildNumberPref.setSummary(Build.DISPLAY); in onCreatePreferences()
178 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(getContext())); in onCreatePreferences()
182 selinuxPref.setSummary(R.string.selinux_status_disabled); in onCreatePreferences()
184 selinuxPref.setSummary(R.string.selinux_status_permissive); in onCreatePreferences()
295 deviceNamePref.setSummary(DeviceManager.getDeviceName(getActivity())); in refreshDeviceName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java219 networkPref.setSummary(R.string.connectivity_summary_ethernet_connected); in updateConnectivityType()
222 networkPref.setSummary(activeNetworkProvider.getSsid()); in updateConnectivityType()
226 networkPref.setSummary(R.string.connectivity_summary_no_network_connected); in updateConnectivityType()
229 networkPref.setSummary(R.string.connectivity_summary_wifi_disabled); in updateConnectivityType()
299 networkPref.setSummary(R.string.connectivity_summary_ethernet_connected); in updateConnectivity()
321 networkPref.setSummary(mConnectivityListenerOptional.get().getSsid()); in updateConnectivity()
324 networkPref.setSummary(R.string.connectivity_summary_no_network_connected); in updateConnectivity()
328 networkPref.setSummary(R.string.connectivity_summary_wifi_disabled); in updateConnectivity()
351 soundPref.setSummary(summary); in updateSoundSettings()
562 accountsPref.setSummary(R.string.accounts_category_summary_no_account); in updateAccountPrefInfo()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java757 preference.setSummary(summaries[index]); in updateListPreference()
775 mPassword.setSummary(R.string.local_backup_password_summary_change); in updatePasswordSummary()
777 mPassword.setSummary(R.string.local_backup_password_summary_none); in updatePasswordSummary()
860 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_set, label)); in updateDebuggerOptions()
864 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_not_set)); in updateDebuggerOptions()
897 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_set, label)); in updateMockLocation()
900 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_not_set)); in updateMockLocation()
1094 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions()
1099 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions()
1120 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DApplicationViewHolder.java96 void setSummary(CharSequence summary) { in setSummary() method in ApplicationViewHolder
101 void setSummary(@StringRes int summary) { in setSummary() method in ApplicationViewHolder
159 setSummary(entry.internalSizeStr); in updateSizeText()
162 setSummary(entry.externalSizeStr); in updateSizeText()
165 setSummary(entry.sizeStr); in updateSizeText()
169 setSummary(invalidSizeStr); in updateSizeText()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DAboutState.java130 mFirmwareVersionPref.setSummary(Build.VERSION.RELEASE_OR_CODENAME); in onCreate()
137 securityPatchPref.setSummary(patch); in onCreate()
142 mPreferenceCompatManager.getOrCreatePrefCompat(KEY_DEVICE_MODEL).setSummary( in onCreate()
145 .setSummary(getSystemPropertySummary(PROPERTY_EQUIPMENT_ID)); in onCreate()
149 buildNumberPref.setSummary(Build.DISPLAY); in onCreate()
152 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(context)); in onCreate()
157 selinuxPref.setSummary(ResourcesUtil.getString(context, "selinux_status_disabled")); in onCreate()
159 selinuxPref.setSummary(ResourcesUtil.getString(context, "selinux_status_permissive")); in onCreate()
291 deviceNamePref.setSummary(DeviceManager.getDeviceName(context)); in refreshDeviceName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DLocalBackupPasswordPreferenceControllerTest.java63 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/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockTypePreferenceController.java86 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/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreference.java57 setSummary(mContext.getString(R.string.deletion_helper_app_summary_never_used)); in updateSummary()
59 setSummary(mContext.getString(R.string.deletion_helper_app_summary_unknown_used)); in updateSummary()
65 setSummary( in updateSummary()
69 setSummary( in updateSummary()

12345678910>>...30