/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | LauncherActivityInfoTest.java | 38 assertThat(LauncherActivityInfo.trimStart("\u0009").toString()).isEmpty(); in testTrimStart() 40 assertThat(LauncherActivityInfo.trimStart("\u0FE1").toString()).isEmpty(); in testTrimStart() 42 assertThat(LauncherActivityInfo.trimStart("\uD83E\uDD36").toString()) in testTrimStart() 44 assertThat(LauncherActivityInfo.trimStart("\u0009\u0FE1\uD83E\uDD36A").toString()) in testTrimStart() 46 assertThat(LauncherActivityInfo.trimStart("\uD83E\uDD36A\u0009\u0FE1").toString()) in testTrimStart() 48 assertThat(LauncherActivityInfo.trimStart("A\uD83E\uDD36\u0009\u0FE1A").toString()) in testTrimStart() 51 "A\uD83E\uDD36\u0009\u0FE1A\uD83E\uDD36").toString()) in testTrimStart() 54 "\u0009\u0FE1\uD83E\uDD36A\u0009\u0FE1").toString()) in testTrimStart() 61 assertThat(LauncherActivityInfo.trimEnd("\u0009").toString()).isEmpty(); in testTrimEnd() 63 assertThat(LauncherActivityInfo.trimEnd("\u0FE1").toString()).isEmpty(); in testTrimEnd() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccIoResultTest.java | 27 String resultStr = iccIoResult.toString(); in check0x90_ErrorCodeParsing() 35 String resultStr = iccIoResult.toString(); in check0x91_ErrorCodeParsing() 43 String resultStr = iccIoResult.toString(); in check0x9E_ErrorCodeParsing() 51 String resultStr = iccIoResult.toString(); in check0x9F_ErrorCodeParsing() 59 String resultStr = iccIoResult.toString(); in check0x94_ErrorCodeParsing() 64 resultStr = iccIoResult.toString(); in check0x94_ErrorCodeParsing() 70 resultStr = iccIoResult.toString(); in check0x94_ErrorCodeParsing() 76 resultStr = iccIoResult.toString(); in check0x94_ErrorCodeParsing() 85 String resultStr = iccIoResult.toString(); in check0x98_ErrorCodeParsing() 89 resultStr = iccIoResult.toString(); in check0x98_ErrorCodeParsing() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardFingerprintListenModel.kt | 58 timeMillis.toString(), in <lambda>() 59 userId.toString(), in <lambda>() 60 listening.toString(), in <lambda>() 62 allowOnCurrentOccludingActivity.toString(), in <lambda>() 63 alternateBouncerShowing.toString(), in <lambda>() 64 biometricEnabledForUser.toString(), in <lambda>() 65 biometricPromptShowing.toString(), in <lambda>() 66 bouncerIsOrWillShow.toString(), in <lambda>() 67 canSkipBouncer.toString(), in <lambda>() 68 credentialAttempted.toString(), in <lambda>() [all …]
|
D | KeyguardActiveUnlockModel.kt | 43 timeMillis.toString(), in <lambda>() 44 userId.toString(), in <lambda>() 45 listening.toString(), in <lambda>() 47 awakeKeyguard.toString(), in <lambda>() 48 authInterruptActive.toString(), in <lambda>() 49 fpLockedOut.toString(), in <lambda>() 50 primaryAuthRequired.toString(), in <lambda>() 51 switchingUser.toString(), in <lambda>() 52 triggerActiveUnlockForAssistant.toString(), in <lambda>() 53 userCanDismissLockScreen.toString(), in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowState.kt | 76 keyguardShowing.toString(), in <lambda>() 77 keyguardOccluded.toString(), in <lambda>() 78 keyguardNeedsInput.toString(), in <lambda>() 79 panelVisible.toString(), in <lambda>() 80 shadeOrQsExpanded.toString(), in <lambda>() 81 notificationShadeFocusable.toString(), in <lambda>() 82 bouncerShowing.toString(), in <lambda>() 83 glanceableHubShowing.toString(), in <lambda>() 84 keyguardFadingAway.toString(), in <lambda>() 85 keyguardGoingAway.toString(), in <lambda>() [all …]
|
D | NPVCDownEventState.kt | 50 x.toString(), in <lambda>() 51 y.toString(), in <lambda>() 52 qsTouchAboveFalsingThreshold.toString(), in <lambda>() 53 dozing.toString(), in <lambda>() 54 collapsed.toString(), in <lambda>() 55 canCollapseOnQQS.toString(), in <lambda>() 56 listenForHeadsUp.toString(), in <lambda>() 57 allowExpandForSmallExpansion.toString(), in <lambda>() 58 touchSlopExceededBeforeDown.toString(), in <lambda>() 59 lastEventSynthesized.toString() in <lambda>()
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | SourceTransformerTest.kt | 170 it.scope.orElse(null)?.toString() == implName in <lambda>() 176 assertEquals("TEST_GROUP", methodCall.arguments[0].toString()) in <lambda>() 177 assertEquals("-1473209266730422156L", methodCall.arguments[1].toString()) in <lambda>() 178 assertEquals(0b1001.toString(), methodCall.arguments[2].toString()) in <lambda>() 179 assertEquals("\"test %d %f\"", methodCall.arguments[3].toString()) in <lambda>() 180 assertEquals("protoLogParam0", methodCall.arguments[4].toString()) in <lambda>() 181 assertEquals("protoLogParam1", methodCall.arguments[5].toString()) in <lambda>() 212 it.scope.orElse(null)?.toString() == implName in <lambda>() 218 assertEquals("TEST_GROUP", methodCall.arguments[0].toString()) in <lambda>() 219 assertEquals("-1473209266730422156L", methodCall.arguments[1].toString()) in <lambda>() [all …]
|
/frameworks/av/media/libmediahelper/tests/ |
D | typeconverter_tests.cpp | 34 const std::string stringVal = toString(enumVal); in TEST() 44 const std::string stringVal = toString(enumVal); in TEST() 50 EXPECT_TRUE(InputChannelConverter::toString(channelMask, stringValBack)) in TEST() 60 EXPECT_TRUE(OutputChannelConverter::toString(channelMask, stringValBack)) in TEST() 68 EXPECT_TRUE(ChannelIndexConverter::toString(channelMask, stringValBack)) in TEST() 71 } else if (stringVal == toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE)) { in TEST() 81 EXPECT_TRUE(InputChannelConverter::toString(channelMask, stringValBack)) in TEST() 84 EXPECT_TRUE(OutputChannelConverter::toString(channelMask, stringValBack)) in TEST() 87 EXPECT_TRUE(ChannelIndexConverter::toString(channelMask, stringValBack)) in TEST() 98 const std::string stringVal = toString(enumVal); in TEST() [all …]
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 503 Integer.toString(mAppIdValue), in utAddPackage() 504 Integer.toString(mContentTypeValue), in utAddPackage() 513 assertTrue(wpman.verifyData(Integer.toString(mAppIdValue), in utAddPackage() 514 Integer.toString(mContentTypeValue), in utAddPackage() 540 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 541 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 543 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 544 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 546 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 547 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/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 73 throw new RuntimeException(e.toString()); in setAshmem() 89 throw new RuntimeException(e.toString()); in submitFromAshmem() 105 throw new RuntimeException(e.toString()); in getAvbPublicKey() 120 throw new RuntimeException(e.toString()); in commit() 134 throw new RuntimeException(e.toString()); in startInstallation() 158 throw new RuntimeException(e.toString()); in createPartition() 171 throw new RuntimeException(e.toString()); in closePartition() 183 throw new RuntimeException(e.toString()); in finishInstallation() 199 throw new RuntimeException(e.toString()); in getInstallationProgress() 216 throw new RuntimeException(e.toString()); in abort() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 41 using line_breaker_test_helper::toString; 278 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 280 << toString(textBuf, actual); in TEST_F() 289 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 291 << toString(textBuf, actual); in TEST_F() 303 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 305 << toString(textBuf, actual); in TEST_F() 319 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 321 << toString(textBuf, actual); in TEST_F() 335 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() [all …]
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 118 public String toString() { in toString() method in ChipsTest.MockRecipientEditTextView 119 return mEditable != null ? mEditable.toString() : ""; in toString() 190 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 192 int secondStart = mEditable.toString().indexOf(second); in testSanitizeBetween() 197 String editableString = mEditable.toString(); in testSanitizeBetween() 208 firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() 212 assertEquals(mEditable.toString(), first); in testSanitizeBetween() 227 int firstStart = mEditable.toString().indexOf(first); in testSanitizeEnd() 229 int secondStart = mEditable.toString().indexOf(second); in testSanitizeEnd() 234 String editableString = mEditable.toString(); in testSanitizeEnd() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Debug.h | 39 std::string toString(const Point& point); 40 std::string toString(const MinikinRect& rect); 41 std::string toString(const Range& range); 42 std::string toString(const MinikinExtent& extent); 43 std::string toString(const LayoutPiece& layout); 44 std::string toString(const MinikinPaint& paint); 45 std::string toString(const FontFeature& feature); 46 std::string toString(const std::vector<FontFeature>& features);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 49 assertEquals(sTestUri1.toString(), uri.toString()); in testInsert() 50 assertEquals(sTestValues1.toString(), values.toString()); in testInsert() 54 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsert() 62 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertNoValues() 67 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertNoValues() 77 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertFailed() 78 assertEquals(sTestValues1.toString(), values.toString()); in testInsertFailed() 101 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertWithBackRefs() 105 assertEquals(expected.toString(), values.toString()); in testInsertWithBackRefs() 109 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertWithBackRefs() [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, false).toString()) in testFormatElapsedTime_WithSeconds_ShowSeconds() 58 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false, false).toString()) in testFormatElapsedTime_NoSeconds_DoNotShowSeconds() 68 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false, false).toString()) in testFormatElapsedTime_TimeMoreThanOneDay_ShowCorrectly() 78 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false, true).toString()) in testFormatElapsedTime_TimeMoreThanOneDayAndCollapseTimeUnit_ShowCorrectly() 87 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false, false).toString()) in testFormatElapsedTime_ZeroFieldsInTheMiddleDontShow() 96 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, true, false).toString()) in testFormatElapsedTime_FormatZero_WithSeconds() 105 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false, false).toString()) in testFormatElapsedTime_FormatZero_NoSeconds() 131 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_WithSeconds_ShowSeconds() 140 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_NoSeconds_DoNotShowSeconds() 149 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoMinutes_withSeconds() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 95 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowToFile() 99 writer.write(stringWriter.toString()); in dumpWindowToFile() 139 serializer.attribute("", "id", Integer.toString(displayId)); in dumpWindowsToFile() 150 writer.write(stringWriter.toString()); in dumpWindowsToFile() 162 serializer.attribute("", "index", Integer.toString(index)); in dumpWindowRec() 164 serializer.attribute("", "title", title != null ? title.toString() : ""); in dumpWindowRec() 168 serializer.attribute("", "active", Boolean.toString(winfo.isActive())); in dumpWindowRec() 169 serializer.attribute("", "focused", Boolean.toString(winfo.isFocused())); in dumpWindowRec() 171 Boolean.toString(winfo.isAccessibilityFocused())); in dumpWindowRec() 172 serializer.attribute("", "id", Integer.toString(winfo.getId())); in dumpWindowRec() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | BackgroundRestrictedAlarmsTest.java | 52 private static String toString(SparseArray<ArrayList<Alarm>> pendingAlarms) { in toString() method in BackgroundRestrictedAlarmsTest 62 sb.append(toString(pendingAlarms.valueAt(i))); in toString() 65 return sb.toString(); in toString() 68 private static String toString(ArrayList<Alarm> alarms) { in toString() method in BackgroundRestrictedAlarmsTest 79 return sb.toString(); in toString() 97 assertEquals("", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 98 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 111 assertEquals("[100001: a1]", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 112 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 125 assertEquals("", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/ |
D | QSPipelineLogger.kt | 59 str1 = tiles.toString() in logParsedTiles() 76 str1 = currentTiles.toString() in logTilesRestoredAndReconciled() 77 str2 = reconciledTiles.toString() in logTilesRestoredAndReconciled() 93 str1 = action.toString() in logProcessTileChange() 94 str2 = newList.toString() in logProcessTileChange() 107 str1 = spec.toString() in logTileDestroyed() 119 { str1 = spec.toString() }, in logTileCreated() 129 { str1 = spec.toString() }, in logTileNotFoundInFactory() 140 str1 = spec.toString() in logTileUserChanged() 156 str1 = tiles.toString() in logTilesNotInstalled() [all …]
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareLoggingTest.java | 45 assertThat(stringRep).contains(exception.toString()); in serviceEventException_getStringContainsInfo() 46 assertThat(stringRep).contains(param1.toString()); in serviceEventException_getStringContainsInfo() 47 assertThat(stringRep).contains(param2.toString()); in serviceEventException_getStringContainsInfo() 59 assertThat(stringRep).contains(exception.toString()); in serviceEventExceptionNoArgs_getStringContainsInfo() 74 assertThat(stringRep).contains(retValue.toString()); in serviceEventReturn_getStringContainsInfo() 75 assertThat(stringRep).contains(param1.toString()); in serviceEventReturn_getStringContainsInfo() 76 assertThat(stringRep).contains(param2.toString()); in serviceEventReturn_getStringContainsInfo() 88 assertThat(stringRep).contains(retValue.toString()); in serviceEventReturnNoArgs_getStringContainsInfo() 100 assertThat(stringRep).contains(exception.toString()); in sessionEventException_getStringContainsInfo() 101 assertThat(stringRep).contains(param1.toString()); in sessionEventException_getStringContainsInfo() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigDescription_test.cpp | 53 EXPECT_EQ(std::string(""), config.toString().c_str()); in TEST() 56 EXPECT_EQ(std::string("fr-land"), config.toString().c_str()); in TEST() 64 config.toString().c_str()); in TEST() 70 EXPECT_EQ(std::string("en-rUS"), config.toString().c_str()); in TEST() 76 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().c_str()); in TEST() 79 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().c_str()); in TEST() 94 EXPECT_EQ(std::string("round-v23"), config.toString().c_str()); in TEST() 100 EXPECT_EQ(std::string("notround-v23"), config.toString().c_str()); in TEST() 109 EXPECT_EQ(std::string("widecg-v26"), config.toString().c_str()); in TEST() 115 EXPECT_EQ(std::string("nowidecg-v26"), config.toString().c_str()); in TEST() [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/minikin/libs/minikin/ |
D | Debug.cpp | 59 std::string toString(const Point& point) { in toString() function 65 std::string toString(const MinikinRect& rect) { in toString() function 71 std::string toString(const Range& range) { in toString() function 77 std::string toString(const MinikinExtent& extent) { in toString() function 83 std::string toString(const FontFeature& feature) { in toString() function 89 std::string toString(const std::vector<FontFeature>& features) { in toString() function 95 std::string toString(const LayoutPiece& layout) { in toString() function 97 ss << "{advance=" << layout.advance() << ", extent=" << toString(layout.extent()) in toString() 101 ss << "{id:" << layout.glyphIdAt(i) << ", pos = " << toString(layout.pointAt(i)) in toString() 109 std::string toString(const MinikinPaint& paint) { in toString() function
|