Home
last modified time | relevance | path

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

/system/bt/service/test/
Dadapter_unittest.cc73 bluetooth::AdapterState prev_state() const { return prev_state_; } in prev_state() function in bluetooth::__anon14151afb0111::TestObserver
86 bluetooth::AdapterState prev_state, in OnAdapterStateChanged() argument
89 prev_state_ = prev_state; in OnAdapterStateChanged()
135 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.prev_state()); in TEST_F()
147 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, observer.prev_state()); in TEST_F()
169 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.prev_state()); in TEST_F()
175 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F()
186 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.prev_state()); in TEST_F()
196 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.prev_state()); in TEST_F()
201 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F()
/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/bpfprogs/test/
Dbpf_load_tp_prog.c30 long long prev_state; member
/system/bt/bta/hd/
Dbta_hd_main.cc238 tBTA_HD_STATE prev_state; in bta_hd_sm_execute() local
246 prev_state = bta_hd_cb.state; in bta_hd_sm_execute()
261 if (bta_hd_cb.state != prev_state) { in bta_hd_sm_execute()
/system/bt/service/common/android/bluetooth/
DIBluetoothCallback.aidl22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
/system/bt/service/
Dadapter.cc149 AdapterState prev_state, in OnAdapterStateChanged() argument
505 AdapterState prev_state = GetState(); in AdapterStateChangedCallback() local
520 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
735 void NotifyAdapterStateChanged(AdapterState prev_state, in NotifyAdapterStateChanged() argument
737 if (prev_state == new_state) return; in NotifyAdapterStateChanged()
741 observer.OnAdapterStateChanged(this, prev_state, new_state); in NotifyAdapterStateChanged()
Dadapter.h62 AdapterState prev_state,
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc386 bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, in OnAdapterStateChanged() argument
389 VLOG(2) << "Received adapter state update - prev: " << prev_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.h124 bluetooth::AdapterState prev_state,
/system/bpfprogs/
Dtime_in_state.c40 long long prev_state; member
/system/bt/service/client/
Dmain.cc151 Status OnBluetoothStateChange(int32_t prev_state, in OnBluetoothStateChange() argument
155 << AdapterStateToString(bluetooth::AdapterState(prev_state)) in OnBluetoothStateChange()