/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 79 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 …]
|
D | device_port_proxy.h | 82 BluetoothStreamState GetState() const;
|
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cc | 36 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 …]
|
D | bluetooth_test.h | 47 bt_state_t GetState();
|
D | bluetooth_test.cc | 82 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 124 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()
|
D | mock_adapter.h | 33 MOCK_CONST_METHOD0(GetState, AdapterState());
|
/system/apex/apexd/ |
D | apexd_session.cpp | 139 [&](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 <<()
|
D | apexd_session_test.cpp | 117 ASSERT_EQ(SessionState::SUCCESS, migrated_session_1->GetState()); in TEST() 121 ASSERT_EQ(SessionState::ACTIVATION_FAILED, migrated_session_2->GetState()); in TEST()
|
D | apexd_session.h | 53 ::apex::proto::SessionState::State GetState() const;
|
/system/update_engine/ |
D | libcurl_http_fetcher_unittest.cc | 187 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()
|
D | libcurl_http_fetcher.h | 53 State GetState() { return state_; } in GetState() function
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetooth.aidl | 34 int GetState(); in GetState() method
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 33 ASSERT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android_unittest.cc | 369 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()
|
D | dynamic_partition_control_android.cc | 218 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()
|
D | mock_dynamic_partition_control_android.h | 52 GetState,
|
/system/bt/service/ |
D | adapter.cc | 230 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()
|
D | adapter.h | 112 virtual AdapterState GetState() const = 0;
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 148 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()
|
D | dm.cpp | 92 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/ |
D | gatt_test.cc | 38 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 111 DmDeviceState GetState(const std::string& name) const;
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 61 Status BluetoothBinderServer::GetState(int32_t* _aidl_return) { in GetState() function in ipc::binder::BluetoothBinderServer 63 *_aidl_return = adapter_->GetState(); in GetState()
|
D | bluetooth_binder_server.h | 73 Status GetState(int32_t* _aidl_return) override;
|