/hardware/google/aemu/base/include/aemu/base/ |
D | EventNotificationSupport.h | 38 void registerOnce(EventListener listener) { in registerOnce() argument 40 mNonRemovableListeners.push_back(listener); in registerOnce() 43 void addListener(EventListener* listener) { in addListener() argument 45 mListeners.push_back(listener); in addListener() 48 void removeListener(EventListener* listener) { in removeListener() argument 51 if (*it == listener) { in removeListener() 62 for (const auto& listener : mListeners) { in fireEvent() local 63 (*listener)(evt); in fireEvent() 65 for (const auto& listener : mNonRemovableListeners) { in fireEvent() local 66 listener(evt); in fireEvent() [all …]
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanBus.cpp | 75 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 …]
|
/hardware/qcom/sm7150/gps/utils/ |
D | LocIpc.h | 77 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()
|
D | LocIpc.cpp | 169 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/sm8150/gps/utils/ |
D | LocIpc.h | 106 getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, 109 getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, 112 getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, 115 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcQrtrRecver() argument 118 return getLocIpcQrtrRecver(listener, service, instance, qrtrWatcher); in getLocIpcQrtrRecver() 121 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener, 126 getLocIpcQmiLocServiceSenderRecverPair(const shared_ptr<ILocIpcListener>& listener, 169 virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) { in getRecver() argument 179 inline LocIpcRecver(const shared_ptr<ILocIpcListener>& listener, LocIpcSender& sender) : in LocIpcRecver() argument 180 mIpcSender(sender), mDataCb(listener) {} in LocIpcRecver() [all …]
|
D | LocIpc.cpp | 169 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/sm7250/gps/utils/ |
D | LocIpc.h | 106 getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, 109 getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, 112 getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, 115 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcQrtrRecver() argument 118 return getLocIpcQrtrRecver(listener, service, instance, qrtrWatcher); in getLocIpcQrtrRecver() 121 getLocIpcQrtrRecver(const shared_ptr<ILocIpcListener>& listener, 126 getLocIpcQmiLocServiceSenderRecverPair(const shared_ptr<ILocIpcListener>& listener, 169 virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) { in getRecver() argument 179 inline LocIpcRecver(const shared_ptr<ILocIpcListener>& listener, LocIpcSender& sender) : in LocIpcRecver() argument 180 mIpcSender(sender), mDataCb(listener) {} in LocIpcRecver() [all …]
|
D | LocIpc.cpp | 169 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/ |
D | ICanBus.hal | 42 * 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/ |
D | LocIpc.cpp | 158 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 …]
|
D | LocIpc.h | 77 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()
|
/hardware/interfaces/cas/1.2/default/ |
D | MediaCasService.cpp | 86 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()
|
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/ |
D | AutomotiveCanV1_0Fuzzer.h | 81 sp<CanMessageListener> listener = sp<CanMessageListener>::make(); in listen() local 84 return listener; in listen() 88 mBus->listen(filter, listener, hidl_utils::fill(&result, &closeHandle)).assertOk(); in listen() 89 listener->assignCloseHandle(closeHandle); in listen() 91 return listener; in listen()
|
/hardware/interfaces/audio/effect/7.0/ |
D | IVirtualizerEffect.hal | 57 * All angles are expressed in degrees and are relative to the listener. 58 * - 0 is the direction the listener faces; 59 * - 180 is behind the listener; 68 * All angles are expressed in degrees and are relative to the listener. 69 * - 0 is the horizontal plane of the listener; 70 * - +90 is above the listener; 71 * - -90 is below the listener.
|
/hardware/interfaces/cas/1.1/default/ |
D | MediaCasService.cpp | 85 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()
|
/hardware/google/easel/amber/camera/libhdrplusclient/include/ |
D | EaselManagerClient.h | 67 virtual status_t resume(EaselManagerClientListener *listener) = 0; 112 virtual status_t openHdrPlusClientAsync(HdrPlusClientListener *listener) = 0; 125 virtual status_t openHdrPlusClient(HdrPlusClientListener *listener,
|
/hardware/interfaces/automotive/audiocontrol/2.0/ |
D | IAudioControl.hal | 28 * 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/ |
D | AudioControl.cpp | 42 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/interfaces/automotive/can/1.0/vts/functional/ |
D | VtsHalCanBusV1_0TargetTest.cpp | 50 const sp<ICanMessageListener>& listener); 51 sp<ICloseHandle> listenForErrors(const sp<ICanErrorListener>& listener); 104 const hidl_vec<CanMessageFilter>& filter, const sp<ICanMessageListener>& listener) { in listen() argument 107 mCanBus->listen(filter, listener, hidl_utils::fill(&halResult, &closeHandle)).assertOk(); in listen() 112 sp<ICloseHandle> CanBusHalTest::listenForErrors(const sp<ICanErrorListener>& listener) { in listenForErrors() argument 113 const auto res = mCanBus->listenForErrors(listener); in listenForErrors()
|
/hardware/google/av/media/eco/aidl/android/media/eco/ |
D | IECOSession.aidl | 75 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/ |
D | IComponentListener.hal | 25 * 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/cas/aidl/default/ |
D | MediaCasService.cpp | 53 const shared_ptr<ICasListener>& listener, in createPlugin() argument 56 if (listener == NULL) ALOGV("%s: Listener is NULL", __FUNCTION__); in createPlugin() 62 shared_ptr<CasImpl> casImpl = ::ndk::SharedRefBase::make<CasImpl>(listener); in createPlugin()
|
/hardware/google/aemu/base/include/aemu/base/async/ |
D | AsyncSocketAdapter.h | 42 void setSocketEventListener(AsyncSocketEventListener* listener) { in setSocketEventListener() argument 43 mListener = listener; in setSocketEventListener()
|
/hardware/interfaces/audio/effect/6.0/ |
D | IVirtualizerEffect.hal | 53 // 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/4.0/ |
D | IVirtualizerEffect.hal | 53 // 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
|