Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 25 of 39) 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()
149 LOG(VERBOSE) << __func__ << ": state=" << in->bluetooth_input_.GetState() in in_calculate_starving_delay_ms()
202 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_sample_rate()
206 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_sample_rate()
214 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_set_sample_rate()
223 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_buffer_size()
233 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_channels()
237 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_.GetState() in out_get_channels()
[all …]
Ddevice_port_proxy.h82 BluetoothStreamState GetState() const;
/system/bt/test/suite/adapter/
Dadapter_unittest.cc36 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
41 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
45 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
49 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
55 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
59 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
68 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.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.cpp139 [&](const ApexSession &s) { return s.GetState() != state; }), in GetSessionsInState()
149 if (!session.IsFinalized() && session.GetState() != SessionState::UNKNOWN) { in GetActiveSessions()
156 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState() function in android::apex::ApexSession
165 switch (GetState()) { in IsFinalized()
268 << "; state = " << SessionState::State_Name(session.GetState()) in operator <<()
Dapexd_session_test.cpp117 ASSERT_EQ(SessionState::SUCCESS, migrated_session_1->GetState()); in TEST()
121 ASSERT_EQ(SessionState::ACTIVATION_FAILED, migrated_session_2->GetState()); in TEST()
Dapexd_session.h53 ::apex::proto::SessionState::State GetState() const;
/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc187 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
194 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
201 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
Dlibcurl_http_fetcher.h53 State GetState() { return state_; } in GetState() function
/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/update_engine/aosp/
Ddynamic_partition_control_android_unittest.cc369 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P()
378 EXPECT_CALL(dynamicControl(), GetState(T("system"))).Times(0); in TEST_P()
384 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P()
390 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P()
416 GetState(AnyOf(S("vendor"), T("vendor"), S("system"), T("system")))) in TEST_P()
458 GetState(AnyOf(S("vendor"), T("vendor"), S("system"), T("system")))) in TEST_P()
510 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P()
518 EXPECT_CALL(dynamicControl(), GetState(T("system"))) in TEST_P()
535 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P()
541 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P()
Ddynamic_partition_control_android.cc218 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
239 state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
259 if (DeviceMapper::Instance().GetState(target_partition_name) != in UnmapPartitionOnDeviceMapper()
312 android::dm::DmDeviceState DynamicPartitionControlAndroid::GetState( in GetState() function in chromeos_update_engine::DynamicPartitionControlAndroid
314 return DeviceMapper::Instance().GetState(name); in GetState()
1204 if (GetState(partition_name_suffix) != DmDeviceState::ACTIVE) { in GetDynamicPartitionDevice()
Dmock_dynamic_partition_control_android.h52 GetState,
/system/bt/service/
Dadapter.cc230 AdapterState GetState() const override { return state_.load(); } in GetState() function in bluetooth::AdapterImpl
235 AdapterState current_state = GetState(); in Enable()
265 AdapterState current_state = GetState(); in Disable()
506 AdapterState prev_state = GetState(); in AdapterStateChangedCallback()
521 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
Dadapter.h112 virtual AdapterState GetState() const = 0;
/system/core/fs_mgr/libdm/
Ddm_test.cpp148 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST()
151 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST()
154 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST()
557 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST()
643 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST()
678 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST()
Ddm.cpp92 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExists()
153 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExistsDeferred()
236 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState() function in android::dm::DeviceMapper
/system/bt/test/suite/gatt/
Dgatt_test.cc38 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h111 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