Home
last modified time | relevance | path

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

12

/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/audio/2.0/vts/functional/utility/
DPrettyPrintAudioTypes.h24 inline void printUnderlyingValue(Enum value, ::std::ostream* os) { in printUnderlyingValue() argument
25 *os << std::hex << " (0x" << static_cast<std::underlying_type_t<Enum>>(value) << ")"; in printUnderlyingValue()
35 inline void PrintTo(const Result& result, ::std::ostream* os) { in PrintTo() argument
36 *os << toString(result); in PrintTo()
37 detail::printUnderlyingValue(result, os); in PrintTo()
44 inline void PrintTo(const AudioConfig& config, ::std::ostream* os) { in PrintTo() argument
45 *os << toString(config); in PrintTo()
48 inline void PrintTo(const AudioDevice& device, ::std::ostream* os) { in PrintTo() argument
49 *os << toString(device); in PrintTo()
50 detail::printUnderlyingValue(device, os); in PrintTo()
[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);
DTriState.h224 friend std::ostream& operator <<(std::ostream &os, const TriState<T> &v) {
226 os << v.mValue;
228 os << "[not set]";
230 return os;
DStreamIoUtil.h139 void hexdumpToStream(std::ostream &os, const ForwardIterator &first, const ForwardIterator &last) { in hexdumpToStream() argument
159 os << ss.str() << LOG_ENDL; in hexdumpToStream()
172 os << ss.str() << LOG_ENDL; in hexdumpToStream()
DHidParser.h175 std::ostream& operator<<(std::ostream &os, const HidParser::DigestVector &digest2);
/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/interfaces/dumpstate/1.0/default/
DDumpstateDevice.cpp25 using android::os::dumpstate::DumpFileToFd;
26 using android::os::dumpstate::RunCommandToFd;
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp829 gralloc1_error_t BufferManager::Dump(std::ostringstream *os) { in Dump() argument
833 *os << "handle id: " << std::setw(4) << hnd->id; in Dump()
834 *os << " fd: " << std::setw(3) << hnd->fd; in Dump()
835 *os << " fd_meta: " << std::setw(3) << hnd->fd_metadata; in Dump()
836 *os << " wxh: " << std::setw(4) << hnd->width <<" x " << std::setw(4) << hnd->height; in Dump()
837 *os << " uwxuh: " << std::setw(4) << hnd->unaligned_width << " x "; in Dump()
838 *os << std::setw(4) << hnd->unaligned_height; in Dump()
839 *os << " size: " << std::setw(9) << hnd->size; in Dump()
840 *os << std::hex << std::setfill('0'); in Dump()
841 *os << " priv_flags: " << "0x" << std::setw(8) << hnd->flags; in Dump()
[all …]
Dgr_device_impl.cpp185 std::ostringstream os; in Dump() local
186 os << "-------------------------------" << std::endl; in Dump()
187 os << "QTI gralloc dump:" << std::endl; in Dump()
188 os << "-------------------------------" << std::endl; in Dump()
190 dev->buf_mgr_->Dump(&os); in Dump()
191 os << "-------------------------------" << std::endl; in Dump()
192 auto copied = os.str().copy(out_buffer, std::min(os.str().size(), max_dump_size), 0); in Dump()
Dgr_buf_mgr.h51 gralloc1_error_t Dump(std::ostringstream *os);
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp185 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()
190 auto copy_size = os.str().size() < *out_size ? os.str().size() : *out_size; in Dump()
191 std::copy_n(out_buffer, copy_size, os.str().begin()); in Dump()
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalService.java27 import android.os.Handler;
28 import android.os.IBinder;
29 import android.os.Looper;
30 import android.os.Message;
31 import android.os.Process;
32 import android.os.SystemProperties;
33 import android.os.UserHandle;
DituxdApp.java21 import android.os.SystemProperties;
DThermalUtils.java20 import android.os.SystemProperties;
/hardware/intel/common/libwsbm/
Dconfigure.ac21 [AC_DEFINE(HAVE_PTHREADS, 1, "os has pthreads")],,,)
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp1642 std::ostringstream os; in BuildLayerStack() local
1643 os << "-------------------------------" << std::endl; in BuildLayerStack()
1644 os << "HWC2 LayerDump display_id: " << id_ << std::endl; in BuildLayerStack()
1648 os << "-------------------------------" << std::endl; in BuildLayerStack()
1649 os << "layer_id: " << layer->GetId() << std::endl; in BuildLayerStack()
1650 os << "\tz: " << layer->GetZ() << std::endl; in BuildLayerStack()
1651 os << "\tclient(SF) composition: " << in BuildLayerStack()
1653 os << "\tdevice(SDM) composition: " << in BuildLayerStack()
1655 os << "\tplane_alpha: " << std::to_string(sdm_layer->plane_alpha).c_str() << std::endl; in BuildLayerStack()
1656 os << "\tformat: " << GetFormatString(sdm_layer->input_buffer->format) << std::endl; in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp1596 std::ostringstream os; in BuildLayerStack() local
1597 os << "-------------------------------" << std::endl; in BuildLayerStack()
1598 os << "HWC2 LayerDump display_id: " << id_ << std::endl; in BuildLayerStack()
1602 os << "-------------------------------" << std::endl; in BuildLayerStack()
1603 os << "layer_id: " << layer->GetId() << std::endl; in BuildLayerStack()
1604 os << "\tz: " << layer->GetZ() << std::endl; in BuildLayerStack()
1605 os << "\tclient(SF) composition: " << in BuildLayerStack()
1607 os << "\tdevice(SDM) composition: " << in BuildLayerStack()
1609 os << "\tplane_alpha: " << std::to_string(sdm_layer->plane_alpha).c_str() << std::endl; in BuildLayerStack()
1610 os << "\tformat: " << GetFormatString(sdm_layer->input_buffer.format) << std::endl; in BuildLayerStack()
[all …]

12