Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 40) sorted by relevance

12

/system/security/keystore/include/keystore/
Dkeystore_return_types.h43 KeyStoreServiceReturnCode(const ErrorCode& errorCode) : errorCode_(int32_t(errorCode)) {} in KeyStoreServiceReturnCode() argument
45 KeyStoreServiceReturnCode(const ResponseCode& errorCode) : errorCode_(int32_t(errorCode)) {} in KeyStoreServiceReturnCode() argument
46 KeyStoreServiceReturnCode(const KeyStoreServiceReturnCode& errorCode) in KeyStoreServiceReturnCode() argument
47 : errorCode_(errorCode.errorCode_) {} in KeyStoreServiceReturnCode()
49 KeyStoreServiceReturnCode(const KeyStoreNativeReturnCode& errorCode);
50 explicit inline KeyStoreServiceReturnCode(const int32_t& errorCode) : errorCode_(errorCode) {} in KeyStoreServiceReturnCode() argument
51 inline KeyStoreServiceReturnCode& operator=(const ErrorCode& errorCode) {
52 errorCode_ = int32_t(errorCode);
55 inline KeyStoreServiceReturnCode& operator=(const ResponseCode& errorCode) {
56 errorCode_ = int32_t(errorCode);
[all …]
/system/chre/core/
Dwifi_request_manager.cc163 uint8_t errorCode) { in handleScanMonitorStateChange() argument
166 uint8_t errorCode; in handleScanMonitorStateChange() member
174 cbState->errorCode = errorCode; in handleScanMonitorStateChange()
179 .handleScanMonitorStateChangeSync(state->enabled, state->errorCode); in handleScanMonitorStateChange()
189 uint8_t errorCode) { in handleScanResponse() argument
192 uint8_t errorCode; in handleScanResponse() member
200 cbState->errorCode = errorCode; in handleScanResponse()
205 .handleScanResponseSync(state->pending, state->errorCode); in handleScanResponse()
215 uint8_t errorCode, struct chreWifiRangingEvent *event) { in handleRangingEvent() argument
218 if (errorCode != CHRE_ERROR_NONE) { in handleRangingEvent()
[all …]
Dgnss_manager.cc83 void GnssSession::handleStatusChange(bool enabled, uint8_t errorCode) { in handleStatusChange() argument
86 uint8_t errorCode; in handleStatusChange() member
95 cbState->errorCode = errorCode; in handleStatusChange()
100 state->session->handleStatusChangeSync(state->enabled, state->errorCode); in handleStatusChange()
283 uint8_t errorCode, const void *cookie) { in postAsyncResultEvent() argument
292 event->errorCode = errorCode; in postAsyncResultEvent()
312 uint8_t errorCode, const void *cookie) { in postAsyncResultEventFatal() argument
313 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
319 void GnssSession::handleStatusChangeSync(bool enabled, uint8_t errorCode) { in handleStatusChangeSync() argument
320 bool success = (errorCode == CHRE_ERROR_NONE); in handleStatusChangeSync()
[all …]
Dsensor_request_manager.cc386 uint8_t errorCode, SensorType sensorType) { in handleFlushCompleteEvent() argument
397 uint8_t errorCode; in handleFlushCompleteEvent() member
402 state.data.errorCode = errorCode; in handleFlushCompleteEvent()
409 .handleFlushCompleteEventSync(nestedState.data.errorCode, in handleFlushCompleteEvent()
453 uint32_t sensorHandle, uint8_t errorCode, const FlushRequest& request) { in postFlushCompleteEvent() argument
459 event->errorCode = errorCode; in postFlushCompleteEvent()
470 size_t index, uint8_t errorCode) { in completeFlushRequestAtIndex() argument
481 postFlushCompleteEvent(sensorHandle, errorCode, request); in completeFlushRequestAtIndex()
505 uint8_t errorCode, SensorType sensorType) { in handleFlushCompleteEventSync() argument
508 completeFlushRequestAtIndex(i, errorCode); in handleFlushCompleteEventSync()
[all …]
/system/chre/core/include/chre/core/
Dwifi_request_manager.h115 void handleRangingEvent(uint8_t errorCode,
128 void handleScanMonitorStateChange(bool enabled, uint8_t errorCode);
140 void handleScanResponse(bool pending, uint8_t errorCode);
299 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
310 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
326 uint32_t nanoappInstanceId, bool success, uint8_t errorCode,
337 uint32_t nanoappInstanceId, bool success, uint8_t errorCode,
361 void handleScanMonitorStateChangeSync(bool enabled, uint8_t errorCode);
375 void handleScanResponseSync(bool pending, uint8_t errorCode);
385 bool postRangingAsyncResult(uint8_t errorCode);
[all …]
Dgnss_manager.h74 void handleStatusChange(bool enabled, uint8_t errorCode);
251 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
262 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
273 void handleStatusChangeSync(bool enabled, uint8_t errorCode);
Dsensor_request_manager.h179 void handleFlushCompleteEvent(uint8_t errorCode, SensorType sensorType);
444 uint32_t sensorHandle, uint8_t errorCode, const FlushRequest& request);
454 void completeFlushRequestAtIndex(size_t index, uint8_t errorCode);
472 void handleFlushCompleteEventSync(uint8_t errorCode, SensorType sensorType);
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc55 void chrePalScanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode) { in chrePalScanMonitorStatusChangeCallback() argument
57 gTest->scanMonitorStatusChangeCallback(enabled, errorCode); in chrePalScanMonitorStatusChangeCallback()
61 void chrePalScanResponseCallback(bool pending, uint8_t errorCode) { in chrePalScanResponseCallback() argument
63 gTest->scanResponseCallback(pending, errorCode); in chrePalScanResponseCallback()
73 void chrePalRangingEventCallback(uint8_t errorCode, in chrePalRangingEventCallback() argument
76 gTest->rangingEventCallback(errorCode, event); in chrePalRangingEventCallback()
143 uint8_t errorCode) { in scanMonitorStatusChangeCallback() argument
145 errorCode); in scanMonitorStatusChangeCallback()
146 if (errorCode == CHRE_ERROR_LAST) { in scanMonitorStatusChangeCallback()
148 errorCode = CHRE_ERROR; in scanMonitorStatusChangeCallback()
[all …]
Dgnss_pal_impl_test.cc64 void chrePalLocationStatusChangeCallback(bool enabled, uint8_t errorCode) { in chrePalLocationStatusChangeCallback() argument
66 gTest->locationStatusChangeCallback(enabled, errorCode); in chrePalLocationStatusChangeCallback()
76 void chrePalMeasurementStatusChangeCallback(bool enabled, uint8_t errorCode) { in chrePalMeasurementStatusChangeCallback() argument
78 gTest->measurementStatusChangeCallback(enabled, errorCode); in chrePalMeasurementStatusChangeCallback()
180 uint8_t errorCode) { in locationStatusChangeCallback() argument
182 errorCode); in locationStatusChangeCallback()
183 if (errorCode == CHRE_ERROR_LAST) { in locationStatusChangeCallback()
185 errorCode = CHRE_ERROR; in locationStatusChangeCallback()
188 errorCode_ = errorCode; in locationStatusChangeCallback()
205 uint8_t errorCode) { in measurementStatusChangeCallback() argument
[all …]
/system/chre/platform/shared/
Dplatform_wifi.cc107 uint8_t errorCode, struct chreWifiRangingEvent *event) { in rangingEventCallback() argument
109 .handleRangingEvent(errorCode, event); in rangingEventCallback()
113 uint8_t errorCode) { in scanMonitorStatusChangeCallback() argument
115 .handleScanMonitorStateChange(enabled, errorCode); in scanMonitorStatusChangeCallback()
118 void PlatformWifiBase::scanResponseCallback(bool pending, uint8_t errorCode) { in scanResponseCallback() argument
120 .handleScanResponse(pending, errorCode); in scanResponseCallback()
Dplatform_gnss.cc93 uint8_t errorCode) { in locationStatusChangeCallback() argument
95 .handleStatusChange(enabled, errorCode); in locationStatusChangeCallback()
123 uint8_t errorCode) { in measurementStatusChangeCallback() argument
125 .handleStatusChange(enabled, errorCode); in measurementStatusChangeCallback()
/system/chre/platform/shared/include/chre/target_platform/
Dplatform_wifi_base.h40 static void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode);
41 static void scanResponseCallback(bool pending, uint8_t errorCode);
43 static void rangingEventCallback(uint8_t errorCode,
Dplatform_gnss_base.h41 static void locationStatusChangeCallback(bool enabled, uint8_t errorCode);
43 static void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
/system/chre/pal/include/chre/pal/
Dwifi.h77 void (*scanMonitorStatusChangeCallback)(bool enabled, uint8_t errorCode);
95 void (*scanResponseCallback)(bool pending, uint8_t errorCode);
143 void (*rangingEventCallback)(uint8_t errorCode,
Dgnss.h98 void (*locationStatusChangeCallback)(bool enabled, uint8_t errorCode);
128 void (*measurementStatusChangeCallback)(bool enabled, uint8_t errorCode);
/system/chre/pal/tests/include/
Dwifi_pal_impl_test.h35 void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode);
36 void scanResponseCallback(bool pending, uint8_t errorCode);
38 void rangingEventCallback(uint8_t errorCode,
Dgnss_pal_impl_test.h35 void locationStatusChangeCallback(bool enabled, uint8_t errorCode);
37 void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
/system/netd/server/
DMDnsSdListener.h30 uint32_t interfaceIndex, DNSServiceErrorType errorCode,
35 DNSServiceErrorType errorCode, const char *serviceName, const char *regType,
39 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port,
43 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
46 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
DMDnsSdListener.cpp104 uint32_t /* interfaceIndex */, DNSServiceErrorType errorCode, const char *serviceName, in MDnsSdListenerDiscoverCallback() argument
110 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerDiscoverCallback()
111 asprintf(&msg, "%d %d", refNumber, errorCode); in MDnsSdListenerDiscoverCallback()
113 if (DBG) ALOGE("discover failure for %d, error= %d", refNumber, errorCode); in MDnsSdListenerDiscoverCallback()
197 DNSServiceErrorType errorCode, const char *serviceName, const char * /* regType */, in MDnsSdListenerRegisterCallback() argument
202 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerRegisterCallback()
203 asprintf(&msg, "%d %d", refNumber, errorCode); in MDnsSdListenerRegisterCallback()
205 if (DBG) ALOGE("register failure for %d, error= %d", refNumber, errorCode); in MDnsSdListenerRegisterCallback()
251 uint32_t /* interface */, DNSServiceErrorType errorCode, const char *fullname, in MDnsSdListenerResolveCallback() argument
258 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerResolveCallback()
[all …]
/system/chre/apps/chqts/src/general_test/
Dtest.cc59 "chre async result error: %d", result->errorCode); in validateChreAsyncResult()
61 if (result->success && result->errorCode != CHRE_ERROR_NONE) { in validateChreAsyncResult()
64 result->errorCode); in validateChreAsyncResult()
/system/libhidl/base/
DStatus.cpp75 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
77 mErrorCode(errorCode) {} in Status()
79 Status::Status(int32_t exceptionCode, int32_t errorCode, const char *message) in Status() argument
81 mErrorCode(errorCode), in Status()
/system/core/adb/client/
Dtransport_mdns.cpp129 DNSServiceErrorType errorCode,
445 DNSServiceErrorType errorCode, const char* hostname, in register_service_ip() argument
447 D("%s: sdRef=%p flags=0x%08x errorCode=%u ttl=%u", __func__, sdRef, flags, errorCode, ttl); in register_service_ip()
454 if (errorCode != kDNSServiceErr_NoError) { in register_service_ip()
455 D("Got error while looking up ipaddr [%u]", errorCode); in register_service_ip()
471 DNSServiceErrorType errorCode,
560 DNSServiceErrorType errorCode, const char* fullname, const char* hosttarget, uint16_t port, in register_resolved_mdns_service() argument
566 if (errorCode != kDNSServiceErr_NoError) { in register_resolved_mdns_service()
567 D("Got error %d resolving service.", errorCode); in register_resolved_mdns_service()
592 uint32_t interfaceIndex, DNSServiceErrorType errorCode, in on_service_browsed() argument
[all …]
/system/core/adb/daemon/
Dmdns.cpp54 DNSServiceErrorType errorCode, in mdns_callback() argument
59 if (errorCode != kDNSServiceErr_NoError) { in mdns_callback()
61 << errorCode << ")."; in mdns_callback()
/system/bt/binder/android/bluetooth/le/
DIScannerCallback.aidl30 void onScanManagerErrorCallback(in int errorCode); in onScanManagerErrorCallback() argument
/system/vold/
DKeymaster.cpp347 if (op.errorCode() == km::ErrorCode::KEY_RATE_LIMIT_EXCEEDED) { in keymaster_sign_object_for_cryptfs_scrypt()
354 if (op.errorCode() == km::ErrorCode::KEY_REQUIRES_UPGRADE) { in keymaster_sign_object_for_cryptfs_scrypt()
359 if (op.errorCode() != km::ErrorCode::OK) { in keymaster_sign_object_for_cryptfs_scrypt()
360 LOG(ERROR) << "Error starting keymaster signature transaction: " << int32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()
366 << uint32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()
372 << int32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()

12