/system/core/adb/ |
D | adb_listeners.cpp | 58 alistener* listener = reinterpret_cast<alistener*>(_l); in listener_event_func() local 75 s->transport = listener->transport; in listener_event_func() 76 connect_to_remote(s, listener->connect_to); in listener_event_func() 108 alistener* listener = reinterpret_cast<alistener*>(arg); in listener_disconnect() local 109 listener->transport = nullptr; in listener_disconnect() 110 free_listener(listener); in listener_disconnect() 220 alistener* listener = reinterpret_cast<alistener*>( in install_listener() local 222 if (listener == nullptr) { in install_listener() 226 listener->local_name = strdup(local_name.c_str()); in install_listener() 227 if (listener->local_name == nullptr) { in install_listener() [all …]
|
D | test_adb.py | 168 socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as listener: 171 listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 172 listener.bind(('127.0.0.1', port)) 173 listener.listen(4) 181 accepted_connection, addr = listener.accept()
|
D | test_device.py | 232 listener = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 233 with contextlib.closing(listener): 236 listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 241 listener.bind(('127.0.0.1', reverse_port)) 242 listener.listen(4) 250 accepted_connection, addr = listener.accept()
|
/system/core/healthd/ |
D | BatteryPropertiesRegistrar.cpp | 45 void BatteryPropertiesRegistrar::registerListener(const sp<IBatteryPropertiesListener>& listener) { in registerListener() argument 47 if (listener == NULL) in registerListener() 52 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in registerListener() 57 mListeners.add(listener); in registerListener() 58 IInterface::asBinder(listener)->linkToDeath(this); in registerListener() 63 void BatteryPropertiesRegistrar::unregisterListener(const sp<IBatteryPropertiesListener>& listener)… in unregisterListener() argument 64 if (listener == NULL) in unregisterListener() 68 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
|
D | BatteryPropertiesRegistrar.h | 40 void registerListener(const sp<IBatteryPropertiesListener>& listener); 41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener);
|
/system/connectivity/shill/net/ |
D | rtnl_listener_unittest.cc | 59 RTNLListener listener(RTNLHandler::kRequestAddr, callback_); in TEST_F() local 63 listener.NotifyEvent(RTNLHandler::kRequestLink, message); in TEST_F() 70 RTNLListener listener( in TEST_F() local 76 listener.NotifyEvent(RTNLHandler::kRequestLink, message); in TEST_F()
|
D | rtnl_handler.cc | 134 for (const auto& listener : listeners_) { in AddListener() local 135 if (to_add == listener) in AddListener() 216 for (const auto& listener : listeners_) { in DispatchEvent() local 217 listener->NotifyEvent(type, msg); in DispatchEvent()
|
/system/weaved/buffet/ |
D | manager.cc | 182 for (const auto& listener : notification_listeners_) { in ~Manager() local 184 android::IInterface::asBinder(listener)); in ~Manager() 373 const WeaveServiceManagerNotificationListener& listener) { in registerNotificationListener() argument 374 notification_listeners_.insert(listener); in registerNotificationListener() 376 android::IInterface::asBinder(listener), in registerNotificationListener() 378 weak_ptr_factory_.GetWeakPtr(), listener)); in registerNotificationListener() 487 for (const auto& listener : notification_listeners_) in NotifyServiceManagerChange() local 488 listener->notifyServiceManagerChange(notification_ids); in NotifyServiceManagerChange()
|
D | shill_client.cc | 215 const ConnectionChangedCallback& listener) { in AddConnectionChangedCallback() argument 216 connectivity_listeners_.push_back(listener); in AddConnectionChangedCallback() 560 for (const auto& listener : connectivity_listeners_) in NotifyConnectivityListeners() local 561 listener.Run(); in NotifyConnectivityListeners()
|
D | shill_client.h | 47 const ConnectionChangedCallback& listener) override;
|
D | manager.h | 74 const WeaveServiceManagerNotificationListener& listener) override;
|
/system/netd/server/ |
D | DnsProxyListener.h | 59 const android::sp<android::net::metrics::INetdEventListener>& listener); 94 const android::sp<android::net::metrics::INetdEventListener>& listener);
|
D | MDnsSdListener.h | 105 Handler(Monitor *m, MDnsSdListener *listener);
|
D | MDnsSdListener.cpp | 53 MDnsSdListener::Handler::Handler(Monitor *m, MDnsSdListener *listener) : in Handler() argument 57 mListener = listener; in Handler()
|
/system/weaved/brillo/android/weave/ |
D | IWeaveServiceManager.aidl | 25 in IWeaveServiceManagerNotificationListener listener); in registerNotificationListener() argument
|
/system/core/include/utils/ |
D | LruCache.h | 47 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener); 159 void LruCache<K, V>::setOnEntryRemovedListener(OnEntryRemoved<K, V>* listener) { in setOnEntryRemovedListener() argument 160 mListener = listener; in setOnEntryRemovedListener()
|