Searched refs:callbacks_ (Results 1 – 8 of 8) sorted by relevance
/system/bt/service/ipc/binder/ |
D | remote_callback_list.h | 93 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 …]
|
D | bluetooth_binder_server.cc | 173 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()
|
D | bluetooth_binder_server.h | 154 RemoteCallbackList<IBluetoothCallback> callbacks_; variable
|
/system/update_engine/ |
D | binder_service_android.cc | 46 for (auto& callback : callbacks_) { in SendStatusUpdate() 53 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete() 60 callbacks_.emplace_back(callback); in bind() 157 callbacks_.begin(), in UnbindCallback() 158 callbacks_.end(), in UnbindCallback() 162 if (it == callbacks_.end()) { in UnbindCallback() 166 callbacks_.erase(it); in UnbindCallback()
|
D | binder_service_brillo.cc | 201 callbacks_.emplace_back(callback); in RegisterStatusCallback() 226 auto it = callbacks_.begin(); in UnregisterStatusCallback() 227 while (it != callbacks_.end() && it->get() != callback) in UnregisterStatusCallback() 230 if (it == callbacks_.end()) { in UnregisterStatusCallback() 236 callbacks_.erase(it); in UnregisterStatusCallback() 242 for (auto& callback : callbacks_) { in SendStatusUpdate()
|
D | binder_service_android.h | 76 std::vector<android::sp<android::os::IUpdateEngineCallback>> callbacks_; variable
|
D | binder_service_brillo.h | 109 callbacks_; variable
|
/system/bt/btif/src/ |
D | btif_av.cc | 341 : callbacks_(nullptr), in BtifAvSource() 352 btav_source_callbacks_t* Callbacks() { return callbacks_; } in Callbacks() 525 btav_source_callbacks_t* callbacks_; member in BtifAvSource 542 : callbacks_(nullptr), in BtifAvSink() 550 btav_sink_callbacks_t* Callbacks() { return callbacks_; } in Callbacks() 644 btav_sink_callbacks_t* callbacks_; member in BtifAvSink 966 callbacks_ = callbacks; in Init() 994 callbacks_ = nullptr; in Cleanup() 1151 callbacks_ = callbacks; in Init() 1181 callbacks_ = nullptr; in Cleanup()
|