Searched refs:vendorFunctions (Results 1 – 4 of 4) sorted by relevance
/device/google/coral/usb/ |
D | UsbGadget.cpp | 72 std::string vendorFunctions = getVendorFunctions(); in validateAndSetVidPid() local 76 if (vendorFunctions == "diag") { in validateAndSetVidPid() 79 if (!(vendorFunctions == "user" || vendorFunctions == "")) { in validateAndSetVidPid() 80 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() 88 if (vendorFunctions == "diag") { in validateAndSetVidPid() 91 if (!(vendorFunctions == "user" || vendorFunctions == "")) { in validateAndSetVidPid() 92 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() 100 if (vendorFunctions == "diag") { in validateAndSetVidPid() 102 } else if (vendorFunctions == "serial_cdev,diag") { in validateAndSetVidPid() 104 } else if (vendorFunctions == "diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl_gsi") { in validateAndSetVidPid() [all …]
|
/device/google/wahoo/usb/ |
D | UsbGadget.cpp | 288 std::string vendorFunctions = GetProperty(VENDOR_CONFIG, ""); in getVendorFunctions() local 291 if (vendorFunctions != "") { in getVendorFunctions() 292 ret = vendorFunctions; in getVendorFunctions() 307 std::string vendorFunctions = getVendorFunctions(); in validateAndSetVidPid() local 311 if (vendorFunctions == "diag") { in validateAndSetVidPid() 314 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 315 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() 320 if (vendorFunctions == "diag") { in validateAndSetVidPid() 323 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 324 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() [all …]
|
/device/google/bonito/usb/ |
D | UsbGadget.cpp | 313 std::string vendorFunctions = GetProperty(VENDOR_CONFIG, ""); in getVendorFunctions() local 316 if (vendorFunctions != "") { in getVendorFunctions() 317 ret = vendorFunctions; in getVendorFunctions() 332 std::string vendorFunctions = getVendorFunctions(); in validateAndSetVidPid() local 336 if (vendorFunctions == "diag") { in validateAndSetVidPid() 339 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 340 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() 345 if (vendorFunctions == "diag") { in validateAndSetVidPid() 348 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 349 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() [all …]
|
/device/google/crosshatch/usb/ |
D | UsbGadget.cpp | 313 std::string vendorFunctions = GetProperty(VENDOR_CONFIG, ""); in getVendorFunctions() local 316 if (vendorFunctions != "") { in getVendorFunctions() 317 ret = vendorFunctions; in getVendorFunctions() 332 std::string vendorFunctions = getVendorFunctions(); in validateAndSetVidPid() local 336 if (vendorFunctions == "diag") { in validateAndSetVidPid() 339 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 340 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() 345 if (vendorFunctions == "diag") { in validateAndSetVidPid() 348 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid() 349 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid() [all …]
|