Lines Matching refs:ret

180   int ret = 0;  in unlinkFunctions()  local
190 ret = remove(filepath); in unlinkFunctions()
191 if (ret) { in unlinkFunctions()
198 return ret; in unlinkFunctions()
203 int ret; in addEpollFd() local
208 ret = epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event); in addEpollFd()
209 if (ret) ALOGE("epoll_ctl error %d", errno); in addEpollFd()
211 return ret; in addEpollFd()
216 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() local
220 if (!ret.isOk()) in getCurrentUsbFunctions()
222 ret.description().c_str()); in getCurrentUsbFunctions()
289 std::string ret = ""; in getVendorFunctions() local
292 ret = vendorFunctions; in getVendorFunctions()
295 ret = persistVendorFunctions; in getVendorFunctions()
297 ret = "diag"; in getVendorFunctions()
299 SetProperty(VENDOR_CONFIG, ret); in getVendorFunctions()
302 return ret; in getVendorFunctions()
306 V1_0::Status ret = Status::SUCCESS; in validateAndSetVidPid() local
312 ret = setVidPid("0x05C6", "0x901B"); in validateAndSetVidPid()
316 ret = setVidPid("0x18d1", "0x4ee1"); in validateAndSetVidPid()
321 ret = setVidPid("0x05C6", "0x903A"); in validateAndSetVidPid()
325 ret = setVidPid("0x18d1", "0x4ee2"); in validateAndSetVidPid()
330 ret = setVidPid("0x05C6", "0x902C"); in validateAndSetVidPid()
332 ret = setVidPid("0x05C6", "0x90B5"); in validateAndSetVidPid()
336 ret = setVidPid("0x18d1", "0x4ee3"); in validateAndSetVidPid()
341 ret = setVidPid("0x05C6", "0x902D"); in validateAndSetVidPid()
343 ret = setVidPid("0x05C6", "0x90B6"); in validateAndSetVidPid()
347 ret = setVidPid("0x18d1", "0x4ee4"); in validateAndSetVidPid()
353 ret = setVidPid("0x18d1", "0x4ee5"); in validateAndSetVidPid()
358 ret = setVidPid("0x18d1", "0x4ee6"); in validateAndSetVidPid()
362 ret = setVidPid("0x05C6", "0x901D"); in validateAndSetVidPid()
364 ret = setVidPid("0x05C6", "0x9091"); in validateAndSetVidPid()
366 ret = setVidPid("0x05C6", "0x901F"); in validateAndSetVidPid()
370 ret = setVidPid("0x18d1", "0x4ee7"); in validateAndSetVidPid()
376 ret = setVidPid("0x18d1", "0x4ee8"); in validateAndSetVidPid()
381 ret = setVidPid("0x18d1", "0x4ee9"); in validateAndSetVidPid()
386 ret = setVidPid("0x18d1", "0x2d00"); in validateAndSetVidPid()
391 ret = setVidPid("0x18d1", "0x2d01"); in validateAndSetVidPid()
396 ret = setVidPid("0x18d1", "0x2d02"); in validateAndSetVidPid()
401 ret = setVidPid("0x18d1", "0x2d03"); in validateAndSetVidPid()
406 ret = setVidPid("0x18d1", "0x2d04"); in validateAndSetVidPid()
412 ret = setVidPid("0x18d1", "0x2d05"); in validateAndSetVidPid()
416 ret = Status::CONFIGURATION_NOT_SUPPORTED; in validateAndSetVidPid()
418 return ret; in validateAndSetVidPid()
559 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() local
561 if (!ret.isOk()) in setupFunctions()
562 ALOGE("setCurrentUsbFunctionsCb error %s", ret.description().c_str()); in setupFunctions()
587 Return<void> ret = in setCurrentUsbFunctions() local
589 if (!ret.isOk()) in setCurrentUsbFunctions()
591 ret.description().c_str()); in setCurrentUsbFunctions()
612 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, status); in setCurrentUsbFunctions() local
613 if (!ret.isOk()) in setCurrentUsbFunctions()
615 ret.description().c_str()); in setCurrentUsbFunctions()