Searched refs:on_suspend_ (Results 1 – 12 of 12) sorted by relevance
281 sink_audio_hal_stream_cb = {.on_resume_ = nullptr, .on_suspend_ = nullptr}; in SetUp()293 .on_suspend_ = nullptr}; in SetUp()452 ASSERT_NE(source_audio_hal_stream_cb.on_suspend_, nullptr); in TEST_F()458 ASSERT_TRUE(source_audio_hal_stream_cb.on_suspend_()); in TEST_F()466 ASSERT_NE(sink_audio_hal_stream_cb.on_suspend_, nullptr); in TEST_F()472 ASSERT_TRUE(sink_audio_hal_stream_cb.on_suspend_()); in TEST_F()
77 .on_suspend_ = std::bind(&SinkImpl::OnSuspendReq, this), in Acquire()
125 .on_suspend_ = std::bind(&SourceImpl::OnSuspendReq, this), in Acquire()
74 if (stream_cb_.on_suspend_()) { in SuspendRequest()85 if (stream_cb_.on_suspend_()) { in StopRequest()
167 if (stream_cb_.on_suspend_()) { in SuspendRequest()177 if (stream_cb_.on_suspend_()) { in StopRequest()
71 if (stream_cb_.on_suspend_()) { in SuspendRequest()82 if (stream_cb_.on_suspend_()) { in StopRequest()
163 if (stream_cb_.on_suspend_()) { in SuspendRequest()173 if (stream_cb_.on_suspend_()) { in StopRequest()
29 std::function<bool(void)> on_suspend_; member
66 if (stream_cb_.on_suspend_()) { in SuspendRequest()76 if (stream_cb_.on_suspend_()) { in StopRequest()
65 std::function<bool(void)> on_suspend_; member
46 .on_suspend_ = hearingAidOnSuspendReq,
425 .on_suspend_ = hearing_aid_on_suspend_req, in Initialize()