Home
last modified time | relevance | path

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

1234

/hardware/qcom/sdm845/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/sdm845/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-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/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/sdm845/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-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/sdm845/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/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/sdm845/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/sdm845/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/google/pixel/pwrstats_util/
DPowerStatsCollector.cpp34 PowerStatistic stat; in get() local
35 if (provider.second->get(&stat) != 0) { in get()
41 stats->emplace_back(stat); in get()
80 for (auto const& stat : stats) { in dump() local
81 auto provider = mStatProviders.find(stat.power_stat_case()); in dump()
87 provider->second->dump(stat, output); in dump()
91 int IPowerStatProvider::get(PowerStatistic* stat) const { in get()
92 if (!stat) { in get()
97 return getImpl(stat); in get()
119 void IPowerStatProvider::dump(const PowerStatistic& stat, std::ostream* output) const { in dump() argument
[all …]
/hardware/google/pixel/powerstats/
DWlanStateResidencyDataProvider.cpp66 uint64_t stat = 0; in getResults() local
67 if (utils::extractStat(line, "cumulative_sleep_time_ms:", stat)) { in getResults()
68 result.stateResidencyData[1].totalTimeInStateMs = stat; in getResults()
70 } else if (utils::extractStat(line, "cumulative_total_on_time_ms:", stat)) { in getResults()
71 result.stateResidencyData[0].totalTimeInStateMs = stat; in getResults()
73 } else if (utils::extractStat(line, "deep_sleep_enter_counter:", stat)) { in getResults()
74 result.stateResidencyData[0].totalStateEntryCount = stat; in getResults()
75 result.stateResidencyData[1].totalStateEntryCount = stat; in getResults()
77 } else if (utils::extractStat(line, "last_deep_sleep_enter_tstamp_ms:", stat)) { in getResults()
78 result.stateResidencyData[1].lastEntryTimestampMs = stat; in getResults()
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp359 auto stat = drmPlugin->removeAllSecureStops(); in TEST_P() local
360 EXPECT_OK(stat); in TEST_P()
374 auto stat = drmPlugin->removeAllSecureStops(); in TEST_P() local
375 EXPECT_OK(stat); in TEST_P()
388 stat = drmPlugin->removeAllSecureStops(); in TEST_P()
389 EXPECT_OK(stat); in TEST_P()
409 auto stat = drmPlugin->removeAllSecureStops(); in TEST_P() local
410 EXPECT_OK(stat); in TEST_P()
424 auto stat = drmPlugin->removeAllSecureStops(); in TEST_P() local
425 EXPECT_OK(stat); in TEST_P()
[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/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/sdm845/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/sdm845/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/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/sdm845/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/sdm845/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/sdm845/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/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 …]

1234