/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 499 Integer.toString(mAppIdValue), in utAddPackage() 500 Integer.toString(mContentTypeValue), in utAddPackage() 509 assertTrue(wpman.verifyData(Integer.toString(mAppIdValue), in utAddPackage() 510 Integer.toString(mContentTypeValue), in utAddPackage() 536 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 537 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 539 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 540 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 542 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 543 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() [all …]
|
D | ClientTest.java | 70 app_id.getText().toString(), in onCreate() 71 cont.getText().toString(), in onCreate() 72 pkg.getText().toString(), in onCreate() 73 cls.getText().toString(), in onCreate() 80 app_id.getText().toString(), in onCreate() 81 cont.getText().toString(), in onCreate() 82 pkg.getText().toString(), in onCreate() 83 cls.getText().toString(), in onCreate() 105 app_id.getText().toString(), in onCreate() 106 cont.getText().toString(), in onCreate() [all …]
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | NetworkState.java | 125 mTransitionTarget.toString(), in validateNetworkStates() 126 mStateDepository.get(0).toString())); in validateNetworkStates() 128 mTransitionTarget.toString(), in validateNetworkStates() 129 mStateDepository.get(0).toString()); in validateNetworkStates() 146 mReason = str.toString(); in validateNetworkDisconnection() 153 mReason = str.toString(); in validateNetworkDisconnection() 168 preState.toString(), curState.toString())); in validateNetworkDisconnection() 169 mReason = str.toString(); in validateNetworkDisconnection() 173 mReason = str.toString(); in validateNetworkDisconnection() 187 mReason = str.toString(); in validateNetworkConnection() [all …]
|
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 112 public String toString() { in toString() method in ChipsTest.MockRecipientEditTextView 113 return mEditable != null ? mEditable.toString() : ""; in toString() 179 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 181 int secondStart = mEditable.toString().indexOf(second); in testSanitizeBetween() 186 String editableString = mEditable.toString(); in testSanitizeBetween() 197 firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 201 assertEquals(mEditable.toString(), first); in testSanitizeBetween() 216 int firstStart = mEditable.toString().indexOf(first); in testSanitizeEnd() 218 int secondStart = mEditable.toString().indexOf(second); in testSanitizeEnd() 223 String editableString = mEditable.toString(); in testSanitizeEnd() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), in testProvider() 43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), in testProvider() 44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), in testProvider() 45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()), in testProvider() 46 Long.toString(now - (5 * 24 * 60 * 60 * 1000)), in testProvider() 47 Long.toString(now - (2 * 24 * 60 * 60 * 1000)), in testProvider() 48 Long.toString(now - (5 * 60 * 60 * 1000)), in testProvider() 49 Long.toString(now - (30 * 60 * 1000)), in testProvider() 50 Long.toString(now - (5 * 60 * 1000)), in testProvider() 51 Long.toString(now) in testProvider()
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 81 serializer.attribute("", "rotation", Integer.toString( in dumpWindowToFile() 87 writer.write(stringWriter.toString()); in dumpWindowToFile() 100 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec() 101 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec() 106 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec() 107 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec() 108 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec() 109 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec() 110 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec() 111 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec() [all …]
|
D | UiObject.java | 145 throw new UiObjectNotFoundException(getSelector().toString()); in getChildCount() 337 throw new UiObjectNotFoundException(getSelector().toString()); in click() 378 throw new UiObjectNotFoundException(getSelector().toString()); in clickAndWaitForNewWindow() 396 throw new UiObjectNotFoundException(getSelector().toString()); in clickTopLeft() 413 throw new UiObjectNotFoundException(getSelector().toString()); in longClickBottomRight() 430 throw new UiObjectNotFoundException(getSelector().toString()); in clickBottomRight() 447 throw new UiObjectNotFoundException(getSelector().toString()); in longClick() 464 throw new UiObjectNotFoundException(getSelector().toString()); in longClickTopLeft() 481 throw new UiObjectNotFoundException(getSelector().toString()); in getText() 499 throw new UiObjectNotFoundException(getSelector().toString()); in getContentDescription() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NativeDaemonConnectorTest.java | 36 assertEquals("", builder.toString()); in testArgumentNormal() 40 assertEquals("foo", builder.toString()); in testArgumentNormal() 44 assertEquals("foo\\\"bar", builder.toString()); in testArgumentNormal() 48 assertEquals("foo\\\\bar\\\\\\\"baz", builder.toString()); in testArgumentNormal() 56 assertEquals("\"foo bar\"", builder.toString()); in testArgumentWithSpaces() 60 assertEquals("\"foo\\\"bar\\\\baz foo\"", builder.toString()); in testArgumentWithSpaces() 68 assertEquals("\"caf\u00E9 c\u00F6ffee\"", builder.toString()); in testArgumentWithUtf()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 31 String copy = toString(forAsciiBytes(bytes)); in testCharSequences() 34 copy = toString(forAsciiBytes(bytes, 0, s.length())); in testCharSequences() 37 String crazy = toString(forAsciiBytes(bytes, 0, 5)); in testCharSequences() 40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3)); in testCharSequences() 43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3)); in testCharSequences() 55 static String toString(CharSequence charSequence) { in toString() method in CharSequencesTest 56 return new StringBuilder().append(charSequence).toString(); in toString()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | EventRecurrenceTest.java | 684 + ": correct=" + Arrays.toString(correct) in cmp() 685 + " actual=" + Arrays.toString(v)); in cmp() 698 + ": correct=" + Arrays.toString(correct) in cmp() 699 + " actual=" + Arrays.toString(v)); in cmp() 704 + ": correct=" + Arrays.toString(correct) in cmp() 705 + " actual=" + Arrays.toString(v)); in cmp() 740 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType() 741 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType() 742 System.out.println(" byhour=" + Arrays.toString(byhour)); in verifyRecurType() 743 System.out.println(" byday=" + Arrays.toString(byday)); in verifyRecurType() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 58 assertEquals(sTestUri1.toString(), uri.toString()); in testInsert() 59 assertEquals(sTestValues1.toString(), values.toString()); in testInsert() 63 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsert() 71 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertNoValues() 76 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertNoValues() 86 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertFailed() 87 assertEquals(sTestValues1.toString(), values.toString()); in testInsertFailed() 110 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertWithBackRefs() 114 assertEquals(expected.toString(), values.toString()); in testInsertWithBackRefs() 118 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertWithBackRefs() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | EriManager.java | 82 public String toString() { in toString() method in EriManager.EriDisplayInformation 308 mContext.getText(com.android.internal.R.string.roamingText0).toString()); in getEriDisplayInformation() 315 mContext.getText(com.android.internal.R.string.roamingText1).toString()); in getEriDisplayInformation() 322 mContext.getText(com.android.internal.R.string.roamingText2).toString()); in getEriDisplayInformation() 331 mContext.getText(com.android.internal.R.string.roamingText3).toString()); in getEriDisplayInformation() 338 mContext.getText(com.android.internal.R.string.roamingText4).toString()); in getEriDisplayInformation() 345 mContext.getText(com.android.internal.R.string.roamingText5).toString()); in getEriDisplayInformation() 352 mContext.getText(com.android.internal.R.string.roamingText6).toString()); in getEriDisplayInformation() 359 mContext.getText(com.android.internal.R.string.roamingText7).toString()); in getEriDisplayInformation() 366 mContext.getText(com.android.internal.R.string.roamingText8).toString()); in getEriDisplayInformation() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 55 assertEquals("foo", TextUtils.concat(foo).toString()); in testBasic() 56 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); in testBasic() 57 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); in testBasic() 79 result.toString()); in testTemplateString() 84 result.toString()); in testTemplateString() 87 assertEquals("^", result.toString()); in testTemplateString() 90 assertEquals("^", result.toString()); in testTemplateString() 93 assertEquals("^^", result.toString()); in testTemplateString() 96 assertEquals("shorter a values .", result.toString()); in testTemplateString() 113 assertEquals("one value given, and nine used.", result.toString()); in testTemplateString() [all …]
|
D | HtmlTest.java | 73 String spanned = Html.fromHtml("© > <").toString(); in testSymbols() 107 assertEquals(c.toString(), colors[0].getTextColor().toString()); in testResourceColor() 112 assertEquals(c.toString(), colors[0].getTextColor().toString()); in testResourceColor() 117 assertEquals(c.toString(), colors[0].getTextColor().toString()); in testResourceColor() 122 assertEquals(c.toString(), colors[0].getTextColor().toString()); in testResourceColor() 128 assertEquals(c.toString(), colors[0].getTextColor().toString()); in testResourceColor() 151 assertEquals("foo\nbar", Html.fromHtml("foo<br>bar").toString()); in testParagraphs() 152 assertEquals("foo\nbar", Html.fromHtml("foo<br>\nbar").toString()); in testParagraphs() 153 assertEquals("foo\nbar", Html.fromHtml("foo<br>\n \nbar").toString()); in testParagraphs()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLLogWrapper.java | 52 String errorMessage = "glError: " + Integer.toString(glError); in checkError() 98 arg(name, Boolean.toString(value)); in arg() 102 arg(name, Integer.toString(value)); in arg() 106 arg(name, Float.toString(value)); in arg() 115 returns(Integer.toString(result)); in returns() 119 arg(name, toString(n, FORMAT_INT, arr, offset)); in arg() 123 arg(name, toString(n, arr, offset)); in arg() 127 arg(name, toString(n, arr, offset)); in arg() 144 private String toString(int n, int format, int[] arr, int offset) { in toString() method in GLLogWrapper 159 return buf.toString(); in toString() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 66 out.add(new Rfc822Token(name.toString(), in tokenize() 67 address.toString(), in tokenize() 68 comment.toString())); in tokenize() 71 name.toString(), in tokenize() 72 comment.toString())); in tokenize() 151 out.add(new Rfc822Token(name.toString(), in tokenize() 152 address.toString(), in tokenize() 153 comment.toString())); in tokenize() 156 name.toString(), in tokenize() 157 comment.toString())); in tokenize()
|
/frameworks/base/test-runner/src/android/test/ |
D | TestPrinter.java | 89 mFailedTests.add(test.toString()); in failed() 90 failed(test.toString(), t); in failed() 102 finished(test.toString()); in endTest() 103 if (!mFailedTests.contains(test.toString())) { in endTest() 104 passed(test.toString()); in endTest() 106 mFailedTests.remove(test.toString()); in endTest() 110 started(test.toString()); in startTest()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | Installer.java | 199 return execute(builder.toString()); in install() 209 return execute(builder.toString()); in dexopt() 218 return execute(builder.toString()); in movedex() 225 return execute(builder.toString()); in rmdex() 234 return execute(builder.toString()); in remove() 243 return execute(builder.toString()); in rename() 254 return execute(builder.toString()); in fixUid() 263 return execute(builder.toString()); in deleteCacheFiles() 274 return execute(builder.toString()); in createUserData() 281 return execute(builder.toString()); in removeUserDataDirs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 79 TEST_1_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Success() 86 TEST_MAXVALUE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Largest() 93 TEST_ZERO_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Zero() 100 TEST_NEGONE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_NegOne() 107 TEST_MINVALUE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_MinValue() 233 id1.toString(), id2.toString()); in testVerifierDeviceIdentity_Parse_SquashToUppercase() 244 id1.toString(), id2.toString()); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution()
|
D | ManifestDigestTest.java | 66 assertEquals("SHA-1 should be preferred over MD5: " + created.toString() + " vs. " in testManifestDigest_FromAttributes_SHA1PreferredOverMD5() 67 + fromAttributes.toString(), created, fromAttributes); in testManifestDigest_FromAttributes_SHA1PreferredOverMD5() 69 assertEquals("Hash codes should be the same: " + created.toString() + " vs. " in testManifestDigest_FromAttributes_SHA1PreferredOverMD5() 70 + fromAttributes.toString(), created.hashCode(), fromAttributes in testManifestDigest_FromAttributes_SHA1PreferredOverMD5() 87 + digest.toString() + " and " + fromParcel.toString(), digest, in testManifestDigest_Parcel()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | JsonWriterTest.java | 125 assertEquals("{\"a\":null}", stringWriter.toString()); in testNullStringValue() 193 + "2.718281828459045]", stringWriter.toString()); in testDoubles() 211 + "9223372036854775807]", stringWriter.toString()); in testLongs() 227 + "3.141592653589793238462643383]", stringWriter.toString()); in testNumbers() 237 assertEquals("[true,false]", stringWriter.toString()); in testBooleans() 246 assertEquals("[null]", stringWriter.toString()); in testNulls() 289 + "\"\\u0019\"]", stringWriter.toString()); in testStrings() 298 assertEquals("[\"\\u2028 \\u2029\"]", stringWriter.toString()); in testUnicodeLineBreaksEscaped() 306 assertEquals("[]", stringWriter.toString()); in testEmptyArray() 314 assertEquals("{}", stringWriter.toString()); in testEmptyObject() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 37 assertEquals(formatted1, number.toString()); in testAppendChars() 48 assertEquals(formatted2, number.toString()); in testAppendChars() 64 assertEquals(result1, number.toString()); in testRemoveLastChars() 73 assertEquals(result2, number.toString()); in testRemoveLastChars() 89 assertEquals(expected1, number.toString()); in testInsertChars() 100 assertEquals(expected2, number.toString()); in testInsertChars() 117 assertEquals(expected1, number.toString()); in testStopFormatting() 130 assertEquals(expected2, number.toString()); in testStopFormatting() 143 assertEquals(expected3, number.toString()); in testStopFormatting() 160 assertEquals(expected1, number.toString()); in testRestartFormatting() [all …]
|
D | GsmAlphabetTest.java | 137 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() 138 assertEquals(testString.toString(), in testBasic() 158 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() 159 assertEquals(testString.toString(), in testBasic() 173 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() 174 assertEquals(testString.toString(), in testBasic() 184 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() 185 assertEquals(testString.toString(), in testBasic() 192 GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() 205 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | NetworkState.java | 131 mReason += " Transition state from " + preState.toString() + " to " + in transitToDisconnection() 132 curState.toString() + " is not valid."; in transitToDisconnection() 163 mReason += " Transition state from " + preState.toString() + " to " + in transitToConnection() 164 curState.toString() + " is not valid."; in transitToConnection() 183 stateBuilder.append(" ").append(mStateDepository.get(i).toString()).append("->"); in printStates() 185 return stateBuilder.toString(); in printStates() 189 public String toString() { in toString() method in NetworkState 191 builder.append("mTransitionDirection: ").append(Integer.toString(mTransitionDirection)). in toString() 194 return builder.toString(); in toString()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | CameraStressTest.java | 182 Log.e(TAG, "File not found: " + e.toString()); 184 Log.e(TAG, "Error accessing file: " + e.toString()); 191 Log.e(TAG, "Error closing file: " + e.toString()); 216 Log.e(TAG, "Security manager access violation: " + e.toString()); in cleanupStressTestImages() 228 Log.e(TAG, "Error setting preview display: " + e.toString()); in startCameraPreview() 230 Log.e(TAG, "Error waiting for preview to come up: " + e.toString()); in startCameraPreview() 232 Log.e(TAG, "Error starting up camera preview: " + e.toString()); in startCameraPreview() 244 Log.e(TAG, "Error waiting for photo to be taken: " + e.toString()); in capturePhoto() 246 Log.e(TAG, "Error capturing photo: " + e.toString()); in capturePhoto() 303 mOutput.write(Integer.toString(i)); in testStressCameraZoom() [all …]
|