Home
last modified time | relevance | path

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

123

/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipe.java45 bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText); in toBundle()
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage); in toBundle()
97 bundle.putString(Constants.RECIPE_FIELD_TITLE, titleText); in toBundle()
98 bundle.putString(Constants.RECIPE_FIELD_SUMMARY, summaryText); in toBundle()
99 bundle.putString(Constants.RECIPE_FIELD_IMAGE, recipeImage); in toBundle()
100 bundle.putString(Constants.RECIPE_FIELD_INGREDIENTS, ingredientsText); in toBundle()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java96 result.putString(AccountManager.KEY_ERROR_MESSAGE, "invalid authTokenType"); in getAuthToken()
108 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
109 result.putString(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in getAuthToken()
110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); in getAuthToken()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java279 .putString(MediaMetadata.METADATA_KEY_MEDIA_ID, id) in buildFromJSON()
280 .putString(CUSTOM_METADATA_TRACK_SOURCE, source) in buildFromJSON()
281 .putString(MediaMetadata.METADATA_KEY_ALBUM, album) in buildFromJSON()
282 .putString(MediaMetadata.METADATA_KEY_ARTIST, artist) in buildFromJSON()
284 .putString(MediaMetadata.METADATA_KEY_GENRE, genre) in buildFromJSON()
285 .putString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI, iconUrl) in buildFromJSON()
286 .putString(MediaMetadata.METADATA_KEY_TITLE, title) in buildFromJSON()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java251 settings.putString("EditBookmarksEnabled", "false"); in setChromeRestrictions()
252 settings.putString("IncognitoModeAvailability", "1"); in setChromeRestrictions()
253 settings.putString("ManagedBookmarks", in setChromeRestrictions()
256 settings.putString("DefaultSearchProviderEnabled", "true"); in setChromeRestrictions()
257 settings.putString("DefaultSearchProviderName", "\"LMGTFY\""); in setChromeRestrictions()
258 settings.putString("DefaultSearchProviderSearchURL", in setChromeRestrictions()
260 settings.putString("URLBlacklist", "[\"example.com\", \"example.org\"]"); in setChromeRestrictions()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java286 mCurrentRestrictions.putString(RESTRICTION_KEY_MESSAGE, message); in updateMessage()
300 mCurrentRestrictions.putString(RESTRICTION_KEY_RANK, selectedRank); in updateRank()
350 bundle.putString(RESTRICTION_KEY_ITEM_KEY, key); in convertToBundles()
351 bundle.putString(RESTRICTION_KEY_ITEM_VALUE, items.get(key)); in convertToBundles()
392 mCurrentRestrictions.putString(RESTRICTION_KEY_MESSAGE, message); in saveMessage()
394 editPreferences(activity).putString(RESTRICTION_KEY_MESSAGE, message).apply(); in saveMessage()
416 mCurrentRestrictions.putString(RESTRICTION_KEY_RANK, rank); in saveRank()
418 editPreferences(activity).putString(RESTRICTION_KEY_RANK, rank).apply(); in saveRank()
450 editPreferences(activity).putString(RESTRICTION_KEY_APPROVALS, in saveApprovals()
478 editPreferences(activity).putString(RESTRICTION_KEY_ITEMS, builder.toString()).apply(); in saveItems()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java100 .putString(Prefs.SERVER_ADDRESS, serverAddress.getText().toString()) in onCreate()
102 .putString(Prefs.SHARED_SECRET, sharedSecret.getText().toString()) in onCreate()
103 .putString(Prefs.PROXY_HOSTNAME, proxyHost.getText().toString()) in onCreate()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java108 args.putString(CardFragment.KEY_TITLE, "Row:" + rowNum); in newInstance()
109 args.putString(CardFragment.KEY_TEXT, "Col:" + colNum); in newInstance()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyInstrumentationEvent.java46 args.putString("class", mTestCaseName); in injectEvent()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageLogger.java43 .putString(LOG_KEY, prefs.getString(LOG_KEY, "") + LINE_BREAKS + message) in logMessage()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java40 args.putString(ARG_MESSAGE_STRING, message); in newInstance()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectGetter.java78 editor.putString("text", mText.getText().toString());
DPersistentState.java121 editor.putString("text", mSaved.getText().toString()); in onPause()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java68 bundle.putString(QUERY_KEY, query); in handleIntent()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java89 bundle.putString(KEY_TITLE, title); in showErrorMessageDialog()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DHistory.java56 mPrefs.edit().putString(mSharedPrefKey, TextUtils.join(SEPARATOR, items)).apply(); in save()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content); in buildWearableOnlyNotification()
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title); in buildWearableOnlyNotification()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java178 bundle.putString(BluetoothChat.DEVICE_NAME, device.getName()); in connected()
237 bundle.putString(BluetoothChat.TOAST, "Unable to connect device"); in connectionFailed()
252 bundle.putString(BluetoothChat.TOAST, "Device connection was lost"); in connectionLost()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java204 bundle.putString(Constants.DEVICE_NAME, device.getName()); in connected()
266 bundle.putString(Constants.TOAST, "Unable to connect device"); in connectionFailed()
285 bundle.putString(Constants.TOAST, "Device connection was lost"); in connectionLost()
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
DDragSourceFragment.java129 savedInstanceState.putString(IMAGE_URI, mLocalImageUri.toString()); in onSaveInstanceState()
165 extras.putString(EXTRA_IMAGE_INFO, in setUpDraggableImage()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java259 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
262 data.putString(TITLE, title); in toPutDataMapRequest()
266 data.putString(DESCRIPTION, description); in toPutDataMapRequest()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailFragment.java53 args.putString(IMAGE_DATA_EXTRA, imageUrl); in newInstance()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoFragment.java177 bundle.putString(PHOTO_URL_KEY, mURLString); in onSaveInstanceState()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day); in getViewAt()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmStorage.java77 editor.putString(String.valueOf(alarm.id), alarm.toJson()); in saveAlarm()

123