Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 75) sorted by relevance

123

/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202 stat = RPC_FUNC_VERSION(rpc_loc_open_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218 stat = RPC_FUNC_VERSION(rpc_loc_close_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234 stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_start_fix()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202 stat = RPC_FUNC_VERSION(rpc_loc_open_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218 stat = RPC_FUNC_VERSION(rpc_loc_close_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234 stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_start_fix()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202stat = RPC_FUNC_VERSION(rpc_loc_open_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218stat = RPC_FUNC_VERSION(rpc_loc_close_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_cl… in loc_start_fix()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202stat = RPC_FUNC_VERSION(rpc_loc_open_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218stat = RPC_FUNC_VERSION(rpc_loc_close_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_cl… in loc_start_fix()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202stat = RPC_FUNC_VERSION(rpc_loc_open_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218stat = RPC_FUNC_VERSION(rpc_loc_close_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, /* LOC_APIVERS */ 0x00040001)(&args, &rets, loc_api_cl… in loc_start_fix()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_rpc_glue.c89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; }
200 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
202 stat = RPC_FUNC_VERSION(rpc_loc_open_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_open()
203 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
216 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
218 stat = RPC_FUNC_VERSION(rpc_loc_close_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_close()
219 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_close()
232 enum clnt_stat stat = RPC_SUCCESS; in loc_start_fix() local
234 stat = RPC_FUNC_VERSION(rpc_loc_start_fix_, LOC_APIVERS)(&args, &rets, loc_api_clnt); in loc_start_fix()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
105 if (stat != RPC_SUCCESS) { \
106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \
107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \
361 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); in loc_open()
373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); in loc_open()
375 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
398 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
401 stat = RPC_FUNC_VERSION(rpc_loc_close_, RPC_LOC_CLOSE_VERSION)(&args, &rets, loc_api_clnt); in loc_close()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
105 if (stat != RPC_SUCCESS) { \
106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \
107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \
361 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); in loc_open()
373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); in loc_open()
375 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
398 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
401 stat = RPC_FUNC_VERSION(rpc_loc_close_, RPC_LOC_CLOSE_VERSION)(&args, &rets, loc_api_clnt); in loc_close()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
105 if (stat != RPC_SUCCESS) { \
106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \
107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \
361 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); in loc_open()
373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); in loc_open()
375 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
398 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
401 stat = RPC_FUNC_VERSION(rpc_loc_close_, RPC_LOC_CLOSE_VERSION)(&args, &rets, loc_api_clnt); in loc_close()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
105 if (stat != RPC_SUCCESS) { \
106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \
107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \
361 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); in loc_open()
373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); in loc_open()
375 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
398 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
401 stat = RPC_FUNC_VERSION(rpc_loc_close_, RPC_LOC_CLOSE_VERSION)(&args, &rets, loc_api_clnt); in loc_close()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ argument
105 if (stat != RPC_SUCCESS) { \
106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \
107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \
361 enum clnt_stat stat = RPC_SUCCESS; in loc_open() local
369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); in loc_open()
373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); in loc_open()
375 LOC_GLUE_CHECK_RESULT(stat, int32); in loc_open()
398 enum clnt_stat stat = RPC_SUCCESS; in loc_close() local
401 stat = RPC_FUNC_VERSION(rpc_loc_close_, RPC_LOC_CLOSE_VERSION)(&args, &rets, loc_api_clnt); in loc_close()
[all …]
/hardware/libhardware/tests/camera2/
DCameraModuleTests.cpp49 status_t stat; in initializeDevice() local
50 if (isDeviceVersionHal2(cameraId, &stat) && stat == OK) { in initializeDevice()
51 stat = mDevice->initialize(mModule); in initializeDevice()
54 return stat; in initializeDevice()
67 status_t stat; in TEST_F() local
69 if (isDeviceVersionHal2(i, &stat) && stat == OK) { in TEST_F()
/hardware/qcom/wlan/qcwcn/wcnss-service/
Dwcnss_service.c99 struct stat st; in wcnss_write_cal_data()
105 rc = stat(WCNSS_CAL_FILE, &st); in wcnss_write_cal_data()
235 struct stat st; in find_full_path()
274 struct stat st_dest, st_src; in setup_wlan_config_file()
280 rc = stat(WLAN_INI_FILE_SOURCE, &st_src); in setup_wlan_config_file()
286 rc_dest = stat(WLAN_INI_FILE_DEST, &st_dest); in setup_wlan_config_file()
368 struct stat st; in setup_wcnss_parameters()
424 rc = stat(WCNSS_FACT_FILE, &st); in setup_wcnss_parameters()
431 rc = stat(WCNSS_CAL_FILE, &st); in setup_wcnss_parameters()
/hardware/bsp/intel/peripheral/libupm/src/at42qt1070/
Dat42qt1070.cxx119 uint8_t stat = readByte(REG_DETSTATUS); in updateState() local
122 if (stat & DET_CALIBRATE) { in updateState()
129 if (stat & DET_OVERFLOW) in updateState()
135 if (stat & DET_TOUCH) { in updateState()
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp45 android::status_t stat; in MessageQueue() local
47 stat = pipe(fds); in MessageQueue()
49 if ( 0 > stat ) in MessageQueue()
51 MSGQ_LOGEB("Error while openning pipe: %s", strerror(stat) ); in MessageQueue()
/hardware/ti/omap4-aah/libtiutils/
DMessageQueue.cpp46 android::status_t stat; in MessageQueue() local
48 stat = pipe(fds); in MessageQueue()
50 if ( 0 > stat ) in MessageQueue()
52 MSGQ_LOGEB("Error while openning pipe: %s", strerror(stat) ); in MessageQueue()
/hardware/qcom/camera/QCamera2/HAL/test/
Dqcamera_test.cpp3257 status_t stat = camera[i]->openCamera(); in TestContext() local
3258 if ( NO_ERROR != stat ) { in TestContext()
3363 status_t stat = NO_ERROR; in FunctionalTest() local
3393 stat = currentCamera->openCamera(); in FunctionalTest()
3399 stat = currentCamera->resumePreview(); in FunctionalTest()
3405 stat = currentCamera->startPreview(); in FunctionalTest()
3411 stat = currentCamera->stopPreview(); in FunctionalTest()
3418 stat = currentCamera->setVideoSize(command.arg); in FunctionalTest()
3420 stat = currentCamera->nextVideoSize(); in FunctionalTest()
3427 stat = currentCamera->setPreviewSize(command.arg); in FunctionalTest()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDCC.cpp174 status_t stat = NO_ERROR; in readDCCdir() local
189 stat = -errno; in readDCCdir()
200 stat = INVALID_OPERATION; in readDCCdir()
215 if (stat == NO_ERROR) { in readDCCdir()
/hardware/qcom/bootctrl/
Dboot_control.c116 struct stat st; in update_slot_attribute()
149 if (stat(buf, &st)) { in update_slot_attribute()
160 if (stat(buf, &st)) { in update_slot_attribute()
341 struct stat st; in set_active_boot_slot()
373 if (stat(buf, &st)) { in set_active_boot_slot()
384 if (stat(buf, &st)) { in set_active_boot_slot()
/hardware/ti/omap4xxx/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c77 struct stat statFile; in readLocalFile()
81 if (stat(pFileName, &statFile) != 0) in readLocalFile()
/hardware/ti/omap4-aah/security/tf_daemon/
Dsmc_properties.c106 struct stat buf; in checkFilePath()
132 result = stat(pDir, &buf); in checkFilePath()
/hardware/ti/omap4-aah/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c77 struct stat statFile; in readLocalFile()
81 if (stat(pFileName, &statFile) != 0) in readLocalFile()
/hardware/ti/omap4xxx/security/tf_daemon/
Dsmc_properties.c106 struct stat buf; in checkFilePath()
132 result = stat(pDir, &buf); in checkFilePath()
/hardware/intel/common/libva/va/android/
Dva_android.cpp48 struct stat st; in open_device()
51 if (-1 == stat (dev_name, &st)) in open_device()
/hardware/bsp/intel/peripheral/libmraa/src/glob/
Dglob.h49 #define __gl_stat_t struct stat

123