Searched refs:prev_state (Results 1 – 9 of 9) sorted by relevance
/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothCallback.cpp | 48 int prev_state, new_state; in onTransact() local 49 if (data.readInt32(&prev_state) != android::NO_ERROR || in onTransact() 54 static_cast<bluetooth::AdapterState>(prev_state), in onTransact() 71 bluetooth::AdapterState prev_state, in OnBluetoothStateChange() argument 76 data.writeInt32(prev_state); in OnBluetoothStateChange()
|
D | IBluetoothCallback.h | 48 bluetooth::AdapterState prev_state, 79 void OnBluetoothStateChange(bluetooth::AdapterState prev_state,
|
/system/bt/service/test/ |
D | adapter_unittest.cpp | 75 bluetooth::AdapterState prev_state() const { return prev_state_; } in prev_state() function in bluetooth::__anon96b87c780111::TestObserver 88 bluetooth::AdapterState prev_state, in OnAdapterStateChanged() argument 91 prev_state_ = prev_state; in OnAdapterStateChanged() 138 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.prev_state()); in TEST_F() 150 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, observer.prev_state()); in TEST_F() 172 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.prev_state()); in TEST_F() 178 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F() 189 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.prev_state()); in TEST_F() 199 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.prev_state()); in TEST_F() 204 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cpp | 176 bluetooth::AdapterState prev_state, in OnAdapterStateChanged() argument 179 VLOG(2) << "Received adapter state update - prev: " << prev_state in OnAdapterStateChanged() 181 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged() 182 callback->OnBluetoothStateChange(prev_state, new_state); in OnAdapterStateChanged()
|
D | bluetooth_binder_server.h | 70 bluetooth::AdapterState prev_state,
|
/system/bt/service/ |
D | adapter.cpp | 60 AdapterState prev_state, in OnAdapterStateChanged() argument 232 AdapterState prev_state = GetState(); in AdapterStateChangedCallback() local 247 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback() 351 void NotifyAdapterStateChanged(AdapterState prev_state, in NotifyAdapterStateChanged() argument 353 if (prev_state == new_state) in NotifyAdapterStateChanged() 358 OnAdapterStateChanged(this, prev_state, new_state)); in NotifyAdapterStateChanged()
|
D | adapter.h | 53 AdapterState prev_state,
|
/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/client/ |
D | main.cpp | 134 bluetooth::AdapterState prev_state, in OnBluetoothStateChange() argument 139 << COLOR_MAGENTA << AdapterStateToString(prev_state) << COLOR_OFF in OnBluetoothStateChange()
|