Home
last modified time | relevance | path

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

/frameworks/native/cmds/lshal/
DNullableOStream.h26 class NullableOStream {
28 explicit NullableOStream(S &os) : mOs(&os) {} in NullableOStream() function
29 explicit NullableOStream(S *os) : mOs(os) {} in NullableOStream() function
30 NullableOStream &operator=(S &os) {
34 NullableOStream &operator=(S *os) {
39 NullableOStream &operator=(const NullableOStream<Other> &other) {
44 const NullableOStream &operator<<(std::ostream& (*pf)(std::ostream&)) const {
51 const NullableOStream &operator<<(const T &rhs) const {
65 friend class NullableOStream;
DLshal.h45 virtual NullableOStream<std::ostream> err() const;
46 virtual NullableOStream<std::ostream> out() const;
56 NullableOStream<std::ostream> err) const;
66 NullableOStream<std::ostream> mOut;
67 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.cpp103 NullableOStream<std::ostream> err) const { in emitDebugInfo()
233 NullableOStream<std::ostream> Lshal::err() const { in err()
236 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()
463 void ListCommand::dumpVintf(const NullableOStream<std::ostream>& out) const { in dumpVintf()
533 void ListCommand::dumpTable(const NullableOStream<std::ostream>& out) const { in dumpTable()
556 NullableOStream<std::ostream>(nullptr)); in dumpTable()
580 (*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()