Searched refs:EnableDevice (Results 1 - 8 of 8) sorted by relevance
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/ |
H A D | daudio_io_dev.h | 43 virtual int32_t EnableDevice(const int32_t dhId, const std::string &capability) = 0;
|
H A D | dspeaker_dev.h | 52 int32_t EnableDevice(const int32_t dhId, const std::string &capability) override;
|
H A D | dmic_dev.h | 57 int32_t EnableDevice(const int32_t dhId, const std::string &capability) override;
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/src/ |
H A D | dspeaker_dev_test.cpp | 81 * @tc.desc: Verify EnableDSpeaker and EnableDevice function. 87 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->EnableDevice(DH_ID, CAP)); in HWTEST_F() 88 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->EnableDevice(DH_ID, CAP)); in HWTEST_F() 90 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->EnableDevice(DH_ID_SPK, CAP)); in HWTEST_F()
|
H A D | dmic_dev_test.cpp | 73 * @tc.desc: Verify EnableDMic and EnableDevice function. 79 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, mic_->EnableDevice(DH_ID, CAP)); in HWTEST_F() 80 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, mic_->EnableDevice(DH_ID, CAP)); in HWTEST_F() 82 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, mic_->EnableDevice(DH_ID_MIC, CAP)); in HWTEST_F()
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/ |
H A D | daudio_source_dev.cpp | 691 if (deviceMap_[dhId]->EnableDevice(dhId, attrs) != DH_SUCCESS) { in EnableDSpeaker() 698 if (speaker->EnableDevice(dhId, attrs) != DH_SUCCESS) { in EnableDSpeaker() 712 if (deviceMap_[dhId]->EnableDevice(dhId, attrs) != DH_SUCCESS) { in EnableDMic() 719 if (mic->EnableDevice(dhId, attrs) != DH_SUCCESS) { in EnableDMic()
|
H A D | dspeaker_dev.cpp | 39 int32_t DSpeakerDev::EnableDevice(const int32_t dhId, const std::string &capability) in EnableDevice() function in OHOS::DistributedHardware::DSpeakerDev
|
H A D | dmic_dev.cpp | 98 int32_t DMicDev::EnableDevice(const int32_t dhId, const std::string &capability) in EnableDevice() function in OHOS::DistributedHardware::DMicDev
|
Completed in 8 milliseconds