Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 68) 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/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 …]
/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/interfaces/keymaster/4.1/support/
DKeymaster.cpp31 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) { in operator <<() argument
32 os << "{ "; in operator <<()
34 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<()
35 os << vec[vec.size() - 1]; in operator <<()
37 os << " }"; in operator <<()
38 return os; in operator <<()
41 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument
42 std::ios_base::fmtflags flags(os.flags()); in operator <<()
43 os << std::setw(2) << std::setfill('0') << std::hex; in operator <<()
44 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<()
[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 <<()
DHidItem.h39 friend std::ostream& operator<<(std::ostream &os, const HidItem &h);
51 std::ostream& operator<<(std::ostream &os, const HidUtil::HidItem &h);
DHidReport.h34 friend std::ostream& operator<<(std::ostream& os, const HidReport& h);
98 std::ostream& operator<<(std::ostream& os, const HidReport& h);
/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/interfaces/automotive/can/1.0/vts/utils/include/can-vts-utils/
Dcan-hal-printers.h27 std::ostream& operator<<(std::ostream& os, const T& v) { return os << converter(v); }
34 std::ostream& operator<<(std::ostream& os, const Return<T>& v) { return os << converter(v); }
/hardware/qcom/sm8150/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.cpp352 Error BufferManager::Dump(std::ostringstream *os) { in Dump() argument
357 *os << "handle id: " << std::setw(4) << hnd->id; in Dump()
358 *os << " fd: " << std::setw(3) << hnd->fd; in Dump()
359 *os << " fd_meta: " << std::setw(3) << hnd->fd_metadata; in Dump()
360 *os << " wxh: " << std::setw(4) << hnd->width << " x " << std::setw(4) << hnd->height; in Dump()
361 *os << " uwxuh: " << std::setw(4) << hnd->unaligned_width << " x "; in Dump()
362 *os << std::setw(4) << hnd->unaligned_height; in Dump()
363 *os << " size: " << std::setw(9) << hnd->size; in Dump()
364 *os << std::hex << std::setfill('0'); in Dump()
365 *os << " priv_flags: " in Dump()
[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/dumpstate/1.0/default/
DDumpstateDevice.cpp26 using android::os::dumpstate::DumpFileToFd;
27 using android::os::dumpstate::RunCommandToFd;
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp540 std::ostringstream os; in Dump() local
546 os << "device type:" << display_type_; in Dump()
547 os << "\nstate: " << state_ << " vsync on: " << vsync_enable_ << " max. mixer stages: " in Dump()
549 os << "\nnum configs: " << num_modes << " active config index: " << active_index; in Dump()
551 os << "\nAvailable Color Modes:\n"; in Dump()
553 os << " " << it.first << " " << std::setw(35 - INT(it.first.length())) << in Dump()
555 os << " "; in Dump()
557 os << attr_it.first << ": " << attr_it.second << in Dump()
560 os << "\n"; in Dump()
570 os << "\nNo hardware layers programmed"; in Dump()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp808 gralloc1_error_t BufferManager::Dump(std::ostringstream *os) { in Dump() argument
812 *os << "handle id: " << std::setw(4) << hnd->id; in Dump()
813 *os << " fd: " << std::setw(3) << hnd->fd; in Dump()
814 *os << " fd_meta: " << std::setw(3) << hnd->fd_metadata; in Dump()
815 *os << " wxh: " << std::setw(4) << hnd->width <<" x " << std::setw(4) << hnd->height; in Dump()
816 *os << " uwxuh: " << std::setw(4) << hnd->unaligned_width << " x "; in Dump()
817 *os << std::setw(4) << hnd->unaligned_height; in Dump()
818 *os << " size: " << std::setw(9) << hnd->size; in Dump()
819 *os << std::hex << std::setfill('0'); in Dump()
820 *os << " priv_flags: " << "0x" << std::setw(8) << hnd->flags; in Dump()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp419 void HWCColorMode::Dump(std::ostringstream* os) { in Dump() argument
420 *os << "color modes supported: \n"; in Dump()
422 *os << "mode: " << static_cast<int32_t>(it.first) << " RIs { "; in Dump()
424 *os << static_cast<int32_t>(render_intent_it.first) << " dynamic_range [ "; in Dump()
426 *os << static_cast<int32_t>(range_it.first) << " "; in Dump()
428 *os << "] "; in Dump()
430 *os << "} \n"; in Dump()
432 *os << "current mode: " << static_cast<uint32_t>(current_color_mode_) << std::endl; in Dump()
433 *os << "current render_intent: " << static_cast<uint32_t>(current_render_intent_) << std::endl; in Dump()
435 *os << "current dynamic_range: HDR" << std::endl; in Dump()
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.cpp186 std::ostringstream os; in Dump() local
187 os << "-------------------------------" << std::endl; in Dump()
188 os << "QTI gralloc dump:" << std::endl; in Dump()
189 os << "-------------------------------" << std::endl; in Dump()
191 dev->buf_mgr_->Dump(&os); in Dump()
192 os << "-------------------------------" << std::endl; in Dump()
193 auto copied = os.str().copy(out_buffer, std::min(os.str().size(), max_dump_size), 0); in Dump()

123