Home
last modified time | relevance | path

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

123456789

/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java306 getPreferenceScreen().removePreference(phoneAccountSettingsPreference); in onResume()
332 prefSet.removePreference(mButtonAutoRetry); in onResume()
344 prefSet.removePreference(cdmaOptions); in onResume()
345 prefSet.removePreference(gsmOptions); in onResume()
349 prefSet.removePreference(fdnButton); in onResume()
352 prefSet.removePreference(fdnButton); in onResume()
360 prefSet.removePreference(fdnButton); in onResume()
410 prefSet.removePreference(mEnableVideoCalling); in updateVtWfc()
427 prefSet.removePreference(mButtonWifiCalling); in updateVtWfc()
430 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java235 watchScreen.removePreference(mReminderInterval); in onCreatePreferences()
296 if (mMasterToggle != null) preferenceScreen.removePreference(mMasterToggle); in onCreatePreferences()
305 mAlertCategory.removePreference(mTestCheckBox); in onCreatePreferences()
311 preferenceScreen.removePreference(mDevSettingCategory); in onCreatePreferences()
319 if (mExtremeCheckBox != null) mAlertCategory.removePreference(mExtremeCheckBox); in onCreatePreferences()
320 if (mSevereCheckBox != null) mAlertCategory.removePreference(mSevereCheckBox); in onCreatePreferences()
321 if (mAmberCheckBox != null) mAlertCategory.removePreference(mAmberCheckBox); in onCreatePreferences()
329 mAlertCategory.removePreference(mAreaUpdateInfoCheckBox); in onCreatePreferences()
341 mAlertCategory.removePreference(mPublicSafetyMessagesChannelCheckBox); in onCreatePreferences()
351 mAlertCategory.removePreference(mEmergencyAlertsCheckBox); in onCreatePreferences()
[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()
/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/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/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/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/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/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());
/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/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java188 getPreferenceScreen().removePreference(quickResponsePref); in onCreate()
770 getPreferenceScreen().removePreference(folderPrefs); in loadSettings()
778 dataUsageCategory.removePreference(backgroundAttachments); in loadSettings()
825 notificationsCategory.removePreference(mInboxVibrate); in loadSettings()
857 getPreferenceScreen().removePreference(policiesCategory); in loadSettings()
871 policiesCategory.removePreference(retryAccount); in loadSettings()
907 serverCategory.removePreference(prefOutgoing); in loadSettings()
939 dataUsageCategory.removePreference(syncContacts); in loadSettings()
940 dataUsageCategory.removePreference(syncCalendar); in loadSettings()
941 dataUsageCategory.removePreference(syncEmail); in loadSettings()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java99 getPreferenceScreen().removePreference(mButtonTty); in onCreate()
108 getPreferenceScreen().removePreference(mButtonHac); in onCreate()
120 getPreferenceScreen().removePreference(mButtonRtt); in onCreate()
122 getPreferenceScreen().removePreference(rttInfoPref); in onCreate()
DPhoneAccountSettingsFragment.java187 getPreferenceScreen().removePreference( in onResume()
427 mMakeAndReceiveCallsCategory.removePreference(mDefaultOutgoingAccount); in updateAccounts()
435 mAccountList.removePreference(mAllCallingAccounts); in updateAccounts()
438 getPreferenceScreen().removePreference(mAccountList); in updateAccounts()
536 mMakeAndReceiveCallsCategory.removePreference( in updateMakeCallsOptions()
541 getPreferenceScreen().removePreference(mMakeAndReceiveCallsCategory); in updateMakeCallsOptions()
/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/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/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

123456789