/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceUtilTest.java | 39 Preference preference = new SwitchPreference(RuntimeEnvironment.application); in testCheckPreferenceType_true() local 45 Preference preference = new SwitchPreference(RuntimeEnvironment.application); in testCheckPreferenceType_superclass_true() local 52 Preference preference = new ListPreference(RuntimeEnvironment.application); in testCheckPreferenceType_false() local 60 Preference preference = new SwitchPreference(RuntimeEnvironment.application); in testRequirePreferenceType_true() local 67 Preference preference = new SwitchPreference(RuntimeEnvironment.application); in testRequirePreferenceType_superclass_true() local 73 Preference preference = new ListPreference(RuntimeEnvironment.application); in testRequirePreferenceType_false() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | AddUserWhenLockedPreferenceControllerTest.java | 72 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in displayPref_NotAdmin_shouldNotDisplay() local 84 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_NotAdmin_shouldNotDisplayPreference() local 98 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_Admin_shouldDisplayPreference() local 107 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_preferenceSetCheckedWhenSettingIsOn() local 117 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in updateState_preferenceSetUncheckedWhenSettingIsOff() local 127 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in onPreferenceChange_SettingIsOnWhenPreferenceChecked() local 138 final RestrictedSwitchPreference preference = mock(RestrictedSwitchPreference.class); in onPreferenceChange_SettingIsOffWhenPreferenceNotChecked() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | MasterSwitchPreferenceTest.java | 54 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in createNewPreference_shouldSetLayout() local 62 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setChecked_shouldUpdateButtonCheckedState() local 78 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState() local 94 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local 107 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldToggleButton() local 127 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled() local 145 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in clickWidgetView_shouldNotifyPreferenceChanged() local 164 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton() local 178 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton() local 192 final MasterSwitchPreference preference = new MasterSwitchPreference(mContext); in onBindViewHolder_toggleButtonShouldHaveContentDescription() local
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceTest.java | 57 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testPreferenceSummary() local 76 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTwoDayPreferenceSummary() local 95 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testYesterdayPreferenceSummary() local 114 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTodayPreferenceSummary() local 133 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testNeverUsedPreferenceSummary() local 153 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testUnknownLastUsePreferenceSummary() local 173 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testSizeSummary() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 129 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_shouldBindAllData() local 149 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadata_shouldBindIntent() local 163 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadata_shouldBindToProfileSelector() local 178 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent() local 200 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog() local 228 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyNullPriority_shouldGenerateKeyAndPriority() local 239 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_noSummary_shouldSetSummaryToPlaceholder() local 254 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProvider() local 267 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withNullKeyTileKey_shouldUseTileKey() local 279 final Preference preference = new Preference(RuntimeEnvironment.application); in bindPreference_withIconUri_shouldLoadIconFromContentProvider() local [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LanguageBasePreferenceControllerTest.java | 134 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasMultipleChildLocales_returnsTrue() local 142 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasMultipleChildLocales_localeNotUpdated() local 151 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack() local 160 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasSingleChildLocale_returnsTrue() local 168 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasSingleChildLocale_localeUpdated() local 177 Preference preference = new Preference(mContext); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack() local 186 Preference preference = new Preference(mContext); in testOnPreferenceClick_noChildLocale_returnsTrue() local 194 Preference preference = new Preference(mContext); in testOnPreferenceClick_noChildLocale_localeUpdated() local 203 Preference preference = new Preference(mContext); in testOnPreferenceClick_noChildLocale_callsGoBack() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationAppPreferenceTest.java | 54 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in createNewPreference_shouldSetLayout() local 61 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in setChecked_shouldUpdateButtonCheckedState() local 79 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState() local 97 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local 112 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in clickWidgetView_shouldToggleButton() local 132 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled() local 150 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in clickWidgetView_shouldNotifyPreferenceChanged() local 170 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton() local 186 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton() local 202 final NotificationAppPreference preference = new NotificationAppPreference(mContext); in onBindViewHolder_toggleButtonShouldHaveContentDescription() local
|
D | ZenCustomRadioButtonPreferenceTest.java | 51 final ZenCustomRadioButtonPreference preference in createNewPreference_shouldSetLayout() local 61 final ZenCustomRadioButtonPreference preference = in setChecked_shouldUpdateButtonCheckedState() local 78 final ZenCustomRadioButtonPreference preference in clickRadioButton_shouldNotifyRadioButtonClicked() local 95 final ZenCustomRadioButtonPreference preference = in clickWidgetView_shouldNotifyWidgetClicked() local
|
D | ImportancePreferenceTest.java | 61 final ImportancePreference preference = new ImportancePreference(mContext); in createNewPreference_shouldSetLayout() local 68 final ImportancePreference preference = new ImportancePreference(mContext); in onBindViewHolder_nonConfigurable() local 100 final ImportancePreference preference = new ImportancePreference(mContext); in onBindViewHolder_selectButtonAndText() local 123 final ImportancePreference preference = spy(new ImportancePreference(mContext)); in onClick_changesUICallsListener() local 148 final ImportancePreference preference = spy(new ImportancePreference(mContext)); in setImportanceSummary() local 170 final ImportancePreference preference = spy(new ImportancePreference(mContext)); in setImportanceSummary_default() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceControllerTest.java | 117 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in onStart_serviceAccessGranted_setsPreferenceChecked() local 129 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in onStart_serviceAccessNotGranted_setsPreferenceUnchecked() local 139 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog() local 154 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog() local 171 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in revokeConfirmed_revokesNotificationAccess() local 194 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() local 225 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in grantConfirmed_grantsNotificationAccess() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | PermissionsPreferenceControllerTest.java | 97 SwitchPreference preference = getPreferenceForRestriction(mPreferenceGroup, in testRefreshUi_setToFalse() local 107 SwitchPreference preference = getPreferenceForRestriction(mPreferenceGroup, in testRefreshUi_setToTrue() local 117 SwitchPreference preference = getPreferenceForRestriction(mPreferenceGroup, in testOnPreferenceChange_changeToFalse() local 126 SwitchPreference preference = getPreferenceForRestriction(mPreferenceGroup, in testOnPreferenceChange_changeToTrue() local 136 SwitchPreference preference = (SwitchPreference) preferenceGroup.getPreference(i); in getPreferenceForRestriction() local
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyListPreferenceTest.java | 62 EmergencyListPreference preference = in testSummary_organDonor() local 74 EmergencyListPreference preference = in testSummary_bloodType() local 86 EmergencyListPreference preference = in testTitle_organDonor() local 97 EmergencyListPreference preference = in testTitle_bloodType() local 108 EmergencyListPreference preference = in testProperties_organDonor() local 123 EmergencyListPreference preference = in testProperties_bloodType() local 139 EmergencyListPreference preference = in testContentDescriptions() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiWakeupPreferenceControllerTest.java | 114 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetCheckedWhenWakeupSettingEnabled() local 127 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabled() local 139 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled() local 150 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetUncheckedWhenWakeupSettingEnabledNoLocation() local 163 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabledLocationEnabled() local 176 final SwitchPreference preference = new SwitchPreference(mContext); in updateState_preferenceSetUncheckedWhenWifiScanningDisabledLocationEnabled() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | RingtonePreferenceControllerBase.java | 38 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() 48 public void updateState(Preference preference) { in updateState() 52 private void updateSummary(Preference preference) { in updateSummary()
|
D | ZenRuleRepeatCallersPreferenceController.java | 49 public void updateState(Preference preference) { in updateState() 71 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() 87 private void setRepeatCallerSummary(Preference preference) { in setRepeatCallerSummary()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RingtonePreferenceControllerBase.java | 38 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() 48 public void updateState(Preference preference) { in updateState() 52 private void updateSummary(Preference preference) { in updateSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkScorerPickerPreferenceControllerTest.java | 79 Preference preference = mock(Preference.class); in updateState_preferenceSetSummaryAsActiveScorerLabel() local 95 Preference preference = mock(Preference.class); in updateState_scorersAvailable_noActiveScorer_preferenceSetSummaryToNone() local 112 Preference preference = mock(Preference.class); in updateState_scorersAvailable_preferenceEnabled() local 123 Preference preference = mock(Preference.class); in updateState_noScorersAvailable_preferenceDisabled() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 118 Preference preference = mock(Preference.class); in handlePreferenceTreeClick_differentKey_shouldReturnFalse() local 130 Preference preference = mock(Preference.class); in handlePreferenceTreeClick_sameKey_shouldReturnTrue() local 141 Preference preference = mock(Preference.class); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() local 154 Preference preference = mock(Preference.class); in handlePreferenceTreeClick_canNotResolveActivity_shouldNotStartActivity() local 169 Preference preference = mock(Preference.class); in handlePreferenceTreeClick_canResolveActivity_shouldStartActivityWithIntent() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/ |
D | GameDriverAppPreferenceControllerTest.java | 172 final ListPreference preference = in createPreference_configDefault_shouldSetDefaultAttributes() local 188 final ListPreference preference = in createPreference_configGAME_DRIVER_shouldSetGameDriverAttributes() local 204 final ListPreference preference = in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes() local 218 final ListPreference preference = in createPreference_configSystem_shouldSetSystemAttributes() local 234 final ListPreference preference = in onPreferenceChange_selectDefault_shouldUpdateAttributesAndSettingsGlobal() local 250 final ListPreference preference = in onPreferenceChange_selectGAME_DRIVER_shouldUpdateAttributesAndSettingsGlobal() local 266 final ListPreference preference = in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal() local
|
/packages/services/Telephony/src/com/android/phone/ |
D | TimeConsumingPreferenceActivity.java | 17 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() 156 public void onStarted(Preference preference, boolean reading) { in onStarted() 172 public void onFinished(Preference preference, boolean reading) { in onFinished() 188 public void onError(Preference preference, int error) { in onError() 204 public void onException(Preference preference, CommandException exception) { in onException()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/ |
D | DevicePreferenceCallback.java | 29 void onDeviceAdded(Preference preference); in onDeviceAdded() 35 void onDeviceRemoved(Preference preference); in onDeviceRemoved()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | DevicePreferenceCallback.java | 29 void onDeviceAdded(Preference preference); in onDeviceAdded() 35 void onDeviceRemoved(Preference preference); in onDeviceRemoved()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | UserProfileControllerTest.java | 81 final Preference preference = argumentCaptor.getValue(); in controllerAddsPrimaryProfilePreference() local 92 final Preference preference = argumentCaptor.getValue(); in tappingProfilePreferenceSendsToStorageProfileFragment() local 119 final Preference preference = argumentCaptor.getValue(); in acceptingResultUpdatesPreferenceSize() local 135 final Preference preference = argumentCaptor.getValue(); in iconCallbackChangesPreferenceIcon() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/configui/ |
D | ConfigOverrideFragment.java | 63 Preference preference = getPreferenceScreen().getPreference(i); in onCreate() local 70 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() 76 private void updatePreference(Preference preference) { in updatePreference() 84 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() 107 Preference preference = getPreferenceScreen().getPreference(i); in loadCurrentConfig() local
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditMedicalInfoFragment.java | 54 Preference preference = findPreference(preferenceKey); in onCreatePreferences() local 91 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog() 111 ReloadablePreferenceInterface preference = (ReloadablePreferenceInterface) in reloadFromPreference() local
|