Home
last modified time | relevance | path

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

12345

/system/netd/libnetdutils/
DLogTest.cpp72 EXPECT_EQ("", empty.toString()); in TEST()
76 EXPECT_EQ("globalFunctionName()", ::globalFunctionName().toString()); in TEST()
80 EXPECT_EQ("globalPrettyFunctionName()", ::globalPrettyFunctionName().toString()); in TEST()
85 EXPECT_EQ("functionName()", entry.toString()); in TEST()
90 EXPECT_EQ("prettyFunctionName()", entry.toString()); in TEST()
95 EXPECT_EQ("functionName()", entry.toString()); in TEST()
100 EXPECT_EQ("AAA::prettyFunctionName()", entry.toString()); in TEST()
105 EXPECT_EQ("functionName()", entry.toString()); in TEST()
110 EXPECT_EQ("BBB::prettyFunctionName()", entry.toString()); in TEST()
119 EXPECT_EQ("testFunc(hello, 42, true)", entry.toString()); in TEST()
[all …]
DInternetAddresses.cpp33 std::string IPAddress::toString() const noexcept { in toString() function in android::netdutils::IPAddress
150 std::string IPPrefix::toString() const noexcept { in toString() function in android::netdutils::IPPrefix
151 return StringPrintf("%s/%d", ip().toString().c_str(), mData.cidrlen); in toString()
154 std::string IPSockAddr::toString() const noexcept { in toString() function in android::netdutils::IPSockAddr
157 return StringPrintf("[%s]:%u", ip().toString().c_str(), mData.port); in toString()
159 return StringPrintf("%s:%u", ip().toString().c_str(), mData.port); in toString()
DInternetAddressesTest.cpp49 std::string toString() const { in toString() function
123 SCOPED_TRACE(expectation.toString()); in TEST()
141 EXPECT_EQ("fe80::1%22", IPAddress(FE80_1, 22).toString()); in TEST()
142 EXPECT_EQ("fe80::2%23", IPAddress(FE80_2, 23).toString()); in TEST()
199 EXPECT_EQ("2001:db8::/32", prefix.toString()); in TEST()
204 EXPECT_EQ("0.0.0.0/0", IPPrefix::forString("0.0.0.0/0").toString()); in TEST()
205 EXPECT_EQ("::/0", IPPrefix::forString("::/0").toString()); in TEST()
206 EXPECT_EQ("192.0.2.128/25", IPPrefix::forString("192.0.2.131/25").toString()); in TEST()
208 IPPrefix::forString("2001:db8:1:2:3:4:5:6/126").toString()); in TEST()
213 return IPPrefix(IPAddress(IPV4_ONES), length).toString(); in TEST()
[all …]
DSocket.cpp25 StatusOr<std::string> toString(const in6_addr& addr) { in toString() function
DStatus.cpp34 std::string toString(const Status& status) { in toString() function
/system/security/keystore/
Dkey_proto_handler.cpp35 keyConfig->add_purpose(toString(accessTagValue(TAG_PURPOSE, keyParam))); in checkEnforcedCharacteristics()
38 keyConfig->set_algorithm(toString(accessTagValue(TAG_ALGORITHM, keyParam))); in checkEnforcedCharacteristics()
44 keyConfig->add_block_mode(toString(accessTagValue(TAG_BLOCK_MODE, keyParam))); in checkEnforcedCharacteristics()
47 keyConfig->add_padding(toString(accessTagValue(TAG_PADDING, keyParam))); in checkEnforcedCharacteristics()
50 keyConfig->add_digest(toString(accessTagValue(TAG_DIGEST, keyParam))); in checkEnforcedCharacteristics()
53 keyConfig->set_ec_curve(toString(accessTagValue(TAG_EC_CURVE, keyParam))); in checkEnforcedCharacteristics()
59 keyConfig->set_origin(toString(accessTagValue(TAG_ORIGIN, keyParam))); in checkEnforcedCharacteristics()
63 toString(accessTagValue(TAG_BLOB_USAGE_REQUIREMENTS, keyParam))); in checkEnforcedCharacteristics()
66 keyConfig->set_user_auth_type(toString(accessTagValue(TAG_USER_AUTH_TYPE, keyParam))); in checkEnforcedCharacteristics()
Doperation_proto_handler.cpp61 operationConfig->set_algorithm(toString(accessTagValue(TAG_ALGORITHM, opParam))); in checkKeyCharacteristics()
67 operationConfig->set_ec_curve(toString(accessTagValue(TAG_EC_CURVE, opParam))); in checkKeyCharacteristics()
73 operationConfig->set_origin(toString(accessTagValue(TAG_ORIGIN, opParam))); in checkKeyCharacteristics()
77 toString(accessTagValue(TAG_BLOB_USAGE_REQUIREMENTS, opParam))); in checkKeyCharacteristics()
81 toString(accessTagValue(TAG_USER_AUTH_TYPE, opParam))); in checkKeyCharacteristics()
94 operationConfig->set_block_mode(toString(accessTagValue(TAG_BLOCK_MODE, opParam))); in checkOpCharacteristics()
97 operationConfig->set_padding(toString(accessTagValue(TAG_PADDING, opParam))); in checkOpCharacteristics()
100 operationConfig->set_digest(toString(accessTagValue(TAG_DIGEST, opParam))); in checkOpCharacteristics()
/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.cc140 …LOG(INFO) << __func__ << ": session_type=" << toString(session_type_) << ", cookie=" << StringPrin… in SetUp()
165 …unc__ << ": device=" << StringPrintf("%#x", device) << ", session_type=" << toString(session_type_) in init_session_type()
174 LOG(ERROR) << __func__ << ": session_type=" << toString(session_type_) in TearDown()
179 …LOG(INFO) << __func__ << ": session_type=" << toString(session_type_) << ", cookie=" << StringPrin… in TearDown()
193 LOG(INFO) << "control_result_cb: session_type=" << toString(session_type_) in ControlResultHandler()
195 << ", status=" << toString(status); in ControlResultHandler()
203 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
204 << " failure for session_type=" << toString(session_type_) in ControlResultHandler()
215 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
216 << " failure for session_type=" << toString(session_type_) in ControlResultHandler()
[all …]
/system/tools/hidl/c2hal/
DExpression.cpp92 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 …]
DEnumVarDeclaration.cpp47 out << " = " << mExpression->toString(StringHelper::kUpperSnakeCase); in generateSource()
/system/bt/audio_hal_interface/
Dcodec_status.cc76 LOG(WARNING) << __func__ << ": software codec=" << toString(sbc_config) in sbc_offloading_capability_match()
77 << " capability=" << toString(sbc_capability); in sbc_offloading_capability_match()
80 VLOG(1) << __func__ << ": offloading codec=" << toString(sbc_config) in sbc_offloading_capability_match()
81 << " capability=" << toString(sbc_capability); in sbc_offloading_capability_match()
101 LOG(WARNING) << __func__ << ": software codec=" << toString(aac_config) in aac_offloading_capability_match()
102 << " capability=" << toString(aac_capability); in aac_offloading_capability_match()
105 VLOG(1) << __func__ << ": offloading codec=" << toString(aac_config) in aac_offloading_capability_match()
106 << " capability=" << toString(aac_capability); in aac_offloading_capability_match()
121 LOG(WARNING) << __func__ << ": software codec=" << toString(aptx_config) in aptx_offloading_capability_match()
122 << " capability=" << toString(aptx_capability); in aptx_offloading_capability_match()
[all …]
/system/libhidl/base/include/hidl/
DHidlSupport.h917 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 …]
DMQDescriptor.h266 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() function
275 + toString(q.grantors().size()) + " grantor(s), " in toString()
276 + "size = " + toString(q.getSize()) in toString()
277 + ", .handle = " + toString(q.handle()) in toString()
278 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
/system/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/
DErrors.java84 return sb.toString(); in asString()
108 addMessage(out.toString()); in addInternal()
117 messages.add(scopes.toString() + ": " + msg); in addMessage()
/system/netd/libnetdutils/include/netdutils/
DLog.h44 std::string toString() const;
126 void log(const LogEntry& entry) { log(entry.toString()); } in log()
141 void info(const LogEntry& entry) { info(entry.toString()); } in info()
156 void warn(const LogEntry& entry) { warn(entry.toString()); } in warn()
171 void error(const LogEntry& entry) { error(entry.toString()); } in error()
DSocket.h39 StatusOr<std::string> toString(const in6_addr& addr);
DInternetAddresses.h158 std::string toString() const noexcept;
161 os << ip.toString();
226 std::string toString() const noexcept;
229 os << prefix.toString();
303 std::string toString() const noexcept;
306 os << prefix.toString();
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java70 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidCountryZonesFile()
90 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidRulesVersion()
111 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryWithNoTimeZoneMappings()
137 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryWithDuplicateTimeZoneMappings()
161 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in badDefaultId()
184 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in explicitDefaultIdInvalid()
244 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryZonesContainsNonLowercaseIsoCode()
267 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryZonesContainsDuplicate()
287 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryZonesAndZoneTabCountryMismatch()
309 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryZonesAndZoneTabDisagreeOnZones()
[all …]
/system/core/libutils/
DCallStack.cpp63 String8 CallStack::toString(const char* prefix) const { in toString() function in android::CallStack
95 return stack->toString(prefix); in stackToStringInternal()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaSimpleType.java79 return expression.toString(); in getParsingExpression()
96 return expression.toString(); in getWritingExpression()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java72 return expression.toString(); in getParsingExpression()
106 return expression.toString(); in getWritingExpression()
/system/netd/server/
DUidRanges.h38 std::string toString() const;
DNetwork.h52 std::string toString() const;
/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java56 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidTelephonyLookupFile()
141 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in checkGenerationFails()
160 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in generateTelephonyLookupXml()
/system/media/audio_utils/tests/
Dstatistics_tests.cpp346 printf("statistics: %s\n", stat.toString().c_str()); in TEST()
347 printf("ref statistics: %s\n", rstat.toString().c_str()); in TEST()
434 printf("statistics_inner: %s\n", stat.toString().c_str()); in TEST()
435 printf("statistics_outer: %s\n", stat_outer.toString().c_str()); in TEST()
436 printf("statistics_outer_ut: %s\n", stat_outer_ut.toString().c_str()); in TEST()
543 printf("statistics for %s: %s\n", param, stat.toString().c_str()); in TEST_P()
544 printf("ref statistics for %s: %s\n", param, rstat.toString().c_str()); in TEST_P()

12345