Home
last modified time | relevance | path

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

123456

/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DDeqpInstrumentation.java151 info.putString("Exception", e.getMessage()); in onStart()
172 info.putString("dEQP-EventType", "TestCaseResult"); in testCaseResult()
173 info.putString("dEQP-TestCaseResult-Code", code); in testCaseResult()
174 info.putString("dEQP-TestCaseResult-Details", details); in testCaseResult()
183 info.putString("dEQP-EventType", "BeginTestCase"); in beginTestCase()
184 info.putString("dEQP-BeginTestCase-TestCasePath", testCase); in beginTestCase()
193 info.putString("dEQP-EventType", "EndTestCase"); in endTestCase()
220 info.putString("dEQP-EventType", "TestLogData"); in testLogData()
221 info.putString("dEQP-TestLogData-Log", message); in testLogData()
236 info.putString("dEQP-EventType", "BeginSession"); in beginSession()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaButtonCallback.java37 msg.putString("ButtonPressed", "Play"); in handleKeyEvent()
39 msg.putString("ButtonPressed", "Pause"); in handleKeyEvent()
41 msg.putString("ButtonPressed", "PlayPause"); in handleKeyEvent()
43 msg.putString("ButtonPressed", "Stop"); in handleKeyEvent()
45 msg.putString("ButtonPressed", "Next"); in handleKeyEvent()
47 msg.putString("ButtonPressed", "Previous"); in handleKeyEvent()
49 msg.putString("ButtonPressed", "Forward"); in handleKeyEvent()
51 msg.putString("ButtonPressed", "Rewind"); in handleKeyEvent()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java378 actionParameters.putString(KEY_RECIPIENTS, toPhoneNumber); in smsSendMultimediaMessage()
379 actionParameters.putString(KEY_SUBJECT_TEXT, subject); in smsSendMultimediaMessage()
412 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); in smsSendTextMessage()
427 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); in smsSendTextMessage()
508 event.putString("ResultCode", Integer.toString(resultCode)); in onReceive()
510 event.putString("Type", "SmsDeliverStatus"); in onReceive()
527 event.putString("Type", "SmsSentSuccess"); in onReceive()
528 event.putString("ResultString", "RESULT_OK"); in onReceive()
537 event.putString("ResultString", resultString); in onReceive()
540 event.putString("Type", "SmsSentFailure"); in onReceive()
[all …]
/external/deqp/android/package/src/com/drawelements/deqp/platformutil/
DDeqpPlatformCapabilityQueryInstrumentation.java68 resultInfo.putString("Error", "unknown query"); in onStart()
69 resultInfo.putString("QueryType", m_queryType); in onStart()
70 resultInfo.putString("CmdLine", m_cmdLine); in onStart()
77 resultInfo.putString("Error", e.getMessage()); in onStart()
94 resultInfo.putString("Supported", "Yes"); in doRenderConfigSupportedQuery()
100 resultInfo.putString("Supported", "No"); in doRenderConfigSupportedQuery()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java45 editor.putString("string", "foobar"); in setUp()
74 anotherSharedPreferences.edit().putString("string", "value for key").commit(); in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit()
89 editor.putString("deleteMe", "foo").commit(); in commit_shouldRemoveValuesThenSetValues()
93 editor.putString("dontDeleteMe", "baz"); in commit_shouldRemoveValuesThenSetValues()
111 editor.putString("deleteMe", "foo"); in commit_shouldClearThenSetValues()
114 editor.putString("dontDeleteMe", "baz"); in commit_shouldClearThenSetValues()
132 editor.putString("deleteMe", "foo"); in putString_shouldRemovePairIfValueIsNull()
134 editor.putString("deleteMe", null); in putString_shouldRemovePairIfValueIsNull()
178 anotherSharedPreferences.edit().putString("key", "value"); in shouldRemoveRegisteredListenersOnUnresgister()
197 anotherSharedPreferences.edit().putString(testKey, "bar").commit(); in shouldTriggerRegisteredListeners()
[all …]
DShadowSettingsTest.java39 Settings.System.putString(contentResolver, "property", "11"); in testSystemGetInt()
51 Settings.Secure.putString(contentResolver, "property", "11"); in testSecureGetInt()
64 Settings.Global.putString(contentResolver, "property", "11"); in testGlobalGetInt()
72 Settings.System.putString(contentResolver, "property", "value"); in testSystemGetString()
92 Settings.System.putString(contentResolver, "property", "11"); in testSystemGetLong()
102 Settings.System.putString(contentResolver, "property", "11.2"); in testSystemGetFloat()
DShadowVisualVoicemailSmsTest.java55 bundle.putString("key", "value"); in setFields_setsFields()
71 bundle.putString("key", "value"); in parcelable_unparcelable()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java91 msg.putString("reason", "P2P_UNSUPPORTED"); in onFailure()
93 msg.putString("reason", "ERROR"); in onFailure()
95 msg.putString("reason", "BUSY"); in onFailure()
97 msg.putString("reason", "NO_SERVICE_REQUESTS"); in onFailure()
126 msg.putString("groupOwnerHostName", hostName); in onConnectionInfoAvailable()
127 msg.putString("groupOwnerHostAddress", hostAddress); in onConnectionInfoAvailable()
146 msg.putString("InstanceName", instanceName); in onDnsSdServiceAvailable()
147 msg.putString("RegistrationType", registrationType); in onDnsSdServiceAvailable()
148 msg.putString("SourceDeviceName", srcDevice.deviceName); in onDnsSdServiceAvailable()
149 msg.putString("SourceDeviceAddress", srcDevice.deviceAddress); in onDnsSdServiceAvailable()
[all …]
DWifiScannerFacade.java108 mResults.putString("Type", "onSuccess"); in onSuccess()
118 mResults.putString("Type", "onFailure"); in onFailure()
121 mResults.putString("Description", description); in onFailure()
130 mResults.putString("Type", type); in reportResult()
201 mScanResults.putString("Type", "onPeriodChanged"); in onPeriodChanged()
220 mScanData.putString("Type", "onResults"); in onResults()
/external/angle/src/android_system_settings/src/com/android/angle/common/
DGlobalSettings.java53 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
55 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
60 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
114 Settings.Global.putString(contentResolver, in updateAngleAllowlist()
214 Settings.Global.putString(contentResolver, in writeGlobalSettings()
216 Settings.Global.putString(contentResolver, in writeGlobalSettings()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSettings.java48 return putString(cr, name, value); in putStringForUser()
57 protected static boolean putString(ContentResolver cr, String name, String value) { in putString() method in ShadowSettings.ShadowSystem
89 return putString(cr, name, value); in putStringForUser()
98 protected static boolean putString(ContentResolver cr, String name, String value) { in putString() method in ShadowSettings.ShadowSecure
145 return Settings.Secure.putString( in updateEnabledProviders()
224 return putString(cr, name, value); in putStringForUser()
233 protected static boolean putString(ContentResolver cr, String name, String value) { in putString() method in ShadowSettings.ShadowGlobal
263 protected static boolean putString(ContentResolver cr, String name, String value) { in putString() method in ShadowSettings.ShadowConfig
337 …Settings.System.putString(RuntimeEnvironment.application.getContentResolver(), Settings.System.TIM… in set24HourTimeFormat()
DShadowAccountManager.java321 pendingAddFuture.resultBundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
386 resultBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType);
392 resultBundle.putString(AccountManager.KEY_ACCOUNT_NAME, "some_user@gmail.com");
490 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
491 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
492 result.putString(AccountManager.KEY_AUTHTOKEN, authToken);
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DLayoutBindBackHelper.java33 bundle.putString("screenName", getScreenName(activity)); in getExtraBundle()
34 bundle.putString("intentAction", activity.getIntent().getAction()); in getExtraBundle()
/external/guava/guava-tests/test/com/google/common/hash/
DMacHashFunctionTest.java103 .putString("hello", UTF_8) in testMultipleUpdates()
104 .putString("world", UTF_8) in testMultipleUpdates()
118 .putString("hello", UTF_8) in testMultipleUpdatesDoFinal()
119 .putString("world", UTF_8) in testMultipleUpdatesDoFinal()
120 .putString("!!!", UTF_8) in testMultipleUpdatesDoFinal()
226 hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString()); in testPutAfterHash()
239 hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString()); in testHashTwice()
DSipHashFunctionTest.java169 assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip()
171 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip()
DMessageDigestHashFunctionTest.java65 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testPutAfterHash()
80 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testHashTwice()
/external/guava/android/guava-tests/test/com/google/common/hash/
DMacHashFunctionTest.java103 .putString("hello", UTF_8) in testMultipleUpdates()
104 .putString("world", UTF_8) in testMultipleUpdates()
118 .putString("hello", UTF_8) in testMultipleUpdatesDoFinal()
119 .putString("world", UTF_8) in testMultipleUpdatesDoFinal()
120 .putString("!!!", UTF_8) in testMultipleUpdatesDoFinal()
226 hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString()); in testPutAfterHash()
239 hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString()); in testHashTwice()
DSipHashFunctionTest.java169 assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip()
171 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip()
DMessageDigestHashFunctionTest.java65 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testPutAfterHash()
80 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testHashTwice()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/
DBaseChromiumAndroidJUnitRunner.java141 bundle.putString( in addTestListPackage()
153 junit3Arguments.putString(ARGUMENT_NOT_ANNOTATION, "org.junit.runner.RunWith"); in listTests()
159 junit4Arguments.putString(ARGUMENT_ANNOTATION, "org.junit.runner.RunWith"); in listTests()
177 results.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in listTests()
DBaseTestResult.java103 skipResult.putString("class", test.getClass().getName()); in run()
104 skipResult.putString("test", test.getName()); in run()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
DBluetoothMediaPlayback.java336 newMetaData.putString(MediaMetadata.METADATA_KEY_TITLE, in retrieveMetaData()
340 newMetaData.putString(MediaMetadata.METADATA_KEY_ALBUM, in retrieveMetaData()
342 newMetaData.putString(MediaMetadata.METADATA_KEY_ARTIST, in retrieveMetaData()
349 newMetaData.putString(CUSTOM_URL, song); in retrieveMetaData()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPresencePreferences.java95 editor.putString(PHONE_SUBSCRIBER_ID, id); in setSubscriberId()
114 editor.putString(PHONE_LINE1_NUMBER, number); in setLine1Number()
/external/libbackup/src/com/google/android/libraries/backup/
DPreferenceBackupUtil.java49 preferences.edit().putString(dstRingtoneTitlePrefKey, title).apply(); in encodeRingtonePreference()
96 preferences.edit().putString(dstRingtoneUriPrefKey, uri).apply(); in decodeRingtonePreference()
/external/setupcompat/main/java/com/google/android/setupcompat/logging/internal/
DFooterBarMixinMetrics.java129 persistableBundle.putString(EXTRA_PRIMARY_BUTTON_VISIBILITY, primaryButtonVisibility); in getMetrics()
130 persistableBundle.putString(EXTRA_SECONDARY_BUTTON_VISIBILITY, secondaryButtonVisibility); in getMetrics()

123456