Searched refs:new_state (Results 1 – 16 of 16) sorted by relevance
/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/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/service/common/android/bluetooth/ |
D | IBluetoothCallback.aidl | 22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
|
/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 | 163 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 170 SetProperty(prop_name, new_state); in NotifyStateChange() 172 if (new_state == "running") { in NotifyStateChange() 183 if (new_state == "running") { in NotifyStateChange() 185 } else if (new_state == "stopped") { in NotifyStateChange()
|
D | service.h | 142 void NotifyStateChange(const std::string& new_state) const;
|
/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/bta/av/ |
D | bta_av_ssm.cc | 493 auto new_state = in bta_av_ssm_execute() local 495 if (p_scb->state != new_state) { in bta_av_ssm_execute() 500 new_state, bta_av_sst_code(new_state), p_scb); in bta_av_ssm_execute()
|
/system/bt/service/ |
D | adapter.cc | 150 AdapterState new_state) { in OnAdapterStateChanged() argument 736 AdapterState new_state) { in NotifyAdapterStateChanged() argument 737 if (prev_state == new_state) return; in NotifyAdapterStateChanged() 741 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/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 | 79 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state); 5239 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state) { in btm_sec_change_pairing_state() argument 5245 btm_pair_state_descr(new_state), btm_cb.pairing_flags); in btm_sec_change_pairing_state() 5247 btm_cb.pairing_state = new_state; in btm_sec_change_pairing_state() 5249 if (new_state == BTM_PAIR_STATE_IDLE) { in btm_sec_change_pairing_state()
|