Searched refs:GetState (Results 1 – 13 of 13) sorted by relevance
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cc | 35 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F() 40 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F() 44 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F() 48 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F() 54 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F() 58 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F() 67 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F() 110 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F() 118 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F() 128 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F() [all …]
|
D | bluetooth_test.h | 48 bt_state_t GetState();
|
D | bluetooth_test.cc | 77 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 125 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F() 129 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F() 140 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, adapter_->GetState()); in TEST_F() 145 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F() 160 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F() 164 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F() 180 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, adapter_->GetState()); in TEST_F() 184 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
|
D | mock_adapter.h | 33 MOCK_CONST_METHOD0(GetState, AdapterState());
|
/system/bt/service/ |
D | adapter.cc | 103 AdapterState GetState() const override { return state_.load(); } in GetState() function in bluetooth::AdapterImpl 108 AdapterState current_state = GetState(); in Enable() 139 AdapterState current_state = GetState(); in Disable() 236 AdapterState prev_state = GetState(); in AdapterStateChangedCallback() 251 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
|
D | adapter.h | 77 virtual AdapterState GetState() const = 0;
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetooth.aidl | 30 int GetState(); in GetState() method
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 36 ASSERT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 57 Status BluetoothBinderServer::GetState(int32_t* _aidl_return) { in GetState() function in ipc::binder::BluetoothBinderServer 59 *_aidl_return = adapter_->GetState(); in GetState()
|
D | bluetooth_binder_server.h | 61 Status GetState(int32_t* _aidl_return) override;
|
/system/bt/test/suite/gatt/ |
D | gatt_test.cc | 39 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/system/bt/service/client/ |
D | main.cc | 364 bt_iface->GetState(&st); in HandleGetState() 413 bt_iface->GetState(&adapter_state); in HandleAdapterInfo()
|