Home
last modified time | relevance | path

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

1234567

/frameworks/testing/support/src/android/support/test/internal/runner/listener/
DInstrumentationResultPrinter.java106 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in testRunStarted()
123 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in testStarted()
124 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in testStarted()
128 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in testStarted()
132 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in testStarted()
142 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "."); in testFinished()
161 mTestResult.putString(REPORT_KEY_STACK, failure.getTrace()); in reportFailure()
163 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in reportFailure()
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java84 results.putString("shortMsg", ex.getClass().getName()); in run()
85 results.putString("longMsg", ex.getMessage()); in run()
165 testRunOutput.putString("shortMsg", t.getMessage()); in start()
264 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()
282 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in startTest()
286 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
290 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in startTest()
316 mTestResult.putString(REPORT_KEY_STACK, BaseTestRunner.getFilteredTrace(t)); in addError()
319 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addError()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java43 Settings.Secure.putString(r, "test_service", "Value"); in testNameValueCache()
47 Settings.Secure.putString(r, "test_service", "New"); in testNameValueCache()
55 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache()
58 Settings.System.putString(r, "test_setting", "New"); in testNameValueCache()
149 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "gps"); in testSettingsChangeForOtherUser()
198 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in testParseProviderList()
204 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in testParseProviderList()
206 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test1"); in testParseProviderList()
211 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test2"); in testParseProviderList()
216 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test3"); in testParseProviderList()
[all …]
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java539 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
565 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
611 mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath); in generateCoverageReport()
615 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
649 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
727 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest()
732 mTestResult.putString(REPORT_KEY_SUITE_ASSIGNMENT, assignmentSuite); in endTest()
753 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
765 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()
766 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in startTest()
[all …]
/frameworks/testing/support/tests/src/android/support/test/runner/
DAndroidJUnitRunnerTest.java85 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_CLASS, "ClassName"); in testBuildRequest_singleClass()
97 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_CLASS, "ClassName1,ClassName2"); in testBuildRequest_multiClass()
110 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_CLASS, "ClassName1#method"); in testBuildRequest_method()
122 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_CLASS, "ClassName1#method,ClassName2"); in testBuildRequest_classAndMethodCombo()
147 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_FILE, file.getPath()); in testBuildRequest_testFile()
148 b.putString(AndroidJUnitRunner.ARGUMENT_TEST_CLASS, "ClassName1#method1,ClassName2"); in testBuildRequest_testFile()
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java150 putString(out, vmIdent); in handleHELO()
151 putString(out, appName); in handleHELO()
154 putString(out, instructionSetDescription); in handleHELO()
156 putString(out, vmFlags); in handleHELO()
192 putString(out, vmFeatures[i]); in handleFEAT()
196 putString(out, FRAMEWORK_FEATURES[i]); in handleFEAT()
DDdmHandleThread.java166 putString(out, elem.getClassName()); in createStackChunk()
168 putString(out, elem.getMethodName()); in createStackChunk()
171 putString(out, elem.getFileName()); in createStackChunk()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothInstrumentation.java56 mSuccessResult.putString("result", "SUCCESS"); in onCreate()
99 mSuccessResult.putString("name", name); in getName()
105 mSuccessResult.putString("address", name); in getAddress()
113 mSuccessResult.putString(String.format("device-%02d", i), device.getAddress()); in getBondedDevices()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java133 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, in testDelayParameter()
156 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, expectedTestClassName); in testAnnotationParameter()
157 args.putString(InstrumentationTestRunner.ARGUMENT_ANNOTATION, FlakyTest.class.getName()); in testAnnotationParameter()
169 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, expectedTestClassName); in testNotAnnotationParameter()
170 args.putString(InstrumentationTestRunner.ARGUMENT_NOT_ANNOTATION, in testNotAnnotationParameter()
197 bundle.putString(key, value); in createBundle()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DApplicationRestrictionsTest.java92 restrictions.putString("KEY_STRING", "Foo"); in testSettingRestrictions()
106 restrictions.putString("KEY_STRING", "Foo"); in testRestrictionTypes()
110 restrictions.putString("KEY_STRING_2", "Bar"); in testRestrictionTypes()
130 restrictions.putString("KEY_FANCY_TEXT", fancyText); in testTextEscaping()
/frameworks/testing/uiautomator/samples/SkeletonTest/src/com/android/uiautomator/samples/skeleton/
DDemoTestCase.java30 status.putString("msg", "This is a demo test and I just pressed HOME"); in testDemo()
31 status.putString("product", getUiDevice().getProductName()); in testDemo()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java88 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata()
102 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata()
106 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata()
110 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata()
114 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata()
118 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata()
122 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata()
134 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_GENRE), in getOldMetadata()
150 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_TITLE), in getOldMetadata()
159 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_WRITER), in getOldMetadata()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java90 assertTrue(window.putString("1198032740000", 0, 3)); in doTestValues()
94 assertTrue(window.putString(Long.toString(1198032740000L), 0, 3)); in doTestValues()
98 assertTrue(window.putString(Double.toString(42.0), 0, 4)); in doTestValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java129 u11.putString("a", "a_a11"); in testUserdata()
130 u11.putString("b", "b_a11"); in testUserdata()
131 u11.putString("c", "c_a11"); in testUserdata()
134 u12.putString("a", "a_a12"); in testUserdata()
135 u12.putString("b", "b_a12"); in testUserdata()
136 u12.putString("c", "c_a12"); in testUserdata()
/frameworks/testing/support/tests/src/android/support/test/internal/runner/
DInstrumentationArgumentsRegistryTest.java41 readArguments.putString("mykey", "myvalue"); in testModifyingReadBundleShouldNotAffectFutureReads()
55 readArguments.putString("mykey", "myvalue"); in testModifyingSetBundleShouldNotAffectFutureReads()
/frameworks/av/media/mtp/
DMtpDataPacket.h89 void putString(const MtpStringBuffer& string);
90 void putString(const char* string);
91 void putString(const uint16_t* string);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java129 results.putString("device_id", mDeviceId); in downloadFile()
130 results.putString("timestamp", ts); in downloadFile()
183 results.putString("device_id", mDeviceId); in uploadFile()
184 results.putString("timestamp", ts); in uploadFile()
240 results.putString("device_id", mDeviceId); in downloadFileUsingDownloadManager()
241 results.putString("timestamp", ts); in downloadFileUsingDownloadManager()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSaveFragment.java53 args.putString(EXTRA_MIME_TYPE, mimeType); in show()
54 args.putString(EXTRA_DISPLAY_NAME, displayName); in show()
136 getArguments().putString(EXTRA_DISPLAY_NAME, replaceTarget.displayName); in setReplaceTarget()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1505 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1506 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1507 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1508 mParams.putString(Engine.KEY_PARAM_VARIANT, variant);
1611 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voice.getName());
1630 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1631 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1632 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1866 bundle.putString(key, entry.getValue());
1954 bundle.putString(key, value);
[all …]
/frameworks/support/v4/api21/android/support/v4/media/
DMediaMetadataCompatApi21.java67 public static void putString(Object builderObj, String key, String value) { in putString() method in MediaMetadataCompatApi21.Builder
68 ((MediaMetadata.Builder) builderObj).putString(key, value); in putString()
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java57 Settings.System.putString(r, "test", "Value"); in testContentQueryMap()
72 Settings.System.putString(r, "test", "New Value"); in testContentQueryMap()
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java204 public synchronized MediaMetadataEditor putString(int key, String value) in putString() method in MediaMetadataEditor
213 mEditorMetadata.putString(String.valueOf(key), value); in putString()
303 return putString(key, (String) value); in putObject()
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd133 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_TITLE,
135 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE,
137 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_ICON_URI,
140 metadataBuilder.putString(MediaMetadata.METADATA_KEY_TITLE,
142 metadataBuilder.putString(MediaMetadata.METADATA_KEY_ARTIST,
145 metadataBuilder.putString(MediaMetadata.METADATA_KEY_ART,
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java276 mBundle.putString(KEY_ID, id); in setId()
288 mBundle.putString(KEY_NAME, name); in setName()
300 mBundle.putString(KEY_DESCRIPTION, description); in setDescription()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DResultReceiver.java40 map.putString("bar", "them"); in onReceive()

1234567