Home
last modified time | relevance | path

Searched refs:getPreference (Results 1 – 25 of 251) sorted by relevance

1234567891011

/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java92 assertEquals("zeroCategories", mGroupList.getPreference(0).getKey()); in testUpdateFullList_incrementalUpdates()
102 PreferenceGroup group1 = (PreferenceGroup) mGroupList.getPreference(0); in testUpdateFullList_incrementalUpdates()
105 assertNull(group1.getPreference(0).getKey()); in testUpdateFullList_incrementalUpdates()
106 assertEquals("All \"Group 1\" notifications", group1.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates()
107 assertEquals("ch1a", group1.getPreference(1).getKey()); in testUpdateFullList_incrementalUpdates()
108 assertEquals("Channel 1A", group1.getPreference(1).getTitle()); in testUpdateFullList_incrementalUpdates()
116 PreferenceGroup group1 = (PreferenceGroup) mGroupList.getPreference(0); in testUpdateFullList_incrementalUpdates()
119 assertNull(group1.getPreference(0).getKey()); in testUpdateFullList_incrementalUpdates()
120 assertEquals("All \"Group 1\" notifications", group1.getPreference(0).getTitle()); in testUpdateFullList_incrementalUpdates()
121 assertEquals("ch1a", group1.getPreference(1).getKey()); in testUpdateFullList_incrementalUpdates()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java171 assertThat(mPreferenceGroup.getPreference(i).isVisible()).isTrue(); in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible()
190 assertThat(mPreferenceGroup.getPreference(i).isEnabled()).isTrue(); in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled()
209 assertThat(((SwitchPreference) mPreferenceGroup.getPreference(i)).isChecked()) in refreshUi_multipleEnabledInputMethods_allPreferencesChecked()
255 Preference preference = mPreferenceGroup.getPreference(0); in refreshUi_verifyPreferenceIcon()
273 Preference preference = mPreferenceGroup.getPreference(0); in refreshUi_verifyPreferenceTitle()
291 Preference preference = mPreferenceGroup.getPreference(0); in refreshUi_verifyPreferenceSummary()
319 assertThat(mPreferenceGroup.getPreference(0).isEnabled()).isTrue(); in refreshUi_oneInputMethod_noneEnabled_preferenceEnabled()
332 assertThat(((SwitchPreference) mPreferenceGroup.getPreference(0)).isChecked()) in refreshUi_oneInputMethod_noneEnabled_preferenceNotChecked()
346 assertThat(mPreferenceGroup.getPreference(0).isEnabled()).isTrue(); in refreshUi_oneInputMethod_defaultable_notChecked_preferenceEnabled()
359 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_securityDialogShown()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiStatusPreferenceController.java47 getPreference().setVisible(true); in updateState()
48 getPreference().setTitle(R.string.wifi_disabled); in updateState()
49 getPreference().setSelectable(false); in updateState()
50 getPreference().setIcon(R.drawable.ic_settings_about); in updateState()
53 getPreference().setVisible(true); in updateState()
54 getPreference().setTitle(R.string.loading_wifi_list); in updateState()
55 getPreference().setSelectable(true); in updateState()
56 getPreference().setIcon(null); in updateState()
59 getPreference().setVisible(false); in updateState()
DWifiTetherStateSwitchPreferenceController.java65 getPreference().setContentDescription( in onCreateInternal()
91 getPreference().setEnabled(true); in enablePreference()
96 getPreference().setEnabled(false); in disablePreference()
100 getPreference().setTitle(switchOn ? R.string.car_ui_preference_switch_on in updateSwitchPreference()
102 getPreference().setChecked(switchOn); in updateSwitchPreference()
DWifiTetherPreferenceController.java72 getPreference().setOnSecondaryActionClickListener(isChecked -> { in onCreateInternal()
112 getPreference().setSecondaryActionEnabled(true); in enablePreference()
117 getPreference().setSecondaryActionEnabled(false); in disablePreference()
121 getPreference().setSummary(switchOn ? R.string.car_ui_preference_switch_on in updateSwitchPreference()
123 getPreference().setSecondaryActionChecked(switchOn); in updateSwitchPreference()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java217 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_providerLabelShouldBeSet()
232 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncDisabled_shouldNotBeChecked()
247 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOn_syncDisabled_shouldBeChecked()
262 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncEnabled_shouldBeChecked()
276 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncDisabled_summaryShouldBeSet()
296 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet()
314 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_syncHasHappened_summaryShouldBeSet()
339 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon()
359 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncPending_notInitialSync_shouldHaveActiveSyncIcon()
381 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncFailed_shouldHaveProblemSyncIcon()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DHdrFormatSelectionFragmentTest.java160 Preference supportedFormatPreference = fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup()
168 fragment.getPreferenceScreen().getPreference(2); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup()
189 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState()
191 (SwitchPreference) supportedFormatPreference.getPreference(0); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState()
196 SwitchPreference hlgPref = (SwitchPreference) supportedFormatPreference.getPreference(1); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState()
233 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
237 Preference showFormatPreference = formatInfoPreferenceCategory.getPreference(0); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
259 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
262 Preference hideFormatPreference = formatInfoPreferenceCategory.getPreference(0); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
266 Preference enabledFormatsCategory = formatInfoPreferenceCategory.getPreference(1); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
[all …]
DAdvancedVolumeFragmentTest.java177 fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup()
184 fragment.getPreferenceScreen().getPreference(2); in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup()
206 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
210 Preference showFormatPreference = formatInfoPreferenceCategory.getPreference(0); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
231 (PreferenceCategory) fragment.getPreferenceScreen().getPreference(1); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
234 Preference hideFormatPreference = formatInfoPreferenceCategory.getPreference(0); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
238 Preference enabledFormatsCategory = formatInfoPreferenceCategory.getPreference(1); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
244 Preference disabledFormatsCategory = formatInfoPreferenceCategory.getPreference(2); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
255 .mapToObj(i -> category.getPreference(i).getTitle().toString()) in getChildrenTitles()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceController.java75 enableSwitchPreference(getPreference(), isOn, /* forPowerPolicy= */ true); in BluetoothStateSwitchPreferenceController()
113 getPreference().setContentDescription( in onCreateInternal()
151 enableSwitchPreference(getPreference(), /* enabled= */ false, in handleStateChanged()
156 enableSwitchPreference(getPreference(), !isUserRestricted(), in handleStateChanged()
161 enableSwitchPreference(getPreference(), /* enabled= */ false, in handleStateChanged()
167 enableSwitchPreference(getPreference(), !isUserRestricted(), in handleStateChanged()
181 getPreference().setSummary(enabled ? getContext() in updateSwitchPreference()
183 getPreference().setChecked(enabled); in updateSwitchPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleControllerTest.java107 SwitchPreference pref = getPreference(); in displayRefresh_sink_shouldUncheck()
119 SwitchPreference pref = getPreference(); in displayRefresh_source_shouldCheck()
153 SwitchPreference pref = getPreference(); in onClick_sink_shouldSetSource()
166 SwitchPreference pref = getPreference(); in onClickTwice_sink_shouldSetSourceOnce()
180 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_success_shouldClearSubtext()
198 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_failed_shouldShowFailureText()
217 SwitchPreference pref = getPreference(); in onClickDevice_timedOut_shouldShowFailureText()
232 private SwitchPreference getPreference() { in getPreference() method in UsbDetailsPowerRoleControllerTest
233 return (SwitchPreference) mPreference.getPreference(0); in getPreference()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/
DLocalePreferenceProviderTest.java137 PreferenceCategory firstCategory = (PreferenceCategory) mPreferenceGroup.getPreference(0); in testPopulateBasePreference_withSubSections()
142 PreferenceCategory secondCategory = (PreferenceCategory) mPreferenceGroup.getPreference(1); in testPopulateBasePreference_withSubSections()
162 mPreferenceGroup.getPreference(0).performClick(); in testClickListenerTriggered()
163 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(0)); in testClickListenerTriggered()
164 mPreferenceGroup.getPreference(1).performClick(); in testClickListenerTriggered()
165 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(1)); in testClickListenerTriggered()
166 mPreferenceGroup.getPreference(2).performClick(); in testClickListenerTriggered()
167 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(2)); in testClickListenerTriggered()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelMenuFragmentTest.java62 mFragment.getPreferenceScreen().getPreference(0).performClick()); in onPreferenceTapped_launchesFragment()
70 mFragment.getPreferenceScreen().getPreference(0).performClick()); in onPreferenceTapped_preferenceHighlightUpdated()
78 mFragment.getPreferenceScreen().getPreference(0).performClick(); in onSamePreferenceTapped_noDuplicateEntry()
79 mFragment.getPreferenceScreen().getPreference(0).performClick(); in onSamePreferenceTapped_noDuplicateEntry()
89 mFragment.getPreferenceScreen().getPreference(0).performClick(); in onDifferentPreferenceTapped_clearsBackStack()
90 mFragment.getPreferenceScreen().getPreference(1).performClick(); in onDifferentPreferenceTapped_clearsBackStack()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePickerPreferenceController.java98 int count = getPreference().getPreferenceCount(); in getCurrentlySelectedPreferencePos()
100 TwoStatePreference pref = (TwoStatePreference) getPreference().getPreference(i); in getCurrentlySelectedPreferencePos()
204 int count = getPreference().getPreferenceCount(); in initSelection()
206 TwoStatePreference pref = (TwoStatePreference) getPreference().getPreference(i); in initSelection()
217 int count = getPreference().getPreferenceCount(); in clearSelection()
219 TwoStatePreference pref = (TwoStatePreference) getPreference().getPreference(i); in clearSelection()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java292 assertThat(mPreferenceCategory.getPreference(0).getTitle()).isEqualTo("sub2"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
293 assertThat(mPreferenceCategory.getPreference(1).getTitle()).isEqualTo("sub1"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
304 assertThat(mPreferenceCategory.getPreference(0).getTitle()).isEqualTo("sub3"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
305 assertThat(mPreferenceCategory.getPreference(1).getTitle()).isEqualTo("sub1"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
407 assertThat(mPreferenceCategory.getPreference(0).getTitle()).isEqualTo("sub1"); in displayPreference_providerAndHasSim_showPreference()
422 assertThat(mPreferenceCategory.getPreference(0).getTitle()).isEqualTo("sub1"); in displayPreference_providerAndHasMultiSim_showDataSubPreference()
443 assertThat(mPreferenceCategory.getPreference(0).getSummary()).isEqualTo(expectedSummary); in displayPreference_providerAndHasMultiSimAndActive_connectedAndRat()
466 assertThat(mPreferenceCategory.getPreference(0).getSummary()).isEqualTo(expectedSummary); in displayPreference_providerAndHasMultiSimAndActiveCarrierWifi_connectedAndWPlus()
488 assertThat(mPreferenceCategory.getPreference(0).getSummary()) in displayPreference_providerAndHasMultiSimButMobileDataOff_notAutoConnect()
509 assertThat(mPreferenceCategory.getPreference(0).getSummary()).isEqualTo(expectedSummary); in displayPreference_providerAndHasMultiSimAndNotActive_showRatOnly()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationsAppListPreferenceControllerTest.java119 mPreferenceCategory.getPreference(0); in onCreate_createsPreference()
133 mPreferenceCategory.getPreference(0); in onCreate_notificationEnabled_isChecked()
146 mPreferenceCategory.getPreference(0); in onCreate_notificationDisabled_isNotChecked()
160 mPreferenceCategory.getPreference(0); in toggle_setEnable_enablingNotification()
176 mPreferenceCategory.getPreference(0); in toggle_setDisable_disablingNotification()
196 mPreferenceCategory.getPreference(0); in toggle_onlyHasDefaultChannel_updateChannel()
210 mPreferenceCategory.getPreference(0); in clickPreference_shouldOpenApplicationDetailsFragment()
/packages/apps/Settings/src/com/android/settings/notification/app/
DChannelListPreferenceController.java123 && KEY_ZERO_CATEGORIES.equals(groupPrefsList.getPreference(0).getKey())) { in updateFullList()
125 PreferenceGroup groupCategory = (PreferenceGroup) groupPrefsList.getPreference(0); in updateFullList()
127 groupCategory.getPreference(0).setTitle(R.string.no_channels); in updateFullList()
159 Preference preference = groupPrefsList.getPreference(expectedIndex); in findOrCreateGroupCategoryForKey()
165 Preference preference = groupPrefsList.getPreference(i); in findOrCreateGroupCategoryForKey()
216 Preference preference = groupPrefGroup.getPreference(expectedIndex); in findOrCreateChannelPrefForKey()
222 Preference preference = groupPrefGroup.getPreference(i); in findOrCreateChannelPrefForKey()
288 && parent.getPreference(0) instanceof RestrictedSwitchPreference) { in addOrUpdateGroupToggle()
289 preference = (RestrictedSwitchPreference) parent.getPreference(0); in addOrUpdateGroupToggle()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java138 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in showsOnlyBondedDevices()
164 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onDeviceClicked_connected_launchesDeviceDetailsFragment()
178 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in bluetoothButtonClicked_connected_disconnectsFromDevice()
196 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in bluetoothButtonClicked_notConnected_connectsToDevice()
214 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in phoneButtonClicked_phoneProfile_enabled()
236 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in mediaButtonClicked_mediaProfile_enabled()
256 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
274 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
296 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onUxRestrictionsChanged_restrictionToggled_actionButtonsEnabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceControllerTest.java129 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in refreshUi_filterMatch_addsToGroup()
142 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in refreshUi_filterMatch_addsToPreferenceMap()
155 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in refreshUi_filterMismatch_removesFromGroup()
172 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in refreshUi_filterMismatch_removesFromPreferenceMap()
223 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onDeviceAdded_refreshesUi()
241 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onDeviceDeleted_refreshesUi()
265 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in preferenceClicked_callsOnDeviceClicked()
279 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in preferenceClicked_handled()
DBluetoothDevicePickerPreferenceControllerTest.java143 assertThat(((BluetoothDevicePreference) mPreferenceGroup.getPreference( in onStart_appliesFilterType()
157 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onDeviceClicked_bondedDevice_sendsPickedIntent()
178 (BluetoothDevicePreference) mPreferenceGroup.getPreference(0); in onDeviceClicked_bondedDevice_goesBack()
193 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
210 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
225 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
242 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
263 (BluetoothDevicePreference) mPreferenceGroup.getPreference(1); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountListPreferenceControllerTest.java132 Preference noAccountPref = mPreference.getPreference(0); in onCreate_hasNoAccounts_shouldDisplayNoAccountPref()
147 Preference firstPref = mPreference.getPreference(0); in onCreate_hasAccounts_shouldDisplayAccounts()
152 Preference secondPref = mPreference.getPreference(1); in onCreate_hasAccounts_shouldDisplayAccounts()
168 Preference firstPref = mPreference.getPreference(0); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount()
173 Preference secondPref = mPreference.getPreference(1); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount()
193 Preference firstPref = mPreference.getPreference(0); in onAccountsUpdate_isThisUser_shouldForceUpdate()
229 Preference firstPref = mPreference.getPreference(0); in onUsersUpdate_shouldForceUpdate()
241 Preference firstPref = mPreference.getPreference(0); in onAccountPreferenceClicked_shouldLaunchAccountDetailsFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsCompanionAppsControllerTest.java106 private Preference getPreference(int index) { in getPreference() method in BluetoothDetailsCompanionAppsControllerTest
109 return Objects.requireNonNull(preferenceCategory).getPreference(index); in getPreference()
126 Preference preferenceOne = getPreference(0); in addOneAssociation_preferenceShouldBeAdded()
152 Preference preference = getPreference(i); in addMultipleAssociations_preferencesShouldBeAdded()
176 assertThat(getPreference(0).getKey()).isEqualTo(mPackages.get(i + 1)); in removeMultipleAssociations_preferencesShouldBeRemoved()
177 assertThat(getPreference(0).getTitle()).isEqualTo(mAppNames.get(i + 1).toString()); in removeMultipleAssociations_preferencesShouldBeRemoved()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerBasePreferenceControllerTest.java96 Preference preference = mPreferenceGroup.getPreference(0); in refreshUi_noCandidates_hasSingleNoneElement()
157 (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_currentDefaultApp_nothingHappened()
165 otherOption = (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_currentDefaultApp_nothingHappened()
186 (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_otherOptionNoMessage_otherOptionSelected()
194 otherOption = (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_otherOptionNoMessage_otherOptionSelected()
215 (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_otherOptionHasMessage_dialogOpened()
243 (CarUiRadioButtonPreference) mPreferenceGroup.getPreference(0); in performClick_otherOptionNoMessage_newKeySet()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java117 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in onStart_serviceAccessGranted_setsPreferenceChecked()
129 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in onStart_serviceAccessNotGranted_setsPreferenceUnchecked()
139 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog()
154 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog()
171 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in revokeConfirmed_revokesNotificationAccess()
194 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
225 TwoStatePreference preference = (TwoStatePreference) mPreferenceGroup.getPreference(0); in grantConfirmed_grantsNotificationAccess()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DSeekbarPreferenceDialogFragment.java47 DialogFragmentCallbacks dialogPreference = (DialogFragmentCallbacks) getPreference(); in onBindDialogView()
55 DialogFragmentCallbacks dialogPreference = (DialogFragmentCallbacks) getPreference(); in onClick()
61 DialogFragmentCallbacks dialogPreference = (DialogFragmentCallbacks) getPreference(); in onDialogClosed()
67 DialogFragmentCallbacks dialogPreference = (DialogFragmentCallbacks) getPreference(); in onPrepareDialogBuilder()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfilesBasePreferenceControllerTest.java142 currentPreferences.add(mPreferenceGroup.getPreference(i)); in refreshUi_userChange_updatesGroup()
156 newPreferences.add(mPreferenceGroup.getPreference(i)); in refreshUi_userChange_updatesGroup()
169 currentPreferences.add(mPreferenceGroup.getPreference(i)); in refreshUi_noChange_doesNotUpdateGroup()
176 newPreferences.add(mPreferenceGroup.getPreference(i)); in refreshUi_noChange_doesNotUpdateGroup()
189 currentPreferences.add(mPreferenceGroup.getPreference(i)); in onUsersUpdated_updatesGroup()
203 newPreferences.add(mPreferenceGroup.getPreference(i)); in onUsersUpdated_updatesGroup()

1234567891011