Home
last modified time | relevance | path

Searched refs:removePreference (Results 1 – 25 of 208) sorted by relevance

123456789

/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java353 getPreferenceScreen().removePreference(phoneAccountSettingsPreference); in onResume()
379 prefSet.removePreference(mButtonAutoRetry); in onResume()
391 prefSet.removePreference(cdmaOptions); in onResume()
392 prefSet.removePreference(gsmOptions); in onResume()
396 prefSet.removePreference(fdnButton); in onResume()
399 prefSet.removePreference(fdnButton); in onResume()
406 prefSet.removePreference(fdnButton); in onResume()
454 prefSet.removePreference(mEnableVideoCalling); in updateVtWfc()
471 prefSet.removePreference(mButtonWifiCalling); in updateVtWfc()
474 prefSet.removePreference(mButtonWifiCalling); in updateVtWfc()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java129 removePreference(securityPatchPref); in onCreatePreferences()
156 removePreference(selinuxPref); in onCreatePreferences()
161 removePreference(findPreference(KEY_SAFETY_LEGAL)); in onCreatePreferences()
166 removePreference(findPreference(KEY_EQUIPMENT_ID)); in onCreatePreferences()
171 removePreference(findPreference(KEY_BASEBAND_VERSION)); in onCreatePreferences()
176 removePreference(findPreference(KEY_DEVICE_FEEDBACK)); in onCreatePreferences()
185 removePreference(updateSettingsPref); in onCreatePreferences()
190 removePreference(findPreference(KEY_UPDATE_SETTING)); in onCreatePreferences()
195 removePreference(findPreference(KEY_MANUAL)); in onCreatePreferences()
203 private void removePreference(@Nullable Preference preference) { in removePreference() method in AboutFragment
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailSettingsFragment.java131 getPreferenceScreen().removePreference(voicemailAutoArchivePreference); in setupVisualVoicemailFeaturePreferences()
176 getPreferenceScreen().removePreference(donateTranscribedVoicemailPreference); in updateTranscriptionDonationPreference()
206 getPreferenceScreen().removePreference(transcribeVoicemailPreference); in removeAllTranscriptionPreferences()
207 getPreferenceScreen().removePreference(donateTranscribedVoicemailPreference); in removeAllTranscriptionPreferences()
214 getPreferenceScreen().removePreference(voicemailAutoArchivePreference); in setupAutoArchivePreference()
269 prefSet.removePreference(visualVoicemailPreference); in removeAllVisualVoicemailPreferences()
270 prefSet.removePreference(voicemailAutoArchivePreference); in removeAllVisualVoicemailPreferences()
271 prefSet.removePreference(transcribeVoicemailPreference); in removeAllVisualVoicemailPreferences()
272 prefSet.removePreference(donateTranscribedVoicemailPreference); in removeAllVisualVoicemailPreferences()
273 prefSet.removePreference(voicemailChangePinPreference); in removeAllVisualVoicemailPreferences()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdaterTest.java96 doNothing().when(mBluetoothDeviceUpdater).removePreference(any()); in setUp()
122 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onAudioModeChanged_hfpDeviceConnected_inCall_removePreference()
135 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onAudioModeChanged_a2dpDeviceConnected_notInCall_removePreference()
174 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference()
187 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference()
214 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()
228 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_removePreference()
236 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_deviceDisconnected_removePreference()
DAvailableMediaBluetoothDeviceUpdaterTest.java96 doNothing().when(mBluetoothDeviceUpdater).removePreference(any()); in setUp()
122 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onAudioModeChanged_hfpDeviceConnected_notInCall_removePreference()
135 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onAudioModeChanged_a2dpDeviceConnected_inCall_removePreference()
174 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference()
187 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference()
235 verify(mBluetoothDeviceUpdater).removePreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_deviceDisconnected_removePreference()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/
DPreferenceListCacheTest.java58 verify(mGroup, never()).removePreference(any(Preference.class)); in testEmptyPreferenceGroup()
75 verify(mGroup, never()).removePreference(any(Preference.class)); in testCacheAndRestoreAllPreferences()
93 verify(mGroup).removePreference(eq(third)); in testRestoreSomePreferences()
109 verify(mGroup).removePreference(eq(first)); in testRestoreZeroPreferences()
110 verify(mGroup).removePreference(eq(second)); in testRestoreZeroPreferences()
111 verify(mGroup).removePreference(eq(third)); in testRestoreZeroPreferences()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java117 removePreference(group, key); in removePreferenceFromScreen()
178 removePreference(group, focusMode.getKey()); in initPreference()
200 removePreference(group, exposure.getKey()); in buildExposureCompensation()
224 removePreference(group, preference.getKey()); in buildCameraId()
235 private static boolean removePreference(PreferenceGroup group, String key) { in removePreference() method in CameraSettings
239 if (removePreference((PreferenceGroup) child, key)) { in removePreference()
245 group.removePreference(i); in removePreference()
258 removePreference(group, pref.getKey()); in filterUnsupportedOptions()
264 removePreference(group, pref.getKey()); in filterUnsupportedOptions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputsFragment.java127 mStandbyGroup.removePreference(inputPref); in refresh()
128 mDisconnectedGroup.removePreference(inputPref); in refresh()
131 mConnectedGroup.removePreference(inputPref); in refresh()
133 mDisconnectedGroup.removePreference(inputPref); in refresh()
136 mConnectedGroup.removePreference(inputPref); in refresh()
137 mStandbyGroup.removePreference(inputPref); in refresh()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java132 getPreferenceScreen().removePreference(debugCategory); in onCreate()
145 getPreferenceScreen().removePreference(advancedScreen); in onCreate()
190 getPreferenceScreen().removePreference(mSmsDisabledPreference); in updateSmsEnabledPreferences()
191 getPreferenceScreen().removePreference(mSmsEnabledPreference); in updateSmsEnabledPreferences()
205 getPreferenceScreen().removePreference(mSmsDisabledPreference); in updateSmsEnabledPreferences()
215 getPreferenceScreen().removePreference(mSmsEnabledPreference); in updateSmsEnabledPreferences()
DPerSubscriptionSettingsActivity.java124 mmsCategory.removePreference(mGroupMmsPreference); in onCreate()
139 advancedCategory.removePreference(deliveryReportsPref); in onCreate()
144 advancedCategory.removePreference(wirelessAlertPref); in onCreate()
174 advancedCategory.removePreference((Preference) apnsScreen); in onCreate()
195 getPreferenceScreen().removePreference(advancedCategory); in onCreate()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccessTest.java59 verify(mSpecialAppAccess, times(1)).removePreference(SpecialAppAccess.KEY_FEATURE_PIP); in testFeaturesDisabledOnLowRam()
60 verify(mSpecialAppAccess, times(1)).removePreference( in testFeaturesDisabledOnLowRam()
70 verify(mSpecialAppAccess, never()).removePreference(SpecialAppAccess.KEY_FEATURE_PIP); in testFeaturesNotDisabledNonLowRam()
71 verify(mSpecialAppAccess, never()).removePreference( in testFeaturesNotDisabledNonLowRam()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java157 removePreference(KEY_UNRESTRICTED_DATA); in onCreate()
158 removePreference(KEY_RESTRICT_BACKGROUND); in onCreate()
191 removePreference(KEY_APP_SETTINGS); in onCreate()
200 removePreference(KEY_APP_LIST); in onCreate()
209 removePreference(KEY_UNRESTRICTED_DATA); in onCreate()
210 removePreference(KEY_APP_SETTINGS); in onCreate()
211 removePreference(KEY_RESTRICT_BACKGROUND); in onCreate()
212 removePreference(KEY_APP_LIST); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsage.java157 removePreference(KEY_UNRESTRICTED_DATA); in onCreate()
158 removePreference(KEY_RESTRICT_BACKGROUND); in onCreate()
191 removePreference(KEY_APP_SETTINGS); in onCreate()
200 removePreference(KEY_APP_LIST); in onCreate()
209 removePreference(KEY_UNRESTRICTED_DATA); in onCreate()
210 removePreference(KEY_APP_SETTINGS); in onCreate()
211 removePreference(KEY_RESTRICT_BACKGROUND); in onCreate()
212 removePreference(KEY_APP_LIST); in onCreate()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DImportantNoticeUtilsTests.java77 removePreference(key); in putInt()
85 removePreference(key); in putLong()
91 private void removePreference(final String key) { in removePreference() method in ImportantNoticeUtilsTests.ImportantNoticePreferences
104 removePreference(KEY_TIMESTAMP_OF_CONTACTS_NOTICE); in clear()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSubScreenFragment.java47 static void removePreference(final String prefKey, final PreferenceScreen screen) { in removePreference() method in SubScreenFragment
50 screen.removePreference(preference); in removePreference()
71 final void removePreference(final String prefKey) {
72 removePreference(prefKey, getPreferenceScreen());
DPreferencesSettingsFragment.java62 removePreference(Settings.PREF_VOICE_INPUT_KEY); in onCreate()
65 removePreference(Settings.PREF_VIBRATE_ON); in onCreate()
68 removePreference(Settings.PREF_POPUP_ON); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceController.java110 removePreference(deviceToRemove); in updateState()
117 removePreference(cachedDevice); in updateState()
154 private void removePreference(CachedBluetoothDevice cachedDevice) { in removePreference() method in BluetoothDevicesGroupPreferenceController
156 getPreference().removePreference(mPreferenceMap.get(cachedDevice)); in removePreference()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java281 getPreferenceScreen().removePreference(findPreference(KEY_SORT_ORDER)); in removeUnsupportedPreferences()
285 getPreferenceScreen().removePreference(findPreference(KEY_PHONETIC_NAME_DISPLAY)); in removeUnsupportedPreferences()
289 getPreferenceScreen().removePreference(findPreference(KEY_ABOUT)); in removeUnsupportedPreferences()
294 getPreferenceScreen().removePreference(findPreference(KEY_DISPLAY_ORDER)); in removeUnsupportedPreferences()
302 getPreferenceScreen().removePreference(findPreference(KEY_BLOCKED_NUMBERS)); in removeUnsupportedPreferences()
306 getPreferenceScreen().removePreference(findPreference(KEY_EXPORT)); in removeUnsupportedPreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccess.java61 removePreference(disabledFeature); in updatePreferenceStates()
67 void removePreference(String key) { in removePreference() method in SpecialAppAccess
70 getPreferenceScreen().removePreference(preference); in removePreference()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java186 getPreferenceScreen().removePreference( in onResume()
426 mMakeAndReceiveCallsCategory.removePreference(mDefaultOutgoingAccount); in updateAccounts()
434 mAccountList.removePreference(mAllCallingAccounts); in updateAccounts()
437 getPreferenceScreen().removePreference(mAccountList); in updateAccounts()
535 mMakeAndReceiveCallsCategory.removePreference( in updateMakeCallsOptions()
540 getPreferenceScreen().removePreference(mMakeAndReceiveCallsCategory); in updateMakeCallsOptions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDeviceUpdater.java125 removePreference(cachedBluetoothDevice); in removeAllDevicesFromPreference()
148 removePreference(cachedDevice); in onDeviceDeleted()
207 removePreference(cachedBluetoothDevice); in update()
233 protected void removePreference(CachedBluetoothDevice cachedDevice) { in removePreference() method in BluetoothDeviceUpdater
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java95 assertThat(mFragment.removePreference(mScreen, key)).isTrue(); in removePreference_nested_shouldRemove()
110 assertThat(mFragment.removePreference(mScreen, key)).isTrue(); in removePreference_flat_shouldRemove()
125 assertThat(mFragment.removePreference(mScreen, "not" + key)).isFalse(); in removePreference_doNotExist_shouldNotRemove()
186 verify(mPreferenceScreen, never()).removePreference(workOnlyCategory); in checkAvailablePrefs_selfAvialbalePreferenceNotAvailable_shouldHidePreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java135 removePreference(cachedBluetoothDevice); in removeAllDevicesFromPreference()
158 removePreference(cachedDevice); in onDeviceDeleted()
217 removePreference(cachedBluetoothDevice); in update()
243 protected void removePreference(CachedBluetoothDevice cachedDevice) { in removePreference() method in BluetoothDeviceUpdater
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java138 doReturn(true).when(dataUsageSummary).removePreference(anyString()); in configuration_withSim_shouldShowMobileAndWifi()
157 doReturn(true).when(dataUsageSummary).removePreference(anyString()); in configuration_withoutSim_shouldShowWifiSectionOnly()
176 doReturn(true).when(dataUsageSummary).removePreference(anyString()); in configuration_withoutMobile_shouldShowWifiSectionOnly()
198 doReturn(true).when(dataUsageSummary).removePreference(anyString()); in configuration_invalidDataSusbscription_shouldShowWifiSectionOnly()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java384 group.removePreference(p); in removeCachedPrefs()
394 public boolean removePreference(String key) { in removePreference() method in SettingsPreferenceFragment
395 return removePreference(getPreferenceScreen(), key); in removePreference()
399 boolean removePreference(PreferenceGroup group, String key) { in removePreference() method in SettingsPreferenceFragment
406 return group.removePreference(preference); in removePreference()
410 if (removePreference((PreferenceGroup) preference, key)) { in removePreference()

123456789