Home
last modified time | relevance | path

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

12

/system/bt/audio_bluetooth_hw/
Dstream_apis.cc79 LOG(INFO) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_calculate_feeding_delay_ms()
94 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_calculate_feeding_delay_ms()
97 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_calculate_feeding_delay_ms()
155 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_sample_rate()
159 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_sample_rate()
167 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_set_sample_rate()
176 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_buffer_size()
186 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_channels()
190 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_channels()
200 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_format()
[all …]
Ddevice_port_proxy.h84 BluetoothStreamState GetState() const;
/system/bt/test/suite/adapter/
Dadapter_unittest.cc35 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()
111 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
119 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
129 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
[all …]
Dbluetooth_test.h47 bt_state_t GetState();
Dbluetooth_test.cc82 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
/system/bt/service/test/
Dadapter_unittest.cc124 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
128 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
139 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, adapter_->GetState()); in TEST_F()
144 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
159 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
163 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
179 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, adapter_->GetState()); in TEST_F()
183 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
Dmock_adapter.h33 MOCK_CONST_METHOD0(GetState, AdapterState());
/system/apex/apexd/
Dapexd_session.cpp147 [&](const ApexSession &s) { return s.GetState() != state; }), in GetSessionsInState()
157 if (!session.IsFinalized() && session.GetState() != SessionState::UNKNOWN) { in GetActiveSessions()
164 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState() function in android::apex::ApexSession
173 switch (GetState()) { in IsFinalized()
258 << "; state = " << SessionState::State_Name(session.GetState()) in operator <<()
Dapexd_session.h45 ::apex::proto::SessionState::State GetState() const;
/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc200 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
207 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
214 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
Ddynamic_partition_control_android_unittest.cc360 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P()
369 EXPECT_CALL(dynamicControl(), GetState(T("system"))).Times(0); in TEST_P()
375 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P()
381 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P()
415 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P()
423 EXPECT_CALL(dynamicControl(), GetState(T("system"))) in TEST_P()
440 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P()
446 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P()
Ddynamic_partition_control_android.cc192 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
213 state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
233 if (DeviceMapper::Instance().GetState(target_partition_name) != in UnmapPartitionOnDeviceMapper()
284 android::dm::DmDeviceState DynamicPartitionControlAndroid::GetState( in GetState() function in chromeos_update_engine::DynamicPartitionControlAndroid
286 return DeviceMapper::Instance().GetState(name); in GetState()
987 if (GetState(partition_name_suffix) != DmDeviceState::ACTIVE) { in GetDynamicPartitionDevice()
Dmock_dynamic_partition_control.h46 GetState,
Dlibcurl_http_fetcher.h53 State GetState() { return state_; } in GetState() function
Ddynamic_partition_control_android.h131 virtual android::dm::DmDeviceState GetState(const std::string& name);
/system/bt/service/common/android/bluetooth/
DIBluetooth.aidl34 int GetState(); in GetState() method
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc33 ASSERT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/system/bt/service/
Dadapter.cc229 AdapterState GetState() const override { return state_.load(); } in GetState() function in bluetooth::AdapterImpl
234 AdapterState current_state = GetState(); in Enable()
264 AdapterState current_state = GetState(); in Disable()
505 AdapterState prev_state = GetState(); in AdapterStateChangedCallback()
520 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
Dadapter.h112 virtual AdapterState GetState() const = 0;
/system/bt/test/suite/gatt/
Dgatt_test.cc38 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/system/core/fs_mgr/libdm/
Ddm_test.cpp147 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST()
150 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST()
153 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST()
556 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST()
Ddm.cpp88 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExists()
211 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState() function in android::dm::DeviceMapper
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h105 DmDeviceState GetState(const std::string& name) const;
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc61 Status BluetoothBinderServer::GetState(int32_t* _aidl_return) { in GetState() function in ipc::binder::BluetoothBinderServer
63 *_aidl_return = adapter_->GetState(); in GetState()
Dbluetooth_binder_server.h73 Status GetState(int32_t* _aidl_return) override;

12