Home
last modified time | relevance | path

Searched refs:mCallback (Results 1 – 10 of 10) sorted by relevance

/device/generic/goldfish/network/wifi_forwarder/
Dnetlink_socket.cpp33 mCallback = nullptr; in ~NetlinkSocket()
38 if (mSocket || mCallback) { in init()
41 mCallback = nl_cb_alloc(NL_CB_CUSTOM); in init()
42 if (!mCallback) { in init()
45 mSocket = nl_socket_alloc_cb(mCallback); in init()
63 if (nl_cb_set(mCallback, NL_CB_MSG_IN, NL_CB_CUSTOM, callback, context)) { in setOnMsgInCallback()
72 if (nl_cb_set(mCallback, NL_CB_MSG_OUT, NL_CB_CUSTOM, callback, context)) { in setOnMsgOutCallback()
81 if (nl_cb_set(mCallback, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, in setOnSeqCheckCallback()
90 if (nl_cb_set(mCallback, NL_CB_ACK, NL_CB_CUSTOM, callback, context)) { in setOnAckCallback()
100 if (nl_cb_err(mCallback, NL_CB_CUSTOM, callback, context)) { in setOnErrorCallback()
Dnetlink_socket.h79 struct nl_cb* mCallback = nullptr; variable
/device/google/trout/hal/audiocontrol/2.0/
DCloseHandle.cpp21 CloseHandle::CloseHandle(Callback callback) : mCallback(callback) {} in CloseHandle()
31 if (mCallback) mCallback(); in close()
DCloseHandle.h42 const Callback mCallback;
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/
DSTUNClient.cpp33 mCallback(cb), in STUNClient()
137 mCallback( in onReceiveResponse()
168 mCallback(-ETIMEDOUT, ""); in onTimeout()
/device/google/trout/hal/sensors/2.0/
DSensorsSubHal.cpp101 SensorsSubHal::SensorsSubHal() : mCallback(nullptr), mNextHandle(1) { in SensorsSubHal()
242 mCallback = halProxyCallback; in initialize()
248 ScopedWakelock wakelock = mCallback->createScopedWakelock(wakeup); in postEvents()
249 mCallback->postEvents(events, std::move(wakelock)); in postEvents()
DSensor.cpp41 mCallback(callback), in SensorBase()
117 if (!events.empty()) mCallback->postEvents(events, isWakeUpSensor()); in sendAdditionalInfoReport()
144 mCallback->postEvents(evs, isWakeUpSensor()); in flush()
200 mCallback->postEvents({evt}, isWakeUpSensor()); in pollForEvents()
242 mCallback->postEvents(std::vector<Event>{event}, isWakeUpSensor()); in injectEvent()
DSensorsSubHal.h98 sp<IHalProxyCallback> mCallback; variable
DSensor.h94 ISensorsEventCallback* mCallback; variable
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/include/webrtc/
DSTUNClient.h44 Callback mCallback; member