Searched refs:DEV_SERVICE_NAME (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_function.cpp | 292 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 D | usbd_function.h | 36 #define DEV_SERVICE_NAME "usbfn" macro
|