Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 69) sorted by relevance

123

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.cpp27 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set) { in operator <<() argument
29 os << "(Empty)" << ::std::endl; in operator <<()
31 os << "\n"; in operator <<()
33 os << set[i] << ::std::endl; in operator <<()
35 return os; in operator <<()
38 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) { in operator <<() argument
39 return os << (int)value; in operator <<()
42 ::std::ostream& operator<<(::std::ostream& os, Digest value) { in operator <<() argument
43 return os << stringify(value); in operator <<()
46 ::std::ostream& operator<<(::std::ostream& os, Algorithm value) { in operator <<() argument
[all …]
Dkey_param_output.h29 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
31 os << "(value not present)";
33 os << value.value();
35 return os;
38 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set);
39 ::std::ostream& operator<<(::std::ostream& os, BlockMode value);
40 ::std::ostream& operator<<(::std::ostream& os, Digest value);
41 ::std::ostream& operator<<(::std::ostream& os, EcCurve value);
42 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value);
43 ::std::ostream& operator<<(::std::ostream& os, PaddingMode value);
[all …]
/hardware/google/av/codec2/vndk/util/
DC2Debug.cpp98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) { in operator <<() argument
99 return os << "Param::CoreIndex(" << attribParamCoreIndex(i) << ")"; in operator <<()
102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) { in operator <<() argument
103 return os << StringPrintf("Param::Type(%08x: ", i.type()) in operator <<()
107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i) { in operator <<() argument
108 return os << StringPrintf("Param::Index(%08x: ", (uint32_t)i) in operator <<()
119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<() argument
120 return os << "<" << attribFieldId(i) << ">"; in operator <<()
124 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i) { in operator <<() argument
125 os << attribFieldId(_C2ParamInspector::GetField(i)) << " "; in operator <<()
[all …]
/hardware/interfaces/keymaster/4.0/support/
Dkey_param_output.cpp32 ostream& operator<<(ostream& os, const hidl_vec<KeyParameter>& set) { in operator <<() argument
34 os << "(Empty)" << endl; in operator <<()
36 os << "\n"; in operator <<()
37 for (const auto& elem : set) os << elem << endl; in operator <<()
39 return os; in operator <<()
42 ostream& operator<<(ostream& os, const KeyParameter& param) { in operator <<() argument
43 os << param.tag << ": "; in operator <<()
46 return os << " Invalid"; in operator <<()
49 return os << param.f.integer; in operator <<()
54 return os << param.f.algorithm; in operator <<()
[all …]
DKeymaster.cpp32 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) { in operator <<() argument
33 os << "{ "; in operator <<()
35 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<()
36 os << vec[vec.size() - 1]; in operator <<()
38 os << " }"; in operator <<()
39 return os; in operator <<()
42 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument
43 std::ios_base::fmtflags flags(os.flags()); in operator <<()
44 os << std::setw(2) << std::setfill('0') << std::hex; in operator <<()
45 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<()
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkey_param_output.h28 inline ::std::ostream& operator<<(::std::ostream& os, Algorithm value) {
29 return os << toString(value);
32 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
33 return os << toString(value);
36 inline ::std::ostream& operator<<(::std::ostream& os, Digest value) {
37 return os << toString(value);
40 inline ::std::ostream& operator<<(::std::ostream& os, EcCurve value) {
41 return os << toString(value);
44 inline ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) {
45 return os << toString(value);
[all …]
/hardware/google/av/hooks/
Dinstall13 import os, os.path
14 TOP = os.path.realpath(".")
15 HOOKS = os.path.realpath(".git/hooks")
16 src = os.path.join(TOP, "hooks", "install")
17 for hook in os.listdir("hooks"):
19 tgt = HOOKS + os.sep + hook
21 if os.path.isfile(tgt) and os.access(tgt, os.X_OK):
22 if os.path.realpath(tgt) != src:
24 os.rename(tgt, tgt + ".local")
25 if os.path.lexists(tgt):
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidTree.cpp39 void HidTreeNode::outputRecursive(std::ostream &os, int level) const { in outputRecursive() argument
40 insertIndentation(os, level); in outputRecursive()
41 os << "Node data: " << mData in outputRecursive()
45 child->outputRecursive(os, level + 1); in outputRecursive()
58 void HidTreeNode::insertIndentation(std::ostream &os, int level) const { in insertIndentation() argument
60 std::fill_n(std::ostreambuf_iterator<char>(os), level, indentCharacter); in insertIndentation()
98 std::ostream& operator<<(std::ostream& os, const HidTreeNode& n) { in operator <<() argument
99 n.outputRecursive(os, 0); in operator <<()
100 return os; in operator <<()
108 void HidReportNode::outputRecursive(std::ostream &os, int level) const { in outputRecursive() argument
[all …]
DHidReport.cpp124 std::ostream& operator<<(std::ostream& os, const HidReport& h) { in operator <<() argument
125 os << h.getStringType() << ", " in operator <<()
130 os << "logMin: " << range.first << ", " in operator <<()
134 os << "phy===log, "; in operator <<()
137 os << "phyMin: " << range.first << ", " in operator <<()
142 os << "map: (" << std::hex; in operator <<()
144 os << i << ","; in operator <<()
146 os << "), " << std::dec; in operator <<()
149 os << "exponent: " << h.getExponentString() << ", " in operator <<()
152 os << "constant: "; in operator <<()
[all …]
DHidItem.cpp118 std::ostream& operator<<(std::ostream &os, const HidUtil::HidItem &h) { in operator <<() argument
119 os << "offset: " << h.offset << ", size: " << h.byteSize in operator <<()
122 os << "[empty]"; in operator <<()
124 os << h.data.size() << " byte(s) {"; in operator <<()
126 os << (int) i << ", "; in operator <<()
128 os << "}"; in operator <<()
130 return os; in operator <<()
DHidTree.h29 friend std::ostream& operator<<(std::ostream& os, const HidTreeNode& n);
67 void insertIndentation(std::ostream &os, int level) const;
70 virtual void outputRecursive(std::ostream& os, int level) const;
94 virtual void outputRecursive(std::ostream &os, int level) const override;
99 std::ostream& operator<<(std::ostream& os, const HidTreeNode& n);
DHidParser.cpp284 std::ostream& operator<<(std::ostream &os, const HidParser::DigestVector &digests) { in operator <<() argument
286 os << "Usage: 0x" << std::hex << i.fullUsage << std::dec in operator <<()
289 os << reportTypeToString(packet.type) << " id: " << packet.id in operator <<()
299 os << " " << report.bitOffset << " size: " << report.bitSize in operator <<()
314 os << LOG_ENDL; in operator <<()
316 os << LOG_ENDL; in operator <<()
317 return os; in operator <<()
/hardware/google/av/codec2/vndk/include/util/
DC2Debug-param.h30 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i);
31 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i);
32 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i);
33 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i);
34 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i);
35 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
DC2Debug-interface.h26 std::ostream& operator<<(std::ostream& os, const C2SupportedRange<T> &i);
29 std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<T> &i);
32 std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<T> &i);
DC2Debug-base.h28 inline std::ostream& operator<<(std::ostream& os, const type &i) { \
29 return os << asString(i); \
/hardware/interfaces/tests/pointer/1.0/default/lib/
DPointerHelper.cpp30 std::ostringstream os; in logSimpleGraph() local
32 os << &g.nodes[i] << " = " << g.nodes[i].data << ", "; in logSimpleGraph()
33 ALOGI("%s Nodes: [%s]", prefix, os.str().c_str()); in logSimpleGraph()
34 os.str(""); in logSimpleGraph()
35 os.clear(); in logSimpleGraph()
37 os << g.edges[i].left << " -> " << g.edges[i].right << ", "; in logSimpleGraph()
38 ALOGI("%s Edges: [%s]", prefix, os.str().c_str()); in logSimpleGraph()
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.h113 std::string os = "["; in toString() local
115 os += (i == 0 ? "" : ", ") + toString(buffer[i]); in toString()
117 return os += "]"; in toString()
121 std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os,
123 return os << toString(obj);
127 std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os,
129 return os << toString(obj);
133 std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os,
135 return os << toString(obj);
139 std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os,
[all …]
/hardware/interfaces/gnss/2.0/default/
DGnssVisibilityControl.cpp32 std::string os; in enableNfwLocationAccess() local
38 os += " "; in enableNfwLocationAccess()
41 os += proxyApp; in enableNfwLocationAccess()
44 ALOGD("enableNfwLocationAccess proxyApps: %s", os.c_str()); in enableNfwLocationAccess()
/hardware/google/av/codec2/tests/
DC2SampleComponent_test.cpp33 void PrintTo(const C2FieldDescriptor &fd, ::std::ostream *os) { in PrintTo() argument
36 case FD::INT32: *os << "i32"; break; in PrintTo()
37 case FD::INT64: *os << "i64"; break; in PrintTo()
38 case FD::UINT32: *os << "u32"; break; in PrintTo()
39 case FD::UINT64: *os << "u64"; break; in PrintTo()
40 case FD::FLOAT: *os << "float"; break; in PrintTo()
41 case FD::STRING: *os << "char"; break; in PrintTo()
42 case FD::BLOB: *os << "u8"; break; in PrintTo()
45 *os << "struct-" << (fd.type() & ~FD::STRUCT_FLAG); in PrintTo()
47 *os << "type-" << fd.type(); in PrintTo()
[all …]
/hardware/qcom/sdm845/display/gralloc/
DQtiAllocator.cpp55 std::ostringstream os; in dumpDebugInfo() local
56 buf_mgr_->Dump(&os); in dumpDebugInfo()
58 reply.setToExternal(os.str().c_str(), os.str().length()); in dumpDebugInfo()
Dgr_buf_mgr.cpp382 Error BufferManager::Dump(std::ostringstream *os) { in Dump() argument
387 *os << "handle id: " << std::setw(4) << hnd->id; in Dump()
388 *os << " fd: " << std::setw(3) << hnd->fd; in Dump()
389 *os << " fd_meta: " << std::setw(3) << hnd->fd_metadata; in Dump()
390 *os << " wxh: " << std::setw(4) << hnd->width << " x " << std::setw(4) << hnd->height; in Dump()
391 *os << " uwxuh: " << std::setw(4) << hnd->unaligned_width << " x "; in Dump()
392 *os << std::setw(4) << hnd->unaligned_height; in Dump()
393 *os << " size: " << std::setw(9) << hnd->size; in Dump()
394 *os << std::hex << std::setfill('0'); in Dump()
395 *os << " priv_flags: " in Dump()
[all …]
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DPrettyPrintAudioTypes.h37 inline void PrintTo(const T& val, ::std::ostream* os) { *os << toString(val); }
/hardware/interfaces/dumpstate/1.0/default/
DDumpstateDevice.cpp26 using android::os::dumpstate::DumpFileToFd;
27 using android::os::dumpstate::RunCommandToFd;
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DVtsHalNeuralnetworks.cpp147 ::std::ostream& operator<<(::std::ostream& os, ErrorStatus errorStatus) { in operator <<() argument
148 return os << toString(errorStatus); in operator <<()
151 ::std::ostream& operator<<(::std::ostream& os, DeviceStatus deviceStatus) { in operator <<() argument
152 return os << toString(deviceStatus); in operator <<()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DVtsHalNeuralnetworks.cpp146 ::std::ostream& operator<<(::std::ostream& os, ErrorStatus errorStatus) { in operator <<() argument
147 return os << toString(errorStatus); in operator <<()
150 ::std::ostream& operator<<(::std::ostream& os, DeviceStatus deviceStatus) { in operator <<() argument
151 return os << toString(deviceStatus); in operator <<()

123