Searched refs:SendCmdToService (Results 1 – 2 of 2) sorted by relevance
/drivers/peripheral/usb/hdi_service/src/ |
D | usbd_function.cpp | 51 int32_t UsbdFunction::SendCmdToService(const char *name, int32_t cmd, unsigned char funcMask) in SendCmdToService() function in OHOS::HDI::Usb::V1_0::UsbdFunction 188 UsbdFunction::SendCmdToService(ACM_SERVICE_NAME, ACM_RELEASE, USB_FUNCTION_ACM); in SetFunctionToNone() 192 UsbdFunction::SendCmdToService(ECM_SERVICE_NAME, ECM_RELEASE, USB_FUNCTION_ECM); in SetFunctionToNone() 200 UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in SetFunctionToNone() 225 if (UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_ADD, ddkFuns)) { in SetDDKFunction() 304 if (SendCmdToService(ACM_SERVICE_NAME, ACM_INIT, USB_FUNCTION_ACM) != 0) { in UsbdInitDDKFunction() 315 if (SendCmdToService(ECM_SERVICE_NAME, ECM_INIT, USB_FUNCTION_ECM) != 0) { in UsbdInitDDKFunction() 389 UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_DEL, USB_DDK_FUNCTION_SUPPORT); in UsbdSetFunction()
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_function.h | 74 static int32_t SendCmdToService(const char *name, int32_t cmd, unsigned char funcMask);
|