/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | HdrFormatSelectionFragment.java | 224 getPreferenceScreen().addPreference(mSupportedFormatsPreferenceCategory); in createFormatPreferences() 228 getPreferenceScreen().addPreference(mUnsupportedFormatsPreferenceCategory); in createFormatPreferences() 238 mSupportedFormatsPreferenceCategory.addPreference( in createFormatPreferences() 241 mUnsupportedFormatsPreferenceCategory.addPreference( in createFormatPreferences() 252 getPreferenceScreen().addPreference(mFormatsInfoPreferenceCategory); in createFormatInfoPreferences() 256 mFormatsInfoPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() 260 mFormatsInfoPreferenceCategory.addPreference(mEnabledFormatsPreferenceCategory); in createFormatInfoPreferences() 264 mFormatsInfoPreferenceCategory.addPreference(mDisabledFormatsPreferenceCategory); in createFormatInfoPreferences() 275 mEnabledFormatsPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() 277 mDisabledFormatsPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() [all …]
|
D | AdvancedVolumeFragment.java | 211 getPreferenceScreen().addPreference(mSupportedFormatsPreferenceCategory); in createFormatPreferences() 214 getPreferenceScreen().addPreference(mUnsupportedFormatsPreferenceCategory); in createFormatPreferences() 248 mSupportedFormatsPreferenceCategory.addPreference(pref); in createFormatPreferences() 250 mUnsupportedFormatsPreferenceCategory.addPreference(pref); in createFormatPreferences() 260 getPreferenceScreen().addPreference(mFormatsInfoPreferenceCategory); in createFormatInfoPreferences() 264 mFormatsInfoPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() 268 mFormatsInfoPreferenceCategory.addPreference(mEnabledFormatsPreferenceCategory); in createFormatInfoPreferences() 272 mFormatsInfoPreferenceCategory.addPreference(mDisabledFormatsPreferenceCategory); in createFormatInfoPreferences() 284 mEnabledFormatsPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() 286 mDisabledFormatsPreferenceCategory.addPreference(pref); in createFormatInfoPreferences() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountTypePreferenceLoaderTest.java | 103 prefRoot.addPreference(pref1); in updatePreferenceIntents_shouldRunRecursively() 104 prefRoot.addPreference(prefGroup2); in updatePreferenceIntents_shouldRunRecursively() 105 prefRoot.addPreference(pref3); in updatePreferenceIntents_shouldRunRecursively() 106 prefRoot.addPreference(prefGroup4); in updatePreferenceIntents_shouldRunRecursively() 111 prefGroup2.addPreference(pref21); in updatePreferenceIntents_shouldRunRecursively() 112 prefGroup2.addPreference(pref22); in updatePreferenceIntents_shouldRunRecursively() 116 prefGroup4.addPreference(prefGroup41); in updatePreferenceIntents_shouldRunRecursively() 117 prefGroup4.addPreference(pref42); in updatePreferenceIntents_shouldRunRecursively() 122 prefGroup41.addPreference(pref411); in updatePreferenceIntents_shouldRunRecursively() 123 prefGroup41.addPreference(pref412); in updatePreferenceIntents_shouldRunRecursively()
|
D | AccountPreferenceControllerTest.java | 116 verify(mScreen, never()).addPreference(any(Preference.class)); in onResume_managedProfile_shouldNotAddAccountCategory() 128 verify(mScreen, times(1)).addPreference(any(PreferenceGroup.class)); in onResume_linkedUser_shouldAddOneAccountCategory() 141 verify(mScreen, times(1)).addPreference(any(PreferenceGroup.class)); in onResume_oneProfile_shouldAddOneAccountCategory() 155 verify(mScreen, times(2)).addPreference(any(PreferenceGroup.class)); in onResume_twoProfiles_shouldAddTwoAccountCategory() 171 verify(mScreen, never()).addPreference(any(PreferenceGroup.class)); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() 189 verify(mScreen, times(1)).addPreference(any(PreferenceGroup.class)); in onResume_oneNewProfile_shouldAddOneAccountCategory() 366 verify(preferenceGroup, times(3)).addPreference(any(Preference.class)); in onResume_twoAccountsOfSameType_shouldAddThreePreferences() 411 verify(preferenceGroup, times(5)).addPreference(any(Preference.class)); in onResume_twoAccountsOfSameName_shouldAddFivePreferences() 445 verify(preferenceGroup).addPreference(argThat(titleMatches("Acct11"))); in onResume_noAccountChange_shouldNotAddAccountPreference() 446 verify(preferenceGroup).addPreference(argThat(titleMatches("Acct12"))); in onResume_noAccountChange_shouldNotAddAccountPreference() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/ |
D | SensorFragment.java | 103 screen.addPreference(mSensorToggle); in addSensorToggleWithInfo() 122 screen.addPreference(toggleInfo); in addSensorToggleWithInfo() 133 screen.addPreference(recentRequests); in addRecentAppsGroup() 154 recentRequests.addPreference(mAllRecentAppPrefs.get(i)); in addRecentAppsGroup() 163 recentRequests.addPreference(mAllRecentAppPrefs.get(i)); in addRecentAppsGroup() 167 recentRequests.addPreference(showAllRecent); in addRecentAppsGroup() 174 recentRequests.addPreference(banner); in addRecentAppsGroup() 188 screen.addPreference(openPermissionController); in addPermissionControllerPreference()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | PreviouslyConnectedDevicePreferenceController.java | 143 addPreference(index, preference); in onDeviceAdded() 147 private void addPreference(int index, Preference preference) { in addPreference() method in PreviouslyConnectedDevicePreferenceController 157 addPreference(); in addPreference() 160 private void addPreference() { in addPreference() method in PreviouslyConnectedDevicePreferenceController 162 mPreferenceGroup.addPreference(mSeeAllPreference); in addPreference() 169 mPreferenceGroup.addPreference(mDevicesList.get(i)); in addPreference() 178 mPreferenceGroup.addPreference(mDockDevicesList.get(i)); in addPreference() 201 addPreference(); in onDeviceRemoved()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | RecentConversationsPreferenceControllerTest.java | 99 verify(outerContainer, never()).addPreference(any()); in testPopulateList_hideIfNoConversations() 107 ps.addPreference(outerContainer); in testPopulateList_validConversations() 119 verify(outerContainer, times(2)).addPreference(any()); in testPopulateList_validConversations() 150 verify(container, times(1)).addPreference(any()); in populateConversations_blocked() 278 screen.addPreference(group); in testRemoveConversations() 286 group.addPreference(pref); in testRemoveConversations() 294 group.addPreference(pref2); in testRemoveConversations() 297 group.addPreference(clearAll); in testRemoveConversations() 327 ps.addPreference(outerContainer); in testPopulateList_onlyNonremoveableConversations() 339 verify(outerContainer, times(1)).addPreference(any()); in testPopulateList_onlyNonremoveableConversations()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionsFragment.java | 139 getPreferenceScreen().addPreference( in bindUi() 146 getPreferenceScreen().addPreference(allowed); in bindUi() 151 getPreferenceScreen().addPreference(denied); in bindUi() 184 mExtraScreen.addPreference(AutoPermissionsUtils.createHeaderPreference(getContext(), in updatePreferences() 211 category.addPreference(preference); in updatePreferences() 215 mExtraScreen.addPreference( in updatePreferences() 219 mExtraScreen.addPreference(preference); in updatePreferences() 246 category.addPreference(extraPerms); in updatePreferences() 253 allowed.addPreference(empty); in updatePreferences() 259 denied.addPreference(empty); in updatePreferences()
|
D | AutoPermissionAppsFragment.java | 148 getPreferenceScreen().addPreference(header); in bindUi() 154 getPreferenceScreen().addPreference(allowed); in bindUi() 160 getPreferenceScreen().addPreference(foreground); in bindUi() 166 getPreferenceScreen().addPreference(denied); in bindUi() 265 category.addPreference(existingPref); in onPermissionsLoaded() 276 category.addPreference(pref); in onPermissionsLoaded() 287 allowed.addPreference(empty); in onPermissionsLoaded() 297 denied.addPreference(empty); in onPermissionsLoaded()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/ |
D | TmaPrefsFragment.java | 48 screen.addPreference(createEnumPref(context, "Account Type", prefs.mAccountType, in onCreatePreferences() 50 screen.addPreference(createEnumPref(context, "Root node type", prefs.mRootNodeType, in onCreatePreferences() 52 screen.addPreference(createEnumPref(context, "Root reply delay", prefs.mRootReplyDelay, in onCreatePreferences() 54 screen.addPreference(createEnumPref(context, "Asset delay: random value in [v, 2v]", in onCreatePreferences() 56 screen.addPreference(createEnumPref(context, "Login event order", prefs.mLoginEventOrder, in onCreatePreferences() 58 screen.addPreference(createClickPref(context, "Request location perm", in onCreatePreferences()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/ |
D | PreferenceTest.java | 262 mActivity.addPreference(preference); in testCheckboxPreference() 308 mActivity.addPreference(preference); in testSwitchPreference() 356 mActivity.addPreference(preference); in testSwitchPreference_uxRestricted() 387 mActivity.addPreference(preference); in testRadioPreference() 434 mActivity.addPreference(preference); in testRadioPreference_uxRestricted() 466 mActivity.addPreference(preference); in testDropDownPreference() 520 mActivity.addPreference(preference); in testDropDownPreference_uxRestricted() 549 mActivity.addPreference(preference); in testTwoActionPreference() 572 mActivity.addPreference(preference); in testTwoActionPreference_uxRestricted() 604 mActivity.addPreference(preference); in testTwoActionIconPreference() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | ReviewPermissionsWearFragment.java | 172 screen.addPreference(preference); in loadPreferences() 178 screen.addPreference(mNewPermissionsCategory); in loadPreferences() 180 mNewPermissionsCategory.addPreference(preference); in loadPreferences() 187 screen.addPreference(currentPermissionsCategory); in loadPreferences() 189 currentPermissionsCategory.addPreference(preference); in loadPreferences() 265 screen.addPreference(titlePref); in addTitlePreferenceToScreen() 313 screen.addPreference(cancelPref); in addActionPreferencesToScreen() 326 screen.addPreference(continuePref); in addActionPreferencesToScreen()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 102 doNothing().when(mBluetoothDeviceUpdater).addPreference(any()); in setUp() 116 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference() 155 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onAudioModeChanged_a2dpDeviceConnected_notInCall_addPreference() 168 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference() 207 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference() 221 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference() 234 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_addPreference()
|
D | SavedBluetoothDeviceUpdaterTest.java | 100 doNothing().when(mBluetoothDeviceUpdater).addPreference(any()); in setUp() 111 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice, in update_filterMatch_addPreference() 142 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice, in onProfileConnectionStateChanged_deviceDisconnected_addPreference() 176 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice, in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference() 210 verify(mBluetoothDeviceUpdater, never()).addPreference(mCachedBluetoothDevice, in forceUpdate_notFindCachedBluetoothDevice_doNothing() 250 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice, in forceUpdate_deviceNotContain_removePreference()
|
D | ConnectedBluetoothDeviceUpdaterTest.java | 101 doNothing().when(mBluetoothDeviceUpdater).addPreference(any()); in setUp() 115 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference() 154 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onAudioModeChanged_a2dpDeviceConnected_inCall_addPreference() 167 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference() 206 verify(mBluetoothDeviceUpdater).addPreference(mCachedBluetoothDevice); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference() 252 mBluetoothDeviceUpdater.addPreference(mCachedBluetoothDevice); in addPreference_addPreference_shouldHideSecondTarget()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PublicVolumeSettings.java | 158 addPreference(mSummary); in update() 175 addPreference(mMount); in update() 180 addPreference(mFormatPublic); in update() 182 addPreference(mFormatPrivate); in update() 186 private void addPreference(Preference pref) { in addPreference() method in PublicVolumeSettings 188 getPreferenceScreen().addPreference(pref); in addPreference()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ChannelListPreferenceController.java | 135 groupPrefsList.addPreference(groupCategory); in updateFullList() 140 groupCategory.addPreference(empty); in updateFullList() 174 groupPrefsList.addPreference(groupCategory); in findOrCreateGroupCategoryForKey() 201 groupPrefsList.addPreference(group); in updateGroupList() 231 groupPrefGroup.addPreference(channelPref); in findOrCreateChannelPrefForKey() 277 groupPrefGroup.addPreference(preference); in updateGroupPreferences() 309 parent.addPreference(preference); in addOrUpdateGroupToggle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 214 verify(mPreferenceScreen, times(1)).addPreference(mButtonWfcRoamingMode); in onResume_useWfcHomeModeConfigFalseAndEditable_shouldShowWfcRoaming() 228 verify(mPreferenceScreen, never()).addPreference(mButtonWfcRoamingMode); in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming() 242 verify(mPreferenceScreen, never()).addPreference(mButtonWfcRoamingMode); in onResume_useWfcHomeModeConfigFalseAndNotEditable_shouldHideWfcRoaming() 256 verify(mPreferenceScreen, never()).addPreference(mButtonWfcRoamingMode); in onResume_useWfcHomeModeConfigTrueAndNotEditable_shouldHideWfcRoaming() 335 verify(mPreferenceScreen).addPreference(mButtonWfcMode); in onActivityResult_finishCarrierActivity_shouldShowWfcPreference() 336 verify(mPreferenceScreen).addPreference(mButtonWfcRoamingMode); in onActivityResult_finishCarrierActivity_shouldShowWfcPreference() 337 verify(mPreferenceScreen).addPreference(mUpdateAddress); in onActivityResult_finishCarrierActivity_shouldShowWfcPreference()
|
/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
D | DeveloperOptionsFragment.java | 178 mPreferenceScreen.addPreference(category); in newCategory() 268 mPluginsCategory.addPreference(pref); in loadPluginPrefs() 300 sandboxCategory.addPreference(launchOnboardingTutorialPreference); in maybeAddSandboxCategory() 311 sandboxCategory.addPreference(launchBackTutorialPreference); in maybeAddSandboxCategory() 322 sandboxCategory.addPreference(launchHomeTutorialPreference); in maybeAddSandboxCategory() 333 sandboxCategory.addPreference(launchOverviewTutorialPreference); in maybeAddSandboxCategory() 344 sandboxCategory.addPreference(launchAssistantTutorialPreference); in maybeAddSandboxCategory() 355 sandboxCategory.addPreference(launchSandboxModeTutorialPreference); in maybeAddSandboxCategory()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 276 preferenceScreen.addPreference(createRoutePreference(route)); in update() 287 preferenceScreen.addPreference(new UnpairedWifiDisplayPreference( in update() 332 preferenceScreen.addPreference(mCertCategory); in buildCertificationMenu() 339 mCertCategory.addPreference(p); in buildCertificationMenu() 343 mCertCategory.addPreference(new Preference(getPrefContext()) { in buildCertificationMenu() 382 mCertCategory.addPreference(pref); in buildCertificationMenu() 399 mCertCategory.addPreference(pref); in buildCertificationMenu() 430 mCertCategory.addPreference(lp); in buildCertificationMenu() 454 mCertCategory.addPreference(lp); in buildCertificationMenu() 478 mCertCategory.addPreference(lp); in buildCertificationMenu()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettings.java | 424 root.addPreference(pref); in addFingerprintItemPreferences() 427 Preference addPreference = new Preference(root.getContext()); in addFingerprintItemPreferences() local 428 addPreference.setKey(KEY_FINGERPRINT_ADD); in addFingerprintItemPreferences() 429 addPreference.setTitle(R.string.fingerprint_add_title); in addFingerprintItemPreferences() 430 addPreference.setIcon(R.drawable.ic_add_24dp); in addFingerprintItemPreferences() 431 root.addPreference(addPreference); in addFingerprintItemPreferences() 432 addPreference.setOnPreferenceChangeListener(this); in addFingerprintItemPreferences() 440 final Preference addPreference = findPreference(KEY_FINGERPRINT_ADD); in updateAddPreference() 451 addPreference.setSummary(maxSummary); in updateAddPreference() 452 addPreference.setEnabled(!tooMany && !removalInProgress && mToken != null); in updateAddPreference() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LocationFragment.java | 106 screen.addPreference(mLocationMode); in onCreatePreferences() 134 screen.addPreference(mRestrictedLocationMode); in onCreatePreferences() 145 screen.addPreference(mAlwaysScan); in onCreatePreferences() 149 screen.addPreference(recentRequests); in onCreatePreferences() 187 recentRequests.addPreference(banner); in onCreatePreferences() 242 container.addPreference(entry); in addPreferencesSorted()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AppPermissionsFragment.java | 210 screen.addPreference(createHeaderLineTwoPreference(context)); in loadPreferences() 245 screen.addPreference(preference); in loadPreferences() 249 mExtraScreen.addPreference(createHeaderLineTwoPreference(context)); in loadPreferences() 251 mExtraScreen.addPreference(preference); in loadPreferences() 272 screen.addPreference(extraPerms); in loadPreferences() 421 unusedAppsCategory.addPreference(autoRevokeSwitch); in addAutoRevokePreferences() 422 screen.addPreference(unusedAppsCategory); in addAutoRevokePreferences() 424 screen.addPreference(autoRevokeSwitch); in addAutoRevokePreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | SuggestionQuickSettingPrefsContainer.java | 101 mainFragment.getPreferenceScreen().addPreference(mSuggestionsList); in onSuggestionReady() 135 mSuggestionsList.addPreference(newSuggPref); in updateSuggestionList() 213 mainFragment.getPreferenceScreen().addPreference(mQuickSettingsList); in showQuickSettings() 223 mQuickSettingsList.addPreference(mHotwordSwitch); in showQuickSettings() 234 mQuickSettingsList.addPreference(mTakeBugReportPreference); in showQuickSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkListFragmentTest.java | 89 verify(mWifiNetworkListFragment.mPreferenceGroup).addPreference( in onSavedWifiEntriesChanged_noSavedWifiEntry_onlyAddNetworkPreference() 102 verify(mWifiNetworkListFragment.mPreferenceGroup).addPreference( in onSavedWifiEntriesChanged_openSavedWifiEntry_onlyAddNetworkPreference() 115 verify(mWifiNetworkListFragment.mPreferenceGroup, times(2)).addPreference(any()); in onSavedWifiEntriesChanged_pskSavedWifiEntry_add2Preferences() 127 verify(mWifiNetworkListFragment.mPreferenceGroup, times(2)).addPreference(any()); in onSavedWifiEntriesChanged_saeSavedWifiEntry_add2Preferences()
|