/system/libcppbor/tests/ |
D | cppbor_test.cpp | 64 EXPECT_EQ(val.encodedSize(), val.toString().size()) in TEST() 70 EXPECT_EQ("\x00"s, Uint(0u).toString()); in TEST() 71 EXPECT_EQ("\x01"s, Uint(1u).toString()); in TEST() 72 EXPECT_EQ("\x0a"s, Uint(10u).toString()); in TEST() 73 EXPECT_EQ("\x17"s, Uint(23u).toString()); in TEST() 74 EXPECT_EQ("\x18\x18"s, Uint(24u).toString()); in TEST() 75 EXPECT_EQ("\x18\x19"s, Uint(25u).toString()); in TEST() 76 EXPECT_EQ("\x18\x64"s, Uint(100u).toString()); in TEST() 77 EXPECT_EQ("\x19\x03\xe8"s, Uint(1000u).toString()); in TEST() 78 EXPECT_EQ("\x1a\x00\x0f\x42\x40"s, Uint(1000000u).toString()); in TEST() [all …]
|
/system/tools/hidl/c2hal/ |
D | Expression.cpp | 92 std::string toString(StringHelper::Case atomCase) override { in toString() function 93 return "(" + mInner->toString(atomCase) + ")"; in toString() 120 std::string toString(StringHelper::Case atomCase) override { in toString() function 144 std::string toString(StringHelper::Case atomCase) override { in toString() function 145 return mOp + mRhs->toString(atomCase); in toString() 167 std::string toString(StringHelper::Case atomCase) override { in toString() function 168 return mLhs->toString(atomCase) + " " + mOp + " " + mRhs->toString(atomCase); in toString() 192 std::string toString(StringHelper::Case atomCase) override { in toString() function 193 …return mLhs->toString(atomCase) + " ? " + mMhs->toString(atomCase) + " : " + mRhs->toString(atomCa… in toString() 215 std::string toString(StringHelper::Case atomCase) override { in toString() function [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/ |
D | ParcelableForToString.java | 134 public String toString() { in toString() method in ParcelableForToString 137 _aidl_sj.add("intArray: " + (java.util.Arrays.toString(intArray))); in toString() 139 _aidl_sj.add("longArray: " + (java.util.Arrays.toString(longArray))); in toString() 141 _aidl_sj.add("doubleArray: " + (java.util.Arrays.toString(doubleArray))); in toString() 143 _aidl_sj.add("floatArray: " + (java.util.Arrays.toString(floatArray))); in toString() 145 _aidl_sj.add("byteArray: " + (java.util.Arrays.toString(byteArray))); in toString() 147 _aidl_sj.add("booleanArray: " + (java.util.Arrays.toString(booleanArray))); in toString() 148 _aidl_sj.add("stringValue: " + (java.util.Objects.toString(stringValue))); in toString() 149 _aidl_sj.add("stringArray: " + (java.util.Arrays.toString(stringArray))); in toString() 150 _aidl_sj.add("stringList: " + (java.util.Objects.toString(stringList))); in toString() [all …]
|
D | IntEnum.java | 13 static String toString(int _aidl_v) { in toString() method 18 return Integer.toString(_aidl_v); in toString() 33 _aidl_sj.add(toString(e)); in arrayToString() 36 return _aidl_sj.toString(); in arrayToString()
|
D | StructuredParcelable.java | 269 public String toString() { in toString() method in StructuredParcelable 271 _aidl_sj.add("shouldContainThreeFs: " + (java.util.Arrays.toString(shouldContainThreeFs))); in toString() 273 _aidl_sj.add("shouldBeJerry: " + (java.util.Objects.toString(shouldBeJerry))); in toString() 275 _aidl_sj.add("shouldBeIntBar: " + (android.aidl.tests.IntEnum.$.toString(shouldBeIntBar))); in toString() 277 …_aidl_sj.add("shouldContainTwoByteFoos: " + (java.util.Arrays.toString(shouldContainTwoByteFoos))); in toString() 279 …_aidl_sj.add("shouldContainTwoLongFoos: " + (java.util.Arrays.toString(shouldContainTwoLongFoos))); in toString() 280 _aidl_sj.add("stringDefaultsToFoo: " + (java.util.Objects.toString(stringDefaultsToFoo))); in toString() 288 _aidl_sj.add("arrayDefaultsTo123: " + (java.util.Arrays.toString(arrayDefaultsTo123))); in toString() 289 _aidl_sj.add("arrayDefaultsToEmpty: " + (java.util.Arrays.toString(arrayDefaultsToEmpty))); in toString() 297 _aidl_sj.add("checkStringArray1: " + (java.util.Arrays.toString(checkStringArray1))); in toString() [all …]
|
D | OtherParcelableForToString.java | 46 public String toString() { in toString() method in OtherParcelableForToString 48 _aidl_sj.add("field: " + (java.util.Objects.toString(field))); in toString() 49 return "android.aidl.tests.OtherParcelableForToString" + _aidl_sj.toString() ; in toString()
|
D | Union.java | 235 public String toString() { in toString() method in Union 237 case ns: return "android.aidl.tests.Union.ns(" + (java.util.Arrays.toString(getNs())) + ")"; in toString() 240 case s: return "android.aidl.tests.Union.s(" + (java.util.Objects.toString(getS())) + ")"; in toString() 241 …case ibinder: return "android.aidl.tests.Union.ibinder(" + (java.util.Objects.toString(getIbinder(… in toString() 242 case ss: return "android.aidl.tests.Union.ss(" + (java.util.Objects.toString(getSs())) + ")"; in toString()
|
D | GenericStructuredParcelable.java | 50 public String toString() { in toString() method in GenericStructuredParcelable 54 return "android.aidl.tests.GenericStructuredParcelable" + _aidl_sj.toString() ; in toString()
|
/system/timezone/input_tools/android/zone_compactor/test/java/ |
D | ZoneCompactorTest.java | 65 inputFilesDir.toString(), in shouldFollowLinkChains_definedInForwardOrder() 66 outputFilesDir.toString(), in shouldFollowLinkChains_definedInForwardOrder() 94 inputFilesDir.toString(), in shouldFollowLinkChains_definedInBackwardsOrder() 95 outputFilesDir.toString(), in shouldFollowLinkChains_definedInBackwardsOrder() 124 inputFilesDir.toString(), in shouldFail_ifSetupFileHasMultipleZoneEntriesOfTheSameTimeZoneId() 125 outputFilesDir.toString(), in shouldFail_ifSetupFileHasMultipleZoneEntriesOfTheSameTimeZoneId()
|
/system/core/libutils/ |
D | CallStack_test.cpp | 28 backtrace = cs.toString(); in CurrentCaller() 62 ASSERT_NE(-1, cs.toString().find("(ThreadBusyWait")) << "Full backtrace:\n" << cs.toString(); in TEST()
|
/system/netd/server/ |
D | Network.cpp | 60 std::string Network::toString() const { in toString() function in android::net::Network 80 result << "prio " << it->first << " " << it->second.toString(); in uidRangesToString() 90 return mAllowedUids->toString(); in allowedUidsToString() 141 ALOGE("uid range %s overlaps self", uidRanges.toString().c_str()); in canAddUidRanges()
|
/system/media/tests/ |
D | EffectParamWrapper_tests.cpp | 121 TEST(EffectParamWrapperTest, toString) { in TEST() argument 124 EXPECT_TRUE(wrapper.toString().find("effect_param_t: ") != std::string::npos); in TEST() 125 EXPECT_TRUE(wrapper.toString().find("status: -1") != std::string::npos); in TEST() 126 EXPECT_TRUE(wrapper.toString().find("p: 2") != std::string::npos); in TEST() 127 EXPECT_TRUE(wrapper.toString().find("v: 4") != std::string::npos); in TEST() 144 << wrapper.toString(); in TEST() 151 << wrapper.toString(); in TEST() 161 << wrapper.toString(); in TEST() 169 << wrapper.toString(); in TEST() 277 << writer.toString(); in TEST() [all …]
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 917 std::string toString(const void *t); 921 inline std::string toString(T t) { 950 return std::string{"["} + toString(SIZE1) + "]"; 955 return std::string{"["} + toString(SIZE1) + "]" + arraySizeToString<SIZE2, SIZES...>(); 959 std::string toString(details::const_accessor<T, SIZE1> a) { 965 using android::hardware::toString; 972 os += toString(a[i]); 979 std::string toString(details::const_accessor<T, SIZE1, SIZE2, SIZES...> a) { 985 inline std::string toString(const void *t) { 990 inline std::string toString(const hidl_string &hs) { [all …]
|
D | MQDescriptor.h | 198 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() function 207 + toString(q.grantors().size()) + " grantor(s), " in toString() 208 + "size = " + toString(q.getSize()) in toString() 209 + ", .handle = " + toString(q.handle()) in toString() 210 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
|
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/ |
D | TestCppCodeGenerator.java | 69 assertTrue(files.get("com_abc.cpp").toString().contains("readSimpleTypeElement")); in testSimpleTypeRootParser() 70 assertTrue(files.get("com_abc.cpp").toString().contains("writeSimpleTypeElement")); in testSimpleTypeRootParser() 147 assertTrue(files.get("com_abc.cpp").toString().contains("readRoot1")); in generateParsersForSpecifiedRoot() 148 assertFalse(files.get("com_abc.cpp").toString().contains("readRoot2")); in generateParsersForSpecifiedRoot()
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | ArrayOfInterfaces.aidl | 33 @JavaDerive(toString=true, equals=true) 41 @JavaDerive(toString=true, equals=true)
|
D | ListOfInterfaces.aidl | 33 @JavaDerive(toString=true, equals=true) 41 @JavaDerive(toString=true, equals=true)
|
D | StructuredParcelable.aidl | 26 @JavaDerive(toString=true, equals=true) 75 @JavaDerive(toString=true, equals=true)
|
D | OtherParcelableForToString.aidl | 19 @JavaDerive(toString=true)
|
/system/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/ |
D | Errors.java | 84 return sb.toString(); in asString() 108 addMessage(out.toString()); in addInternal() 117 messages.add(scopes.toString() + ": " + msg); in addMessage()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/nested/ |
D | DeeplyNested.h | 71 inline std::string toString() const { in toString() function 102 inline std::string toString() const { in toString() function 133 inline std::string toString() const { in toString() function 170 inline std::string toString() const { in toString() function 202 inline std::string toString() const { in toString() function 219 [[nodiscard]] static inline std::string toString(DeeplyNested::B::C::D::E val) { in toString() function
|
/system/media/audio/include/system/audio_effects/ |
D | audio_effects_utils.h | 57 std::string toString() const { in toString() function 152 std::string toString() const { in toString() function 154 os << EffectParamWrapper::toString(); in toString() 244 std::string toString() const { in toString() function 246 os << EffectParamReader::toString(); in toString()
|
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-java-source/gen/android/aidl/fixedsizearray/ |
D | FixedSizeArrayExample.java | 271 public String toString() { in toString() method in FixedSizeArrayExample 274 _aidl_sj.add("boolArray: " + (java.util.Arrays.toString(boolArray))); in toString() 275 _aidl_sj.add("byteArray: " + (java.util.Arrays.toString(byteArray))); in toString() 276 _aidl_sj.add("charArray: " + (java.util.Arrays.toString(charArray))); in toString() 277 _aidl_sj.add("intArray: " + (java.util.Arrays.toString(intArray))); in toString() 278 _aidl_sj.add("longArray: " + (java.util.Arrays.toString(longArray))); in toString() 279 _aidl_sj.add("floatArray: " + (java.util.Arrays.toString(floatArray))); in toString() 280 _aidl_sj.add("doubleArray: " + (java.util.Arrays.toString(doubleArray))); in toString() 281 _aidl_sj.add("stringArray: " + (java.util.Arrays.toString(stringArray))); in toString() 282 _aidl_sj.add("byteEnumArray: " + (java.util.Arrays.toString(byteEnumArray))); in toString() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/nested/ |
D | DeeplyNested.h | 54 inline std::string toString() const { in toString() function 86 inline std::string toString() const { in toString() function 118 inline std::string toString() const { in toString() function 153 inline std::string toString() const { in toString() function 186 inline std::string toString() const { in toString() function 201 [[nodiscard]] static inline std::string toString(DeeplyNested::B::C::D::E val) { in toString() function
|
/system/libfmq/include/fmq/ |
D | AidlMQDescriptorShim.h | 251 std::string toString(const AidlMQDescriptorShim<T, flavor>& q) { in toString() function 259 os += " {" + toString(q.grantors().size()) + " grantor(s), " + in toString() 260 "size = " + toString(q.getSize()) + ", .handle = " + toString(q.handle()) + in toString() 261 ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
|