Searched refs:prev_state (Results 1 – 11 of 11) sorted by relevance
/system/bt/service/test/ |
D | adapter_unittest.cc | 73 bluetooth::AdapterState prev_state() const { return prev_state_; } in prev_state() function in bluetooth::__anon8aac85840111::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/ |
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/bpfprogs/test/ |
D | bpf_load_tp_prog.c | 30 long long prev_state; member
|
/system/bt/bta/hd/ |
D | bta_hd_main.cc | 238 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/ |
D | IBluetoothCallback.aidl | 22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
|
/system/bt/service/ |
D | adapter.cc | 149 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()
|
D | adapter.h | 62 AdapterState prev_state,
|
/system/bpfprogs/ |
D | time_in_state.c | 35 long long prev_state; member
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 386 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()
|
D | bluetooth_binder_server.h | 124 bluetooth::AdapterState prev_state,
|
/system/bt/service/client/ |
D | main.cc | 151 Status OnBluetoothStateChange(int32_t prev_state, in OnBluetoothStateChange() argument 155 << AdapterStateToString(bluetooth::AdapterState(prev_state)) in OnBluetoothStateChange()
|