Home
last modified time | relevance | path

Searched refs:FUNCTION_HDC (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp198 int32_t isok = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
213 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_HDC;
229 int32_t funcs = UsbSrvSupport::FUNCTION_ECM | UsbSrvSupport::FUNCTION_HDC;
275 int32_t funcs = UsbSrvSupport::FUNCTION_MTP | UsbSrvSupport::FUNCTION_HDC;
291 int32_t funcs = UsbSrvSupport::FUNCTION_PTP | UsbSrvSupport::FUNCTION_HDC;
307 …_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_MTP | UsbSrvSupport::FUNCTION_HDC;
343 isok = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
358 int32_t ret = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
375 int32_t ret = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
392 int32_t ret = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
[all …]
/ohos5.0/base/usb/usb_manager/services/native/include/
H A Dusb_device_manager.h60 …static constexpr uint32_t functionSettable_ = UsbSrvSupport::FUNCTION_HDC | UsbSrvSupport::FUNCTIO…
64 int32_t currentFunctions_ {UsbSrvSupport::FUNCTION_HDC};
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp191 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
204 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_HDC;
219 int32_t funcs = UsbSrvSupport::FUNCTION_ECM | UsbSrvSupport::FUNCTION_HDC;
254 isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
360 std::string funcName = usbSrv_->UsbFunctionsToString(UsbSrvSupport::FUNCTION_HDC);
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_support.h54 FUNCTION_HDC = 1 << 2, enumerator
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_manager.cpp74 if (unsignedfuncs & USB::UsbSrvSupport::Function::FUNCTION_HDC) { in Init()
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp43 {UsbSrvSupport::FUNCTION_NAME_HDC, UsbSrvSupport::FUNCTION_HDC},
H A Dusb_right_manager.cpp588 if (!(static_cast<uint32_t>(functions) & UsbSrvSupport::FUNCTION_HDC)) { in HasSetFuncRight()