Home
last modified time | relevance | path

Searched refs:mListener (Results 1 – 15 of 15) sorted by relevance

/system/netd/server/
DMDnsService.cpp62 int res = mListener.startDaemon(); in startDaemon()
68 int res = mListener.stopDaemon(); in stopDaemon()
74 int res = mListener.serviceRegister( in registerService()
82 int res = mListener.discover(info.interfaceIdx, info.registrationType.c_str(), in discover()
89 int res = mListener.resolveService(info.id, info.interfaceIdx, info.serviceName.c_str(), in resolve()
96 int res = mListener.getAddrInfo(info.id, info.interfaceIdx, 0 /* protocol */, in getServiceAddress()
103 int res = mListener.stop(id); in stopOperation()
DMDnsEventReporter.h30 : mEventReporter(eventReporter), mListener(listener) {} in EventListener()
33 mEventReporter->removeEventListenerImpl(mListener); in binderDied()
36 return mListener; in getListener()
41 android::sp<android::net::mdns::aidl::IMDnsEventListener> mListener; variable
DNFLogListener.cpp147 : mListener(std::move(listener)) { in NFLogListener()
156 expectOk(mListener->subscribe(kNFLogPacketMsgType, rxHandler)); in NFLogListener()
165 expectOk(mListener->subscribe(kNetlinkDoneMsgType, rxDoneHandler)); in NFLogListener()
169 expectOk(mListener->unsubscribe(kNFLogPacketMsgType)); in ~NFLogListener()
170 expectOk(mListener->unsubscribe(kNetlinkDoneMsgType)); in ~NFLogListener()
171 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in ~NFLogListener()
183 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in subscribe()
197 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in unsubscribe()
DEventReporter.cpp55 : mEventReporter(eventReporter), mListener(std::move(listener)) {} in registerUnsolEventListener()
58 mEventReporter->unregisterUnsolEventListener(mListener); in registerUnsolEventListener()
63 android::sp<INetdUnsolicitedEventListener> mListener; in registerUnsolEventListener() member in EventReporter::registerUnsolEventListener::DeathRecipient
DOemNetdListener.cpp54 : mOemNetdListener(oemNetdListener), mListener(std::move(listener)) {} in registerOemUnsolicitedEventListenerInternal()
57 mOemNetdListener->unregisterOemUnsolicitedEventListenerInternal(mListener); in registerOemUnsolicitedEventListenerInternal()
62 ::android::sp<IOemNetdUnsolicitedEventListener> mListener; in registerOemUnsolicitedEventListenerInternal()
DNFLogListenerTest.cpp69 mListener.reset(new NFLogListener(mNLListener)); in NFLogListenerTest()
82 EXPECT_OK(mListener->subscribe(type, fn)); in subscribe()
101 std::unique_ptr<NFLogListener> mListener; member in android::net::NFLogListenerTest
DWakeupController.cpp117 expectOk(mListener->unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)); in ~WakeupController()
121 mListener = listener; in init()
190 return mListener->subscribe(NetlinkManager::NFLOG_WAKEUP_GROUP, in init()
DWakeupControllerTest.cpp72 EXPECT_CALL(mListener, in WakeupControllerTest()
75 EXPECT_CALL(mListener, in WakeupControllerTest()
77 EXPECT_OK(mController.init(&mListener)); in WakeupControllerTest()
82 StrictMock<MockNFLogListener> mListener; member in android::net::WakeupControllerTest
DMDnsService.h47 MDnsSdListener mListener;
DWakeupController.h82 NFLogListenerInterface* mListener; variable
DNFLogListener.h79 std::shared_ptr<netdutils::NetlinkListenerInterface> mListener;
/system/core/libutils/include/utils/
DLruCache.h113 OnEntryRemoved<TKey, TValue>* mListener; variable
165 , mListener(nullptr) in LruCache()
181 mListener = listener; in setOnEntryRemovedListener()
229 if (mListener) { in remove()
230 (*mListener)(entry->key, entry->value); in remove()
256 if (mListener) { in clear()
258 (*mListener)(p->key, p->value); in clear()
/system/core/libsysutils/src/
DSocketListener_test.cpp128 mListener = std::make_unique<TestListener>(mSserverFd.get()); in FrameworkListenerTest()
129 EXPECT_EQ(0, mListener->startListener()); in FrameworkListenerTest()
133 EXPECT_EQ(0, mListener->stopListener()); in ~FrameworkListenerTest()
150 std::unique_ptr<TestListener> mListener; member in FrameworkListenerTest
/system/vold/
DVolumeManager.h55 void setListener(android::sp<android::os::IVoldListener> listener) { mListener = listener; } in setListener()
56 android::sp<android::os::IVoldListener> getListener() const { return mListener; } in getListener()
221 android::sp<android::os::IVoldListener> mListener; variable
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp313 mListener(env->NewGlobalRef(listener)), in DataLoaderConnector()
330 reportStatusViaCallback(env, mListener, mStorageId, jni.constants.DATA_LOADER_DESTROYED); in ~DataLoaderConnector()
335 env->DeleteGlobalRef(mListener); in ~DataLoaderConnector()
544 return reportStatusViaCallback(env, mListener, mStorageId, osStatus); in reportStatus()
553 jobject getListenerLocalRef(JNIEnv* env) const { return env->NewLocalRef(mListener); } in getListenerLocalRef()
560 jobject const mListener; member in __anone91230200111::DataLoaderConnector