Lines Matching refs:IDnsTlsSocketObserver
118 IDnsTlsSocketObserver* observer, in createDnsTlsSocket()
136 explicit FakeSocketEcho(IDnsTlsSocketObserver* observer) : mObserver(observer) {} in FakeSocketEcho()
139 std::thread(&IDnsTlsSocketObserver::onResponse, mObserver, make_echo(id, query)).detach(); in query()
145 IDnsTlsSocketObserver* const mObserver;
163 explicit FakeSocketId(IDnsTlsSocketObserver* observer) : mObserver(observer) {} in FakeSocketId()
175 std::thread(&IDnsTlsSocketObserver::onResponse, mObserver, response).detach(); in query()
181 IDnsTlsSocketObserver* const mObserver;
225 explicit FakeSocketDelay(IDnsTlsSocketObserver* observer) : mObserver(observer) {} in FakeSocketDelay()
268 IDnsTlsSocketObserver* const mObserver;
431 IDnsTlsSocketObserver* observer ATTRIBUTE_UNUSED, in createDnsTlsSocket()
462 explicit FakeSocketClose(IDnsTlsSocketObserver* observer) in FakeSocketClose()
463 : mCloser(&IDnsTlsSocketObserver::onClosed, observer) {} in FakeSocketClose()
494 explicit FakeSocketLimited(IDnsTlsSocketObserver* observer) in FakeSocketLimited()
525 … mThreads.emplace_back(&IDnsTlsSocketObserver::onResponse, mObserver, make_echo(id, query)); in query()
551 IDnsTlsSocketObserver* const mObserver;
641 explicit FakeSocketGarbage(IDnsTlsSocketObserver* observer) : mObserver(observer) { in FakeSocketGarbage()
643 … mThreads.emplace_back(&IDnsTlsSocketObserver::onResponse, mObserver, make_query(ID + 1, SIZE)); in FakeSocketGarbage()
655 mThreads.emplace_back(&IDnsTlsSocketObserver::onResponse, mObserver, echo); in query()
656 mThreads.emplace_back(&IDnsTlsSocketObserver::onResponse, mObserver, echo); in query()
658 …mThreads.emplace_back(&IDnsTlsSocketObserver::onResponse, mObserver, make_query(id + 1, query.size… in query()
666 IDnsTlsSocketObserver* const mObserver;
728 IDnsTlsSocketObserver* observer, in createDnsTlsSocket()
1014 class MockDnsTlsSocketObserver : public IDnsTlsSocketObserver {
1022 std::unique_ptr<DnsTlsSocket> makeDnsTlsSocket(IDnsTlsSocketObserver* observer) { in makeDnsTlsSocket()