Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 16 of 16) sorted by relevance

/system/bt/service/doc/
DIBluetoothCallback.txt23 * 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/
Dbluetooth_test.cc119 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument
120 state_ = new_state; in AdapterStateChangedCallback()
/system/bt/service/common/android/bluetooth/
DIBluetoothCallback.aidl22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
/system/bt/tools/bdtool/
Dadapter.c77 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/
Dservice.cpp163 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()
Dservice.h142 void NotifyStateChange(const std::string& new_state) const;
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc387 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()
Dbluetooth_binder_server.h125 bluetooth::AdapterState new_state) override;
/system/bt/bta/av/
Dbta_av_ssm.cc493 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/
Dadapter.cc150 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()
Dadapter.h63 AdapterState new_state);
/system/bt/service/test/
Dadapter_unittest.cc87 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument
90 cur_state_ = new_state; in OnAdapterStateChanged()
/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc1682 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/
Dmain.cc152 int32_t new_state) override { in OnBluetoothStateChange() argument
157 << AdapterStateToString(bluetooth::AdapterState(new_state)) in OnBluetoothStateChange()
/system/nfc/src/nfa/include/
Dnfa_dm_int.h664 void nfa_dm_disc_new_state(tNFA_DM_RF_DISC_STATE new_state);
/system/bt/stack/btm/
Dbtm_sec.cc79 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()