Home
last modified time | relevance | path

Searched refs:NullableOStream (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/lshal/
DNullableOStream.h25 class NullableOStream {
27 explicit NullableOStream(S &os) : mOs(&os) {} in NullableOStream() function
28 explicit NullableOStream(S *os) : mOs(os) {} in NullableOStream() function
29 NullableOStream &operator=(S &os) {
33 NullableOStream &operator=(S *os) {
38 NullableOStream &operator=(const NullableOStream<Other> &other) {
43 const NullableOStream &operator<<(std::ostream& (*pf)(std::ostream&)) const {
50 const NullableOStream &operator<<(const T &rhs) const {
64 friend class NullableOStream;
DLshal.h43 virtual NullableOStream<std::ostream> err() const;
44 virtual NullableOStream<std::ostream> out() const;
54 NullableOStream<std::ostream> err) const;
64 NullableOStream<std::ostream> mOut;
65 NullableOStream<std::ostream> mErr;
DListCommand.h114 void dumpTable(const NullableOStream<std::ostream>& out) const;
115 void dumpVintf(const NullableOStream<std::ostream>& out) const;
144 NullableOStream<std::ostream> err() const;
145 NullableOStream<std::ostream> out() const;
DLshal.cpp106 NullableOStream<std::ostream> err) const { in emitDebugInfo()
236 NullableOStream<std::ostream> Lshal::err() const { in err()
239 NullableOStream<std::ostream> Lshal::out() const { in out()
DListCommand.cpp73 NullableOStream<std::ostream> ListCommand::out() const { in out()
77 NullableOStream<std::ostream> ListCommand::err() const { in err()
466 void ListCommand::dumpVintf(const NullableOStream<std::ostream>& out) const { in dumpVintf()
536 void ListCommand::dumpTable(const NullableOStream<std::ostream>& out) const { in dumpTable()
559 NullableOStream<std::ostream>(nullptr)); in dumpTable()
583 (*this.*dump)(NullableOStream<std::ostream>(fileOutput)); in dump()
Dtest.cpp187 MOCK_CONST_METHOD0(out, NullableOStream<std::ostream>());
188 MOCK_CONST_METHOD0(err, NullableOStream<std::ostream>());
205 void dumpVintf(const NullableOStream<std::ostream>& out) { in dumpVintf()
229 ON_CALL(*mockLshal, err()).WillByDefault(Return(NullableOStream<std::ostream>(err))); in SetUp()