Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 51) sorted by relevance

123

/system/tools/hidl/c2hal/
DType.cpp48 std::stringstream ss; in decorateName() local
53 ss << getHidlType(); in decorateName()
55 ss << special; in decorateName()
58 ss << " " << name; in decorateName()
60 return ss.str(); in decorateName()
122 std::stringstream ss; in getHidlType() local
126 ss << " "; in getHidlType()
135 ss << "/* " in getHidlType()
144 ss << conversion; in getHidlType()
147 ss << StringHelper::ToPascalCase(baseName); in getHidlType()
[all …]
/system/netd/libnetdutils/
DStatusTest.cpp43 std::stringstream ss; in TEST() local
44 ss << so; in TEST()
45 EXPECT_EQ("StatusOr[status: Status[code: 0, msg: ], value: 11]", ss.str()); in TEST()
49 std::stringstream ss; in TEST() local
50 ss << err; in TEST()
51 EXPECT_EQ("StatusOr[status: Status[code: 2147483647, msg: undefined]]", ss.str()); in TEST()
DSlice.cpp41 std::stringstream ss; in toHex() local
45 ss << toHex(byte); in toHex()
47 ss << "\n"; in toHex()
51 return ss.str(); in toHex()
DStatus.cpp37 std::stringstream ss; in toString() local
38 ss << status; in toString()
39 return ss.str(); in toString()
DFdTest.cpp63 std::stringstream ss; in TEST() local
64 ss << fd3 << " " << fd6 << " " << bad << " " << weird; in TEST()
65 EXPECT_EQ("Fd[1] Fd[8] Fd[-1] Fd[-9]", ss.str()); in TEST()
76 std::stringstream ss; in TEST_F() local
77 ss << u; in TEST_F()
78 EXPECT_EQ("UniqueFd[Fd[97]]", ss.str()); in TEST_F()
DSliceTest.cpp38 std::stringstream ss; in TEST_F() local
39 ss << Slice(); in TEST_F()
40 EXPECT_EQ("Slice[base: 0x0, limit: 0x0, size: 0x0]", ss.str()); in TEST_F()
/system/libvintf/
DRuntimeInfo.cpp142 std::stringstream ss; in checkCompatibility() local
143 ss << "Framework is incompatible with kernel version " << mKernelVersion in checkCompatibility()
146 ss << " " << matrixKernel.minLts(); in checkCompatibility()
147 *error = ss.str(); in checkCompatibility()
168 std::stringstream ss; in checkCompatibility() local
169 ss << "AVB version " << mBootAvbVersion << " does not match framework matrix " in checkCompatibility()
171 *error = ss.str(); in checkCompatibility()
178 std::stringstream ss; in checkCompatibility() local
179 ss << "Vbmeta version " << mBootVbmetaAvbVersion in checkCompatibility()
181 *error = ss.str(); in checkCompatibility()
Dutils.h48 std::stringstream ss; in fetch() local
49 ss << in.rdbuf(); in fetch()
50 fetched = ss.str(); in fetch()
/system/connectivity/wificond/
Dserver.cpp180 stringstream ss; in dump() local
181 ss << "Current wiphy index: " << wiphy_index_ << endl; in dump()
182 ss << "Cached interfaces list from kernel message: " << endl; in dump()
184 ss << "Interface index: " << iface.index in dump()
191 iface->Dump(&ss); in dump()
195 iface->Dump(&ss); in dump()
198 if (!WriteStringToFd(ss.str(), fd)) { in dump()
290 stringstream ss; in LogSupportedBands() local
292 ss << " " << band_info.band_2g[i]; in LogSupportedBands()
294 LOG(INFO) << "2.4Ghz frequencies:"<< ss.str(); in LogSupportedBands()
[all …]
Dlogging_utils.cpp32 stringstream ss; in GetMacString() local
34 ss << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(b); in GetMacString()
36 ss << ":"; in GetMacString()
39 return ss.str(); in GetMacString()
Dclient_interface_impl.cpp157 void ClientInterfaceImpl::Dump(std::stringstream* ss) const { in Dump()
158 *ss << "------- Dump of client interface with index: " in Dump()
161 *ss << "Max number of ssids for single shot scan: " in Dump()
163 *ss << "Max number of ssids for scheduled scan: " in Dump()
165 *ss << "Max number of match sets for scheduled scan: " in Dump()
167 *ss << "Maximum number of scan plans: " in Dump()
169 *ss << "Max scan plan interval in seconds: " in Dump()
171 *ss << "Max scan plan iterations: " in Dump()
173 *ss << "Device supports random MAC for single shot scan: " in Dump()
175 *ss << "Device supports random MAC for scheduled scan: " in Dump()
[all …]
Dap_interface_impl.cpp74 void ApInterfaceImpl::Dump(std::stringstream* ss) const { in Dump()
75 *ss << "------- Dump of AP interface with index: " in Dump()
78 *ss << "Number of associated stations: " in Dump()
80 *ss << "------- Dump End -------" << endl; in Dump()
/system/media/audio_utils/
DPowerLog.cpp162 std::stringstream ss; in dumpToString() local
163 ss << std::fixed << std::setprecision(1); in dumpToString()
166 ss << prefix << "Signal power history: (none)\n"; in dumpToString()
168 ss << prefix << "Signal power history:\n"; in dumpToString()
181 ss << " ] sum(" << audio_utils_power_from_energy(cumulative) << ")"; in dumpToString()
191 ss << "\n"; in dumpToString()
193 ss << prefix << " " << audio_utils_time_string_from_ns(time).time in dumpToString()
198 ss << " "; in dumpToString()
208 ss << std::setw(6) << power; in dumpToString()
211 ss << "\n"; in dumpToString()
[all …]
/system/bt/vendor_libs/test_vendor_lib/src/
Dbt_address.cc72 std::stringstream ss; in ToString() local
74 ss << std::hex << std::setfill('0') << std::setw(2); in ToString()
77 ss << std::hex << std::setfill('0') << std::setw(2) << octet; in ToString()
78 if (i != kOctets - 1) ss << std::string(":"); in ToString()
81 return ss.str(); in ToString()
/system/extras/perfprofd/
Dcpuconfig.cc79 std::stringstream ss; in OnlineCore() local
80 ss << SYSFSCPU "/cpu" << i << "/online"; in OnlineCore()
81 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
86 W_ALOGW("open failed for %s", ss.str().c_str()); in OnlineCore()
/system/tpm/trunks/
Derror_codes.cc317 std::stringstream ss; in GetErrorString() local
321 ss << "Resource Manager: "; in GetErrorString()
326 ss << "Parameter "; in GetErrorString()
328 ss << "Session "; in GetErrorString()
330 ss << "Handle "; in GetErrorString()
333 ss << ((error & kFormatOneSubjectMask) >> 8) << ": "; in GetErrorString()
337 ss << error_string; in GetErrorString()
341 ss << "Unknown error: " << error << " (0x" << std::hex << error << ")"; in GetErrorString()
343 return ss.str(); in GetErrorString()
/system/core/libutils/
DUnicode.cpp116 const char32_t *ss = s; in strlen32() local
117 while ( *ss ) in strlen32()
118 ss++; in strlen32()
119 return ss-s; in strlen32()
124 const char32_t *ss = s; in strnlen32() local
125 while ((maxlen > 0) && *ss) { in strnlen32()
126 ss++; in strnlen32()
129 return ss-s; in strnlen32()
268 const char16_t *ss = s; in strlen16() local
269 while ( *ss ) in strlen16()
[all …]
/system/netd/server/
DNetlinkListener.cpp53 std::stringstream ss; in __anoncbe671fe0202() local
54 ss << nlmsg; in __anoncbe671fe0202()
55 ALOGE("unhandled netlink message: %s", ss.str().c_str()); in __anoncbe671fe0202()
63 std::stringstream ss; in __anoncbe671fe0402() local
64 ss << nlmsg << " " << msg << " " << netdutils::toHex(msg, 32); in __anoncbe671fe0402()
65 ALOGE("unhandled netlink message: %s", ss.str().c_str()); in __anoncbe671fe0402()
DResolverController.cpp57 PrivateDnsServer(const sockaddr_storage& ss) : ss(ss) {} in PrivateDnsServer()
58 const sockaddr_storage ss; member
66 if (x.ss.ss_family != y.ss.ss_family) { in operator <()
67 return x.ss.ss_family < y.ss.ss_family; in operator <()
70 if (x.ss.ss_family == AF_INET) { in operator <()
71 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator <()
72 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y.ss); in operator <()
74 } else if (x.ss.ss_family == AF_INET6) { in operator <()
75 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator <()
76 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y.ss); in operator <()
[all …]
/system/media/audio_utils/include/audio_utils/
DErrorLog.h102 std::stringstream ss; variable
109 ss << prefix << "Errors: " << mErrors << "\n";
112 return ss.str();
127 ss << prefix << " Code Freq First time Last time\n";
132 ss << prefix << std::setw(5) << entry.mCode
138 return ss.str();
/system/bt/btcore/test/
Ddevice_class_test.cc29 std::stringstream ss; in check_bitfield() local
31 ss.str(""); in check_bitfield()
32 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << m; in check_bitfield()
33 std::string expected_str = ss.str(); in check_bitfield()
35 ss.str(""); in check_bitfield()
36 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << n; in check_bitfield()
37 std::string actual_str = ss.str(); in check_bitfield()
/system/netd/server/dns/
DDnsTlsTransport.h36 DnsTlsTransport(unsigned mark, int protocol, const sockaddr_storage &ss, in DnsTlsTransport() argument
38 : mMark(mark), mProtocol(protocol), mAddr(ss), mFingerprints(fingerprints) in DnsTlsTransport()
74 bool validateDnsTlsServer(unsigned netid, const sockaddr_storage& ss,
/system/extras/multinetwork/
Dhttpurl.cpp35 Parameters() : ss({}), port("80"), path("/") {} in Parameters()
37 struct sockaddr_storage ss; member
130 memcpy(&(parameters->ss), result[0].ai_addr, result[0].ai_addrlen); in parseUrl()
170 reinterpret_cast<const struct sockaddr *>(&(parameters.ss)), in doHttpQuery()
171 (parameters.ss.ss_family == AF_INET6) in doHttpQuery()
239 parameters.ss.ss_family, in main()
/system/hwservicemanager/
DHidlService.cpp84 std::stringstream ss; in string() local
85 ss << mInterfaceName << "/" << mInstanceName; in string()
86 return ss.str(); in string()
/system/core/libnetutils/
Difc_utils.c99 int string_to_ip(const char *string, struct sockaddr_storage *ss) { in string_to_ip() argument
103 if (ss == NULL) { in string_to_ip()
114 memcpy(ss, ai->ai_addr, ai->ai_addrlen); in string_to_ip()
259 struct sockaddr_storage ss; in ifc_act_on_address() local
287 ret = string_to_ip(address, &ss); in ifc_act_on_address()
293 if (ss.ss_family == AF_INET) { in ifc_act_on_address()
294 struct sockaddr_in *sin = (struct sockaddr_in *) &ss; in ifc_act_on_address()
297 } else if (ss.ss_family == AF_INET6) { in ifc_act_on_address()
298 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address()
315 req.r.ifa_family = ss.ss_family; in ifc_act_on_address()
[all …]

123