Lines Matching refs:ret
31 int32_t ret;
40 ret = GetInputInterface(&g_inputInterface);
41 if (ret != INPUT_SUCCESS) {
42 HDF_LOGE("%s: get input hdi failed, ret %d", __func__, ret);
45 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES);
46 if (ret) {
47 HDF_LOGE("%s: scan device failed, ret %d", __func__, ret);
54 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex);
55 if (ret != INPUT_SUCCESS) {
56 HDF_LOGE("%s: open input device failed, ret %d", __func__, ret);
60 ret = g_inputInterface->iInputController->RunCapacitanceTest(
62 if (ret == INPUT_SUCCESS) {
71 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex);
72 if (ret != INPUT_SUCCESS) {
73 HDF_LOGE("%s: close input device failed, ret %d", __func__, ret);