Home
last modified time | relevance | path

Searched defs:pref (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java217 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_providerLabelShouldBeSet() local
232 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncDisabled_shouldNotBeChecked() local
247 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOn_syncDisabled_shouldBeChecked() local
262 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncEnabled_shouldBeChecked() local
276 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncDisabled_summaryShouldBeSet() local
296 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet() local
314 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_syncHasHappened_summaryShouldBeSet() local
339 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon() local
359 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncPending_notInitialSync_shouldHaveActiveSyncIcon() local
381 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncFailed_shouldHaveProblemSyncIcon() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleControllerTest.java107 SwitchPreference pref = getPreference(); in displayRefresh_sink_shouldUncheck() local
119 SwitchPreference pref = getPreference(); in displayRefresh_source_shouldCheck() local
153 SwitchPreference pref = getPreference(); in onClick_sink_shouldSetSource() local
166 SwitchPreference pref = getPreference(); in onClickTwice_sink_shouldSetSourceOnce() local
180 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_success_shouldClearSubtext() local
198 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_failed_shouldShowFailureText() local
217 SwitchPreference pref = getPreference(); in onClickDevice_timedOut_shouldShowFailureText() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DDndPreferenceControllerTest.java106 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local
119 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_notBlockable() local
132 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local
144 RestrictedSwitchPreference pref = in testUpdateState_bypassDnd() local
156 RestrictedSwitchPreference pref = in testUpdateState_noBypassDnd() local
168 RestrictedSwitchPreference pref = in testOnPreferenceChange_on() local
186 RestrictedSwitchPreference pref = in testOnPreferenceChange_off() local
DSoundPreferenceControllerTest.java141 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testDisplayPreference_savesPreference() local
157 Preference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_disabledByAdmin() local
171 Preference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_notBlockable() local
187 NotificationSoundPreference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_configurable() local
203 NotificationSoundPreference pref = in testOnPreferenceChange() local
215 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testOnPreferenceTreeClick_incorrectPref() local
225 NotificationSoundPreference pref = in testOnPreferenceTreeClick_correctPref() local
243 NotificationSoundPreference pref = in testOnPreferenceTreeClick_alarmSound() local
264 NotificationSoundPreference pref = in testOnPreferenceTreeClick_ringtoneSound() local
285 NotificationSoundPreference pref = in testOnPreferenceTreeClick_otherSound() local
[all …]
DAllowSoundPreferenceControllerTest.java135 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
149 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_notBlockable_oem() local
162 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_configurable() local
174 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_checkedForHighImportanceChannel() local
185 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_checkedForUnspecifiedImportanceChannel() local
196 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_notCheckedForLowImportanceChannel() local
207 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on() local
224 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off() local
DVibrationPreferenceControllerTest.java136 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local
149 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_notBlockable() local
162 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local
174 RestrictedSwitchPreference pref = in testUpdateState_vibrateOn() local
186 RestrictedSwitchPreference pref = in testUpdateState_vibrateOff() local
198 RestrictedSwitchPreference pref = in testOnPreferenceChange_on() local
214 RestrictedSwitchPreference pref = in testOnPreferenceChange_off() local
DHighImportancePreferenceControllerTest.java137 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() local
151 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_notConfigurable() local
166 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_systemButConfigurable() local
181 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_defaultApp() local
193 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_high() local
205 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_default() local
217 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext, null); in onPreferenceChange() local
DMinImportancePreferenceControllerTest.java137 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() local
151 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_notConfigurable() local
166 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_systemButConfigurable() local
181 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_defaultApp() local
193 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_min() local
205 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_low() local
217 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext, null); in onPreferenceChange() local
DImportancePreferenceControllerTest.java154 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_disabledByAdmin() local
168 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_notConfigurable() local
183 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_systemButConfigurable() local
198 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_defaultApp() local
210 ImportancePreference pref = mock(ImportancePreference.class); in testUpdateState() local
225 ImportancePreference pref = new ImportancePreference(mContext, null); in testImportanceLowToHigh() local
243 ImportancePreference pref = new ImportancePreference(mContext, null); in testImportanceHighToLow() local
DBadgePreferenceControllerTest.java183 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
197 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_channelNotBlockable() local
210 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_channel() local
228 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_app() local
248 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_channel() local
267 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_channel() local
283 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_app() local
300 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_app() local
DVisibilityPreferenceControllerTest.java164 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableSecure() local
186 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableUnredacted() local
201 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGlobally() local
226 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGloballyInProfile() local
249 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noPrivateLockScreenNotificationsGlobally() local
266 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noGlobalRestriction() local
297 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noChannelOverride() local
316 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_channelOverride() local
335 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testOnPreferenceChange_noOverride() local
354 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testOnPreferenceChange_override() local
DLightsPreferenceControllerTest.java154 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
167 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_notBlockable() local
179 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_lightsOn() local
190 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_lightsOff() local
201 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on() local
218 RestrictedSwitchPreference pref = in testOnPreferenceChange_off() local
DBubblePreferenceControllerTest.java220 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
234 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_channelNotBlockable() local
248 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_channel() local
268 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_app() local
291 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_app_offGlobally() local
306 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_channel() local
326 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_channel() local
343 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_app() local
361 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_app() local
380 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_app_offGlobally() local
DNotificationsOffPreferenceControllerTest.java102 Preference pref = new Preference(RuntimeEnvironment.application); in testUpdateState_channel() local
116 Preference pref = new Preference(RuntimeEnvironment.application); in testUpdateState_channelGroup() local
129 Preference pref = new Preference(RuntimeEnvironment.application); in testUpdateState_app() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DBaseSettingsFragment.java38 public final boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment()
51 public final boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { in onPreferenceStartScreen()
56 public boolean onPreferenceDisplayDialog(@NonNull PreferenceFragment caller, Preference pref) { in onPreferenceDisplayDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNotifyOpenNetworkPreferenceControllerTest.java61 final SwitchPreference pref = new SwitchPreference(mContext); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing() local
68 final Preference pref = new Preference(mContext); in handlePreferenceTreeClick_nonMatchingType_shouldDoNothing() local
76 final SwitchPreference pref = new SwitchPreference(mContext); in handlePreferenceTreeClick_matchingKeyAndType_shouldUpdateSetting() local
DUseOpenWifiPreferenceControllerTest.java152 final SwitchPreference pref = new SwitchPreference(mContext); in onPreferenceChange_nonMatchingKey_shouldDoNothing() local
161 final Preference pref = new Preference(mContext); in onPreferenceChange_notAvailable_shouldDoNothing() local
172 final SwitchPreference pref = new SwitchPreference(mContext); in onPreferenceChange_matchingKeyAndAvailable_enableShouldStartEnableActivity() local
191 final SwitchPreference pref = new SwitchPreference(mContext); in onPreferenceChange_matchingKeyAndAvailable_disableShouldUpdateSetting() local
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnhancedCallBlockingFragment.java85 Preference pref = findPreference(BLOCK_NUMBERS_NOT_IN_CONTACTS_KEY); in maybeConfigureCallBlockingOptions() local
93 Preference pref = findPreference(BLOCK_RESTRICTED_NUMBERS_KEY); in maybeConfigureCallBlockingOptions() local
103 SwitchPreference pref = (SwitchPreference) findPreference(key); in setOnPreferenceChangeListener() local
125 SwitchPreference pref = (SwitchPreference) findPreference(key); in updateEnhancedBlockPref() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DDebugSettingsFragment.java63 final Preference pref = new DictDumpPreference(getActivity(), dictName); in onCreate() local
104 public boolean onPreferenceClick(final Preference pref) { in onPreferenceClick()
156 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationScale() local
208 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationDuration() local
245 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyboardHeight() local
DThemeSettingsFragment.java46 static void updateKeyboardThemeSummary(final Preference pref) { in updateKeyboardThemeSummary()
70 final KeyboardThemePreference pref = new KeyboardThemePreference( in onCreate() local
82 final KeyboardThemePreference pref = (KeyboardThemePreference)preference; in onRadioButtonClicked() local
106 final KeyboardThemePreference pref = (KeyboardThemePreference)preference; in updateSelected() local
/packages/apps/Settings/src/com/android/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java70 public void onSaveInputMethodPreference(final InputMethodPreference pref) { in onSaveInputMethodPreference()
99 final InputMethodPreference pref = new InputMethodPreference( in updateInputMethodPreferenceViews() local
108 final InputMethodPreference pref = mInputMethodPreferenceList.get(i); in updateInputMethodPreferenceViews() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensePreferenceTest.java52 ModuleLicensePreference pref = new ModuleLicensePreference(mContext, mModuleInfo); in ctor_properKeyAndTitle() local
60 ModuleLicensePreference pref = new ModuleLicensePreference(mContext, mModuleInfo); in onClick_sendsCorrectIntent() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DSecurityPatchLevelPreferenceControllerTest.java87 final Preference pref = new Preference(mContext); in onClick_noActivityIntent_shouldDoNothing() local
103 final Preference pref = new Preference(mContext); in onClick_activityIntentFound_shouldStartActivity() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DCommonPreferences.java29 public static void enable(final SharedPreferences pref, final String id) { in enable()
35 public static void disable(final SharedPreferences pref, final String id) { in disable()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/
DAutofillPickerFragmentTest.java88 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedService() local
103 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedNone() local

12345678910>>...15