/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 46 .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/ |
D | AppManagementFragment.java | 224 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/ |
D | AutoTimeFormatPreferenceControllerTest.java | 62 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()
|
D | TimeFormatPreferenceControllerTest.java | 75 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()
|
D | TimePreferenceControllerTest.java | 86 mPreference.setKey("fake_key"); in clickPreference_showTimePicker() 90 mPreference.setKey(mController.getPreferenceKey()); in clickPreference_showTimePicker()
|
D | DatePreferenceControllerTest.java | 96 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/ |
D | StorageItemPreferenceControllerTest.java | 118 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/ |
D | KeyValueRow.java | 66 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/ |
D | AutoPermissionAppsFragment.java | 151 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()
|
D | AutoAppPermissionsFragment.java | 136 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/ |
D | DefaultAppListChildFragment.java | 133 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/ |
D | UsbDetailsFunctionsControllerTest.java | 98 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/ |
D | UserDictionaryListPreferenceController.java | 197 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/ |
D | UserDictionaryListPreferenceController.java | 197 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/ |
D | SoundPreferenceControllerTest.java | 227 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/ |
D | SearchData.java | 50 .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/ |
D | BaseTimeZonePreferenceControllerTest.java | 73 mTestPreference.setKey(preferenceKey); in TestPreferenceController() 80 setKey(preferenceKey); in TestPreference()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AppNotificationSettings.java | 170 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/ |
D | UseOpenWifiPreferenceControllerTest.java | 162 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()
|
D | NotifyOpenNetworkPreferenceControllerTest.java | 69 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/ |
D | AppNotificationSettings.java | 169 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/ |
D | TtsPlaybackPreferenceControllerTest.java | 104 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/ |
D | StorageSummaryFragment.java | 237 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/ |
D | BatteryOptimizationPreferenceControllerTest.java | 79 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/ |
D | SecurityPatchLevelPreferenceControllerTest.java | 88 pref.setKey(mController.getPreferenceKey()); in onClick_noActivityIntent_shouldDoNothing() 104 pref.setKey(mController.getPreferenceKey()); in onClick_activityIntentFound_shouldStartActivity()
|