/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLinkLayerStats.java | 149 public String toString() { in toString() method in WifiLinkLayerStats 154 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n'); in toString() 155 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n'); in toString() 156 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString() 157 .append(" tx=").append(Long.toString(this.txmpdu_be)) in toString() 158 .append(" lost=").append(Long.toString(this.lostmpdu_be)) in toString() 159 .append(" retries=").append(Long.toString(this.retries_be)).append('\n'); in toString() 160 sbuf.append(" BK : ").append(" rx=").append(Long.toString(this.rxmpdu_bk)) in toString() 161 .append(" tx=").append(Long.toString(this.txmpdu_bk)) in toString() 162 .append(" lost=").append(Long.toString(this.lostmpdu_bk)) in toString() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 40 using line_breaker_test_helper::toString; 120 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 122 << toString(textBuf, actual); in TEST_F() 124 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 126 << toString(textBuf, actual); in TEST_F() 128 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 130 << toString(textBuf, actual); in TEST_F() 132 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 134 << toString(textBuf, actual); in TEST_F() 142 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 40 using line_breaker_test_helper::toString; 110 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 112 << toString(textBuf, actual); in TEST_F() 121 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 123 << toString(textBuf, actual); in TEST_F() 135 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 137 << toString(textBuf, actual); in TEST_F() 151 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 153 << toString(textBuf, actual); in TEST_F() 167 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LogcatLogTest.java | 54 assertEquals("hello world", logMessage.toString()); in logMessageWorksWithParameterlessFormat() 62 assertEquals("", logMessage.toString()); in logMessageWorksWithEmptyFormat() 70 assertEquals("1", logMessage.toString()); in logMessageWorksWithValueOnly() 81 assertEquals("%", logMessage.toString()); in logMessageIsNotConfusedByPlaceholderInValue() 89 assertEquals("1stuff", logMessage.toString()); in logMessageWorksWithValueAtBegin() 97 assertEquals("s1uff", logMessage.toString()); in logMessageWorksWithValueInMiddle() 105 assertEquals("stuff1", logMessage.toString()); in logMessageWorksWithValueAtEnd() 113 assertEquals("hello world", logMessage.toString()); in logMessageWorksWithMultipleValues() 121 assertEquals("first:hello second:world", logMessage.toString()); in logMessageWorksWithMultipleValuesAndLiterals() 129 assertEquals("helloworld", logMessage.toString()); in logMessageWorksWithAdjacentValues() [all …]
|
D | ScoringParamsTest.java | 101 String actual = mScoringParams.toString(); 113 assertEquals(params, mScoringParams.toString()); 122 String before = mScoringParams.toString(); 126 String after = mScoringParams.toString(); 137 String before = mScoringParams.toString(); 152 assertEquals(before, mScoringParams.toString()); 161 String before = mScoringParams.toString(); 164 assertEquals(before, mScoringParams.toString()); 173 String before = mScoringParams.toString(); 179 assertEquals(before, mScoringParams.toString()); [all …]
|
/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/services/tests/servicestests/src/com/android/server/ |
D | NativeDaemonConnectorTest.java | 39 assertEquals("", builder.toString()); in testArgumentNormal() 43 assertEquals("foo", builder.toString()); in testArgumentNormal() 47 assertEquals("foo\\\"bar", builder.toString()); in testArgumentNormal() 51 assertEquals("foo\\\\bar\\\\\\\"baz", builder.toString()); in testArgumentNormal() 59 assertEquals("\"foo bar\"", builder.toString()); in testArgumentWithSpaces() 63 assertEquals("\"foo\\\"bar\\\\baz foo\"", builder.toString()); in testArgumentWithSpaces() 71 assertEquals("\"caf\u00E9 c\u00F6ffee\"", builder.toString()); in testArgumentWithUtf() 81 assertEquals("1 foo bar baz\0", rawBuilder.toString()); in testSensitiveArgs() 82 assertEquals("1 foo bar baz", logBuilder.toString()); in testSensitiveArgs() 87 assertEquals("1 foo bar baz\0", rawBuilder.toString()); in testSensitiveArgs() [all …]
|
D | BackgroundRestrictedAlarmsTest.java | 51 private static String toString(SparseArray<ArrayList<Alarm>> pendingAlarms) { in toString() method in BackgroundRestrictedAlarmsTest 61 sb.append(toString(pendingAlarms.valueAt(i))); in toString() 64 return sb.toString(); in toString() 67 private static String toString(ArrayList<Alarm> alarms) { in toString() method in BackgroundRestrictedAlarmsTest 78 return sb.toString(); in toString() 96 assertEquals("", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 97 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 110 assertEquals("[100001: a1]", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 111 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 124 assertEquals("", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() [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/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 117 public String toString() { in toString() method in ChipsTest.MockRecipientEditTextView 118 return mEditable != null ? mEditable.toString() : ""; in toString() 189 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 191 int secondStart = mEditable.toString().indexOf(second); in testSanitizeBetween() 196 String editableString = mEditable.toString(); in testSanitizeBetween() 207 firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 211 assertEquals(mEditable.toString(), first); in testSanitizeBetween() 226 int firstStart = mEditable.toString().indexOf(first); in testSanitizeEnd() 228 int secondStart = mEditable.toString().indexOf(second); in testSanitizeEnd() 233 String editableString = mEditable.toString(); in testSanitizeEnd() [all …]
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 70 throw new RuntimeException(e.toString()); in setAshmem() 86 throw new RuntimeException(e.toString()); in submitFromAshmem() 102 throw new RuntimeException(e.toString()); in getAvbPublicKey() 117 throw new RuntimeException(e.toString()); in commit() 131 throw new RuntimeException(e.toString()); in startInstallation() 154 throw new RuntimeException(e.toString()); in createPartition() 166 throw new RuntimeException(e.toString()); in finishInstallation() 182 throw new RuntimeException(e.toString()); in getInstallationProgress() 199 throw new RuntimeException(e.toString()); in abort() 209 throw new RuntimeException(e.toString()); in isInUse() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 45 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), in testProvider() 46 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), in testProvider() 47 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), in testProvider() 48 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()), in testProvider() 49 Long.toString(now - (5 * 24 * 60 * 60 * 1000)), in testProvider() 50 Long.toString(now - (2 * 24 * 60 * 60 * 1000)), in testProvider() 51 Long.toString(now - (5 * 60 * 60 * 1000)), in testProvider() 52 Long.toString(now - (30 * 60 * 1000)), in testProvider() 53 Long.toString(now - (5 * 60 * 1000)), in testProvider() 54 Long.toString(now) in testProvider()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | StringUtilTest.java | 49 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, true).toString()) in testFormatElapsedTime_WithSeconds_ShowSeconds() 58 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_NoSeconds_DoNotShowSeconds() 68 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_TimeMoreThanOneDay_ShowCorrectly() 77 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_ZeroFieldsInTheMiddleDontShow() 86 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, true).toString()) in testFormatElapsedTime_FormatZero_WithSeconds() 95 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_FormatZero_NoSeconds() 121 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_WithSeconds_ShowSeconds() 130 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_NoSeconds_DoNotShowSeconds() 139 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoMinutes_withSeconds() 148 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoMinutes_NoSeconds() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateFormatTest.java | 77 assertEquals("[d, M, y]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 79 assertEquals("[y, d, M]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 81 assertEquals("[d, M, \u0000]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 84 assertEquals("[y, M, d]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 86 assertEquals("[d, M, y]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 88 assertEquals("[d, M, \u0000]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 93 assertEquals("[M, d, y]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 95 assertEquals("[M, d, y]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 97 assertEquals("[M, d, \u0000]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() 100 assertEquals("[d, M, y]", Arrays.toString(DateFormat.getDateFormatOrder( in testGetDateFormatOrder() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | AaptConfig_test.cpp | 54 EXPECT_EQ(String8(""), config.toString()); in TEST() 57 EXPECT_EQ(String8("fr-land"), config.toString()); in TEST() 62 "xhdpi-keyssoft-qwerty-navexposed-nonav-v13"), config.toString()); in TEST() 68 EXPECT_EQ(String8("en-rUS"), config.toString()); in TEST() 74 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST() 77 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST() 92 EXPECT_EQ(String8("round-v23"), config.toString()); in TEST() 98 EXPECT_EQ(String8("notround-v23"), config.toString()); in TEST() 107 EXPECT_EQ(String8("widecg-v26"), config.toString()); in TEST() 113 EXPECT_EQ(String8("nowidecg-v26"), config.toString()); in TEST() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 88 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowToFile() 92 writer.write(stringWriter.toString()); in dumpWindowToFile() 105 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec() 106 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec() 112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec() 113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec() 114 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec() 115 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec() 116 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec() 117 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec() [all …]
|
D | UiObject.java | 153 throw new UiObjectNotFoundException(getSelector().toString()); in getChildCount() 399 throw new UiObjectNotFoundException(getSelector().toString()); in click() 439 throw new UiObjectNotFoundException(getSelector().toString()); in clickAndWaitForNewWindow() 457 throw new UiObjectNotFoundException(getSelector().toString()); in clickTopLeft() 474 throw new UiObjectNotFoundException(getSelector().toString()); in longClickBottomRight() 491 throw new UiObjectNotFoundException(getSelector().toString()); in clickBottomRight() 508 throw new UiObjectNotFoundException(getSelector().toString()); in longClick() 525 throw new UiObjectNotFoundException(getSelector().toString()); in longClickTopLeft() 542 throw new UiObjectNotFoundException(getSelector().toString()); in getText() 560 throw new UiObjectNotFoundException(getSelector().toString()); in getClassName() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/ |
D | Log.java | 53 public String toString() { in toString() method in Log.Tag 60 android.util.Log.d(tag.toString(), msg); in d() 66 android.util.Log.d(tag.toString(), msg, tr); in d() 72 android.util.Log.e(tag.toString(), msg); in e() 78 android.util.Log.e(tag.toString(), msg, tr); in e() 84 android.util.Log.i(tag.toString(), msg); in i() 90 android.util.Log.i(tag.toString(), msg, tr); in i() 96 android.util.Log.v(tag.toString(), msg); in v() 102 android.util.Log.v(tag.toString(), msg, tr); in v() 108 android.util.Log.w(tag.toString(), msg); in w() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigDescription_test.cpp | 53 EXPECT_EQ(std::string(""), config.toString().string()); in TEST() 56 EXPECT_EQ(std::string("fr-land"), config.toString().string()); in TEST() 64 config.toString().string()); in TEST() 70 EXPECT_EQ(std::string("en-rUS"), config.toString().string()); in TEST() 76 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().string()); in TEST() 79 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().string()); in TEST() 94 EXPECT_EQ(std::string("round-v23"), config.toString().string()); in TEST() 100 EXPECT_EQ(std::string("notround-v23"), config.toString().string()); in TEST() 109 EXPECT_EQ(std::string("widecg-v26"), config.toString().string()); in TEST() 115 EXPECT_EQ(std::string("nowidecg-v26"), config.toString().string()); in TEST() [all …]
|
/frameworks/base/core/tests/utiltests/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/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 50 .append(" by pid=").append(mOwnerPid).toString(); in eventToString() 68 .append(") from ").append(mState.mCaller).toString(); in eventToString() 88 .append(") due to ").append(mReason).toString(); in eventToString() 193 .toString(); in eventToString() 200 .toString(); in eventToString() 207 .toString(); in eventToString() 212 .toString(); in eventToString() 216 .toString(); in eventToString() 223 .toString(); in eventToString() 229 .toString(); in eventToString() [all …]
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumeGroupTest.java | 84 assertEquals("Volume Group ID (" + avg.toString() in testGetVolumeGroups() 86 + aps.toString() + ") both supporting attributes " in testGetVolumeGroups() 87 + aa.toString() + " are mismatching", in testGetVolumeGroups() 93 assertTrue("Volume Group (" + avg.toString() in testGetVolumeGroups() 94 + ") has no associated strategy for attributes " + aa.toString(), in testGetVolumeGroups() 113 assertEquals("Volume Group ID (" + avg.toString() in testGetVolumeGroups() 115 + aps.toString() + ") both supporting stream " in testGetVolumeGroups() 124 assertTrue("Volume Group (" + avg.toString() in testGetVolumeGroups()
|
/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 | 59 assertEquals(sTestUri1.toString(), uri.toString()); in testInsert() 60 assertEquals(sTestValues1.toString(), values.toString()); in testInsert() 64 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsert() 72 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertNoValues() 77 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertNoValues() 87 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertFailed() 88 assertEquals(sTestValues1.toString(), values.toString()); in testInsertFailed() 111 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertWithBackRefs() 115 assertEquals(expected.toString(), values.toString()); in testInsertWithBackRefs() 119 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertWithBackRefs() [all …]
|