/foundation/distributedhardware/distributed_hardware_fwk/interfaces/kits/napi/src/ |
H A D | native_distributedhardwarefwk_js.cpp | 145 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 D | capability_info.h | 42 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 D | meta_capability_info.h | 37 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 D | resourcemanager_fuzzer.cpp | 51 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 D | capability_info.cpp | 98 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 D | capabilityinfomanager_fuzzer.cpp | 141 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 D | resource_manager_test.cpp | 845 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
|