Lines Matching refs:ret
27 int32_t ret;
33 ret = GetInputInterface(&g_inputInterface);
34 if (ret != INPUT_SUCCESS) {
35 HDF_LOGE("%s: get input hdi failed, ret %d", __func__, ret);
38 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES);
39 if (ret) {
40 HDF_LOGE("%s: scan device failed, ret %d", __func__, ret);
49 ret = g_inputInterface->iInputManager->OpenInputDevice(*(uint32_t *)data);
50 if (ret == INPUT_SUCCESS) {
54 ret = g_inputInterface->iInputManager->CloseInputDevice(*(uint32_t *)data);
55 if (ret == INPUT_SUCCESS) {