Home
last modified time | relevance | path

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

12345678910>>...16

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java98 final Preference preference = new Preference( in bindPreference_shouldBindAllData() local
120 final Preference preference = new Preference( in bindPreference_noFragmentMetadata_shouldBindIntent() local
138 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadata_shouldBindToProfileSelector() local
159 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent() local
184 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog() local
211 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyNullPriority_shouldGenerateKeyAndPriority() local
224 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noSummary_shouldSetSummaryToPlaceholder() local
237 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_hasSummary_shouldSetSummary() local
250 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyTileKey_shouldUseTileKey() local
264 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
/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/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java61 EmergencyListPreference preference = in testSummary_organDonor() local
73 EmergencyListPreference preference = in testSummary_bloodType() local
85 EmergencyListPreference preference = in testTitle_organDonor() local
96 EmergencyListPreference preference = in testTitle_bloodType() local
107 EmergencyListPreference preference = in testProperties_organDonor() local
122 EmergencyListPreference preference = in testProperties_bloodType() local
138 EmergencyListPreference preference = in testContentDescriptions() local
/packages/apps/Settings/src/com/android/settings/notification/
DVibrateWhenRingPreferenceController.java52 Preference preference = screen.findPreference(KEY_VIBRATE_WHEN_RINGING); in displayPreference() local
74 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
89 public void updateState(Preference preference) { in updateState()
95 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
108 public SettingObserver(Preference preference) { in SettingObserver()
DPulseNotificationPreferenceController.java53 Preference preference = screen.findPreference(KEY_NOTIFICATION_PULSE); in displayPreference() local
85 public void updateState(Preference preference) { in updateState()
96 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
109 public SettingObserver(Preference preference) { in SettingObserver()
DBadgingNotificationPreferenceController.java60 Preference preference = screen.findPreference(NOTIFICATION_BADGING); in displayPreference() local
92 public void updateState(Preference preference) { in updateState()
99 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
112 public SettingObserver(Preference preference) { in SettingObserver()
DRingtonePreferenceControllerBase.java36 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
46 public void updateState(Preference preference) { in updateState()
/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/EmergencyInfo/src/com/android/emergency/edit/
DEditMedicalInfoFragment.java45 Preference preference = findPreference(preferenceKey); in onCreatePreferences() local
78 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog()
93 ReloadablePreferenceInterface preference = (ReloadablePreferenceInterface) in reloadFromPreference() local
/packages/apps/Dialer/java/com/android/voicemail/impl/configui/
DConfigOverrideFragment.java61 Preference preference = getPreferenceScreen().getPreference(i); in onCreate() local
68 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
74 private void updatePreference(Preference preference) { in updatePreference()
82 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick()
105 Preference preference = getPreferenceScreen().getPreference(i); in loadCurrentConfig() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DGesturePreferenceControllerTest.java79 final Preference preference = mock(Preference.class); in display_configIsFalse_shouldNotDisplay() local
159 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
172 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
186 final Preference preference = mock(Preference.class); in updateState_notTwoStatePreference_setSummary() local
228 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()
/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
DSerialNumberPreferenceControllerTest.java74 final Preference preference = mock(Preference.class); in testDisplay_noSerial_shouldHidePreference() local
88 final Preference preference = mock(Preference.class); in testDisplay_hasSerial_shouldSummary() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
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()
DBadgingNotificationPreferenceControllerTest.java83 final Preference preference = mock(Preference.class); in display_configIsFalse_shouldNotDisplay() local
95 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local
107 final TwoStatePreference preference = mock(TwoStatePreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
/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/tests/robotests/src/com/android/settings/wifi/
DWifiWakeupPreferenceControllerTest.java118 final SwitchPreference preference = mock(SwitchPreference.class); in updateState_preferenceSetCheckedAndSetEnabledWhenWakeupSettingEnabled() local
130 final SwitchPreference preference = mock(SwitchPreference.class); in updateState_preferenceSetUncheckedAndSetEnabledWhenWakeupSettingDisabled() local
142 final SwitchPreference preference = mock(SwitchPreference.class); in updateState_preferenceSetUncheckedAndSetDisabledWhenWifiScanningDisabled() local
155 final SwitchPreference preference = mock(SwitchPreference.class); in updateState_preferenceSetUncheckedAndSetDisabledWhenScoringDisabled() local
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayNotificationsPreferenceController.java63 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick()
71 public void updateState(Preference preference) { in updateState()
76 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange()

12345678910>>...16