Home
last modified time | relevance | path

Searched refs:putString (Results 1 – 25 of 997) sorted by relevance

12345678910>>...40

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
109 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
110 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
111 bundle.putString(META_DATA_PREFERENCE_TITLE_URI, TEST_CONTENT_PROVIDER); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
112 bundle.putString(META_DATA_PREFERENCE_SUMMARY_URI, TEST_CONTENT_PROVIDER); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
113 bundle.putString(META_DATA_PREFERENCE_ICON_URI, TEST_CONTENT_PROVIDER); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
133 bundle1.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE1); in testLoadPreference_sortPreferences_byMetadata()
134 bundle1.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byMetadata()
141 bundle2.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE2); in testLoadPreference_sortPreferences_byMetadata()
142 bundle2.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byMetadata()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.java87 editor.putString(NoBackupKeys.KEY_HOME_WALLPAPER_BASE_IMAGE_URL, in upgradePrefs()
95 editor.putString(NoBackupKeys.KEY_HOME_WALLPAPER_REMOTE_ID, in upgradePrefs()
100 editor.putString(NoBackupKeys.KEY_HOME_WALLPAPER_BACKING_FILE, in upgradePrefs()
109 editor.putString(NoBackupKeys.KEY_LOCK_WALLPAPER_BACKING_FILE, in upgradePrefs()
113 editor.putString(NoBackupKeys.KEY_DAILY_ROTATION_TIMESTAMPS, in upgradePrefs()
160 editor.putString(NoBackupKeys.KEY_HOME_WALLPAPER_SERVICE_NAME, in upgradePrefs()
177 mSharedPrefs.edit().putString(key, getResName(resId)).apply(); in persistResIdByName()
212 editor.putString(WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_ATTRIB_1, in setHomeWallpaperAttributions()
216 editor.putString(WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_ATTRIB_2, in setHomeWallpaperAttributions()
220 editor.putString(WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_ATTRIB_3, in setHomeWallpaperAttributions()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DTestMetadata.java34 data.putString(ExifInterface.TAG_DATETIME, "Jan 01, 1970, 12:16 AM"); in populateExifData()
35 data.putString(ExifInterface.TAG_GPS_LATITUDE, "33/1,59/1,4530/100"); in populateExifData()
36 data.putString(ExifInterface.TAG_GPS_LONGITUDE, "118/1,28/1,3124/100"); in populateExifData()
37 data.putString(ExifInterface.TAG_GPS_LATITUDE_REF, "N"); in populateExifData()
38 data.putString(ExifInterface.TAG_GPS_LONGITUDE_REF, "W"); in populateExifData()
40 data.putString(ExifInterface.TAG_MAKE, "Google"); in populateExifData()
41 data.putString(ExifInterface.TAG_MODEL, "Pixel"); in populateExifData()
63 data.putString(MediaMetadata.METADATA_KEY_ARTIST, "artist"); in populateAudioData()
64 data.putString(MediaMetadata.METADATA_KEY_COMPOSER, "composer"); in populateAudioData()
65 data.putString(MediaMetadata.METADATA_KEY_ALBUM, "album"); in populateAudioData()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java78 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources()
79 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_stringResources_shouldLoadResources()
80 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_stringResources_shouldLoadResources()
108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_metadataBundleIsValue()
109 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_metadataBundleIsValue()
110 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_metadataBundleIsValue()
184 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noDefaultSummary()
185 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_noDefaultSummary()
212 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
213 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/
DNumberingSystemItemControllerTest.java78 bundle.putString(RegionalPreferencesEntriesFragment.ARG_KEY_REGIONAL_PREFERENCE, in handlePreferenceTreeClick_languageSelect_launchFragment()
80 bundle.putString( in handlePreferenceTreeClick_languageSelect_launchFragment()
103 bundle.putString(RegionalPreferencesEntriesFragment.ARG_KEY_REGIONAL_PREFERENCE, in handlePreferenceTreeClick_numbersSelect_preferenceHasTick()
105 bundle.putString( in handlePreferenceTreeClick_numbersSelect_preferenceHasTick()
124 bundle.putString(RegionalPreferencesEntriesFragment.ARG_KEY_REGIONAL_PREFERENCE, in handlePreferenceTreeClick_numbersSelect_numberingSystemIsUpdated()
126 bundle.putString( in handlePreferenceTreeClick_numbersSelect_numberingSystemIsUpdated()
149 bundle.putString(RegionalPreferencesEntriesFragment.ARG_KEY_REGIONAL_PREFERENCE, in displayPreference_languageOptAndHas2LocaleWithSingleNu_showNothing()
151 bundle.putString( in displayPreference_languageOptAndHas2LocaleWithSingleNu_showNothing()
167 bundle.putString(RegionalPreferencesEntriesFragment.ARG_KEY_REGIONAL_PREFERENCE, in displayPreference_languageOptAndHas2LocaleWithMultiNu_showLocaleWithMultiNuOnly()
169 bundle.putString( in displayPreference_languageOptAndHas2LocaleWithMultiNu_showLocaleWithMultiNuOnly()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java1149 bundleShort.putString( in buildIntentWithAllShortExtras()
1180 bundleLong.putString(EXTRA_PROVISIONING_DISCLAIMER_HEADER, TEST_DISCLAMER_HEADER); in buildIntentWithAllLongExtras()
1261 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_SSID, TEST_SSID); in getTestWifiInfoExtras()
1262 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, TEST_SECURITY_TYPE); in getTestWifiInfoExtras()
1263 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, TEST_PASSWORD); in getTestWifiInfoExtras()
1264 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, TEST_PROXY_HOST); in getTestWifiInfoExtras()
1265 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_PROXY_BYPASS, TEST_PROXY_BYPASS_HOSTS); in getTestWifiInfoExtras()
1266 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_PAC_URL, TEST_PAC_URL); in getTestWifiInfoExtras()
1274 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_SSID, TEST_SSID); in getAllTestWifiInfoExtras()
1275 wifiInfoExtras.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, TEST_SECURITY_TYPE); in getAllTestWifiInfoExtras()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java143 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, ssid); in toPersistableBundle()
145 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, securityType); in toPersistableBundle()
146 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, password); in toPersistableBundle()
147 bundle.putString(EXTRA_PROVISIONING_WIFI_EAP_METHOD, eapMethod); in toPersistableBundle()
148 bundle.putString(EXTRA_PROVISIONING_WIFI_PHASE2_AUTH, phase2Auth); in toPersistableBundle()
149 bundle.putString(EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE, caCertificate); in toPersistableBundle()
150 bundle.putString(EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE, userCertificate); in toPersistableBundle()
151 bundle.putString(EXTRA_PROVISIONING_WIFI_IDENTITY, identity); in toPersistableBundle()
152 bundle.putString(EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY, anonymousIdentity); in toPersistableBundle()
153 bundle.putString(EXTRA_PROVISIONING_WIFI_DOMAIN, domain); in toPersistableBundle()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
DVoiceInputUtilsTest.java42 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_nullInteraction_nullRecognition_returnsNull()
44 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_nullInteraction_nullRecognition_returnsNull()
51 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_emptyInteraction_emptyRecognition_returnsNull()
53 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_emptyInteraction_emptyRecognition_returnsNull()
62 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_hasInteraction_returnsInteraction()
64 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_hasInteraction_returnsInteraction()
72 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_noInteraction_hasRecognition_returnsRecogntion()
74 Settings.Secure.putString(mContext.getContentResolver(), in getCurrentService_noInteraction_hasRecognition_returnsRecogntion()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountDetailDashboardFragmentTest.java109 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay()
110 mActivityInfo.metaData.putString(METADATA_ACCOUNT_TYPE, "com.abc"); in refreshDashboardTiles_HasAccountType_shouldDisplay()
118 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay()
126 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_OtherAccountType_shouldNotDisplay()
127 mActivityInfo.metaData.putString(METADATA_ACCOUNT_TYPE, "com.other"); in refreshDashboardTiles_OtherAccountType_shouldNotDisplay()
142 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
143 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
144 mActivityInfo.metaData.putString(METADATA_ACCOUNT_TYPE, "com.abc"); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
145 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_TITLE, "summary"); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
146 mActivityInfo.metaData.putString("com.android.settings.intent.action", in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/wm/
DBarControlPolicyTest.java65 Settings.Global.putString( in reloadFromSetting_invalidPolicyControlString_doesNotSetFilters()
79 Settings.Global.putString( in reloadFromSetting_validPolicyControlString_setsFilters()
93 Settings.Global.putString( in reloadFromSetting_filtersSet_doesNotSetFiltersAgain()
114 Settings.Global.putString( in getBarVisibilities_immersiveStatusForAppAndMatchingApp_hidesStatusBar()
128 Settings.Global.putString( in getBarVisibilities_immersiveStatusForAppAndNonMatchingApp_showsSystemBars()
142 Settings.Global.putString( in getBarVisibilities_immersiveStatusForAppsAndNonApp_showsSystemBars()
156 Settings.Global.putString( in getBarVisibilities_immersiveFullForAppAndMatchingApp_hidesSystemBars()
170 Settings.Global.putString( in getBarVisibilities_immersiveFullForAppAndNonMatchingApp_showsSystemBars()
184 Settings.Global.putString( in getBarVisibilities_immersiveFullForAppsAndNonApp_showsSystemBars()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessDownloadedMmsAction.java112 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloaded()
120 params.putString(KEY_SUB_PHONE_NUMBER, in processMessageDownloaded()
122 params.putString(KEY_TRANSACTION_ID, in processMessageDownloaded()
124 params.putString(KEY_CONTENT_LOCATION, in processMessageDownloaded()
130 params.putString(KEY_CONVERSATION_ID, conversationId); in processMessageDownloaded()
131 params.putString(KEY_PARTICIPANT_ID, participantId); in processMessageDownloaded()
152 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloadFastFailed()
156 params.putString(KEY_SUB_PHONE_NUMBER, subPhoneNumber); in processMessageDownloadFastFailed()
157 params.putString(KEY_CONTENT_LOCATION, contentLocation); in processMessageDownloadFastFailed()
159 params.putString(KEY_CONVERSATION_ID, conversationId); in processMessageDownloadFastFailed()
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DMediaPlayerBrowserService.kt163 … .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, NOW_PLAYING_PREFIX + NEW_QUEUE_ITEM_INDEX) in updateQueue()
164 .putString(MediaMetadataCompat.METADATA_KEY_TITLE, "Title" + NEW_QUEUE_ITEM_INDEX) in updateQueue()
165 .putString(MediaMetadataCompat.METADATA_KEY_ARTIST, "Artist" + NEW_QUEUE_ITEM_INDEX) in updateQueue()
166 .putString(MediaMetadataCompat.METADATA_KEY_ALBUM, "Album" + NEW_QUEUE_ITEM_INDEX) in updateQueue()
248 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, NOW_PLAYING_PREFIX + item) in initMediaItems()
249 .putString(MediaMetadataCompat.METADATA_KEY_TITLE, "Title$item") in initMediaItems()
250 .putString( in initMediaItems()
254 .putString( in initMediaItems()
280 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, EMPTY_FOLDER) in initBrowseFolderList()
281 .putString(MediaMetadataCompat.METADATA_KEY_TITLE, EMPTY_FOLDER) in initBrowseFolderList()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java85 extras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testCsPutExtras()
161 newExtras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testCsPutStringExtra()
187 newExtras.putString(EXTRA_KEY_STR2, EXTRA_VALUE_STR); in testCsRemoveExtra()
188 newExtras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testCsRemoveExtra()
221 extras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testCsUpdateExisting()
231 newExtras.putString(EXTRA_KEY_STR, EXTRA_VALUE2_STR); in testCsUpdateExisting()
260 extras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testCsSetExtras()
270 extras.putString(EXTRA_KEY_STR2, EXTRA_VALUE2_STR); in testCsSetExtras()
293 extras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testICSPutExtras()
328 someExtras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); in testExtrasBidirectional()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java154 bundle.putString(BackendConstants.PARAM_ERROR_MESSAGES, getStringifiedBlockedReasons()); in cancel()
305 bundle.putString( in handleJobStatus()
311 bundle.putString( in handleJobStatus()
321 bundle.putString( in handleJobStatus()
412 bundle.putString(BackendConstants.PARAM_JOB_ID, mPrintJob.getId().toString()); in getJobCompletedAnalyticsBundle()
415 bundle.putString(BackendConstants.PARAM_LOCATION, "United States"); in getJobCompletedAnalyticsBundle()
417 bundle.putString(BackendConstants.PARAM_USER_ID, "userid"); in getJobCompletedAnalyticsBundle()
418 bundle.putString(BackendConstants.PARAM_RESULT, result); in getJobCompletedAnalyticsBundle()
431 bundle.putString(BackendConstants.PARAM_JOB_ID, mPrintJob.getId().toString()); in getJobAttemptedAnalyticsBundle()
434 bundle.putString(BackendConstants.PARAM_LOCATION, "United States"); in getJobAttemptedAnalyticsBundle()
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/storage/
DAbstractSetupParametersTestBase.java56 bundle.putString(EXTRA_KIOSK_PACKAGE, KIOSK_PACKAGE); in createParamsBundle()
57 bundle.putString(EXTRA_KIOSK_SETUP_ACTIVITY, SETUP_ACTIVITY); in createParamsBundle()
68 bundle.putString(EXTRA_KIOSK_APP_PROVIDER_NAME, KIOSK_APP_PROVIDER_NAME); in createParamsBundle()
71 bundle.putString(EXTRA_TERMS_AND_CONDITIONS_URL, TERMS_AND_CONDITIONS_URL); in createParamsBundle()
72 bundle.putString(EXTRA_SUPPORT_URL, SUPPORT_URL); in createParamsBundle()
78 bundle.putString(EXTRA_KIOSK_PACKAGE, KIOSK_OVERRIDE_PACKAGE); in createParamsOverrideBundle()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMetadataTest.java139 .putString(MediaMetadata.METADATA_KEY_MEDIA_ID, SONG_MEDIA_ID) in getMediaMetadata()
140 .putString(MediaMetadata.METADATA_KEY_TITLE, SONG_TITLE) in getMediaMetadata()
141 .putString(MediaMetadata.METADATA_KEY_ARTIST, SONG_ARTIST) in getMediaMetadata()
142 .putString(MediaMetadata.METADATA_KEY_ALBUM, SONG_ALBUM) in getMediaMetadata()
145 .putString(MediaMetadata.METADATA_KEY_GENRE, SONG_GENRE) in getMediaMetadata()
152 .putString(MediaMetadata.METADATA_KEY_MEDIA_ID, SONG_MEDIA_ID) in getMediaMetadataWithBitmap()
153 .putString(MediaMetadata.METADATA_KEY_TITLE, SONG_TITLE) in getMediaMetadataWithBitmap()
154 .putString(MediaMetadata.METADATA_KEY_ARTIST, SONG_ARTIST) in getMediaMetadataWithBitmap()
155 .putString(MediaMetadata.METADATA_KEY_ALBUM, SONG_ALBUM) in getMediaMetadataWithBitmap()
158 .putString(MediaMetadata.METADATA_KEY_GENRE, SONG_GENRE) in getMediaMetadataWithBitmap()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java636 Settings.Global.putString(context.getContentResolver(), CAPTIVE_PORTAL_HTTP_URL, url); in setCaptivePortalHttpUrl()
711 Settings.Global.putString(context.getContentResolver(), GLOBAL_HTTP_PROXY_HOST, host); in setGlobalProxy()
713 Settings.Global.putString( in setGlobalProxy()
715 Settings.Global.putString( in setGlobalProxy()
718 Settings.Global.putString( in setGlobalProxy()
720 Settings.Global.putString( in setGlobalProxy()
724 Settings.Global.putString( in setGlobalProxy()
735 Settings.Global.putString( in clearGlobalProxy()
739 Settings.Global.putString( in clearGlobalProxy()
741 Settings.Global.putString( in clearGlobalProxy()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DDatabaseUtilsTest.java142 args.putString(QUERY_ARG_SQL_GROUP_BY, "raw"); in testResolveQueryArgs_GroupBy()
152 args.putString(QUERY_ARG_SQL_GROUP_BY, "raw"); in testResolveQueryArgs_GroupBy_Raw()
172 args.putString(QUERY_ARG_SORT_LOCALE, "zh"); in testResolveQueryArgs_SortOrder_Locale()
175 args.putString(QUERY_ARG_SQL_SORT_ORDER, "raw"); in testResolveQueryArgs_SortOrder_Locale()
188 args.putString(QUERY_ARG_SQL_SORT_ORDER, "raw"); in testResolveQueryArgs_SortOrder_Raw()
199 args.putString(QUERY_ARG_SQL_LIMIT, "raw"); in testResolveQueryArgs_Limit()
210 args.putString(QUERY_ARG_SQL_LIMIT, "raw"); in testResolveQueryArgs_Limit_Raw()
229 args.putString(QUERY_ARG_SQL_LIMIT, "32"); in testRecoverAbusiveLimit_Args()
239 args.putString(QUERY_ARG_SQL_LIMIT, "32"); in testRecoverAbusiveLimit_Both()
343 args.putString(QUERY_ARG_SQL_SORT_ORDER, "_id DESC LIMIT 200"); in testRecoverAbusiveSortOrder_146482076()
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java41 one.putString("a", "a"); in testDeepEquals_self()
48 one.putString("a", "a"); in testDeepEquals_simple()
51 two.putString("a", "a"); in testDeepEquals_simple()
60 one.putString("a", "a"); in testDeepEquals_keyMismatch()
63 two.putString("a", "a"); in testDeepEquals_keyMismatch()
64 two.putString("b", "b"); in testDeepEquals_keyMismatch()
95 one.putString("a", "a"); in testDeepEquals_nestedNotEquals()
209 b.putString("key" + i, "value"); in testDeepHashCode_differentKeys()
229 toy1.putString("a", "a"); in createThoroughBundle()
243 b.putString("string", "b"); in createThoroughBundle()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java105 data.putString(AlbumSetPage.KEY_MEDIA_PATH, in startDefaultPage()
121 data.putString(AlbumSetPage.KEY_MEDIA_PATH, in startGetContent()
154 data.putString(SlideshowPage.KEY_SET_PATH, path.toString()); in startViewAction()
175 data.putString(AlbumSetPage.KEY_MEDIA_PATH, in startViewAction()
193 data.putString(AlbumPage.KEY_MEDIA_PATH, setPath.toString()); in startViewAction()
194 data.putString(AlbumPage.KEY_PARENT_MEDIA_PATH, in startViewAction()
198 data.putString(AlbumSetPage.KEY_MEDIA_PATH, setPath.toString()); in startViewAction()
208 data.putString(PhotoPage.KEY_MEDIA_ITEM_PATH, itemPath.toString()); in startViewAction()
216 data.putString(PhotoPage.KEY_MEDIA_SET_PATH, albumPath.toString()); in startViewAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java147 mSwitchMetaData.putString(META_DATA_PREFERENCE_KEYHINT, KEY); in setUp()
148 mSwitchMetaData.putString(META_DATA_PREFERENCE_SWITCH_URI, SWITCH_URI); in setUp()
170 mActivityInfo.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI"); in bindPreference_shouldBindAllData()
211 metaData.putString(META_DATA_PREFERENCE_KEYHINT, KEY); in bindPreference_providerTileWithPendingIntent_shouldBindIntent()
333 mActivityInfo.metaData.putString(TileUtils.META_DATA_PREFERENCE_SUMMARY_URI, uriString); in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver()
353 mActivityInfo.metaData.putString(TileUtils.META_DATA_PREFERENCE_TITLE_URI, uriString); in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver()
434 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in bindPreference_withNullKeyTileKey_shouldUseTileKey()
447 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
465 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in bindIcon_withIconUri_shouldLoadIconFromContentProvider()
466 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_ICON_URI, in bindIcon_withIconUri_shouldLoadIconFromContentProvider()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesContentProvider.java150 bundle.putString(KEY_DEFAULT_MODE, getModeIdentifier(defaultMode)); in getEnergyModes()
151 bundle.putString(KEY_SELECTED_MODE, getModeIdentifier(currentMode)); in getEnergyModes()
201 bundle.putString(KEY_IDENTIFIER, getModeIdentifier(mode)); in convertEnergyModeToBundle()
204 bundle.putString(KEY_TITLE, context.getString(mode.titleRes)); in convertEnergyModeToBundle()
205 bundle.putString(KEY_SUBTITLE, context.getString(mode.subtitleRes)); in convertEnergyModeToBundle()
206 bundle.putString(KEY_DESCRIPTION, context.getString(mode.infoTextRes)); in convertEnergyModeToBundle()
207 bundle.putString(KEY_SHORT_DESCRIPTION, context.getString(mode.infoTextRes)); in convertEnergyModeToBundle()
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/
DLaunchSettingsTest.java147 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "max"), in putResultToBundle()
149 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "min"), in putResultToBundle()
151 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "avg"), in putResultToBundle()
153 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "25 Percentile"), in putResultToBundle()
155 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "50 Percentile"), in putResultToBundle()
157 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "75 Percentile"), in putResultToBundle()
159 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "all_results"), in putResultToBundle()
161 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "results_count"), in putResultToBundle()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DProvisioningConfiguration.java91 bundle.putString(EXTRA_KIOSK_PACKAGE, mKioskAppPackageName); in toBundle()
92 bundle.putString(EXTRA_KIOSK_SETUP_ACTIVITY, mKioskAppMainActivity); in toBundle()
98 bundle.putString(EXTRA_KIOSK_APP_PROVIDER_NAME, mKioskAppProviderName); in toBundle()
101 bundle.putString(EXTRA_TERMS_AND_CONDITIONS_URL, mTermsAndConditionsUrl); in toBundle()
102 bundle.putString(EXTRA_SUPPORT_URL, mSupportUrl); in toBundle()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDemoProvider.java59 extras.putString( in queryDocument()
75 extras.putString(DocumentsContract.EXTRA_INFO, MSG_INFO); in queryChildDocuments()
84 extras.putString(DocumentsContract.EXTRA_ERROR, MSG_ERROR); in queryChildDocuments()
88 extras.putString(DocumentsContract.EXTRA_INFO, MSG_INFO); in queryChildDocuments()
89 extras.putString(DocumentsContract.EXTRA_ERROR, MSG_ERROR_AND_INFO); in queryChildDocuments()

12345678910>>...40