/packages/apps/Settings/src/com/android/settings/connecteddevice/display/ |
D | ExternalDisplayPreferenceFragment.java | 253 var pref = refresh.findUnusedPreference(PrefBasics.FOOTER.key); in addFooterPreference() local 254 if (pref == null) { in addFooterPreference() 255 pref = newFooterPreference(context); in addFooterPreference() 256 PrefBasics.FOOTER.apply(pref, /* nth= */ null); in addFooterPreference() 258 pref.setTitle(title); in addFooterPreference() 259 refresh.addPreference(pref); in addFooterPreference() 265 ListPreference pref = refresh.findUnusedPreference( in reuseRotationPreference() local 267 if (pref == null) { in reuseRotationPreference() 268 pref = new ListPreference(context); in reuseRotationPreference() 269 PrefBasics.EXTERNAL_DISPLAY_ROTATION.apply(pref, position); in reuseRotationPreference() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/display/ |
D | ExternalDisplayPreferenceFragmentTest.java | 112 Preference pref = mPreferenceScreen.findPreference(PrefBasics.DISPLAY_TOPOLOGY.key); in testShowDisplayList() local 113 assertThat(pref).isNull(); in testShowDisplayList() 115 pref = mPreferenceScreen.findPreference(PrefBasics.BUILTIN_DISPLAY_LIST.key); in testShowDisplayList() 116 assertThat(pref).isNull(); in testShowDisplayList() 128 var pref = mPreferenceScreen.findPreference(PrefBasics.DISPLAY_TOPOLOGY.key); in testShowDisplayListWithPane_OneExternalDisplay() local 129 assertThat(pref).isNotNull(); in testShowDisplayListWithPane_OneExternalDisplay() 130 pref = mPreferenceScreen.findPreference(PrefBasics.MIRROR.key); in testShowDisplayListWithPane_OneExternalDisplay() 131 assertThat(pref).isNotNull(); in testShowDisplayListWithPane_OneExternalDisplay() 154 var pref = mPreferenceScreen.findPreference(PrefBasics.DISPLAY_TOPOLOGY.key); in testDontShowDisplayListOrPane_NoExternalDisplays() local 155 assertThat(pref).isNull(); in testDontShowDisplayListOrPane_NoExternalDisplays() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryUsageBreakdownControllerTest.java | 176 final PowerGaugePreference pref = in addAllPreferences_addAllPreferences() local 179 assertThat(pref).isNotNull(); in addAllPreferences_addAllPreferences() 181 verify(mRootPreferenceGroup).addPreference(pref); in addAllPreferences_addAllPreferences() 182 assertThat(pref.getKey()).isEqualTo(PREF_KEY); in addAllPreferences_addAllPreferences() 183 assertThat(pref.getTitle().toString()).isEqualTo(appLabel); in addAllPreferences_addAllPreferences() 184 assertThat(pref.getIcon()).isEqualTo(mDrawable); in addAllPreferences_addAllPreferences() 185 assertThat(pref.getOrder()).isEqualTo(ENTRY_PREF_ORDER_OFFSET + 1); in addAllPreferences_addAllPreferences() 186 assertThat(pref.getBatteryDiffEntry()).isSameInstanceAs(mBatteryDiffEntry); in addAllPreferences_addAllPreferences() 187 assertThat(pref.isSingleLineTitle()).isTrue(); in addAllPreferences_addAllPreferences() 188 assertThat(pref.isSelectable()).isFalse(); in addAllPreferences_addAllPreferences() [all …]
|
/packages/modules/Uwb/ranging/test_app/app/src/main/java/com/android/ranging/rangingtestapp/ |
D | ConfigurationParameters.java | 60 SharedPreferences pref = context.getSharedPreferences(PREF_CONFIG, Context.MODE_PRIVATE); in saveInstance() local 61 SharedPreferences.Editor prefEditor = pref.edit(); in saveInstance() 72 SharedPreferences pref = context.getSharedPreferences(PREF_CONFIG, Context.MODE_PRIVATE); in resetInstance() local 73 SharedPreferences.Editor prefEditor = pref.edit(); in resetInstance() 80 SharedPreferences pref = context.getSharedPreferences(PREF_CONFIG, Context.MODE_PRIVATE); in restoreInstance() local 82 Global.fromPref(pref, isResponder), in restoreInstance() 83 Uwb.fromPref(pref, isResponder), in restoreInstance() 84 BleCs.fromPref(pref, isResponder), in restoreInstance() 85 BleRssi.fromPref(pref, isResponder), in restoreInstance() 86 WifiNanRtt.fromPref(pref, isResponder), in restoreInstance() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | ConversationPriorityPreferenceControllerTest.java | 141 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_disabledByAdmin() local 142 mController.updateState(pref); in testUpdateState_disabledByAdmin() 144 assertFalse(pref.isEnabled()); in testUpdateState_disabledByAdmin() 155 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_notConfigurable() local 156 mController.updateState(pref); in testUpdateState_notConfigurable() 158 assertFalse(pref.isEnabled()); in testUpdateState_notConfigurable() 169 Preference pref = new ConversationPriorityPreference(mContext, null); in testUpdateState_Configurable() local 170 mController.updateState(pref); in testUpdateState_Configurable() 172 assertTrue(pref.isEnabled()); in testUpdateState_Configurable() 183 ConversationPriorityPreference pref = mock(ConversationPriorityPreference.class); in testUpdateState() local [all …]
|
D | AllowSoundPreferenceControllerTest.java | 164 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_disabledByAdmin() local 165 mScreen.addPreference(pref); in testUpdateState_disabledByAdmin() 166 mController.updateState(pref); in testUpdateState_disabledByAdmin() 168 assertFalse(pref.isEnabled()); in testUpdateState_disabledByAdmin() 178 Preference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_configurable() local 179 mScreen.addPreference(pref); in testUpdateState_configurable() 180 mController.updateState(pref); in testUpdateState_configurable() 182 assertTrue(pref.isEnabled()); in testUpdateState_configurable() 192 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in testUpdateState_checkedForHighImportanceChannel() local 193 mScreen.addPreference(pref); in testUpdateState_checkedForHighImportanceChannel() [all …]
|
D | SoundPreferenceControllerTest.java | 163 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testDisplayPreference_savesPreference() local 164 when(mScreen.findPreference(mController.getPreferenceKey())).thenReturn(pref); in testDisplayPreference_savesPreference() 168 verify(pref, times(1)).onActivityResult(anyInt(), anyInt(), any()); in testDisplayPreference_savesPreference() 179 Preference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_disabledByAdmin() local 180 mController.updateState(pref); in testUpdateState_disabledByAdmin() 182 assertFalse(pref.isEnabled()); in testUpdateState_disabledByAdmin() 195 NotificationSoundPreference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_configurable() local 196 mController.updateState(pref); in testUpdateState_configurable() 198 assertEquals(sound, pref.onRestoreRingtone()); in testUpdateState_configurable() 199 assertTrue(pref.isEnabled()); in testUpdateState_configurable() [all …]
|
D | BubblePreferenceControllerTest.java | 286 Preference pref = new RestrictedSwitchPreference(mContext); in updateState_disabledByAdmin() local 287 mController.updateState(pref); in updateState_disabledByAdmin() 289 assertFalse(pref.isEnabled()); in updateState_disabledByAdmin() 301 BubblePreference pref = new BubblePreference(mContext); in updateState_app_disabledByAdmin() local 302 mAppPageController.updateState(pref); in updateState_app_disabledByAdmin() 304 assertFalse(pref.isEnabled()); in updateState_app_disabledByAdmin() 316 RestrictedSwitchPreference pref = new RestrictedSwitchPreference(mContext); in updateState_channel() local 317 mController.updateState(pref); in updateState_channel() 319 assertTrue(pref.isChecked()); in updateState_channel() 323 mController.updateState(pref); in updateState_channel() [all …]
|
D | DndPreferenceControllerTest.java | 132 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local 133 mController.updateState(pref); in testUpdateState_disabledByAdmin() 135 assertFalse(pref.isEnabled()); in testUpdateState_disabledByAdmin() 145 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_notBlockable() local 146 mController.updateState(pref); in testUpdateState_notBlockable() 148 assertTrue(pref.isEnabled()); in testUpdateState_notBlockable() 158 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local 159 mController.updateState(pref); in testUpdateState_configurable() 161 assertTrue(pref.isEnabled()); in testUpdateState_configurable() 171 RestrictedSwitchPreference pref = in testUpdateState_bypassDnd() local [all …]
|
D | VibrationPreferenceControllerTest.java | 158 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_disabledByAdmin() local 159 mController.updateState(pref); in testUpdateState_disabledByAdmin() 161 assertFalse(pref.isEnabled()); in testUpdateState_disabledByAdmin() 170 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_blockable() local 171 mController.updateState(pref); in testUpdateState_blockable() 173 assertTrue(pref.isEnabled()); in testUpdateState_blockable() 183 Preference pref = new RestrictedSwitchPreference(RuntimeEnvironment.application); in testUpdateState_configurable() local 184 mController.updateState(pref); in testUpdateState_configurable() 186 assertTrue(pref.isEnabled()); in testUpdateState_configurable() 196 RestrictedSwitchPreference pref = in testUpdateState_vibrateOn() local [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/ |
D | StylusDevicesController.java | 127 Preference pref = preference == null ? new Preference(mContext) : preference; in createOrUpdateDefaultNotesPreference() local 128 pref.setKey(KEY_DEFAULT_NOTES); in createOrUpdateDefaultNotesPreference() 129 pref.setTitle(mContext.getString(R.string.stylus_default_notes_app)); in createOrUpdateDefaultNotesPreference() 130 pref.setIcon(R.drawable.ic_article); in createOrUpdateDefaultNotesPreference() 131 pref.setOnPreferenceClickListener(this); in createOrUpdateDefaultNotesPreference() 132 pref.setEnabled(true); in createOrUpdateDefaultNotesPreference() 137 pref.setSummary(R.string.default_app_none); in createOrUpdateDefaultNotesPreference() 138 return pref; in createOrUpdateDefaultNotesPreference() 153 pref.setSummary( in createOrUpdateDefaultNotesPreference() 156 pref.setSummary(appName); in createOrUpdateDefaultNotesPreference() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | TypeFilterPreferenceControllerTest.java | 133 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_noMetaData() local 135 mController.updateState(pref); in updateState_enabled_noMetaData() 136 assertThat(pref.isEnabled()).isTrue(); in updateState_enabled_noMetaData() 145 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_notTheDisableFilter() local 147 mController.updateState(pref); in updateState_enabled_metaData_notTheDisableFilter() 148 assertThat(pref.isEnabled()).isTrue(); in updateState_enabled_metaData_notTheDisableFilter() 158 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_disableFilter_notThisField() local 160 mController.updateState(pref); in updateState_enabled_metaData_disableFilter_notThisField() 161 assertThat(pref.isEnabled()).isTrue(); in updateState_enabled_metaData_disableFilter_notThisField() 172 CheckBoxPreference pref = new CheckBoxPreference(mContext); in updateState_enabled_metaData_disableFilter_thisField_stateIsChecked() local [all …]
|
D | ApprovalPreferenceControllerTest.java | 103 RestrictedSwitchPreference pref = new RestrictedSwitchPreference( in updateState_enabled() local 105 pref.setAppOps(mAppOpsManager); in updateState_enabled() 107 mController.updateState(pref); in updateState_enabled() 109 assertThat(pref.isEnabled()).isTrue(); in updateState_enabled() 119 RestrictedSwitchPreference pref = new RestrictedSwitchPreference( in updateState_invalidCn_disabled() local 121 pref.setAppOps(mAppOpsManager); in updateState_invalidCn_disabled() 123 mController.updateState(pref); in updateState_invalidCn_disabled() 125 assertThat(pref.isEnabled()).isFalse(); in updateState_invalidCn_disabled() 134 RestrictedSwitchPreference pref = new RestrictedSwitchPreference( in updateState_checked() local 136 pref.setAppOps(mAppOpsManager); in updateState_checked() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSettingsTest.java | 138 final ActionButtonsPreference pref = mock(ActionButtonsPreference.class); in createMock() local 139 when(pref.setButton1Text(anyInt())).thenReturn(pref); in createMock() 140 when(pref.setButton1Icon(anyInt())).thenReturn(pref); in createMock() 141 when(pref.setButton1Enabled(anyBoolean())).thenReturn(pref); in createMock() 142 when(pref.setButton1Visible(anyBoolean())).thenReturn(pref); in createMock() 143 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock() 145 when(pref.setButton2Text(anyInt())).thenReturn(pref); in createMock() 146 when(pref.setButton2Icon(anyInt())).thenReturn(pref); in createMock() 147 when(pref.setButton2Enabled(anyBoolean())).thenReturn(pref); in createMock() 148 when(pref.setButton2Visible(anyBoolean())).thenReturn(pref); in createMock() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsButtonsControllerTest.java | 192 final ActionButtonsPreference pref = mock(ActionButtonsPreference.class); in createMock() local 193 when(pref.setButton1Text(anyInt())).thenReturn(pref); in createMock() 194 when(pref.setButton1Icon(anyInt())).thenReturn(pref); in createMock() 195 when(pref.setButton1Enabled(anyBoolean())).thenReturn(pref); in createMock() 196 when(pref.setButton1Visible(anyBoolean())).thenReturn(pref); in createMock() 197 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock() 199 when(pref.setButton2Text(anyInt())).thenReturn(pref); in createMock() 200 when(pref.setButton2Icon(anyInt())).thenReturn(pref); in createMock() 201 when(pref.setButton2Enabled(anyBoolean())).thenReturn(pref); in createMock() 202 when(pref.setButton2Visible(anyBoolean())).thenReturn(pref); in createMock() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAllBypassingAppsPreferenceController.java | 118 private void updateIcon(Preference pref, ApplicationsState.AppEntry entry) { in updateIcon() argument 122 pref.setIcon(cachedIcon); in updateIcon() 127 ThreadUtils.postOnMainThread(() -> pref.setIcon(icon)); in updateIcon() 151 Preference pref = mPreferenceCategory.findPreference(key); in updateAppList() local 152 if (pref == null) { in updateAppList() 155 pref = new AppPreference(mPrefContext); in updateAppList() 156 pref.setKey(key); in updateAppList() 157 pref.setOnPreferenceClickListener(preference -> { in updateAppList() 171 pref.setTitle(BidiFormatter.getInstance().unicodeWrap(app.label)); in updateAppList() 172 updateIcon(pref, app); in updateAppList() [all …]
|
D | ZenModeAddBypassingAppsPreferenceController.java | 130 private void updateIcon(Preference pref, ApplicationsState.AppEntry entry) { in updateIcon() argument 134 pref.setIcon(cachedIcon); in updateIcon() 139 ThreadUtils.postOnMainThread(() -> pref.setIcon(icon)); in updateIcon() 169 Preference pref = mPreferenceCategory.findPreference(key); in updateAppList() local 171 if (pref == null) { in updateAppList() 174 pref = new AppPreference(mPrefContext); in updateAppList() 175 pref.setKey(key); in updateAppList() 176 pref.setOnPreferenceClickListener(preference -> { in updateAppList() 190 pref.setTitle(BidiFormatter.getInstance().unicodeWrap(app.label)); in updateAppList() 191 updateIcon(pref, app); in updateAppList() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | RecentConversationsPreferenceController.java | 80 ButtonPreference pref = new ButtonPreference(mContext); in getClearAll() local 81 pref.setTitle(R.string.conversation_settings_clear_recents); in getClearAll() 82 pref.setKey(getPreferenceKey() + CLEAR_ALL_KEY_SUFFIX); in getClearAll() 83 pref.setOrder(1); in getClearAll() 84 pref.setOnClickListener(v -> { in getClearAll() 99 pref.getButton().announceForAccessibility( in getClearAll() 105 return pref; in getClearAll() 160 .forEachOrdered(pref -> { in populateConversations() 161 pref.setOrder(order.getAndIncrement()); in populateConversations() 162 mPreferenceGroup.addPreference(pref); in populateConversations() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModeAllBypassingAppsPreferenceController.java | 124 private void updateIcon(Preference pref, ApplicationsState.AppEntry entry) { in updateIcon() argument 128 pref.setIcon(cachedIcon); in updateIcon() 133 ThreadUtils.postOnMainThread(() -> pref.setIcon(icon)); in updateIcon() 163 Preference pref = mPreferenceCategory.findPreference(key); in updateAppList() local 164 if (pref == null) { in updateAppList() 167 pref = new AppPreference(mPrefContext); in updateAppList() 168 pref.setKey(key); in updateAppList() 169 pref.setOnPreferenceClickListener(preference -> { in updateAppList() 183 pref.setTitle(BidiFormatter.getInstance().unicodeWrap(app.label)); in updateAppList() 184 updateIcon(pref, app); in updateAppList() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | BaseSettingsFragment.java | 47 Preference pref) { in onPreferenceStartFragment() argument 48 if (pref.getFragment() != null) { in onPreferenceStartFragment() 49 if (pref instanceof SlicePreference) { in onPreferenceStartFragment() 50 SlicePreference slicePref = (SlicePreference) pref; in onPreferenceStartFragment() 54 Bundle b = pref.getExtras(); in onPreferenceStartFragment() 60 Fragment.instantiate(getActivity(), pref.getFragment(), pref.getExtras()); in onPreferenceStartFragment() 86 PreferenceScreen pref) { in onPreferenceStartScreen() argument 100 Preference pref) { in onPreferenceDisplayDialog() argument 102 if (pref instanceof LeanbackPickerDialogPreference) { in onPreferenceDisplayDialog() 104 pref; in onPreferenceDisplayDialog() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsPowerRoleControllerTest.java | 113 SwitchPreference pref = getPreference(); in displayRefresh_sink_shouldUncheck() local 114 assertThat(pref.isChecked()).isFalse(); in displayRefresh_sink_shouldUncheck() 126 SwitchPreference pref = getPreference(); in displayRefresh_source_shouldCheck() local 127 assertThat(pref.isChecked()).isTrue(); in displayRefresh_source_shouldCheck() 161 SwitchPreference pref = getPreference(); in onClick_sink_shouldSetSource() local 162 pref.performClick(); in onClick_sink_shouldSetSource() 165 assertThat(pref.getSummary()) in onClick_sink_shouldSetSource() 175 SwitchPreference pref = getPreference(); in onClickTwice_sink_shouldSetSourceOnce() local 176 pref.performClick(); in onClickTwice_sink_shouldSetSourceOnce() 178 assertThat(pref.getSummary()) in onClickTwice_sink_shouldSetSourceOnce() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 182 PreferenceGroup pref = findOrCreate(group != null ? group : perm, pm, prefs); in updateUi() local 183 pref.addPreference(getPreference(perm, group)); in updateUi() 227 PreferenceGroup pref = (PreferenceGroup) findPreference(group.name); in findOrCreate() local 228 if (pref == null) { in findOrCreate() 229 pref = new PreferenceCategory(getActivity()); in findOrCreate() 230 pref.setKey(group.name); in findOrCreate() 231 pref.setLayoutResource(androidx.preference.R.layout.preference_category_material); in findOrCreate() 232 pref.setTitle(group.loadLabel(pm)); in findOrCreate() 233 prefs.add(pref); in findOrCreate() 234 getPreferenceScreen().addPreference(pref); in findOrCreate() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 285 final Preference pref = new Preference(context); in createMagnificationModePreference() local 286 pref.setTitle(R.string.accessibility_magnification_mode_title); in createMagnificationModePreference() 287 pref.setKey(MagnificationModePreferenceController.PREF_KEY); in createMagnificationModePreference() 288 pref.setPersistent(false); in createMagnificationModePreference() 289 return pref; in createMagnificationModePreference() 307 final Preference pref = new Preference(context); in createCursorFollowingPreference() local 308 pref.setTitle(R.string.accessibility_magnification_cursor_following_title); in createCursorFollowingPreference() 309 pref.setKey(MagnificationCursorFollowingModePreferenceController.PREF_KEY); in createCursorFollowingPreference() 310 pref.setPersistent(false); in createCursorFollowingPreference() 311 return pref; in createCursorFollowingPreference() [all …]
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | AppLocaleSuggestedListPreferenceController.java | 116 for (Preference pref : existingSuggestedPreferences.values()) { in updatePreferences() 117 mPreferenceCategory.removePreference(pref); in updatePreferences() 141 Preference pref = existingSuggestedPreferences.remove(locale.getId()); in setupSuggestedPreference() local 142 if (pref == null) { in setupSuggestedPreference() 143 pref = new Preference(mContext); in setupSuggestedPreference() 144 setupPreference(pref, locale); in setupSuggestedPreference() 145 mPreferenceCategory.addPreference(pref); in setupSuggestedPreference() 148 SelectorWithWidgetPreference pref = in setupSuggestedPreference() local 151 if (pref == null) { in setupSuggestedPreference() 152 pref = new SelectorWithWidgetPreference(mContext); in setupSuggestedPreference() [all …]
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 389 for (Preference pref : updates) { in setShownPreferences() 390 vpnGroup.addPreference(pref); in setShownPreferences() 407 for (Preference pref : updates) { in setShownAdvancedPreferences() 409 if (pref instanceof LegacyVpnPreference) { in setShownAdvancedPreferences() 410 LegacyVpnPreference legacyPref = (LegacyVpnPreference) pref; in setShownAdvancedPreferences() 412 } else if (pref instanceof AppPreference) { in setShownAdvancedPreferences() 413 AppPreference appPref = (AppPreference) pref; in setShownAdvancedPreferences() 420 advancedVpnGroup.addPreference(pref); in setShownAdvancedPreferences() 422 vpnGroup.addPreference(pref); in setShownAdvancedPreferences() 451 LegacyVpnPreference pref = (LegacyVpnPreference) preference; in onPreferenceClick() local [all …]
|