Home
last modified time | relevance | path

Searched refs:setKey (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceDataTest.java46 .setKey(KEY) in testBuilder_buildsMatchingObject()
91 .setKey(KEY) in testBuilder_noTitle_throwsIllegalStateException()
104 .setKey(KEY) in testBuilder_noFragment_throwsIllegalStateException()
117 .setKey(KEY) in testBuilder_noPrefController_throwsIllegalStateException()
130 .setKey(KEY) in testBuilder_noSubtitle_buildsMatchingObject()
153 .setKey(KEY) in testBuilder_noScreenTitle_buildsMatchingObject()
176 .setKey(KEY) in testBuilder_noIcon_buildsMatchingObject()
199 .setKey(KEY) in testBuilder_noUri_buildsMatchingObject()
223 .setKey(KEY) in testEquality_identicalObjects()
242 .setKey(KEY) in testEquality_matchingKey_EqualObjects()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java247 versionPreference.setKey(KEY_VERSION); in updatePrefs()
259 openPreference.setKey(KEY_OPEN); in updatePrefs()
283 mForceStopPreference.setKey(KEY_FORCE_STOP); in updatePrefs()
292 mUninstallPreference.setKey(KEY_UNINSTALL); in updatePrefs()
301 mEnableDisablePreference.setKey(KEY_ENABLE_DISABLE); in updatePrefs()
313 mAppStoragePreference.setKey(KEY_APP_STORAGE); in updatePrefs()
323 mClearDataPreference.setKey(KEY_CLEAR_DATA); in updatePrefs()
333 mClearCachePreference.setKey(KEY_CLEAR_CACHE); in updatePrefs()
342 mClearDefaultsPreference.setKey(KEY_CLEAR_DEFAULTS); in updatePrefs()
351 mNotificationsPreference.setKey(KEY_NOTIFICATIONS); in updatePrefs()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeFormatPreferenceControllerTest.java62 mPreference.setKey(mController.getPreferenceKey()); in updateState_24HourSet_shouldCheckPreference()
75 mPreference.setKey(mController.getPreferenceKey()); in updateState_12HourSet_shouldCheckPreference()
88 mPreference.setKey(mController.getPreferenceKey()); in updateState_autoSet_shouldNotCheckPreference()
100 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_autoSet_shouldSendIntent_12HourLocale()
119 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_autoSet_shouldSendIntent_24HourLocale()
139 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_24HourSet_shouldSendIntent()
DTimeFormatPreferenceControllerTest.java75 mPreference.setKey(mController.getPreferenceKey()); in updateState_24HourSet_shouldCheckPreference()
88 mPreference.setKey(mController.getPreferenceKey()); in updateState_12HourSet_shouldNotCheckPreference()
102 mPreference.setKey(mController.getPreferenceKey()); in updateState_autoSet_shouldNotEnablePreference()
113 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_12HourSet_shouldSendIntent()
132 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_24HourSet_shouldSendIntent()
DTimePreferenceControllerTest.java86 mPreference.setKey("fake_key"); in clickPreference_showTimePicker()
90 mPreference.setKey(mController.getPreferenceKey()); in clickPreference_showTimePicker()
DDatePreferenceControllerTest.java96 mPreference.setKey("fake_key"); in clickPreference_showDatePicker()
100 mPreference.setKey(mController.getPreferenceKey()); in clickPreference_showDatePicker()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java98 mPreferenceCategory.setKey(mDetailsFunctionsController.getPreferenceKey()); in setUp()
257 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_RNDIS)); in onRadioButtonClicked_functionRndis_startTetheringInvoked()
271 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_NCM)); in onRadioButtonClicked_functionNcm_startsTethering()
285 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in onRadioButtonClicked_functionOther_setCurrentFunctionInvoked()
297 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_MTP)); in onRadioButtonClicked_functionMtp_inAccessoryMode_doNothing()
310 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_MTP)); in onRadioButtonClicked_functionMtp_inAccessoryCombinationsMode_doNothing()
321 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in onRadioButtonClicked_clickSameButton_doNothing()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceProvider.java236 .setKey(isConnected ? KEY_DISCONNECT : KEY_CONNECT) in createBluetoothDeviceSlice()
272 .setKey(KEY_RENAME) in createBluetoothDeviceSlice()
303 .setKey(KEY_FORGET) in createBluetoothDeviceSlice()
366 .setKey(KEY_BLUETOOTH_TOGGLE) in updateBluetoothToggle()
403 .setKey(KEY_PAIR_REMOTE) in updatePairingButton()
453 .setKey(KEY_ACCESSORIES)); in updateConnectedDevices()
474 .setKey(KEY_IR) in updateOfficialRemoteSettings()
481 .setKey(KEY_OFFICIAL_REMOTE) in updateOfficialRemoteSettings()
511 pref.setKey(device.getAddress()); in createBtDeviceSlicePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTopLevelWallpaperPreferenceControllerTest.java167 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_wallpaperOnly()
183 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_stylesAndWallpaper()
199 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_launchSourceExtra()
213 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_embeddingActivityDisabled_launchWithTaskFlag()
228 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_embeddingActivityEnabled_launchWithoutTaskFlag()
DWallpaperPreferenceControllerTest.java190 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_wallpaperOnly()
206 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_stylesAndWallpaper()
222 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_launchSourceExtra()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDeveloperOptionsFragment.java298 launchTutorialStepMenuPreference.setKey("launchTutorialStepMenu"); in maybeAddSandboxCategory()
307 launchOnboardingTutorialPreference.setKey("launchOnboardingTutorial"); in maybeAddSandboxCategory()
322 launchBackTutorialPreference.setKey("launchBackTutorial"); in maybeAddSandboxCategory()
333 launchHomeTutorialPreference.setKey("launchHomeTutorial"); in maybeAddSandboxCategory()
344 launchOverviewTutorialPreference.setKey("launchOverviewTutorial"); in maybeAddSandboxCategory()
355 launchAssistantTutorialPreference.setKey("launchAssistantTutorial"); in maybeAddSandboxCategory()
366 launchSandboxModeTutorialPreference.setKey("launchSandboxMode"); in maybeAddSandboxCategory()
378 launchSecondaryDisplayPreference.setKey("launchSecondaryDisplay"); in maybeAddSandboxCategory()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java160 mPreference.setKey(StorageItemPreferenceController.PUBLIC_STORAGE_KEY); in launchPublicStorageIntent_nonNullBrowseIntent_settingsIntent()
172 mPreference.setKey(StorageItemPreferenceController.IMAGES_KEY); in launchImagesIntent_resolveActionViewNull_settingsIntent()
189 mPreference.setKey(StorageItemPreferenceController.AUDIO_KEY); in launchAudioIntent_resolveActionViewNull_settingsIntent()
223 mPreference.setKey(StorageItemPreferenceController.APPS_KEY); in launchAppsIntent_forPersonal_settingsIntent()
243 mPreference.setKey(StorageItemPreferenceController.APPS_KEY); in launchAppsIntent_forWork_settingsIntent()
269 mPreference.setKey(StorageItemPreferenceController.DOCUMENTS_AND_OTHER_KEY); in launchDocumentsAndOtherIntent_resolveActionViewNull_settingsIntent()
286 mPreference.setKey(StorageItemPreferenceController.GAMES_KEY); in launchGamesIntent_settingsIntent()
304 mPreference.setKey(StorageItemPreferenceController.VIDEOS_KEY); in launchVideosIntent_resolveActionViewNull_settingsIntent()
321 mPreference.setKey(StorageItemPreferenceController.SYSTEM_KEY); in testClickSystem()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/combination/
DCombinedBiometricProfileSettingsTest.java119 preference.setKey(key.toString()); in setUp()
143 preference.setKey(mFragment.getFingerprintPreferenceKey()); in testClickFingerprintUnlockWithValidGkPwHandle()
174 preference.setKey(mFragment.getFingerprintPreferenceKey()); in testClickFingerprintUnlockIfGkPwHandleTimeout()
233 preference.setKey(mFragment.getFacePreferenceKey()); in testClickFaceUnlock()
262 preference.setKey(mFragment.getFacePreferenceKey()); in testClickFaceUnlockIfGkPwHandleTimeout()
292 preference.setKey(mFragment.getFacePreferenceKey()); in testActivityResultLaunchFaceUnlock()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DKeyValueRow.java66 public void setKey(CharSequence key) { in setKey() method in KeyValueRow
70 public void setKey(@StringRes int id) { in setKey() method in KeyValueRow
71 setKey(mRes.getString(id)); in setKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DSuggestionQuickSettingPrefsContainer.java98 mSuggestionsList.setKey(KEY_SUGGESTIONS_LIST); in onSuggestionReady()
210 mQuickSettingsList.setKey(KEY_QUICK_SETTINGS); in showQuickSettings()
217 mHotwordSwitch.setKey(HotwordSwitchController.KEY_HOTWORD_SWITCH); in showQuickSettings()
228 mTakeBugReportPreference.setKey(TakeBugReportController.KEY_TAKE_BUG_REPORT); in showQuickSettings()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DMatchContentFrameRateFragmentTest.java72 mAutoPreference.setKey(KEY_MATCH_CONTENT_FRAME_RATE_SEAMLESS); in setUp()
77 mNeverPreference.setKey(KEY_MATCH_CONTENT_FRAME_RATE_NEVER); in setUp()
82 mAlwaysPreference.setKey(KEY_MATCH_CONTENT_FRAME_RATE_NON_SEAMLESS); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DManageStoragePreferenceControllerTest.java48 mPreference.setKey(mController.getPreferenceKey()); in handPreferenceTreeClick_keyMatched_consumeClickEvent()
55 mPreference.setKey("not_matched_key"); in handPreferenceTreeClick_keyNotMatched_notConsumeClickEvent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListChildFragment.java135 workPreferenceCategory.setKey(PREFERENCE_KEY_WORK_CATEGORY); in onRoleListChanged()
172 preference.setKey(role.getName()); in addPreferences()
219 preference.setKey(PREFERENCE_KEY_MORE_DEFAULT_APPS); in addMoreDefaultAppsPreference()
242 preference.setKey(PREFERENCE_KEY_MANAGE_DOMAIN_URLS); in addManageDomainUrlsPreference()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java197 newPref.setKey(Locale.getDefault().toString()); in createUserDictionaryPreference()
201 newPref.setKey(KEY_ALL_LANGUAGE); in createUserDictionaryPreference()
205 newPref.setKey(locale); in createUserDictionaryPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java291 sensorCard.setKey(BLOCKED_SENSOR_PREF_KEY); in createSensorCard()
314 preference.setKey(STORAGE_FOOTER_PREFERENCE_KEY); in addStorageFooterSeeAllFilesAccess()
410 empty.setKey(category.getKey() + KEY_EMPTY); in onPackagesLoaded()
455 pref.setKey(key); in onPackagesLoaded()
484 empty.setKey(STORAGE_ALLOWED_FULL + KEY_EMPTY); in onPackagesLoaded()
492 empty.setKey(STORAGE_ALLOWED_FULL + KEY_EMPTY); in onPackagesLoaded()
DAppPermissionGroupsFragment.java351 preference.setKey(groupName); in updatePreferences()
417 autoRevokeCategory.setKey(AUTO_REVOKE_CATEGORY_KEY); in addAutoRevokePreferences()
438 autoRevokeSwitch.setKey(AUTO_REVOKE_SWITCH_KEY); in addAutoRevokePreferences()
445 autoRevokeSummary.setKey(AUTO_REVOKE_SUMMARY_KEY); in addAutoRevokePreferences()
505 extraPerms.setKey(extraPerms.getTitle() + category); in setUpCustomPermissionsScreen()
519 empty.setKey(getString(stringId)); in setNoPermissionPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionAppsFragment.java191 showSystemAppPref.setKey(KEY_SHOW_SYSTEM_PREFS); in onPermissionsLoaded()
261 preference.setKey(app.getKey()); in updateCategories()
283 preference.setKey(KEY_NO_APPS_ALLOWED); in updateCategories()
296 preference.setKey(KEY_NO_APPS_DENIED); in updateCategories()
374 category.setKey(key); in findOrCreateCategory()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DHdrFormatSelectionFragment.java295 pref.setKey(KEY_HDR_FORMAT_PREFIX + hdrType); in createSupportedFormatPreference()
311 pref.setKey(KEY_HDR_FORMAT_PREFIX + hdrType); in createUnsupportedFormatPreference()
349 preferenceCategory.setKey(key); in createPreferenceCategory()
356 preference.setKey(key); in createPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoPermissionsUtils.java58 preference.setKey(appInfo.packageName); in createHeaderPreference()
68 preference.setKey(packageName); in createHeaderPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceControllerTest.java73 mTestPreference.setKey(preferenceKey); in TestPreferenceController()
80 setKey(preferenceKey); in TestPreference()

12345678910>>...16