Home
last modified time | relevance | path

Searched refs:DEV_SERVICE_NAME (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp292 UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in SetFunctionToNone()
293 UsbdUnregisterDevice(std::string(DEV_SERVICE_NAME)); in SetFunctionToNone()
317 int32_t ret = UsbdRegisterDevice(std::string(DEV_SERVICE_NAME)); in SetDDKFunction()
322 if (UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_ADD, ddkFuns)) { in SetDDKFunction()
396 UsbdUnregisterDevice(std::string(DEV_SERVICE_NAME)); in UsbdEnableDevice()
403 … UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in UsbdEnableDevice()
404 UsbdUnregisterDevice(std::string(DEV_SERVICE_NAME)); in UsbdEnableDevice()
412 … UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in UsbdEnableDevice()
413 UsbdUnregisterDevice(std::string(DEV_SERVICE_NAME)); in UsbdEnableDevice()
599 UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in UsbdSetFunction()
[all …]
/ohos5.0/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_function.h36 #define DEV_SERVICE_NAME "usbfn" macro