Searched refs:NotifySinkDev (Results 1 - 3 of 3) sorted by relevance
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/ |
H A D | daudio_source_dev.h | 112 int32_t NotifySinkDev(const AudioEventType type, const cJSON *Param, const std::string dhId);
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/ |
H A D | daudio_source_dev.cpp | 862 ret = NotifySinkDev(OPEN_SPEAKER, jAudioParam, dhIdString); in TaskOpenDSpeaker() 938 NotifySinkDev(CLOSE_SPEAKER, jAudioParam, std::to_string(dhId)); in CloseSpkNew() 1034 ret = NotifySinkDev(OPEN_MIC, jAudioParam, std::to_string(dhId)); in TaskOpenDMic() 1064 NotifySinkDev(CLOSE_MIC, jAudioParam, std::to_string(dhId)); in CloseMicNew() 1288 int32_t DAudioSourceDev::NotifySinkDev(const AudioEventType type, const cJSON *Param, const std::string dhId) in NotifySinkDev() function in OHOS::DistributedHardware::DAudioSourceDev
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/src/ |
H A D | daudio_source_dev_test.cpp | 1029 * @tc.desc: Verify the NotifySinkDev function. 1038 EXPECT_EQ(ERR_DH_AUDIO_FAILED, sourceDev_->NotifySinkDev(CLOSE_MIC, jAudioParam, DH_ID_SPK)); in HWTEST_F() 1041 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, sourceDev_->NotifySinkDev(CLOSE_MIC, jAudioParam, DH_ID_SPK)); in HWTEST_F() 1045 EXPECT_EQ(DH_SUCCESS, sourceDev_->NotifySinkDev(CLOSE_MIC, jAudioParam, DH_ID_SPK)); in HWTEST_F()
|
Completed in 5 milliseconds