Lines Matching defs:devPath
428 char *devPath = NULL;
430 return devPath;
434 devPath = "/dev/block";
436 devPath = "/dev/input";
438 devPath = "/dev/dri";
440 devPath = "/dev/graphics";
442 devPath = "/dev/snd";
444 devPath = "/dev/functionfs";
446 devPath = "/dev/dma_heap";
448 devPath = "/dev";
450 return devPath;
472 const char *devPath = GetDeviceBasePath(uevent->subsystem);
485 if (devPath == NULL || devName == NULL) {
489 if (snprintf_s(deviceNode, DEVICE_FILE_SIZE, DEVICE_FILE_SIZE - 1, "%s/%s", devPath, devName) == -1) {
514 const char *devPath = GetDeviceBasePath(uevent->subsystem);
516 if (devPath == NULL || devName == NULL) {
520 INIT_LOGV("HandleOtherDeviceEvent, devPath = %s, devName = %s", devPath, devName);
549 if (snprintf_s(deviceNode, DEVICE_FILE_SIZE, DEVICE_FILE_SIZE - 1, "%s/%s", devPath, devName) == -1) {