Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 31) sorted by relevance

12

/system/tools/hidl/c2hal/
DExpression.cpp94 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
95 return "(" + mInner->toString(atomCase) + ")"; in toString()
122 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
146 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
147 return mOp + mRhs->toString(atomCase); in toString()
169 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
170 return mLhs->toString(atomCase) + " " + mOp + " " + mRhs->toString(atomCase); in toString()
194 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
195 …return mLhs->toString(atomCase) + " ? " + mMhs->toString(atomCase) + " : " + mRhs->toString(atomCa… in toString()
217 virtual std::string toString(StringHelper::Case atomCase) { in toString() function
[all …]
DEnumVarDeclaration.cpp47 out << " = " << mExpression->toString(StringHelper::kUpperSnakeCase); in generateSource()
DExpression.h82 virtual std::string toString(StringHelper::Case atomCase = StringHelper::kNoCase) = 0;
DType.cpp184 ss << "[" << array->toString() << "]"; in getHidlType()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DNullableTests.java45 "null parameter, but got " + ex.toString()); in checkNullHandling()
61 "but got " + ex.toString()); in checkNullBinderDetection()
78 "but got " + ex.toString()); in checkNullBinderInListDetection()
97 ex.toString()); in checkNullInterfaceHandling()
DTestServiceClient.java185 mLog.log(ex.toString()); in checkPrimitiveRepeat()
348 mLog.log(ex.toString()); in checkArrayReversal()
371 mLog.log(ex.toString()); in checkBinderExchange()
394 mLog.log(ex.toString()); in checkListReversal()
410 mLog.log(input.toString() + " != " + out_param.toString()); in checkSimpleParcelables()
414 mLog.log(input.toString() + " != " + returned.toString()); in checkSimpleParcelables()
438 mLog.log(input[i].toString() + " != " + in checkSimpleParcelables()
439 reversed[k].toString()); in checkSimpleParcelables()
445 mLog.log(ex.toString()); in checkSimpleParcelables()
459 mLog.log(emptyBundle.toString() + " != " + returned.toString()); in checkPersistableBundles()
[all …]
DSimpleParcelable.java59 public String toString() { in toString() method in SimpleParcelable
/system/libhidl/base/include/hidl/
DHidlSupport.h814 std::string toString(const void *t);
818 inline std::string toString(T t) {
847 return std::string{"["} + toString(SIZE1) + "]";
852 return std::string{"["} + toString(SIZE1) + "]" + arraySizeToString<SIZE2, SIZES...>();
856 std::string toString(details::const_accessor<T, SIZE1> a) {
862 using android::hardware::toString;
869 os += toString(a[i]);
876 std::string toString(details::const_accessor<T, SIZE1, SIZE2, SIZES...> a) {
882 inline std::string toString(const void *t) {
887 inline std::string toString(const hidl_string &hs) {
[all …]
DMQDescriptor.h261 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() function
270 + toString(q.grantors().size()) + " grantor(s), " in toString()
271 + "size = " + toString(q.getSize()) in toString()
272 + ", .handle = " + toString(q.handle()) in toString()
273 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java577 Expect(e.toString(), in client()
587 e.multidimArray[i][j] = Integer.toString(i) + Integer.toString(j); in client()
591 Expect(e.toString(), in client()
596 Expect(IBaz.BitField.toString(IBaz.BitField.VALL), "VALL"); in client()
597 Expect(IBaz.BitField.toString((byte)(IBaz.BitField.V0 | IBaz.BitField.V2)), "0x5"); in client()
602 Expect(proxy.toString(), IBaz.kInterfaceName + "@Proxy"); in client()
619 throw new RuntimeException("Failed at call #" + Integer.toString(i), ex); in client()
653 Log.d(TAG, "Baz someOtherBaseMethod " + foo.toString()); in someOtherBaseMethod()
658 Log.d(TAG, "Baz someMethodWithFooArrays " + fooInput.toString()); in someMethodWithFooArrays()
669 Log.d(TAG, "Baz someMethodWithFooVectors " + fooInput.toString()); in someMethodWithFooVectors()
[all …]
/system/libvintf/
DVintfObject.cpp101 static std::string toString(ParseStatus status) { in toString() function
190 ADD_MESSAGE(toString(parseStatus) + " manifest"); in checkCompatibility()
198 ADD_MESSAGE(toString(parseStatus) + " matrix"); in checkCompatibility()
201 ADD_MESSAGE(toString(parseStatus)); // parse error in checkCompatibility()
/system/netd/tests/dns_responder/
Ddns_responder.cpp146 const char* toString() const;
152 const char* DNSName::toString() const { in toString() function in test::DNSName
235 std::string toString() const;
266 std::string DNSQuestion::toString() const { in toString() function in test::DNSQuestion
268 int len = snprintf(buffer, sizeof(buffer), "Q<%s,%s,%s>", qname.toString(), in toString()
281 std::string toString() const;
328 std::string DNSRecord::toString() const { in toString() function in test::DNSRecord
330 int len = snprintf(buffer, sizeof(buffer), "R<%s,%s,%s>", name.toString(), in toString()
378 std::string toString() const;
487 std::string DNSHeader::toString() const { in toString() function in test::DNSHeader
/system/netd/server/
DUidRanges.h38 std::string toString() const;
DNetwork.h54 std::string toString() const;
DNetwork.cpp58 std::string Network::toString() const { in toString() function in android::net::Network
DVirtualNetwork.cpp62 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret)); in maybeCloseSockets()
DUidRanges.cpp106 std::string UidRanges::toString() const { in toString() function in android::net::UidRanges
/system/core/libutils/include/utils/
DCallStack.h58 String8 toString(const char* prefix = 0) const;
DProcessCallStack.h52 String8 toString(const char* prefix = 0) const;
/system/libhidl/
Dtest_main.cpp366 std::string toString(const ::android::hardware::Status &s) { in toString() function
378 EXPECT_EQ(toString(Status::ok()), "No error"); in TEST_F()
380 EXPECT_THAT(toString(Status::fromStatusT(DEAD_OBJECT)), HasSubstr("DEAD_OBJECT")); in TEST_F()
382 EXPECT_THAT(toString(Status::fromStatusT(-EBUSY)), HasSubstr("busy")); in TEST_F()
384 EXPECT_THAT(toString(Status::fromExceptionCode(Status::EX_NULL_POINTER)), in TEST_F()
/system/tools/aidl/tests/
Dsimple_parcelable.h51 std::string toString() const;
Dsimple_parcelable.cpp50 std::string SimpleParcelable::toString() const { in toString() function in android::aidl::tests::SimpleParcelable
/system/core/libutils/
DCallStack.cpp64 String8 CallStack::toString(const char* prefix) const { in toString() function in android::CallStack
DProcessCallStack.cpp236 String8 ProcessCallStack::toString(const char* prefix) const { in toString() function in android::ProcessCallStack
/system/tools/hidl/test/
Dhidl_test_client.cpp458 LOG(INFO) << toString(IFoo::Everything{}); in TEST_F()
480 LOG(INFO) << toString(e); in TEST_F()
481 LOG(INFO) << toString(foo); in TEST_F()
499 using ::android::hardware::tests::foo::V1_0::toString; in TEST_F()
501 EXPECT_EQ(toString(IFoo::BitField::V0), "V0"s); in TEST_F()
502 EXPECT_EQ(toString(static_cast<IFoo::BitField>(0)), "0"s) in TEST_F()
504 … EXPECT_EQ(toString(static_cast<IFoo::BitField>(IFoo::BitField::V0 | IFoo::BitField::V2)), "0x5"s) in TEST_F()
507 EXPECT_EQ(toString<IFoo::BitField>(0 | IFoo::BitField::V0), "V0 (0x1)"s); in TEST_F()
508 …EXPECT_EQ(toString<IFoo::BitField>(0 | IFoo::BitField::V0 | IFoo::BitField::V2), "V0 | V2 (0x5)"s); in TEST_F()
509 EXPECT_EQ(toString<IFoo::BitField>(0xF), "V0 | V1 | V2 | V3 | VALL (0xf)"s); in TEST_F()
[all …]

12