Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 25 of 71) sorted by relevance

123

/hardware/interfaces/automotive/can/1.0/default/
DCanBus.cpp75 auto& listener = mMsgListeners.back(); in listen() local
78 std::for_each(listener.filter.begin(), listener.filter.end(), in listen()
162 auto listener = weakListener.promote(); in clearMsgListeners() local
163 if (listener != nullptr) listener->close(); in clearMsgListeners()
175 Return<sp<ICloseHandle>> CanBus::listenForErrors(const sp<ICanErrorListener>& listener) { in listenForErrors() argument
176 if (listener == nullptr) { in listenForErrors()
182 listener->onError(ErrorEvent::INTERFACE_DOWN, true); in listenForErrors()
187 mErrListeners.emplace_back(listener); in listenForErrors()
189 return new CloseHandle([this, listener]() { in listenForErrors()
191 std::erase(mErrListeners, listener); in listenForErrors()
[all …]
DCanBus.h38 const sp<ICanMessageListener>& listener, listen_cb _hidl_cb) override;
39 Return<sp<ICloseHandle>> listenForErrors(const sp<ICanErrorListener>& listener) override;
/hardware/qcom/sm8150/gps/utils/
DLocIpc.h77 getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener,
80 getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener,
83 getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener,
86 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener,
90 getLocIpcQmiLocServiceSenderRecverPair(const shared_ptr<ILocIpcListener>& listener,
135 virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) { in getRecver() argument
144 inline LocIpcRecver(const shared_ptr<ILocIpcListener>& listener, LocIpcSender& sender) : in LocIpcRecver() argument
145 mIpcSender(sender), mDataCb(listener) {} in LocIpcRecver()
194 inline SockRecver(const shared_ptr<ILocIpcListener>& listener, in SockRecver() argument
196 LocIpcRecver(listener, sender), mSock(sock) { in SockRecver()
DLocIpc.cpp169 inline LocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, const char* name) : in LocIpcLocalRecver() argument
170 LocIpcLocalSender(name), LocIpcRecver(listener, *this) { in LocIpcLocalRecver()
221 unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) override { in getRecver() argument
222 return make_unique<SockRecver>(listener, *this, mSock); in getRecver()
249 inline LocIpcInetRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetRecver() argument
251 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
287 inline LocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetTcpRecver() argument
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
300 inline LocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetUdpRecver() argument
302 LocIpcInetRecver(listener, name, port, SOCK_DGRAM) {} in LocIpcInetUdpRecver()
[all …]
/hardware/qcom/sm7150/gps/utils/
DLocIpc.h77 getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener,
80 getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener,
83 getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener,
86 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener,
90 getLocIpcQmiLocServiceSenderRecverPair(const shared_ptr<ILocIpcListener>& listener,
135 virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) { in getRecver() argument
144 inline LocIpcRecver(const shared_ptr<ILocIpcListener>& listener, LocIpcSender& sender) : in LocIpcRecver() argument
145 mIpcSender(sender), mDataCb(listener) {} in LocIpcRecver()
194 inline SockRecver(const shared_ptr<ILocIpcListener>& listener, in SockRecver() argument
196 LocIpcRecver(listener, sender), mSock(sock) { in SockRecver()
DLocIpc.cpp169 inline LocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, const char* name) : in LocIpcLocalRecver() argument
170 LocIpcLocalSender(name), LocIpcRecver(listener, *this) { in LocIpcLocalRecver()
221 unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) override { in getRecver() argument
222 return make_unique<SockRecver>(listener, *this, mSock); in getRecver()
249 inline LocIpcInetRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetRecver() argument
251 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
287 inline LocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetTcpRecver() argument
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
300 inline LocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetUdpRecver() argument
302 LocIpcInetRecver(listener, name, port, SOCK_DGRAM) {} in LocIpcInetUdpRecver()
[all …]
/hardware/interfaces/automotive/can/1.0/
DICanBus.hal42 * HAL is responsible for maintaining listener set and sending out messages
43 * to each listener that matches given filter against received message.
47 * these filters. HAL must not send out a message to a listener which filter
54 * @param listener The interface to receive the messages on
57 * @return close A handle to call in order to remove the listener
59 listen(vec<CanMessageFilter> filter, ICanMessageListener listener)
63 * Adds a new listener for CAN bus or interface errors.
68 * @param listener The interface to receive the error events on
69 * @return close A handle to call in order to remove the listener
71 listenForErrors(ICanErrorListener listener) generates (ICloseHandle close);
/hardware/qcom/sm8150p/gps/utils/
DLocIpc.h77 getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener,
80 getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener,
83 getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener,
86 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener,
90 getLocIpcQmiLocServiceSenderRecverPair(const shared_ptr<ILocIpcListener>& listener,
141 inline LocIpcRecver(const shared_ptr<ILocIpcListener>& listener, LocIpcSender& sender) : in LocIpcRecver() argument
142 mIpcSender(sender), mDataCb(listener) {} in LocIpcRecver()
DLocIpc.cpp158 inline LocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, const char* name) : in LocIpcLocalRecver() argument
159 LocIpcLocalSender(name), LocIpcRecver(listener, *this) { in LocIpcLocalRecver()
230 inline LocIpcInetRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetRecver() argument
232 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
266 inline LocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetTcpRecver() argument
268 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
279 inline LocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, const char* name, in LocIpcInetUdpRecver() argument
281 LocIpcInetRecver(listener, name, port, SOCK_DGRAM) {} in LocIpcInetUdpRecver()
388 unique_ptr<LocIpcRecver> LocIpc::getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcLocalRecver() argument
390 return make_unique<LocIpcLocalRecver>(listener, localSockName); in getLocIpcLocalRecver()
[all …]
/hardware/interfaces/cas/1.2/default/
DMediaCasService.cpp86 const sp<V1_0::ICasListener>& listener) { in createPlugin() argument
91 sp<V1_1::ICasListener> listenerV1_1 = Wrapper::wrap(listener); in createPlugin()
99 const sp<ICasListener>& listener) { in createPluginExt() argument
101 if (listener == NULL) ALOGV("%s: Listener is NULL", __FUNCTION__); in createPluginExt()
109 sp<CasImpl> casImpl = new CasImpl(listener); in createPluginExt()
116 sp<V1_2::ICasListener> listenerV1_2 = V1_2::ICasListener::castFrom(listener); in createPluginExt()
DMediaCasService.h45 const sp<V1_0::ICasListener>& listener) override;
48 const sp<ICasListener>& listener) override;
/hardware/google/easel/amber/camera/libhdrplusclient/include/
DEaselManagerClient.h67 virtual status_t resume(EaselManagerClientListener *listener) = 0;
112 virtual status_t openHdrPlusClientAsync(HdrPlusClientListener *listener) = 0;
125 virtual status_t openHdrPlusClient(HdrPlusClientListener *listener,
/hardware/interfaces/cas/1.1/default/
DMediaCasService.cpp85 const sp<V1_0::ICasListener>& listener) { in createPlugin() argument
90 sp<V1_1::ICasListener> listenerV1_1 = Wrapper::wrap(listener); in createPlugin()
98 const sp<ICasListener>& listener) { in createPluginExt() argument
100 if (listener == NULL) ALOGV("%s: Listener is NULL", __FUNCTION__); in createPluginExt()
108 sp<CasImpl> casImpl = new CasImpl(listener); in createPluginExt()
DMediaCasService.h44 const sp<V1_0::ICasListener>& listener) override;
47 const sp<ICasListener>& listener) override;
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanBusV1_0TargetTest.cpp45 const sp<ICanMessageListener>& listener);
46 sp<ICloseHandle> listenForErrors(const sp<ICanErrorListener>& listener);
61 const hidl_vec<CanMessageFilter>& filter, const sp<ICanMessageListener>& listener) { in listen() argument
64 mCanBus->listen(filter, listener, hidl_utils::fill(&halResult, &closeHandle)).assertOk(); in listen()
69 sp<ICloseHandle> CanBusHalTest::listenForErrors(const sp<ICanErrorListener>& listener) { in listenForErrors() argument
70 const auto res = mCanBus->listenForErrors(listener); in listenForErrors()
/hardware/interfaces/automotive/audiocontrol/2.0/
DIAudioControl.hal28 * Registers focus listener to be used by HAL for requesting and abandoning audio focus.
30 * It is expected that there will only ever be a single focus listener registered. If the
32 * a listener is already registered, the existing one should be unregistered and replaced with
33 * the new listener.
35 * @param listener the listener interface
38 registerFocusListener(IFocusListener listener) generates (ICloseHandle closeHandle);
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp42 Return<sp<ICloseHandle>> AudioControl::registerFocusListener(const sp<IFocusListener>& listener) { in registerFocusListener() argument
46 if (listener) { in registerFocusListener()
47 mFocusListener = listener; in registerFocusListener()
49 closeHandle = new CloseHandle([this, listener]() { in registerFocusListener()
50 if (mFocusListener == listener) { in registerFocusListener()
/hardware/google/av/media/eco/aidl/android/media/eco/
DIECOSession.aidl75 boolean addInfoListener(IECOServiceInfoListener listener, in ECOData config); in addInfoListener() argument
84 boolean removeInfoListener(IECOServiceInfoListener listener); in removeInfoListener() argument
/hardware/google/interfaces/media/c2/1.0/
DIComponentListener.hal25 * Notify the listener that some works have been completed.
30 * Notify the listener that the component is tripped.
35 * Notify the listener of an error.
64 * Notify the listener that frames are rendered.
/hardware/interfaces/audio/effect/5.0/
DIVirtualizerEffect.hal53 // are relative to the listener.
54 int16_t azimuth; // 0 is the direction the listener faces
55 // 180 is behind the listener
58 // +90 is above the listener, -90 is below
/hardware/interfaces/audio/effect/6.0/
DIVirtualizerEffect.hal53 // are relative to the listener.
54 int16_t azimuth; // 0 is the direction the listener faces
55 // 180 is behind the listener
58 // +90 is above the listener, -90 is below
/hardware/interfaces/audio/effect/2.0/
DIVirtualizerEffect.hal52 // are relative to the listener.
53 int16_t azimuth; // 0 is the direction the listener faces
54 // 180 is behind the listener
57 // +90 is above the listener, -90 is below
/hardware/interfaces/audio/effect/4.0/
DIVirtualizerEffect.hal53 // are relative to the listener.
54 int16_t azimuth; // 0 is the direction the listener faces
55 // 180 is behind the listener
58 // +90 is above the listener, -90 is below
/hardware/interfaces/cas/1.1/
DIMediaCasService.hal34 * @param listener the event listener to receive events coming from the CasPlugin.
37 createPluginExt(int32_t caSystemId, ICasListener listener) generates (ICas cas);
/hardware/interfaces/broadcastradio/2.0/
DIAnnouncementListener.hal19 * Callback interface for announcement listener.
21 * For typical configuration, the listener is a broadcast radio service.

123