Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 24 of 24) sorted by relevance

/system/bt/test/suite/adapter/
Dadapter_unittest.cpp38 EXPECT_EQ(GetState(), BT_STATE_OFF) << in TEST_F()
43 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
47 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
51 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
57 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
61 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
70 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
112 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
120 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
130 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
[all …]
Dbluetooth_test.h53 bt_state_t GetState();
Dbluetooth_test.cpp77 bt_state_t BluetoothTest::GetState() { in GetState() function in bttest::BluetoothTest
/system/bt/service/test/
Dadapter_unittest.cpp127 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
131 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
142 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, adapter_->GetState()); in TEST_F()
147 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
162 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
166 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
182 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, adapter_->GetState()); in TEST_F()
186 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
Dmock_adapter.h33 MOCK_CONST_METHOD0(GetState, AdapterState());
/system/bt/service/
Dadapter.cpp100 AdapterState GetState() const override { in GetState() function in bluetooth::AdapterImpl
109 AdapterState current_state = GetState(); in Enable()
139 AdapterState current_state = GetState(); in Disable()
232 AdapterState prev_state = GetState(); in AdapterStateChangedCallback()
247 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
Dadapter.h75 virtual AdapterState GetState() const = 0;
/system/connectivity/shill/binder/android/system/connectivity/shill/
DIService.aidl106 int GetState(); in GetState() method
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cpp48 int BluetoothBinderServer::GetState() { in GetState() function in ipc::binder::BluetoothBinderServer
50 return adapter_->GetState(); in GetState()
Dbluetooth_binder_server.h47 int GetState() override;
/system/bt/service/common/bluetooth/binder/
DIBluetooth.h136 virtual int GetState() = 0;
186 int GetState() override;
DIBluetooth.cpp78 int state = GetState(); in onTransact()
177 int BpBluetooth::GetState() { in GetState() function in ipc::binder::BpBluetooth
/system/connectivity/shill/binder/
Dservice_binder_adaptor.h77 android::binder::Status GetState(int32_t* _aidl_return);
Dservice_binder_adaptor.cc104 Status ServiceBinderAdaptor::GetState(int32_t* _aidl_return) { in GetState() function in shill::ServiceBinderAdaptor
/system/weaved/libweaved/
Dcommand.h64 Command::State GetState() const;
Dcommand.cc84 Command::State Command::GetState() const { in GetState() function in weaved::Command
/system/bt/test/suite/gatt/
Dgatt_test.cpp42 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/system/weaved/buffet/
Dbinder_command_proxy_unittest.cc69 EXPECT_CALL(*command_, GetState()) in SetUp()
Dbinder_command_proxy.cc70 *state = ToString16(EnumToString(command->GetState())); in getState()
/system/bt/service/client/
Dmain.cpp285 bt_iface->GetState()); in HandleGetState()
326 static_cast<bluetooth::AdapterState>(bt_iface->GetState()))); in HandleAdapterInfo()
/system/connectivity/shill/dbus/
Dchromeos_manager_dbus_adaptor.h77 bool GetState(brillo::ErrorPtr* error, std::string* state) override;
Dchromeos_manager_dbus_adaptor.cc136 bool ChromeosManagerDBusAdaptor::GetState(brillo::ErrorPtr* /*error*/, in GetState() function in shill::ChromeosManagerDBusAdaptor
/system/update_engine/include/shill/
Ddbus-proxy-mocks.h47 MOCK_METHOD3(GetState,
/system/connectivity/shill/doc/
Dmanager-api.txt24 string GetState()