Lines Matching refs:vendorFunctions

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()
354 if (vendorFunctions == "diag") { in validateAndSetVidPid()
356 } else if (vendorFunctions == "serial_cdev,diag") { in validateAndSetVidPid()
359 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
360 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
365 if (vendorFunctions == "diag") { in validateAndSetVidPid()
367 } else if (vendorFunctions == "serial_cdev,diag") { in validateAndSetVidPid()
370 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
371 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
376 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
377 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
381 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
382 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
386 if (vendorFunctions == "diag") { in validateAndSetVidPid()
388 } else if (vendorFunctions == "diag,serial_cdev,rmnet_gsi") { in validateAndSetVidPid()
390 } else if (vendorFunctions == "diag,serial_cdev") { in validateAndSetVidPid()
393 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
394 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
399 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
400 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
404 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
405 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
409 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
410 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
414 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
415 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
419 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
420 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
424 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
425 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
429 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
430 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
435 if (!(vendorFunctions == "user" || vendorFunctions == "")) in validateAndSetVidPid()
436 ALOGE("Invalid vendorFunctions set: %s", vendorFunctions.c_str()); in validateAndSetVidPid()
512 std::string vendorFunctions = getVendorFunctions(); in setupFunctions() local
513 if (vendorFunctions != "") { in setupFunctions()
515 char *function = strtok(const_cast<char *>(vendorFunctions.c_str()), ","); in setupFunctions()