Home
last modified time | relevance | path

Searched refs:callbacks_ (Results 1 – 11 of 11) sorted by relevance

/system/bt/service/ipc/binder/
Dremote_callback_list.h93 CallbackMap callbacks_; variable
109 for (auto iter = callbacks_.begin(); iter != callbacks_.end(); ++iter) in ~RemoteCallbackList()
118 if (callbacks_.find(binder.get()) != callbacks_.end()) { in Register()
130 callbacks_[binder.get()] = dr; in Register()
142 auto iter = callbacks_.find(binder.get()); in Unregister()
143 if (iter == callbacks_.end()) { in Unregister()
154 for (const auto& iter : callbacks_) in ForEach()
162 callbacks_.erase(iter); in UnregisterInternal()
197 auto iter = owner_->callbacks_.find(binder.get()); in binderDied()
198 CHECK(iter != owner_->callbacks_.end()); in binderDied()
[all …]
Dbluetooth_binder_server.cc173 callbacks_.Register(callback); in RegisterCallback()
184 callbacks_.Unregister(callback); in UnregisterCallback()
391 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged()
401 callbacks_.ForEach([&addr_s16, connected](IBluetoothCallback* callback) { in OnDeviceConnectionStateChanged()
409 callbacks_.ForEach([scan_enabled](IBluetoothCallback* callback) { in OnScanEnableChanged()
427 callbacks_.ForEach([&addr_s16, &name_s16, cod, pairing_variant, in OnSspRequest()
441 callbacks_.ForEach([status, &addr_s16, state](IBluetoothCallback* callback) { in OnBondStateChanged()
456 callbacks_.ForEach([status, &devices_s16](IBluetoothCallback* callback) { in OnGetBondedDevices()
470 callbacks_.ForEach( in OnGetRemoteDeviceProperties()
483 callbacks_.ForEach([&binder_props](IBluetoothCallback* callback) { in OnDeviceFound()
Dbluetooth_binder_server.h154 RemoteCallbackList<IBluetoothCallback> callbacks_; variable
/system/bt/gd/hal/fuzz/
Dfuzz_hci_hal.cc28 callbacks_ = callbacks; in registerIncomingPacketCallback()
32 callbacks_ = nullptr; in unregisterIncomingPacketCallback()
84 callbacks_->hciEventReceived(data); in injectHciEvent()
93 callbacks_->aclDataReceived(data); in injectAclData()
102 callbacks_->scoDataReceived(data); in injectScoData()
Dfuzz_hci_hal.h54 HciHalCallbacks* callbacks_; variable
/system/bt/gd/hal/
Dhci_hal_android_hidl.cc116 callbacks_->SetCallback(callback); in registerIncomingPacketCallback()
120 callbacks_->ResetCallback(); in unregisterIncomingPacketCallback()
151 callbacks_ = new InternalHciCallbacks(btsnoop_logger_); in Start()
152 bt_hci_->initialize(callbacks_); in Start()
154 callbacks_->GetInitPromise()->get_future().wait(); in Start()
165 callbacks_->ResetCallback(); in Stop()
170 android::sp<InternalHciCallbacks> callbacks_; member in bluetooth::hal::HciHalHidl
Dhci_hal_host_rootcanal_test.cc145 hal_->registerIncomingPacketCallback(&callbacks_); in SetUp()
168 TestHciHalCallbacks callbacks_; member in bluetooth::hal::__anonb60c79700111::HciHalRootcanalTest
/system/update_engine/
Dbinder_service_android.cc61 for (auto& callback : callbacks_) { in SendStatusUpdate()
68 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete()
89 callbacks_.emplace_back(callback); in bind()
191 callbacks_.begin(), in UnbindCallback()
192 callbacks_.end(), in UnbindCallback()
196 if (it == callbacks_.end()) { in UnbindCallback()
200 callbacks_.erase(it); in UnbindCallback()
Dbinder_service_android.h87 std::vector<android::sp<android::os::IUpdateEngineCallback>> callbacks_; variable
/system/extras/simpleperf/
DETMDecoder.cpp143 auto it = std::lower_bound(callbacks_.begin(), callbacks_.end(), callback, in AddCallback()
147 callbacks_.insert(it, callback); in AddCallback()
152 for (auto& callback : callbacks_) { in PacketDataIn()
163 std::vector<PacketCallback*> callbacks_; member in __anon83ecdb8c0111::PacketSink
338 void AddCallback(ElementCallback* callback) { callbacks_.push_back(callback); } in AddCallback()
348 for (auto& callback : callbacks_) { in TraceElemIn()
363 std::vector<ElementCallback*> callbacks_; member in __anon83ecdb8c0111::PacketToElement
/system/bt/btif/src/
Dbtif_av.cc353 : callbacks_(nullptr), in BtifAvSource()
365 btav_source_callbacks_t* Callbacks() { return callbacks_; } in Callbacks()
527 btav_source_callbacks_t* callbacks_; member in BtifAvSource
544 : callbacks_(nullptr), in BtifAvSink()
552 btav_sink_callbacks_t* Callbacks() { return callbacks_; } in Callbacks()
646 btav_sink_callbacks_t* callbacks_; member in BtifAvSink
975 callbacks_ = callbacks; in Init()
1007 callbacks_ = nullptr; in Cleanup()
1180 callbacks_ = callbacks; in Init()
1210 callbacks_ = nullptr; in Cleanup()