Searched refs:errors (Results 1 - 18 of 18) sorted by relevance

/hardware/interfaces/tests/pointer/1.0/default/
H A DPointer.cpp15 if(!errors.empty()) {
16 for(const auto& e : errors)
19 return errors.size();
H A DGraph.cpp9 #define PUSH_ERROR_IF(__cond__) if(__cond__) { errors.push_back(std::to_string(__LINE__) + ": " + #__cond__); }
73 if(!errors.empty()) {
74 for(const auto& e : errors)
77 return errors.size();
H A DGraph.h34 std::vector<std::string> errors; member in struct:android::hardware::tests::pointer::V1_0::implementation::Graph
H A DPointer.h10 #define PUSH_ERROR_IF(__cond__) if(__cond__) { errors.push_back(std::to_string(__LINE__) + ": " + #__cond__); }
28 std::vector<std::string> errors; member in struct:android::hardware::tests::pointer::V1_0::implementation::Pointer
73 errors.push_back("foo10: s_ptr_vec.size() != 5");
82 errors.push_back("foo11: s_vec_ptr->size() != 5");
/hardware/interfaces/radio/1.0/vts/functional/
H A Dvts_test_util.cpp23 ::testing::AssertionResult CheckAnyOfErrors(RadioError err, std::vector<RadioError> errors, argument
41 for (size_t i = 0; i < errors.size(); i++) {
42 if (err == errors[i]) {
49 ::testing::AssertionResult CheckAnyOfErrors(SapResultCode err, std::vector<SapResultCode> errors) { argument
50 for (size_t i = 0; i < errors.size(); i++) {
51 if (err == errors[i]) {
H A Dvts_test_util.h42 * vendor/devices implementations. It allows optional checks for general errors or/and oem errors.
50 ::testing::AssertionResult CheckAnyOfErrors(SapResultCode err, std::vector<SapResultCode> errors);
/hardware/interfaces/audio/common/all-versions/test/utility/src/
H A DValidateXml.cpp73 const std::string& getErrors() { return errors; }
84 self->errors += "Error: ";
85 self->errors += formatedMsg;
91 std::string errors; member in struct:android::hardware::audio::common::test::utility::Libxml2Global
101 "\n Which is: " + xsdFilePath + "\nLibxml2 errors:\n" + libxml2.getErrors();
137 std::vector<std::string> errors;
149 errors.push_back(result.message());
154 errors.push_back("No xml file found in provided locations.\n");
157 return ::testing::AssertionResult(errors.empty())
158 << errors
[all...]
/hardware/qcom/gps/msm8909w_3100/android/location_api/
H A 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;
H A DGeofenceAPIClient.cpp189 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
196 if (errors[i] == LOCATION_ERROR_SUCCESS)
198 else if (errors[i] == LOCATION_ERROR_ID_EXISTS)
209 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
216 if (errors[i] == LOCATION_ERROR_SUCCESS)
218 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN)
229 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
236 if (errors[i] == LOCATION_ERROR_SUCCESS)
238 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN)
249 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_ argument
[all...]
/hardware/qcom/gps/msm8998/android/location_api/
H A 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;
H A DGeofenceAPIClient.cpp188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
195 if (errors[i] == LOCATION_ERROR_SUCCESS)
197 else if (errors[i] == LOCATION_ERROR_ID_EXISTS)
208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
215 if (errors[i] == LOCATION_ERROR_SUCCESS)
217 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN)
228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument
235 if (errors[i] == LOCATION_ERROR_SUCCESS)
237 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN)
248 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_ argument
[all...]
/hardware/qcom/gps/msm8909w_3100/location/
H A DLocationAPIClientBase.h70 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
124 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
130 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
162 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { argument
163 mAPI.onGnssUpdateConfigCb(count, errors, ids);
212 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
246 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
248 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
250 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
252 size_t /*count*/, LocationError* /*errors*/, uint32_
453 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
467 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
482 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
496 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
510 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
[all...]
H A DLocationAPIClientBase.cpp61 [this](size_t count, LocationError* errors, uint32_t* ids) {
62 onCtrlCollectiveResponseCb(count, errors, ids);
186 size_t count, LocationError* errors, uint32_t* ids)
189 if (errors[i] != LOCATION_ERROR_SUCCESS) {
190 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]);
192 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]);
202 request->onCollectiveResponse(count, errors, ids);
262 [this](size_t count, LocationError* errors, uint32_t* ids) {
263 onCollectiveResponseCb(count, errors, ids);
881 size_t count, LocationError* errors, uint32_
185 onCtrlCollectiveResponseCb( size_t count, LocationError* errors, uint32_t* ids) argument
880 onCollectiveResponseCb( size_t count, LocationError* errors, uint32_t* ids) argument
[all...]
/hardware/qcom/gps/msm8998/location/
H A DLocationAPIClientBase.h97 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
100 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids);
129 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
131 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
133 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
135 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
137 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
146 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {}
254 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {};
317 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_ argument
330 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
344 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
357 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
370 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) argument
415 onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) argument
[all...]
H A DLocationAPIClientBase.cpp83 [this](size_t count, LocationError* errors, uint32_t* ids) {
84 onCollectiveResponseCb(count, errors, ids);
102 [this](size_t count, LocationError* errors, uint32_t* ids) {
103 onCtrlCollectiveResponseCb(count, errors, ids);
760 size_t count, LocationError* errors, uint32_t* ids)
763 if (errors[i] != LOCATION_ERROR_SUCCESS) {
764 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]);
766 LOC_LOGV("%s:%d] error: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]);
776 request->onCollectiveResponse(count, errors, ids);
796 size_t count, LocationError* errors, uint32_
759 onCollectiveResponseCb( size_t count, LocationError* errors, uint32_t* ids) argument
795 onCtrlCollectiveResponseCb( size_t count, LocationError* errors, uint32_t* ids) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_wext.c269 drv->errors++;
270 if (drv->errors > DRV_NUMBER_SEQUENTIAL_ERRORS) {
271 drv->errors = 0;
275 drv->errors = 0;
341 drv->errors++;
342 if (drv->errors > DRV_NUMBER_SEQUENTIAL_ERRORS) {
343 drv->errors = 0;
347 drv->errors = 0;
/hardware/interfaces/tests/pointer/1.0/
H A DIGraph.hal56 getErrors() generates (int32_t errors);
H A DIPointer.hal90 getErrors() generates(int32_t errors);

Completed in 2458 milliseconds