Home
last modified time | relevance | path

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

12345678910>>...14

/packages/apps/Settings/tests/robotests/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.java224 versionPreference.setKey(KEY_VERSION); in updatePrefs()
236 openPreference.setKey(KEY_OPEN); in updatePrefs()
255 mForceStopPreference.setKey(KEY_FORCE_STOP); in updatePrefs()
264 mUninstallPreference.setKey(KEY_UNINSTALL); in updatePrefs()
273 mEnableDisablePreference.setKey(KEY_ENABLE_DISABLE); in updatePrefs()
282 mAppStoragePreference.setKey(KEY_APP_STORAGE); in updatePrefs()
291 mClearDataPreference.setKey(KEY_CLEAR_DATA); in updatePrefs()
300 mClearCachePreference.setKey(KEY_CLEAR_CACHE); in updatePrefs()
309 mClearDefaultsPreference.setKey(KEY_CLEAR_DEFAULTS); in updatePrefs()
318 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/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java118 mPreference.setKey("pref_photos_videos"); in testClickPhotos()
136 mPreference.setKey("pref_music_audio"); in testClickAudio()
157 mPreference.setKey("pref_music_audio"); in handlePreferenceTreeClick_tappingAudioWhileUninitializedDoesntCrash()
163 mPreference.setKey("pref_other_apps"); in testClickApps()
182 mPreference.setKey("pref_other_apps"); in testClickAppsForWork()
210 mPreference.setKey("pref_other_apps"); in handlePreferenceTreeClick_tappingAppsWhileUninitializedDoesntCrash()
218 mPreference.setKey("pref_files"); in testClickFiles()
236 mPreference.setKey("pref_games"); in testClickGames()
254 mPreference.setKey("pref_movies"); in testClickMovies()
272 mPreference.setKey("pref_system"); in testClickSystem()
/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/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoPermissionAppsFragment.java151 allowed.setKey(KEY_ALLOWED_PERMISSIONS_GROUP); in bindUi()
157 foreground.setKey(KEY_ALLOWED_FOREGROUND_PERMISSIONS_GROUP); in bindUi()
163 denied.setKey(KEY_DENIED_PERMISSIONS_GROUP); in bindUi()
271 pref.setKey(key); in onPermissionsLoaded()
DAutoAppPermissionsFragment.java136 allowed.setKey(KEY_ALLOWED_PERMISSIONS_GROUP); in bindUi()
141 denied.setKey(KEY_DENIED_PERMISSIONS_GROUP); in bindUi()
245 preference.setKey(group.getName()); in createPermissionPreference()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppListChildFragment.java133 workPreferenceCategory.setKey(PREFERENCE_KEY_WORK_CATEGORY); in onRoleListChanged()
169 preference.setKey(role.getName()); in addPreferences()
216 preference.setKey(PREFERENCE_KEY_MORE_DEFAULT_APPS); in addMoreDefaultAppsPreference()
239 preference.setKey(PREFERENCE_KEY_MANAGE_DOMAIN_URLS); in addManageDomainUrlsPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java98 mPreferenceCategory.setKey(mDetailsFunctionsController.getPreferenceKey()); in setUp()
231 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_RNDIS)); in onRadioButtonClicked_functionRndis_startTetheringInvoked()
244 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in onRadioButtonClicked_functionOther_setCurrentFunctionInvoked()
256 mRadioButtonPreference.setKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in onRadioButtonClicked_clickSameButton_doNothing()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundPreferenceControllerTest.java227 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_correctPref()
245 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_alarmSound()
266 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_ringtoneSound()
287 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_otherSound()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/search/
DSearchData.java50 .setKey(split[1]) in from()
94 public SearchData.Builder setKey(String key) { in setKey() method in SearchData.Builder
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceControllerTest.java73 mTestPreference.setKey(preferenceKey); in TestPreferenceController()
80 setKey(preferenceKey); in TestPreference()
/packages/apps/Settings/src/com/android/settings/notification/
DAppNotificationSettings.java170 groupCategory.setKey(KEY_GENERAL_CATEGORY); in populateList()
194 groupCategory.setKey(KEY_GENERAL_CATEGORY); in populateGroupList()
197 groupCategory.setKey(group.getId()); in populateGroupList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DUseOpenWifiPreferenceControllerTest.java162 pref.setKey(mController.getPreferenceKey()); in onPreferenceChange_notAvailable_shouldDoNothing()
173 pref.setKey(mController.getPreferenceKey()); in onPreferenceChange_matchingKeyAndAvailable_enableShouldStartEnableActivity()
192 pref.setKey(mController.getPreferenceKey()); in onPreferenceChange_matchingKeyAndAvailable_disableShouldUpdateSetting()
DNotifyOpenNetworkPreferenceControllerTest.java69 pref.setKey(mController.getPreferenceKey()); in handlePreferenceTreeClick_nonMatchingType_shouldDoNothing()
78 pref.setKey(mController.getPreferenceKey()); in handlePreferenceTreeClick_matchingKeyAndType_shouldUpdateSetting()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAppNotificationSettings.java169 groupCategory.setKey(KEY_GENERAL_CATEGORY); in populateList()
193 groupCategory.setKey(KEY_GENERAL_CATEGORY); in populateGroupList()
196 groupCategory.setKey(group.getId()); in populateGroupList()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java104 mDefaultLanguagePreference.setKey(mContext.getString(R.string.pk_tts_default_language)); in setUp()
108 mSpeechRatePreference.setKey(mContext.getString(R.string.pk_tts_speech_rate)); in setUp()
112 mVoicePitchPreference.setKey(mContext.getString(R.string.pk_tts_pitch)); in setUp()
116 mResetPreference.setKey(mContext.getString(R.string.pk_tts_reset)); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java237 setKey(makeKey(volumeInfo)); in VolPreference()
272 setKey(makeKey(volumeRecord)); in MissingPreference()
287 setKey(makeKey(info)); in UnsupportedDiskPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceControllerTest.java79 mPreference.setKey(KEY_OPTIMIZATION); in testHandlePreferenceTreeClick_OptimizationPreference_HandleClick()
89 mPreference.setKey(KEY_OTHER); in testHandlePreferenceTreeClick_OtherPreference_NotHandleClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DSecurityPatchLevelPreferenceControllerTest.java88 pref.setKey(mController.getPreferenceKey()); in onClick_noActivityIntent_shouldDoNothing()
104 pref.setKey(mController.getPreferenceKey()); in onClick_activityIntentFound_shouldStartActivity()

12345678910>>...14