Lines Matching refs:ostream

51     bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const {  in MatchAndExplain()  argument
55 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
59 bool MatchAndExplain(const InputEvent& event, std::ostream*) const { in MatchAndExplain() argument
63 void DescribeTo(std::ostream* os) const { in DescribeTo()
67 void DescribeNegationTo(std::ostream* os) const { *os << "wrong source"; } in DescribeNegationTo()
83 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
87 bool MatchAndExplain(const KeyEvent& event, std::ostream*) const { in MatchAndExplain() argument
91 void DescribeTo(std::ostream* os) const { in DescribeTo()
95 void DescribeNegationTo(std::ostream* os) const { *os << "wrong action"; } in DescribeNegationTo()
111 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
119 bool MatchAndExplain(const MotionEvent& event, std::ostream*) const { in MatchAndExplain() argument
127 void DescribeTo(std::ostream* os) const { in DescribeTo()
134 void DescribeNegationTo(std::ostream* os) const { *os << "wrong action"; } in DescribeNegationTo()
150 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
154 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
158 bool MatchAndExplain(const InputEvent& event, std::ostream*) const { in MatchAndExplain() argument
162 void DescribeTo(std::ostream* os) const { *os << "with display id " << mDisplayId; } in DescribeTo()
164 void DescribeNegationTo(std::ostream* os) const { *os << "wrong display id"; } in DescribeNegationTo()
180 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
184 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
188 bool MatchAndExplain(const NotifyDeviceResetArgs& args, std::ostream*) const { in MatchAndExplain() argument
192 bool MatchAndExplain(const InputEvent& event, std::ostream*) const { in MatchAndExplain() argument
196 void DescribeTo(std::ostream* os) const { *os << "with device id " << mDeviceId; } in DescribeTo()
198 void DescribeNegationTo(std::ostream* os) const { *os << "wrong device id"; } in DescribeNegationTo()
214 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
218 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
222 bool MatchAndExplain(const MotionEvent& event, std::ostream*) const { in MatchAndExplain() argument
226 bool MatchAndExplain(const KeyEvent& event, std::ostream*) const { in MatchAndExplain() argument
230 void DescribeTo(std::ostream* os) const { in DescribeTo()
234 void DescribeNegationTo(std::ostream* os) const { *os << "wrong flags"; } in DescribeNegationTo()
250 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
254 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
258 bool MatchAndExplain(const MotionEvent& event, std::ostream*) const { in MatchAndExplain() argument
262 bool MatchAndExplain(const KeyEvent& event, std::ostream*) const { in MatchAndExplain() argument
266 void DescribeTo(std::ostream* os) const { *os << "with down time " << mDownTime; } in DescribeTo()
268 void DescribeNegationTo(std::ostream* os) const { *os << "wrong down time"; } in DescribeNegationTo()
285 bool MatchAndExplain(const MotionEvent& event, std::ostream* os) const { in MatchAndExplain()
300 bool MatchAndExplain(const NotifyMotionArgs& event, std::ostream* os) const { in MatchAndExplain()
316 void DescribeTo(std::ostream* os) const { in DescribeTo()
320 void DescribeNegationTo(std::ostream* os) const { *os << "wrong coords"; } in DescribeNegationTo()
343 bool MatchAndExplain(const MotionEvent& event, std::ostream* os) const { in MatchAndExplain()
359 void DescribeTo(std::ostream* os) const { in DescribeTo()
364 void DescribeNegationTo(std::ostream* os) const { *os << "wrong raw coords"; } in DescribeNegationTo()
386 bool MatchAndExplain(const MotionEvent& event, std::ostream* os) const { in MatchAndExplain()
395 bool MatchAndExplain(const NotifyMotionArgs& event, std::ostream* os) const { in MatchAndExplain()
404 void DescribeTo(std::ostream* os) const { *os << "with pointer count " << mPointerCount; } in DescribeTo()
406 void DescribeNegationTo(std::ostream* os) const { *os << "wrong pointer count"; } in DescribeNegationTo()
422 bool MatchAndExplain(const MotionEvent& event, std::ostream* os) const { in MatchAndExplain()
437 bool MatchAndExplain(const NotifyMotionArgs& event, std::ostream* os) const { in MatchAndExplain()
453 void DescribeTo(std::ostream* os) const { in DescribeTo()
457 void DescribeNegationTo(std::ostream* os) const { *os << "wrong pointers"; } in DescribeNegationTo()
474 bool MatchAndExplain(const MotionEvent& event, std::ostream* os) const { in MatchAndExplain()
489 bool MatchAndExplain(const NotifyMotionArgs& event, std::ostream* os) const { in MatchAndExplain()
503 void DescribeTo(std::ostream* os) const { *os << "with pointer ids " << dumpSet(mPointerIds); } in DescribeTo()
505 void DescribeNegationTo(std::ostream* os) const { *os << "wrong pointer ids"; } in DescribeNegationTo()
521 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
525 bool MatchAndExplain(const KeyEvent& event, std::ostream*) const { in MatchAndExplain() argument
529 void DescribeTo(std::ostream* os) const { in DescribeTo()
533 void DescribeNegationTo(std::ostream* os) const { *os << "wrong key code"; } in DescribeNegationTo()
549 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
553 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
557 bool MatchAndExplain(const InputEvent& event, std::ostream*) const { in MatchAndExplain() argument
561 void DescribeTo(std::ostream* os) const { *os << "with eventId 0x" << std::hex << mEventId; } in DescribeTo()
563 void DescribeNegationTo(std::ostream* os) const { in DescribeNegationTo()
582 bool MatchAndExplain(const NotifyMotionArgs& args, std::ostream*) const { in MatchAndExplain() argument
586 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain() argument
590 bool MatchAndExplain(const InputEvent& event, std::ostream*) const { in MatchAndExplain() argument
594 void DescribeTo(std::ostream* os) const { in DescribeTo()
598 void DescribeNegationTo(std::ostream* os) const { *os << "wrong event from source"; } in DescribeNegationTo()