Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 78) sorted by relevance

1234

/hardware/interfaces/audio/common/all-versions/test/utility/src/
DValidateXml.cpp73 const std::string& getErrors() { return errors; } in getErrors()
84 self->errors += "Error: "; in errorCb()
85 self->errors += formatedMsg; in errorCb()
91 std::string errors; member
138 std::vector<std::string> errors; in validateXmlMultipleLocations() local
150 errors.push_back(result.message()); in validateXmlMultipleLocations()
155 errors.push_back("No xml file found in provided locations.\n"); in validateXmlMultipleLocations()
158 return ::testing::AssertionResult(errors.empty()) in validateXmlMultipleLocations()
159 << errors.size() << " error" << (errors.size() == 1 ? " " : "s ") in validateXmlMultipleLocations()
160 << std::accumulate(begin(errors), end(errors), "occurred during xml validation:\n"s) in validateXmlMultipleLocations()
/hardware/interfaces/radio/1.0/vts/functional/
Dvts_test_util.cpp23 ::testing::AssertionResult CheckAnyOfErrors(RadioError err, std::vector<RadioError> errors, in CheckAnyOfErrors() argument
41 for (size_t i = 0; i < errors.size(); i++) { in CheckAnyOfErrors()
42 if (err == errors[i]) { in CheckAnyOfErrors()
49 ::testing::AssertionResult CheckAnyOfErrors(SapResultCode err, std::vector<SapResultCode> errors) { in CheckAnyOfErrors() argument
50 for (size_t i = 0; i < errors.size(); i++) { in CheckAnyOfErrors()
51 if (err == errors[i]) { in CheckAnyOfErrors()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DGeofenceAPIClient.cpp189 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
196 if (errors[i] == LOCATION_ERROR_SUCCESS) in onAddGeofencesCb()
198 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) in onAddGeofencesCb()
209 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
216 if (errors[i] == LOCATION_ERROR_SUCCESS) in onRemoveGeofencesCb()
218 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onRemoveGeofencesCb()
229 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
236 if (errors[i] == LOCATION_ERROR_SUCCESS) in onPauseGeofencesCb()
238 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onPauseGeofencesCb()
249 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
[all …]
DGeofenceAPIClient.h62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
/hardware/qcom/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
195 if (errors[i] == LOCATION_ERROR_SUCCESS) in onAddGeofencesCb()
197 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) in onAddGeofencesCb()
208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
215 if (errors[i] == LOCATION_ERROR_SUCCESS) in onRemoveGeofencesCb()
217 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onRemoveGeofencesCb()
228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
235 if (errors[i] == LOCATION_ERROR_SUCCESS) in onPauseGeofencesCb()
237 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onPauseGeofencesCb()
248 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
[all …]
DGeofenceAPIClient.h62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
/hardware/qcom/sdm845/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
195 if (errors[i] == LOCATION_ERROR_SUCCESS) in onAddGeofencesCb()
197 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) in onAddGeofencesCb()
208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
215 if (errors[i] == LOCATION_ERROR_SUCCESS) in onRemoveGeofencesCb()
217 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onRemoveGeofencesCb()
228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
235 if (errors[i] == LOCATION_ERROR_SUCCESS) in onPauseGeofencesCb()
237 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onPauseGeofencesCb()
248 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
[all …]
DGeofenceAPIClient.h62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DGeofenceAPIClient.cpp191 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
198 if (errors[i] == LOCATION_ERROR_SUCCESS) in onAddGeofencesCb()
200 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) in onAddGeofencesCb()
211 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
218 if (errors[i] == LOCATION_ERROR_SUCCESS) in onRemoveGeofencesCb()
220 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onRemoveGeofencesCb()
231 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
238 if (errors[i] == LOCATION_ERROR_SUCCESS) in onPauseGeofencesCb()
240 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) in onPauseGeofencesCb()
251 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
[all …]
DGeofenceAPIClient.h62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
/hardware/interfaces/radio/1.0/
DIRadioResponse.hal29 * Valid errors returned:
44 * Valid errors returned:
62 * Valid errors returned:
80 * Valid errors returned:
98 * Valid errors returned:
116 * Valid errors returned:
134 * Valid errors returned:
153 * Valid errors returned:
174 * Valid errors returned:
190 * Valid errors returned:
[all …]
/hardware/interfaces/tests/pointer/1.0/default/
DPointer.cpp15 if(!errors.empty()) { in getErrors()
16 for(const auto& e : errors) in getErrors()
19 return errors.size(); in getErrors()
DGraph.cpp9 #define PUSH_ERROR_IF(__cond__) if(__cond__) { errors.push_back(std::to_string(__LINE__) + ": " + #…
73 if(!errors.empty()) { in getErrors()
74 for(const auto& e : errors) in getErrors()
77 return errors.size(); in getErrors()
/hardware/interfaces/radio/1.4/
DIRadioResponse.hal37 * Valid errors returned:
63 * Valid errors returned:
77 * Valid errors returned:
89 * Valid errors returned:
102 * Valid errors returned:
115 * Valid errors returned:
132 * Valid errors returned:
149 * Valid errors returned:
163 * Valid errors returned:
166 * For all other errors the DataCallResponse is ignored.
[all …]
/hardware/interfaces/radio/1.2/
DIRadioResponse.hal31 * Valid errors returned:
49 * Valid errors returned:
57 * Valid errors returned:
68 * Valid errors returned:
79 * Valid errors returned:
95 * Valid errors returned:
107 * Valid errors returned:
120 * Valid errors returned:
/hardware/interfaces/radio/1.1/
DIRadioResponse.hal29 * Valid errors returned:
42 * Valid errors returned:
53 * Valid errors returned:
69 * Valid errors returned:
82 * Valid errors returned:
92 * Valid errors returned:
/hardware/interfaces/health/2.0/
DIHealth.hal38 * UNKNOWN for other errors.
49 * UNKNOWN for other errors.
61 * UNKNOWN for other errors.
71 * UNKNOWN for other errors.
86 * UNKNOWN for other errors.
103 * UNKNOWN for other errors.
115 * UNKNOWN for other errors.
125 * UNKNOWN for other errors.
136 * UNKNOWN other errors.
146 * UNKNOWN other errors.
[all …]
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.h97 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
100 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
317 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse()
330 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
336 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse()
344 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
349 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse()
357 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
362 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse()
[all …]
/hardware/qcom/sdm845/gps/msm8998/location/
DLocationAPIClientBase.h97 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
100 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
317 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse()
330 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
336 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse()
344 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
349 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse()
357 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
362 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse()
[all …]
/hardware/qcom/sdm845/gps/sdm845/location/
DLocationAPIClientBase.h137 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
177 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument
178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse()
186 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument
187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse()
236 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
483 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
488 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse()
499 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
505 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse()
[all …]
/hardware/ril/librilutils/proto/
Dsap-api.proto42 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_CONNECT, Error:Valid errors,
50 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error:Valid errors,
60 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_APDU, Error:Valid errors,
68 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error:Valid errors,
76 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_POWER, Error:Valid errors,
84 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_RESET_SIM, Error:Valid errors,
98 … // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_TRANSFER_CARD_READER_STATUS, Error:Valid errors,
112 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_SET_TRANSFER_PROTOCOL, Error:Valid errors,
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.h124 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
162 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument
163 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse()
212 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
453 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
458 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse()
467 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
473 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse()
482 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
487 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse()
[all …]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c269 drv->errors++; in wpa_driver_set_backgroundscan_params()
270 if (drv->errors > DRV_NUMBER_SEQUENTIAL_ERRORS) { in wpa_driver_set_backgroundscan_params()
271 drv->errors = 0; in wpa_driver_set_backgroundscan_params()
275 drv->errors = 0; in wpa_driver_set_backgroundscan_params()
341 drv->errors++; in wpa_driver_wext_driver_cmd()
342 if (drv->errors > DRV_NUMBER_SEQUENTIAL_ERRORS) { in wpa_driver_wext_driver_cmd()
343 drv->errors = 0; in wpa_driver_wext_driver_cmd()
347 drv->errors = 0; in wpa_driver_wext_driver_cmd()
/hardware/interfaces/radio/config/1.1/
DIRadioConfigResponse.hal37 * Valid errors returned:
47 * Valid errors returned:
58 * Valid errors returned:
71 * Valid errors returned:
/hardware/google/av/hooks/
Dpre-commit17 important errors, ALOGD for mundane errors, and ALOGV for unimportant

1234