Home
last modified time | relevance | path

Searched refs:dhSubtype (Results 1 - 7 of 7) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/interfaces/kits/napi/src/
H A Dnative_distributedhardwarefwk_js.cpp145 DHSubtype dhSubtype = static_cast<DHSubtype>(type); in PauseDistributedHardware() local
146 if (dhSubtype == DHSubtype::AUDIO_MIC || dhSubtype == DHSubtype::AUDIO_SPEAKER) { in PauseDistributedHardware()
148 } else if (dhSubtype == DHSubtype::CAMERA) { in PauseDistributedHardware()
197 DHSubtype dhSubtype = static_cast<DHSubtype>(type); in ResumeDistributedHardware() local
198 if (dhSubtype == DHSubtype::AUDIO_MIC || dhSubtype == DHSubtype::AUDIO_SPEAKER) { in ResumeDistributedHardware()
200 } else if (dhSubtype == DHSubtype::CAMERA) { in ResumeDistributedHardware()
249 DHSubtype dhSubtype = static_cast<DHSubtype>(type); in StopDistributedHardware() local
250 if (dhSubtype in StopDistributedHardware()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/
H A Dcapability_info.h42 std::string dhAttrs, std::string dhSubtype) in CapabilityInfo()
44 dhSubtype_(dhSubtype) in CapabilityInfo()
75 void SetDHSubtype(const std::string &dhSubtype);
41 CapabilityInfo(std::string dhId, std::string devId, std::string devName, uint16_t devType, DHType dhType, std::string dhAttrs, std::string dhSubtype) CapabilityInfo() argument
H A Dmeta_capability_info.h37 std::string dhAttrs, std::string dhSubtype, std::string udidHash, std::string sinkVersion) in MetaCapabilityInfo()
38 : CapabilityInfo(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype), in MetaCapabilityInfo()
36 MetaCapabilityInfo(std::string dhId, std::string devId, std::string devName, uint16_t devType, DHType dhType, std::string dhAttrs, std::string dhSubtype, std::string udidHash, std::string sinkVersion) MetaCapabilityInfo() argument
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/
H A Dresourcemanager_fuzzer.cpp51 std::string dhSubtype(reinterpret_cast<const char*>(data), size); in ResourceManagerFuzzTest()
54 std::make_shared<CapabilityInfo>(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype); in ResourceManagerFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info.cpp98 void CapabilityInfo::SetDHSubtype(const std::string &dhSubtype) in SetDHSubtype() argument
100 this->dhSubtype_ = dhSubtype; in SetDHSubtype()
183 DHLOGE("dhSubtype is not equal"); in Compare()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/
H A Dcapabilityinfomanager_fuzzer.cpp141 std::string dhSubtype(reinterpret_cast<const char*>(data), size); in IsCapabilityMatchFilterFuzzTest()
143 dhId, deviceId, deviceName, TEST_DEV_TYPE_PAD, DHType::AUDIO, dhAttrs, dhSubtype); in IsCapabilityMatchFilterFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/src/
H A Dresource_manager_test.cpp845 std::string dhSubtype; in HWTEST_F() local
846 CapabilityInfo info(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype); in HWTEST_F()
866 std::string dhSubtype; in HWTEST_F() local
867 CapabilityInfo info(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype); in HWTEST_F()
1159 std::string dhSubtype = "dhSubtype_test"; in HWTEST_F() local

Completed in 5 milliseconds