Home
last modified time | relevance | path

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

123

/system/bt/packet/avrcp/
Dset_absolute_volume.cc59 std::stringstream ss; in ToString() local
60 ss << "SetAbsoluteVolumeResponse: " << std::endl; in ToString()
61 ss << " └ cType = " << GetCType() << std::endl; in ToString()
62 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
63 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
64 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
65 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
66 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
67 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
68 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dplay_item.cc70 std::stringstream ss; in ToString() local
71 ss << "PlayItemRequest: " << std::endl; in ToString()
72 ss << " └ cType = " << GetCType() << std::endl; in ToString()
73 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
74 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
75 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
76 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
77 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
78 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
79 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dset_addressed_player.cc60 std::stringstream ss; in ToString() local
61 ss << "SetAddressedPlayerRequest: " << std::endl; in ToString()
62 ss << " └ cType = " << GetCType() << std::endl; in ToString()
63 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
64 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
65 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
66 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
67 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
68 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
69 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dregister_notification_packet.cc56 std::stringstream ss; in ToString() local
57 ss << "RegisterNotificationResponse: " << std::endl; in ToString()
58 ss << " └ cType = " << GetCType() << std::endl; in ToString()
59 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
60 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
61 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
62 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
63 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
64 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
65 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dget_element_attributes_packet.cc62 std::stringstream ss; in ToString() local
63 ss << "RegisterNotificationPacket: " << std::endl; in ToString()
64 ss << " └ cType = " << GetCType() << std::endl; in ToString()
65 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
66 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
67 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
68 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
69 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
70 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
71 ss << " └ Parameter Length = " << GetParameterLength() << std::endl; in ToString()
[all …]
Dpass_through_packet.cc61 std::stringstream ss; in ToString() local
62 ss << "Avrcp::AvrcpPacket: " << std::endl; in ToString()
63 ss << " └ cType = " << GetCType() << std::endl; in ToString()
64 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
65 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
66 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
67 ss << " └ Pushed = " << GetKeyState() << std::endl; in ToString()
68 ss << " └ Opperation ID = " << loghex(GetOperationId()) << std::endl; in ToString()
70 return ss.str(); in ToString()
Dvendor_packet.cc112 std::stringstream ss; in ToString() local
113 ss << "VendorPacket: " << std::endl; in ToString()
114 ss << " └ cType = " << GetCType() << std::endl; in ToString()
115 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
116 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
117 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
118 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
119 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
120 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
121 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dcapabilities_packet.cc59 std::stringstream ss; in ToString() local
60 ss << "AvrcpCapabilityReqPacket: " << std::endl; in ToString()
61 ss << " └ cType = " << GetCType() << std::endl; in ToString()
62 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
63 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
64 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
65 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
66 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
67 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
68 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Davrcp_packet.cc97 std::stringstream ss; in ToString() local
98 ss << "avrcp::Packet: " << std::endl; in ToString()
99 ss << " └ cType = " << GetCType() << std::endl; in ToString()
100 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
101 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
102 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
103 ss << " └ Payload ="; in ToString()
105 ss << " " << loghex(*it); in ToString()
107 ss << std::endl; in ToString()
109 return ss.str(); in ToString()
Dget_item_attributes.cc130 std::stringstream ss; in ToString() local
131 ss << "GetItemAttributesRequestPacket: " << std::endl; in ToString()
132 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
133 ss << " └ Length = " << GetLength() << std::endl; in ToString()
134 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
135 ss << " └ UID Requested = " << loghex(GetUid()) << std::endl; in ToString()
136 ss << " └ UID Counter = " << loghex(GetUidCounter()) << std::endl; in ToString()
137 ss << " └ Num Attributes = " << loghex(GetNumAttributes()) << std::endl; in ToString()
140 ss << " └ Attribute List: Size: " << attr_list.size() << std::endl; in ToString()
142 ss << " └ " << loghex((uint32_t)(*it)) << std::endl; in ToString()
[all …]
Dget_total_number_of_items.cc68 std::stringstream ss; in ToString() local
69 ss << "GetTotalNumberOfItemsRequest: " << std::endl; in ToString()
70 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
71 ss << " └ Length = " << GetLength() << std::endl; in ToString()
72 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
73 ss << std::endl; in ToString()
75 return ss.str(); in ToString()
Dchange_path.cc75 std::stringstream ss; in ToString() local
76 ss << "ChangePathRequestPacket: " << std::endl; in ToString()
77 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
78 ss << " └ Length = " << GetLength() << std::endl; in ToString()
79 ss << " └ UID Counter = " << loghex(GetUidCounter()) << std::endl; in ToString()
80 ss << " └ Direction = " << GetDirection() << std::endl; in ToString()
81 ss << " └ UID Requested = " << loghex(GetUid()) << std::endl; in ToString()
82 ss << std::endl; in ToString()
84 return ss.str(); in ToString()
Davrcp_browse_packet.cc73 std::stringstream ss; in ToString() local
74 ss << "AvrcpBrowsePacket: " << std::endl; in ToString()
75 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
76 ss << " └ Length = " << GetLength() << std::endl; in ToString()
77 ss << " └ Payload ="; in ToString()
79 ss << " " << loghex(*it); in ToString()
81 ss << std::endl; in ToString()
83 return ss.str(); in ToString()
Dset_browsed_player.cc92 std::stringstream ss; in ToString() local
93 ss << "SetBrowsedPlayerRequestPacket: " << std::endl; in ToString()
94 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
95 ss << " └ Length = " << GetLength() << std::endl; in ToString()
96 ss << " └ Player ID = " << loghex(GetPlayerId()) << std::endl; in ToString()
97 ss << std::endl; in ToString()
99 return ss.str(); in ToString()
/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()
/system/netd/server/dns/
DDnsTlsServer.cpp93 if (x.ss.ss_family != y.ss.ss_family) { in operator ()()
94 return x.ss.ss_family < y.ss.ss_family; in operator ()()
97 if (x.ss.ss_family == AF_INET) { in operator ()()
98 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator ()()
99 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y.ss); in operator ()()
101 } else if (x.ss.ss_family == AF_INET6) { in operator ()()
102 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator ()()
103 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y.ss); in operator ()()
113 s.ss, in make_tie()
DDnsTlsServer.h36 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer()
46 sockaddr_storage ss = {}; member
/system/connectivity/wificond/
Dclient_interface_impl.cpp148 void ClientInterfaceImpl::Dump(std::stringstream* ss) const { in Dump()
149 *ss << "------- Dump of client interface with index: " in Dump()
152 *ss << "Max number of ssids for single shot scan: " in Dump()
154 *ss << "Max number of ssids for scheduled scan: " in Dump()
156 *ss << "Max number of match sets for scheduled scan: " in Dump()
158 *ss << "Maximum number of scan plans: " in Dump()
160 *ss << "Max scan plan interval in seconds: " in Dump()
162 *ss << "Max scan plan iterations: " in Dump()
164 *ss << "Device supports random MAC for single shot scan: " in Dump()
166 *ss << "Device supports low span single shot scan: " in Dump()
[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()
Dserver.cpp215 stringstream ss; in dump() local
216 ss << "Current wiphy index: " << wiphy_index_ << endl; in dump()
217 ss << "Cached interfaces list from kernel message: " << endl; in dump()
219 ss << "Interface index: " << iface.index in dump()
227 ss << "Current country code from kernel: " << country_code << endl; in dump()
229 ss << "Failed to get country code from kernel." << endl; in dump()
233 iface.second->Dump(&ss); in dump()
237 iface.second->Dump(&ss); in dump()
240 if (!WriteStringToFd(ss.str(), fd)) { in dump()
371 stringstream ss; in LogSupportedBands() local
[all …]
/system/libvintf/
DRuntimeInfo.cpp143 std::stringstream ss; in checkCompatibility() local
144 ss << "Framework is incompatible with kernel version " << mKernelVersion in checkCompatibility()
147 ss << " " << matrixKernel.minLts(); in checkCompatibility()
148 *error = ss.str(); in checkCompatibility()
169 std::stringstream ss; in checkCompatibility() local
170 ss << "AVB version " << mBootAvbVersion << " does not match framework matrix " in checkCompatibility()
172 *error = ss.str(); in checkCompatibility()
179 std::stringstream ss; in checkCompatibility() local
180 ss << "Vbmeta version " << mBootVbmetaAvbVersion in checkCompatibility()
182 *error = ss.str(); in checkCompatibility()
/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/packet/tests/base/
Dpacket_test_common.h42 std::stringstream ss; in ToString() local
43 ss << "TestPacket: Start = " << packet_start_index_ in ToString()
45 ss << " └ Payload ="; in ToString()
47 ss << " " << loghex(*it); in ToString()
49 ss << std::endl; in ToString()
51 return ss.str(); in ToString()

123