Home
last modified time | relevance | path

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

/system/netd/server/
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
DNFLogListener.cpp145 : mListener(std::move(listener)) { in NFLogListener()
154 expectOk(mListener->subscribe(kNFLogPacketMsgType, rxHandler)); in NFLogListener()
163 expectOk(mListener->subscribe(kNetlinkDoneMsgType, rxDoneHandler)); in NFLogListener()
167 expectOk(mListener->unsubscribe(kNFLogPacketMsgType)); in ~NFLogListener()
168 expectOk(mListener->unsubscribe(kNetlinkDoneMsgType)); in ~NFLogListener()
169 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in ~NFLogListener()
181 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in subscribe()
195 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in unsubscribe()
DOemNetdListener.cpp54 : mOemNetdListener(oemNetdListener), mListener(std::move(listener)) {} in registerOemUnsolicitedEventListenerInternal()
57 mOemNetdListener->unregisterOemUnsolicitedEventListenerInternal(mListener); in registerOemUnsolicitedEventListenerInternal()
62 ::android::sp<IOemNetdUnsolicitedEventListener> mListener; in registerOemUnsolicitedEventListenerInternal()
DMDnsSdListener.cpp61 mListener = listener; in Handler()
76 Context *context = new Context(requestId, mListener); in discover()
112 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); in MDnsSdListenerDiscoverCallback()
132 context->mListener->sendBroadcast(respCode, msg, false); in MDnsSdListenerDiscoverCallback()
168 Context *context = new Context(requestId, mListener); in serviceRegister()
204 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationFailed, msg, false); in MDnsSdListenerRegisterCallback()
210 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationSucceeded, msg, false); in MDnsSdListenerRegisterCallback()
224 Context *context = new Context(requestId, mListener); in resolveService()
260 context->mListener->sendBroadcast(ResponseCode::ServiceResolveFailed, msg, false); in MDnsSdListenerResolveCallback()
278 context->mListener->sendBroadcast(ResponseCode::ServiceResolveSuccess, msg, false); in MDnsSdListenerResolveCallback()
[all …]
DMDnsSdListener.h58 MDnsSdListener *mListener;
63 mListener = m; in Context()
113 MDnsSdListener *mListener; // needed for broadcast purposes variable
DNFLogListenerTest.cpp67 mListener.reset(new NFLogListener(mNLListener)); in NFLogListenerTest()
80 EXPECT_OK(mListener->subscribe(type, fn)); in subscribe()
99 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()
DWakeupController.h82 NFLogListenerInterface* mListener; variable
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
DNFLogListener.h79 std::shared_ptr<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()
220 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 __anonb17d6ec20111::DataLoaderConnector