Home
last modified time | relevance | path

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

123

/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java513 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
539 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
585 mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath); in generateCoverageReport()
589 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
623 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
701 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest()
706 mTestResult.putString(REPORT_KEY_SUITE_ASSIGNMENT, assignmentSuite); in endTest()
727 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
739 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()
740 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in startTest()
[all …]
DBundleTestListener.java40 mBundle.putString(getComboName(test), BaseTestRunner.getFilteredTrace(t)); in addError()
45 mBundle.putString(getComboName(test), BaseTestRunner.getFilteredTrace(t)); in addFailure()
51 mBundle.putString(getComboName(test), "passed"); in endTest()
DBundlePrinter.java48 mResults.putString(getComboName(test), BaseTestRunner.getFilteredTrace(t)); in addError()
55 mResults.putString(getComboName(test), BaseTestRunner.getFilteredTrace(t)); in addFailure()
63 mResults.putString(getComboName(test), "passed"); in endTest()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiConnectionTest.java204 Settings.System.putString(cr, Settings.System.WIFI_STATIC_IP, in connectToWifi()
206 Settings.System.putString(cr, Settings.System.WIFI_STATIC_GATEWAY, in connectToWifi()
208 Settings.System.putString(cr, Settings.System.WIFI_STATIC_NETMASK, in connectToWifi()
210 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS1, in connectToWifi()
212 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS2, in connectToWifi()
237 Settings.System.putString(cr, Settings.System.WIFI_STATIC_IP, ""); in connectToWifi()
238 Settings.System.putString(cr, Settings.System.WIFI_STATIC_GATEWAY, ""); in connectToWifi()
239 Settings.System.putString(cr, Settings.System.WIFI_STATIC_NETMASK, ""); in connectToWifi()
240 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS1, ""); in connectToWifi()
241 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS2, ""); in connectToWifi()
/frameworks/base/core/java/android/webkit/
DCallbackProxy.java846 msg.getData().putString("url", url); in onPageStarted()
880 msg.getData().putString("description", description); in onReceivedError()
881 msg.getData().putString("failingUrl", failingUrl); in onReceivedError()
909 msg.getData().putString("url", url); in shouldOverrideUrlLoading()
932 msg.getData().putString("host", hostName); in onReceivedHttpAuthRequest()
933 msg.getData().putString("realm", realmName); in onReceivedHttpAuthRequest()
1030 bundle.putString("url", url); in onDownloadStart()
1031 bundle.putString("userAgent", userAgent); in onDownloadStart()
1032 bundle.putString("mimetype", mimetype); in onDownloadStart()
1034 bundle.putString("contentDisposition", contentDisposition); in onDownloadStart()
[all …]
DHttpAuthHandler.java145 msg.getData().putString("username", username); in proceed()
146 msg.getData().putString("password", password); in proceed()
/frameworks/base/core/tests/coretests/src/android/accounts/
DAccountManagerServiceTest.java117 u11.putString("a", "a_a11"); in testUserdata()
118 u11.putString("b", "b_a11"); in testUserdata()
119 u11.putString("c", "c_a11"); in testUserdata()
122 u12.putString("a", "a_a12"); in testUserdata()
123 u12.putString("b", "b_a12"); in testUserdata()
124 u12.putString("c", "c_a12"); in testUserdata()
/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/core/java/android/net/http/
DSslCertificate.java80 bundle.putString(ISSUED_TO, certificate.getIssuedTo().getDName()); in saveState()
81 bundle.putString(ISSUED_BY, certificate.getIssuedBy().getDName()); in saveState()
83 bundle.putString(VALID_NOT_BEFORE, certificate.getValidNotBefore()); in saveState()
84 bundle.putString(VALID_NOT_AFTER, certificate.getValidNotAfter()); in saveState()
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java108 assertTrue(window.putString("1198032740000", 0, 3)); in doTestValues()
112 assertTrue(window.putString(Long.toString(1198032740000L), 0, 3)); in doTestValues()
116 assertTrue(window.putString(Double.toString(42.0), 0, 4)); in doTestValues()
145 assertTrue(window.putString("", 0, 0)); in testEmptyString()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java34 Settings.Secure.putString(r, "test_service", "Value"); in testNameValueCache()
38 Settings.Secure.putString(r, "test_service", "New"); in testNameValueCache()
46 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache()
49 Settings.System.putString(r, "test_setting", "New"); in testNameValueCache()
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java130 putString(out, vmIdent); in handleHELO()
131 putString(out, appName); in handleHELO()
165 putString(out, features[i]); in handleFEAT()
DDdmHandleThread.java167 putString(out, elem.getClassName()); in createStackChunk()
169 putString(out, elem.getMethodName()); in createStackChunk()
172 putString(out, elem.getFileName()); in createStackChunk()
DDdmHandleAppName.java97 putString(out, appName); in sendAPNM()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java66 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in onListItemClick()
67 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in onListItemClick()
/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()
DSyncStorageEngineTest.java69 extras1.putString("a", "1"); in testPeriodics()
71 extras2.putString("a", "2"); in testPeriodics()
127 extras1.putString("a", "1"); in testAuthorityPersistence()
129 extras2.putString("a", "2"); in testAuthorityPersistence()
/frameworks/base/core/java/android/provider/
DSettings.java568 protected static boolean putString(ContentResolver resolver, Uri uri, in putString() method in Settings.NameValueTable
765 public static boolean putString(ContentResolver resolver, String name, String value) { in putString() method in Settings.System
771 return putString(resolver, CONTENT_URI, name, value); in putString()
854 return putString(cr, name, Integer.toString(value)); in putInt()
923 return putString(cr, name, Long.toString(value)); in putLong()
991 return putString(cr, name, Float.toString(value)); in putFloat()
2080 public static boolean putString(ContentResolver resolver, in putString() method in Settings.Secure
2082 return putString(resolver, CONTENT_URI, name, value); in putString()
2160 return putString(cr, name, Integer.toString(value)); in putInt()
2229 return putString(cr, name, Long.toString(value)); in putLong()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DResultReceiver.java40 map.putString("bar", "them"); in onReceive()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java48 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_AGE_SECONDS, ""); in tearDown()
49 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_MAX_FILES, ""); in tearDown()
50 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, ""); in tearDown()
51 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); in tearDown()
257 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled()
263 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled()
333 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, Integer.toString(kb)); in testSizeLimits()
435 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_AGE_SECONDS, "1"); in testAgeLimits()
436 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, Integer.toString(kb)); in testAgeLimits()
500 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_MAX_FILES, "3"); in testFileCountLimits()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java589 m.putString("operator-alpha-long", mOperatorAlphaLong); in fillInNotifierBundle()
590 m.putString("operator-alpha-short", mOperatorAlphaShort); in fillInNotifierBundle()
591 m.putString("operator-numeric", mOperatorNumeric); in fillInNotifierBundle()
/frameworks/base/core/java/android/content/
DSharedPreferences.java71 Editor putString(String key, String value); in putString() method
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetConfigure.java48 prefs.putString(TestAppWidgetProvider.PREF_PREFIX_KEY, text);
/frameworks/base/core/java/android/app/
DTabActivity.java89 outState.putString("currentTab", currentTabTag); in onSaveInstanceState()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java54 msg.getData().putString(PowerTestActivity.MSG_NAV_URL, TESTING_URL); in testPageLoadStaticNYTimes()

123