Home
last modified time | relevance | path

Searched refs:mButtonWfcMode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java89 private ListWithEntrySummaryPreference mButtonWfcMode; field in WifiCallingSettingsForSub
268 mButtonWfcMode = findPreference(BUTTON_WFC_MODE); in onCreate()
269 mButtonWfcMode.setOnPreferenceChangeListener(this); in onCreate()
330 mButtonWfcMode.setEntries(R.array.wifi_calling_mode_choices_without_wifi_only); in updateBody()
331 mButtonWfcMode.setEntryValues(R.array.wifi_calling_mode_values_without_wifi_only); in updateBody()
332 mButtonWfcMode.setEntrySummaries(R.array.wifi_calling_mode_summaries_without_wifi_only); in updateBody()
349 mButtonWfcMode.setValue(Integer.toString(wfcMode)); in updateBody()
517 mButtonWfcMode.setSummary(getWfcModeSummary(wfcMode)); in updateButtonWfcMode()
518 mButtonWfcMode.setEnabled(wfcEnabled && mEditableWfcMode); in updateButtonWfcMode()
526 preferenceScreen.addPreference(mButtonWfcMode); in updateButtonWfcMode()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettingsForSub.java89 private ListWithEntrySummaryPreference mButtonWfcMode; field in WifiCallingSettingsForSub
267 mButtonWfcMode = findPreference(BUTTON_WFC_MODE); in onCreate()
268 mButtonWfcMode.setOnPreferenceChangeListener(this); in onCreate()
329 mButtonWfcMode.setEntries(R.array.wifi_calling_mode_choices_without_wifi_only); in updateBody()
330 mButtonWfcMode.setEntryValues(R.array.wifi_calling_mode_values_without_wifi_only); in updateBody()
331 mButtonWfcMode.setEntrySummaries(R.array.wifi_calling_mode_summaries_without_wifi_only); in updateBody()
348 mButtonWfcMode.setValue(Integer.toString(wfcMode)); in updateBody()
516 mButtonWfcMode.setSummary(getWfcModeSummary(wfcMode)); in updateButtonWfcMode()
517 mButtonWfcMode.setEnabled(wfcEnabled && mEditableWfcMode); in updateButtonWfcMode()
525 preferenceScreen.addPreference(mButtonWfcMode); in updateButtonWfcMode()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java93 @Mock private ListWithEntrySummaryPreference mButtonWfcMode; field in WifiCallingSettingsForSubTest
115 doReturn(mButtonWfcMode).when(mFragment).findPreference(BUTTON_WFC_MODE); in setUp()
250 mFragment.onPreferenceChange(mButtonWfcMode, in onPreferenceChange_useWfcHomeModeConfigFalse_shouldNotSetWfcRoaming()
271 mFragment.onPreferenceChange(mButtonWfcMode, in onPreferenceChange_useWfcHomeModeConfigTrue_shouldSetWfcRoaming()
315 ReflectionHelpers.setField(mFragment, "mButtonWfcMode", mButtonWfcMode); in onActivityResult_finishCarrierActivity_shouldShowWfcPreference()
323 verify(mPreferenceScreen).addPreference(mButtonWfcMode); in onActivityResult_finishCarrierActivity_shouldShowWfcPreference()