Home
last modified time | relevance | path

Searched defs:preference (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java97 final Preference preference = new Preference( in bindPreference_shouldBindAllData() local
119 final Preference preference = new Preference( in bindPreference_noFragmentMetadata_shouldBindIntent() local
137 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadata_shouldBindToProfileSelector() local
158 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent() local
183 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog() local
210 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyNullPriority_shouldGenerateKeyAndPriority() local
223 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noSummary_shouldSetSummaryToPlaceholder() local
236 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_hasSummary_shouldSetSummary() local
249 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyTileKey_shouldUseTileKey() local
263 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withBaseOrder_shouldOffsetPriority() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterSwitchPreferenceTest.java55 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in createNewPreference_shouldSetLayout() local
63 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setChecked_shouldUpdateButtonCheckedState() local
79 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState() local
95 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local
108 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldToggleButton() local
126 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled() local
142 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldNotifyPreferenceChanged() local
161 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton() local
175 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton() local
189 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in onBindViewHolder_toggleButtonShouldHaveContentDescription() local
DFooterPreferenceTest.java50 final FooterPreference preference = new FooterPreference(mContext); in createNewPreference_shouldSetKeyAndOrder() local
58 final FooterPreference preference = new FooterPreference(mContext); in bindPreference_shouldLinkifyContent() local
DFooterPreferenceMixinTest.java73 final FooterPreference preference = mMixin.createFooterPreference(); in createFooter_screenAvailable_canAttachToScreen() local
81 final FooterPreference preference = mMixin.createFooterPreference(); in createFooter_screenAvailableDelayed_canAttachToScreen() local
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceTest.java60 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testPreferenceSummary() local
79 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTwoDayPreferenceSummary() local
98 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testYesterdayPreferenceSummary() local
117 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTodayPreferenceSummary() local
136 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testNeverUsedPreferenceSummary() local
156 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testUnknownLastUsePreferenceSummary() local
176 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testSizeSummary() local
DDownloadsFilePreferenceTest.java72 DownloadsFilePreference preference = in testSizeSummary() local
83 DownloadsFilePreference preference = in compareTo_biggerFileSortsAhead() local
98 DownloadsFilePreference preference = in compareTo_fallbackToFileName() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAddUserWhenLockedPreferenceControllerTest.java72 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in displayPref_NotAdmin_shouldNotDisplay() local
84 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
94 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
104 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in onPreferenceChange_SettingIsOnWhenPreferenceChecked() local
115 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in onPreferenceChange_SettingIsOffWhenPreferenceNotChecked() local
DEmergencyInfoPreferenceControllerTest.java102 final Preference preference = mock(Preference.class); in displayPref_prefUnAvaiable_shouldNotDisplay() local
133 final Preference preference = mock(Preference.class); in updateState_shouldSetSummary() local
145 final Preference preference = new Preference(context); in handlePreferenceTreeClick_shouldStartActivity() local
/packages/apps/Settings/src/com/android/settings/notification/
DVibrateWhenRingPreferenceController.java50 Preference preference = screen.findPreference(KEY_VIBRATE_WHEN_RINGING); in displayPreference() local
72 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
87 public void updateState(Preference preference) { in updateState()
93 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
106 public SettingObserver(Preference preference) { in SettingObserver()
DPulseNotificationPreferenceController.java51 Preference preference = screen.findPreference(KEY_NOTIFICATION_PULSE); in displayPreference() local
83 public void updateState(Preference preference) { in updateState()
94 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
107 public SettingObserver(Preference preference) { in SettingObserver()
DBadgingNotificationPreferenceController.java53 Preference preference = screen.findPreference(NOTIFICATION_BADGING); in displayPreference() local
85 public void updateState(Preference preference) { in updateState()
92 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
105 public SettingObserver(Preference preference) { in SettingObserver()
DRingtonePreferenceControllerBase.java34 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
44 public void updateState(Preference preference) { in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DGesturePreferenceControllerTest.java76 final Preference preference = mock(Preference.class); in display_configIsFalse_shouldNotDisplay() local
113 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
126 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
140 final Preference preference = mock(Preference.class); in updateState_notTwoStatePreference_setSummary() local
182 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkScorerPickerPreferenceControllerTest.java78 Preference preference = mock(Preference.class); in updateState_preferenceSetSummaryAsActiveScorerLabel() local
94 Preference preference = mock(Preference.class); in updateState_scorersAvailable_noActiveScorer_preferenceSetSummaryToNone() local
111 Preference preference = mock(Preference.class); in updateState_scorersAvailable_preferenceEnabled() local
122 Preference preference = mock(Preference.class); in updateState_noScorersAvailable_preferenceDisabled() local
/packages/services/Telephony/src/com/android/phone/
DTimeConsumingPreferenceActivity.java17 public void onStarted(Preference preference, boolean reading); in onStarted()
18 public void onFinished(Preference preference, boolean reading); in onFinished()
19 public void onError(Preference preference, int error); in onError()
20 public void onException(Preference preference, CommandException exception); in onException()
150 public void onStarted(Preference preference, boolean reading) { in onStarted()
167 public void onFinished(Preference preference, boolean reading) { in onFinished()
184 public void onError(Preference preference, int error) { in onError()
195 public void onException(Preference preference, CommandException exception) { in onException()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DSystemUpdatePreferenceControllerTest.java89 final Preference preference = mock(Preference.class); in displayPrefs_nothingAvailable_shouldNotDisplay() local
101 final Preference preference = new Preference(RuntimeEnvironment.application); in updateState_shouldSetToAndroidVersion() local
113 final Preference preference = mock(Preference.class); in displayPrefs_oneAvailable_shouldDisplayOne() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBadgingNotificationPreferenceControllerTest.java76 final Preference preference = mock(Preference.class); in display_configIsFalse_shouldNotDisplay() local
88 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
100 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
DPulseNotificationPreferenceControllerTest.java76 final Preference preference = mock(Preference.class); in display_configIsFalse_shouldNotDisplay() local
88 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
100 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
DVibrateWhenRingPreferenceControllerTest.java78 final Preference preference = mock(Preference.class); in display_notVoiceCapable_shouldNotDisplay() local
90 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_settingIsOn_preferenceShouldBeChecked() local
102 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_settingIsOff_preferenceShouldNotBeChecked() local
DAdjustVolumeRestrictedPreferenceControllerTest.java66 RestrictedPreference preference = mock(RestrictedPreference.class); in updateState_hasBaseRestriction_shouldDisable() local
77 RestrictedPreference preference = spy(new RestrictedPreference(mContext)); in updateState_NoBaseRestriction_shouldCheckRestriction() local
104 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DUserProfileControllerTest.java85 Preference preference = argumentCaptor.getValue(); in controllerAddsPrimaryProfilePreference() local
96 Preference preference = argumentCaptor.getValue(); in tappingProfilePreferenceSendsToStorageProfileFragment() local
123 Preference preference = argumentCaptor.getValue(); in acceptingResultUpdatesPreferenceSize() local
141 Preference preference = argumentCaptor.getValue(); in iconCallbackChangesPreferenceIcon() local
/packages/apps/Settings/src/com/android/settings/display/
DDozePreferenceController.java49 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
57 public void updateState(Preference preference) { in updateState()
63 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java62 final Preference preference = new Preference(mContext); in removePreference_nested_shouldRemove() local
79 final Preference preference = mock(Preference.class); in removePreference_flat_shouldRemove() local
94 final Preference preference = mock(Preference.class); in removePreference_doNotExist_shouldNotRemove() local
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditEmergencyInfoFragment.java43 Preference preference = findPreference(preferenceKey); in onCreate() local
69 ReloadablePreferenceInterface preference = (ReloadablePreferenceInterface) in reloadFromPreference() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBackgroundActivityPreferenceController.java55 public void updateState(Preference preference) { in updateState()
89 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
118 void updateSummary(Preference preference) { in updateSummary()

12345678910>>...14