Home
last modified time | relevance | path

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

12345678910>>...41

/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldPreferencesTest.java64 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in setUp() local
137 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testChildrenNames() local
153 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testClear() local
165 Preferences pref = root.node("mock"); in testGet() local
198 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetBoolean() local
212 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetByteArray() local
239 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetDouble() local
257 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetFloat() local
270 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetInt() local
284 Preferences pref = Preferences.userNodeForPackage(Preferences.class); in testGetLong() local
[all …]
/aosp_15_r20/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java211 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_providerLabelShouldBeSet() local
226 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncDisabled_shouldNotBeChecked() local
241 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOn_syncDisabled_shouldBeChecked() local
256 SyncPreference pref = (SyncPreference) mPreferenceGroup.getPreference(0); in refreshUi_masterSyncOff_syncEnabled_shouldBeChecked() local
270 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncDisabled_summaryShouldBeSet() local
290 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet() local
308 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncEnabled_syncHasHappened_summaryShouldBeSet() local
333 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon() local
353 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncPending_notInitialSync_shouldHaveActiveSyncIcon() local
375 Preference pref = mPreferenceGroup.getPreference(0); in refreshUi_syncFailed_shouldHaveProblemSyncIcon() local
[all …]
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBreakdownControllerTest.java176 final PowerGaugePreference pref = in addAllPreferences_addAllPreferences() local
284 final PowerGaugePreference pref = spy(new PowerGaugePreference(mContext)); in setPreferencePercent_lessThanThreshold_expectedFormat() local
306 final PowerGaugePreference pref = spy(new PowerGaugePreference(mContext)); in setPreferencePercent_greaterThanThreshold_expectedFormat() local
328 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_systemEntryTotalUsageTimeIsZero_emptySummary() local
344 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_systemEntryTotalUsageTimeLessThanAMinute_expectedSummary() local
360 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_systemEntryTotalUsageTimeGreaterThanAMinute_expectedSummary() local
376 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_appEntryAllTimesAreZero_emptySummary() local
392 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_appEntryBackgroundUsageTimeOnly_expectedSummary() local
408 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_appEntryWithFGSTime_expectedSummary() local
424 final PowerGaugePreference pref = new PowerGaugePreference(mContext); in setPreferenceSummary_appEntryScreenOnTimeOnly_expectedSummary() local
[all …]
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DTypeFilterPreferenceControllerTest.java133 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_noMetaData() local
145 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_notTheDisableFilter() local
158 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_disableFilter_notThisField() local
172 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_disableFilter_thisField_stateIsChecked() local
182 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_disabled() local
196 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_disabled_metaData_disableFilter_thisField_stateIsNotChecked() local
210 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_checked() local
223 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_unchecked() local
236 CheckBoxPreference pref = new CheckBoxPreference(mContext); in onPreferenceChange_true() local
254 CheckBoxPreference pref = new CheckBoxPreference(mContext); in onPreferenceChange_false() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DSoundPreferenceControllerTest.java163 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testDisplayPreference_savesPreference() local
179 Preference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_disabledByAdmin() local
195 NotificationSoundPreference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_configurable() local
211 NotificationSoundPreference pref = in testOnPreferenceChange() local
223 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testOnPreferenceTreeClick_incorrectPref() local
233 NotificationSoundPreference pref = in testOnPreferenceTreeClick_correctPref() local
251 NotificationSoundPreference pref = in testOnPreferenceTreeClick_alarmSound() local
272 NotificationSoundPreference pref = in testOnPreferenceTreeClick_ringtoneSound() local
293 NotificationSoundPreference pref = in testOnPreferenceTreeClick_otherSound() local
313 NotificationSoundPreference pref = in testOnPreferenceTreeClick_noAudioAttributes() local
[all …]
DConversationPriorityPreferenceControllerTest.java141 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_disabledByAdmin() local
155 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_notConfigurable() local
169 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_Configurable() local
183 ConversationPriorityPreference pref = mock(ConversationPriorityPreference.class); in testUpdateState() local
199 ConversationPriorityPreference pref = new ConversationPriorityPreference(mContext, null); in testImportanceLowToImportant() local
218 ConversationPriorityPreference pref = new ConversationPriorityPreference(mContext, null); in testImportanceLowToDefault() local
238 ConversationPriorityPreference pref = new ConversationPriorityPreference(mContext, null); in testImportanceDefaultToLow() local
258 ConversationPriorityPreference pref = new ConversationPriorityPreference(mContext, null); in testImportanceLowToDefault_bubblesMaintained() local
279 ConversationPriorityPreference pref = new ConversationPriorityPreference(mContext, null); in testImportancePriorityToDefault() local
DBubblePreferenceControllerTest.java286 Preference pref = new RestrictedSwitchPreference(mContext); in updateState_disabledByAdmin() local
301 BubblePreference pref = new BubblePreference(mContext); in updateState_app_disabledByAdmin() local
316 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in updateState_channel() local
337 BubblePreference pref = new BubblePreference(mContext); in updateState_app() local
364 BubblePreference pref = new BubblePreference(mContext); in updateState_app_offGlobally() local
379 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in onPreferenceChange_on_channel() local
399 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in onPreferenceChange_off_channel() local
418 BubblePreference pref = new BubblePreference(mContext); in onPreferenceChange_app_all() local
438 BubblePreference pref = new BubblePreference(mContext); in testOnPreferenceChange_app_all_offGlobally() local
458 BubblePreference pref = new BubblePreference(mContext); in onPreferenceChange_app_selected() local
[all …]
DVisibilityPreferenceControllerTest.java184 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableSecure() local
206 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableUnredacted() local
221 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGlobally() local
246 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGloballyInProfile() local
269 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noPrivateLockScreenNotificationsGlobally() local
286 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noGlobalRestriction() local
317 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noChannelOverride() local
336 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_channelOverride() local
355 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testOnPreferenceChange_noOverride() local
374 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testOnPreferenceChange_override() local
DDndPreferenceControllerTest.java132 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local
145 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_notBlockable() local
158 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local
171 RestrictedSwitchPreference pref = in testUpdateState_bypassDnd() local
184 RestrictedSwitchPreference pref = in testUpdateState_noBypassDnd() local
197 RestrictedSwitchPreference pref = in testOnPreferenceChange_on() local
216 RestrictedSwitchPreference pref = in testOnPreferenceChange_off() local
DVibrationPreferenceControllerTest.java158 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local
170 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_blockable() local
183 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local
196 RestrictedSwitchPreference pref = in testUpdateState_vibrateOn() local
209 RestrictedSwitchPreference pref = in testUpdateState_vibrateOff() local
222 RestrictedSwitchPreference pref = in testOnPreferenceChange_on() local
239 RestrictedSwitchPreference pref = in testOnPreferenceChange_off() local
DAllowSoundPreferenceControllerTest.java162 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
175 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_configurable() local
188 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_checkedForHighImportanceChannel() local
200 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_checkedForUnspecifiedImportanceChannel() local
212 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_notCheckedForLowImportanceChannel() local
224 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on() local
242 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off() local
DBadgePreferenceControllerTest.java235 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local
249 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_channel() local
268 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_app() local
289 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_channel() local
309 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_channel() local
326 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_on_app() local
344 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testOnPreferenceChange_off_app() local
DMinImportancePreferenceControllerTest.java161 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() local
175 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_notConfigurable() local
190 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_Configurable() local
202 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_min() local
214 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_low() local
227 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext, null); in onPreferenceChange() local
DHighImportancePreferenceControllerTest.java161 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() local
175 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_notConfigurable() local
189 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_Configurable() local
201 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_high() local
213 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_default() local
226 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext, null); in onPreferenceChange() local
DImportancePreferenceControllerTest.java178 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_disabledByAdmin() local
192 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_notConfigurable() local
206 Preference pref = new ImportancePreference(mContext, null); in testUpdateState_Configurable() local
218 ImportancePreference pref = mock(ImportancePreference.class); in testUpdateState() local
234 ImportancePreference pref = new ImportancePreference(mContext, null); in testImportanceLowToHigh() local
253 ImportancePreference pref = new ImportancePreference(mContext, null); in testImportanceHighToLow() local
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/connecteddevice/display/
DExternalDisplayPreferenceFragmentTest.java96 PreferenceCategory pref = mPreferenceScreen.findPreference(DISPLAYS_LIST_PREFERENCE_KEY); in testShowDisplayList() local
125 var pref = mPreferenceScreen.findPreference(DisplayTopologyKt.PREFERENCE_KEY); in testShowDisplayListWithPane_OneExternalDisplay() local
148 var pref = mPreferenceScreen.findPreference(DisplayTopologyKt.PREFERENCE_KEY); in testShowDisplayListWithPane_NoExternalDisplays() local
170 PreferenceCategory pref = mPreferenceScreen.findPreference(DISPLAYS_LIST_PREFERENCE_KEY); in testLaunchDisplaySettingFromList() local
197 PreferenceCategory pref = mPreferenceScreen.findPreference(DISPLAYS_LIST_PREFERENCE_KEY); in testShowDisplayListForOnlyOneDisplay_PreviouslyShownList() local
213 var pref = mPreferenceScreen.findPreference(EXTERNAL_DISPLAY_RESOLUTION_PREFERENCE_KEY); in testShowEnabledDisplay_OnlyOneDisplayAvailable() local
231 var pref = mPreferenceScreen.findPreference(EXTERNAL_DISPLAY_RESOLUTION_PREFERENCE_KEY); in testShowOneEnabledDisplay_FewAvailable() local
256 var pref = mPreferenceScreen.findPreference(EXTERNAL_DISPLAY_RESOLUTION_PREFERENCE_KEY); in testShowDisabledDisplay() local
290 var pref = fragment.getRotationPreference(mContext); in testDisplayRotationPreference() local
322 var pref = fragment.getResolutionPreference(mContext); in testDisplayResolutionPreference() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/filesystems/class.path/path.member/path.assign/
H A Dsource.pass.cpp59 path& pref = (p = S); in RunTestCase() local
71 path& pref = p.assign(S); in RunTestCase() local
85 path& pref = (p = S); in RunTestCase() local
97 path& pref = p.assign(S); in RunTestCase() local
112 path& pref = (p = TestPath); in RunTestCase() local
122 path& pref = p.assign(TestPath); in RunTestCase() local
132 path& pref = p.assign(TestPath, TestPathEnd); in RunTestCase() local
147 path& pref = (p = it); in RunTestCase() local
158 path& pref = p.assign(it); in RunTestCase() local
170 path& pref = p.assign(it, e); in RunTestCase() local
/aosp_15_r20/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/
H A Dsource.pass.cpp54 path& pref = (p = S); in RunTestCase() local
66 path& pref = p.assign(S); in RunTestCase() local
80 path& pref = (p = S); in RunTestCase() local
92 path& pref = p.assign(S); in RunTestCase() local
107 path& pref = (p = TestPath); in RunTestCase() local
117 path& pref = p.assign(TestPath); in RunTestCase() local
127 path& pref = p.assign(TestPath, TestPathEnd); in RunTestCase() local
142 path& pref = (p = it); in RunTestCase() local
153 path& pref = p.assign(it); in RunTestCase() local
165 path& pref = p.assign(it, e); in RunTestCase() local
/aosp_15_r20/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerMockTest.java189 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser() local
204 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneWrite() local
219 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneRead() local
234 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneHidden() local
247 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available() local
262 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneWrite() local
277 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneRead() local
292 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneHidden() local
304 BluetoothDeviceProfilePreference pref = in testDisabledClick_restrictedByDpm_dialog() local
/aosp_15_r20/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerMockTest.java189 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser() local
204 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneWrite() local
219 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneRead() local
234 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneHidden() local
247 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available() local
262 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneWrite() local
277 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneRead() local
292 BluetoothDeviceProfilePreference pref = in testGetAvailabilityStatus_notRestricted_available_zoneHidden() local
304 BluetoothDeviceProfilePreference pref = in testDisabledClick_restrictedByDpm_dialog() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleControllerTest.java113 SwitchPreference pref = getPreference(); in displayRefresh_sink_shouldUncheck() local
126 SwitchPreference pref = getPreference(); in displayRefresh_source_shouldCheck() local
161 SwitchPreference pref = getPreference(); in onClick_sink_shouldSetSource() local
175 SwitchPreference pref = getPreference(); in onClickTwice_sink_shouldSetSourceOnce() local
190 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_success_shouldClearSubtext() local
209 SwitchPreference pref = getPreference(); in onClickDeviceAndRefresh_failed_shouldShowFailureText() local
229 SwitchPreference pref = getPreference(); in onClickDevice_timedOut_shouldShowFailureText() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountTypePreferenceLoaderTest.java157 Preference pref = new Preference(mContext); in generateFragmentAllowlist_simpleGroupNoFragment_emptyList() local
169 Preference pref = new Preference(mContext); in generateFragmentAllowlist_simpleGroupOneFragment_populatedList() local
182 Preference pref = new Preference(mContext); in generateFragmentAllowlist_nestedGroupWithFragments_populatedList() local
204 Preference pref = spy(new Preference(mContext)); in filterBlockedFragments_simplePrefGroupNoFragment_noop() local
217 Preference pref = spy(new Preference(mContext)); in filterBlockedFragments_simplePrefGroupWithAllowedFragment_noop() local
231 Preference pref = spy(new Preference(mContext)); in filterBlockedFragments_simplePrefGroupNoMatchFragment_overrideClick() local
244 Preference pref = spy(new Preference(mContext)); in filterBlockedFragments_nestedPrefGroupWithNoMatchFragment_overrideClick() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeButtonPreferenceControllerTest.java127 LayoutPreference pref = mock(LayoutPreference.class); in updateState_ruleActive() local
142 LayoutPreference pref = mock(LayoutPreference.class); in updateState_ruleNotActive() local
158 LayoutPreference pref = mock(LayoutPreference.class); in updateStateThenClick_ruleActive() local
173 LayoutPreference pref = mock(LayoutPreference.class); in updateStateThenClick_ruleNotActive() local
191 LayoutPreference pref = mock(LayoutPreference.class); in updateStateThenClick_withDuration() local
205 LayoutPreference pref = mock(LayoutPreference.class); in updateStateThenClick_durationForever() local
/aosp_15_r20/external/cronet/components/prefs/
H A Dpref_service.cc215 const Preference* pref = FindPreference(path); in HasPrefPath() local
236 const Preference* pref = FindPreference(it.first); in GetPreferenceValues() local
306 const Preference* pref = FindPreference(pref_name); in IsManagedPreference() local
312 const Preference* pref = FindPreference(pref_name); in IsPreferenceManagedByCustodian() local
318 const Preference* pref = FindPreference(pref_name); in IsUserModifiablePreference() local
341 const Preference* pref = FindPreference(path); in GetUserPrefValue() local
398 const Preference* pref = FindPreference(path); in ClearPref() local
517 const Preference* pref = FindPreference(path); in GetMutableUserPref() local
562 const Preference* pref = FindPreference(path); in SetUserPrefValue() local
708 uint32_t PrefService::GetWriteFlags(const PrefService::Preference* pref) { in GetWriteFlags()
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DVpnSettingsTest.java136 AppPreference pref = in setShownAdvancedPreferences_hasGeneralVpn_returnsVpnCountAs1() local
151 AppPreference pref = in setShownAdvancedPreferences_hasAdvancedVpn_returnsAdvancedVpnCountAs1() local
209 AppPreference pref = spy(new AppPreference(mContext, USER_ID_1, VPN_PACKAGE_NAME)); in clickVpn_VpnConnected_doesNotStartVpnLaunchIntent() local
229 AppPreference pref = spy(new AppPreference(mContext, USER_ID_1, VPN_PACKAGE_NAME)); in clickVpn_VpnDisconnected_startsVpnLaunchIntent() local
251 AppPreference pref = in clickAdvancedVpn_VpnConnectedDisconnectDialogDisabled_startsAppLaunchIntent() local
276 AppPreference pref = in clickAdvancedVpn_VpnConnectedDisconnectDialogEnabled_doesNotStartAppLaunchIntent() local

12345678910>>...41