Home
last modified time | relevance | path

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

12

/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/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-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/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-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/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/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/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/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp593 auto stat = drmPlugin->removeAllSecureStops(); in TEST_F() local
594 EXPECT_OK(stat); in TEST_F()
608 auto stat = drmPlugin->removeAllSecureStops(); in TEST_F() local
609 EXPECT_OK(stat); in TEST_F()
622 stat = drmPlugin->removeAllSecureStops(); in TEST_F()
623 EXPECT_OK(stat); in TEST_F()
643 auto stat = drmPlugin->removeAllSecureStops(); in TEST_F() local
644 EXPECT_OK(stat); in TEST_F()
658 auto stat = drmPlugin->removeAllSecureStops(); in TEST_F() local
659 EXPECT_OK(stat); in TEST_F()
[all …]
/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()
405 rc = stat(WCNSS_FACT_FILE, &st); in setup_wcnss_parameters()
412 rc = stat(WCNSS_CAL_FILE, &st); in setup_wcnss_parameters()
/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp662 struct stat st; in gpt_utils_set_xbl_boot_partition()
670 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
672 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
681 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
683 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
696 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
697 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
698 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
699 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
749 struct stat xbl_partition_stat; in prepare_partitions()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp3246 status_t stat = camera[i]->openCamera(); in TestContext() local
3247 if ( NO_ERROR != stat ) { in TestContext()
3352 status_t stat = NO_ERROR; in FunctionalTest() local
3382 stat = currentCamera->openCamera(); in FunctionalTest()
3388 stat = currentCamera->resumePreview(); in FunctionalTest()
3394 stat = currentCamera->startPreview(); in FunctionalTest()
3400 stat = currentCamera->stopPreview(); in FunctionalTest()
3407 stat = currentCamera->setVideoSize(command.arg); in FunctionalTest()
3409 stat = currentCamera->nextVideoSize(); in FunctionalTest()
3416 stat = currentCamera->setPreviewSize(command.arg); in FunctionalTest()
[all …]
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dese_config.cpp39 struct stat file_stat; in findConfigPath()
40 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath()
/hardware/qcom/msm8998/json-c/
Drandom_seed.c140 struct stat buf; in has_dev_urandom()
141 if (stat(dev_random_file, &buf)) { in has_dev_urandom()
/hardware/qcom/bootctrl/
Dboot_control.cpp137 struct stat st; in update_slot_attribute()
170 if (stat(buf, &st)) { in update_slot_attribute()
181 if (stat(buf, &st)) { in update_slot_attribute()
401 struct stat st; in boot_ctl_set_active_slot_for_partitions()
419 if (stat(buf, &st)) in boot_ctl_set_active_slot_for_partitions()
425 if (stat(buf, &st)) in boot_ctl_set_active_slot_for_partitions()
/hardware/intel/common/libva/va/android/
Dva_android.cpp49 struct stat st; in open_device()
52 if (-1 == stat (dev_name, &st)) in open_device()
/hardware/intel/common/libva/va/wayland/
Dva_wayland_drm.c60 struct stat st; in drm_handle_device()
62 if (stat(device, &st) < 0) { in drm_handle_device()
/hardware/intel/common/libva/va/
Dva_fool.c272 struct stat file_stat = {0}; in va_FoolFillCodedBufEnc()
309 struct stat file_stat = {0}; in va_FoolFillCodedBufJPG()
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp37 struct stat buffer; in UseMultiHal()
38 return (stat (name.c_str(), &buffer) == 0); in UseMultiHal()
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/
Dqc_omx_core.c430 struct stat sd; in OMX_GetHandle()
433 if(stat("/dev/pmem_adsp",&sd) != 0) in OMX_GetHandle()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp1640 if (tx_ppdu_end->stat.total_tries > 0) in get_try_status_params()
1641 try_list_index = tx_ppdu_end->stat.total_tries - 1; in get_try_status_params()
1709 info->pkt_stats->ba_seq_num = tx_ppdu_end->stat.ba_start_seq_num; in parse_tx_stats()
1710 info->pkt_stats->isBlockAck = tx_ppdu_end->stat.ba_status; in parse_tx_stats()
1712 if (tx_ppdu_end->stat.tx_ok) in parse_tx_stats()
1714 info->pkt_stats->isBlockAck = tx_ppdu_end->stat.ba_status; in parse_tx_stats()
1716 info->pkt_stats->ba_bitmap_31_0 = tx_ppdu_end->stat.ba_bitmap_31_0; in parse_tx_stats()
1718 tx_ppdu_end->stat.ba_bitmap_63_32; in parse_tx_stats()
1721 rb_pkt_stats->rssi = tx_ppdu_end->stat.ack_rssi_ave; in parse_tx_stats()
1722 rb_pkt_stats->num_retries = tx_ppdu_end->stat.total_tries; in parse_tx_stats()
/hardware/interfaces/wifi/1.2/default/
Dwifi_chip.cpp128 struct stat cur_file_stat; in removeOldFilesInternal()
130 if (stat(cur_file_path.c_str(), &cur_file_stat) == -1) { in removeOldFilesInternal()
159 bool cpioWriteHeader(int out_fd, struct stat& st, const char* file_name, in cpioWriteHeader()
195 size_t cpioWriteFileContent(int fd_read, int out_fd, struct stat& st) { in cpioWriteFileContent()
263 struct stat st; in cpioArchiveFilesInDir()
265 if (stat(cur_file_path.c_str(), &st) == -1) { in cpioArchiveFilesInDir()

12