/system/bt/service/doc/ |
D | IBluetoothCallback.txt | 23 * Called when the adapter state changes from |prev_state| to |new_state|. 25 void onBluetoothStateChange(in int prev_state, in int new_state);
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothCallback.aidl | 22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
|
/system/bt/test/suite/adapter/ |
D | bluetooth_test.cc | 119 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument 120 state_ = new_state; in AdapterStateChangedCallback()
|
/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 345 let new_state = match BtState::from_i32(state) { in adapter_state_changed_callback() localVariable 349 (cb.inner.adapter_state_changed)(new_state); in adapter_state_changed_callback() 379 let new_state = match BtDiscoveryState::from_i32(state) { in discovery_state_changed_callback() localVariable 383 (cb.inner.discovery_state_changed)(new_state); in discovery_state_changed_callback()
|
/system/bt/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 25 fn on_bluetooth_state_changed(&self, prev_state: u32, new_state: u32) {} in on_bluetooth_state_changed()
|
/system/bt/tools/bdtool/ |
D | adapter.c | 77 void adapter_state_changed(bt_state_t new_state) { in adapter_state_changed() argument 78 state = new_state; in adapter_state_changed()
|
/system/core/init/ |
D | service.cpp | 160 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 167 SetProperty(prop_name, new_state); in NotifyStateChange() 169 if (new_state == "running") { in NotifyStateChange() 180 if (new_state == "running") { in NotifyStateChange() 182 } else if (new_state == "stopped") { in NotifyStateChange()
|
D | service.h | 143 void NotifyStateChange(const std::string& new_state) const;
|
/system/security/keystore2/src/ |
D | legacy_migrator.rs | 245 let (new_state, result) = if let Some(legacy_migrator_state) = in do_serialized() 256 if result.is_some() && new_state == Self::STATE_EMPTY { in do_serialized() 261 if let Err(e) = sender.send((new_state, result)) { in do_serialized() 266 let (new_state, result) = match receiver.recv() { in do_serialized() 275 if new_state == Self::STATE_EMPTY { in do_serialized()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 387 bluetooth::AdapterState new_state) { in OnAdapterStateChanged() argument 390 << " new: " << new_state; in OnAdapterStateChanged() 391 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged() 392 callback->OnBluetoothStateChange(prev_state, new_state); in OnAdapterStateChanged()
|
D | bluetooth_binder_server.h | 125 bluetooth::AdapterState new_state) override;
|
/system/bt/service/ |
D | adapter.cc | 151 AdapterState new_state) { in OnAdapterStateChanged() argument 740 AdapterState new_state) { in NotifyAdapterStateChanged() argument 741 if (prev_state == new_state) return; in NotifyAdapterStateChanged() 745 observer.OnAdapterStateChanged(this, prev_state, new_state); in NotifyAdapterStateChanged()
|
D | adapter.h | 63 AdapterState new_state);
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 87 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument 90 cur_state_ = new_state; in OnAdapterStateChanged()
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 43 fn on_bluetooth_state_changed(&self, prev_state: u32, new_state: u32); in on_bluetooth_state_changed()
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_discover.cc | 1682 void nfa_dm_disc_new_state(tNFA_DM_RF_DISC_STATE new_state) { in nfa_dm_disc_new_state() argument 1690 nfa_dm_cb.disc_cb.disc_state, nfa_dm_disc_state_2_str(new_state).c_str(), in nfa_dm_disc_new_state() 1691 new_state, nfa_dm_cb.disc_cb.disc_flags); in nfa_dm_disc_new_state() 1693 nfa_dm_cb.disc_cb.disc_state = new_state; in nfa_dm_disc_new_state() 1696 if ((new_state == NFA_DM_RFST_IDLE) && in nfa_dm_disc_new_state()
|
/system/bt/service/client/ |
D | main.cc | 152 int32_t new_state) override { in OnBluetoothStateChange() argument 157 << AdapterStateToString(bluetooth::AdapterState(new_state)) in OnBluetoothStateChange()
|
/system/nfc/src/nfa/include/ |
D | nfa_dm_int.h | 664 void nfa_dm_disc_new_state(tNFA_DM_RF_DISC_STATE new_state);
|
/system/bt/stack/btm/ |
D | btm_sec.cc | 95 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state); 4522 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state) { in btm_sec_change_pairing_state() argument 4527 btm_pair_state_descr(new_state), btm_cb.pairing_flags); in btm_sec_change_pairing_state() 4532 btm_pair_state_descr(new_state))); in btm_sec_change_pairing_state() 4533 btm_cb.pairing_state = new_state; in btm_sec_change_pairing_state() 4535 if (new_state == BTM_PAIR_STATE_IDLE) { in btm_sec_change_pairing_state()
|