/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 …]
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | TimeUtilTest.java | 53 assertEquals("0001-01-01T00:00:00Z", TimeUtil.toString(start)); in testTimestampStringFormat() 54 assertEquals("9999-12-31T23:59:59.999999999Z", TimeUtil.toString(end)); in testTimestampStringFormat() 68 assertEquals("1970-01-01T00:00:00.000000010Z", TimeUtil.toString(value)); in testTimestampStringFormat() 70 assertEquals("1970-01-01T00:00:00.000010Z", TimeUtil.toString(value)); in testTimestampStringFormat() 72 assertEquals("1970-01-01T00:00:00.010Z", TimeUtil.toString(value)); in testTimestampStringFormat() 76 assertEquals("1969-12-31T16:00:00.010Z", TimeUtil.toString(value)); in testTimestampStringFormat() 78 assertEquals("1970-01-01T08:00:00.010Z", TimeUtil.toString(value)); in testTimestampStringFormat() 107 "Actual result: " + result.toString() + ", expected: " + values[index].toString(); in run() 152 TimeUtil.toString(value); in testTimetampInvalidFormat() 162 TimeUtil.toString(value); in testTimetampInvalidFormat() [all …]
|
D | FieldMaskTreeTest.java | 42 assertEquals("", tree.toString()); in testAddFieldPath() 44 assertEquals("", tree.toString()); in testAddFieldPath() 47 assertEquals("foo", tree.toString()); in testAddFieldPath() 50 assertEquals("foo", tree.toString()); in testAddFieldPath() 53 assertEquals("bar.baz,foo", tree.toString()); in testAddFieldPath() 56 assertEquals("bar.baz,foo", tree.toString()); in testAddFieldPath() 59 assertEquals("bar.baz,bar.quz,foo", tree.toString()); in testAddFieldPath() 62 assertEquals("bar,foo", tree.toString()); in testAddFieldPath() 67 assertEquals("bar.baz,bar.quz,foo", tree.toString()); in testMergeFromFieldMask() 69 assertEquals("bar,foo", tree.toString()); in testMergeFromFieldMask() [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/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/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/java/android/os/image/ |
D | DynamicSystemManager.java | 66 throw new RuntimeException(e.toString()); in write() 81 throw new RuntimeException(e.toString()); in commit() 104 throw new RuntimeException(e.toString()); in startInstallation() 121 throw new RuntimeException(e.toString()); in getInstallationProgress() 138 throw new RuntimeException(e.toString()); in abort() 148 throw new RuntimeException(e.toString()); in isInUse() 158 throw new RuntimeException(e.toString()); in isInstalled() 168 throw new RuntimeException(e.toString()); in isEnabled() 182 throw new RuntimeException(e.toString()); in remove() 195 throw new RuntimeException(e.toString()); in setEnable()
|
/frameworks/base/tools/aapt/tests/ |
D | AaptConfig_test.cpp | 55 EXPECT_EQ(String8(""), config.toString()); in TEST() 58 EXPECT_EQ(String8("fr-land"), config.toString()); in TEST() 63 "xhdpi-keyssoft-qwerty-navexposed-nonav-v13"), config.toString()); in TEST() 69 EXPECT_EQ(String8("en-rUS"), config.toString()); in TEST() 75 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST() 78 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST() 93 EXPECT_EQ(String8("round-v23"), config.toString()); in TEST() 99 EXPECT_EQ(String8("notround-v23"), config.toString()); in TEST() 108 EXPECT_EQ(String8("widecg-v26"), config.toString()); in TEST() 114 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 …]
|
/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/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/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/test-runner/src/android/test/ |
D | TestPrinter.java | 74 mFailedTests.add(test.toString()); in failed() 75 failed(test.toString(), t); in failed() 87 finished(test.toString()); in endTest() 88 if (!mFailedTests.contains(test.toString())) { in endTest() 89 passed(test.toString()); in endTest() 91 mFailedTests.remove(test.toString()); in endTest() 95 started(test.toString()); in startTest()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 49 .append(" by pid=").append(mOwnerPid).toString(); in eventToString() 67 .append(") from ").append(mState.mCaller).toString(); in eventToString() 87 .append(") due to ").append(mReason).toString(); in eventToString() 168 .toString(); in eventToString() 175 .toString(); in eventToString() 182 .toString(); in eventToString() 187 .toString(); in eventToString() 191 .toString(); in eventToString() 198 .toString(); in eventToString() 204 .toString(); in eventToString() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 103 inline std::string toString(const T& obj) { in toString() function 112 ss << toString(items[i]); in joinStr() 114 ss << joint << toString(items[i]); in joinStr() 134 return joinStr(joint, topMax) + ", (" + toString(items.size() - limit) + " ommited), " + in joinStr() 135 toString(items.back()); in joinStr() 297 inline std::string toString<RandomVariableType>(const RandomVariableType& type) { 309 inline std::string toString<RandomVariableRange>(const RandomVariableRange& range) { 314 inline std::string toString<RandomOperandType>(const RandomOperandType& type) { 320 inline std::string toString<RandomVariableNode>(const RandomVariableNode& var) { 325 ss << "FREE " << toString(var->range); [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UnitTest.java | 46 public String toString() { in toString() method in UnitTest.UnitTestResult 111 UnitTest.this.toString(), mID)); in createRenderScript() 138 testSuite, toString(), thisDeviceName, thisApiVersion)); in logStart() 143 toString(), getResultString())); in logEnd() 151 return mResult.toString(); in getResultString() 167 toString())); in runTest() 172 "listening for pass/fail message", toString())); in runTest() 179 this.toString(), mResult.toString())); in runTest() 187 public String toString() { in toString() method in UnitTest 199 String name = test.toString(); in checkDuplicateNames()
|
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/ |
D | UnitTest.java | 43 public String toString() { in toString() method in UnitTest.UnitTestResult 108 UnitTest.this.toString(), mID)); in createRenderScript() 135 testSuite, toString(), thisDeviceName, thisApiVersion)); in logStart() 140 toString(), getResultString())); in logEnd() 148 return mResult.toString(); in getResultString() 164 toString())); in runTest() 169 "listening for pass/fail message", toString())); in runTest() 176 this.toString(), mResult.toString())); in runTest() 184 public String toString() { in toString() method in UnitTest 196 String name = test.toString(); in checkDuplicateNames()
|