Home
last modified time | relevance | path

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

12

/system/security/keystore/include/keystore/
Dkeystore_return_types.h44 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()
48 KeyStoreServiceReturnCode(const KeyStoreNativeReturnCode& errorCode);
49 explicit inline KeyStoreServiceReturnCode(const int32_t& errorCode) : errorCode_(errorCode) {} in KeyStoreServiceReturnCode() argument
50 inline KeyStoreServiceReturnCode& operator=(const ErrorCode& errorCode) {
51 errorCode_ = int32_t(errorCode);
54 inline KeyStoreServiceReturnCode& operator=(const ResponseCode& errorCode) {
55 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.cc85 void GnssSession::handleStatusChange(bool enabled, uint8_t errorCode) { in handleStatusChange() argument
88 uint8_t errorCode; in handleStatusChange() member
97 cbState->errorCode = errorCode; in handleStatusChange()
102 state->session->handleStatusChangeSync(state->enabled, state->errorCode); in handleStatusChange()
306 uint8_t errorCode, const void *cookie) { in postAsyncResultEvent() argument
315 event->errorCode = errorCode; in postAsyncResultEvent()
334 uint8_t errorCode, const void *cookie) { in postAsyncResultEventFatal() argument
335 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
341 void GnssSession::handleStatusChangeSync(bool enabled, uint8_t errorCode) { in handleStatusChangeSync() argument
342 bool success = (errorCode == CHRE_ERROR_NONE); in handleStatusChangeSync()
[all …]
/system/chre/core/include/chre/core/
Dwifi_request_manager.h113 void handleRangingEvent(uint8_t errorCode,
126 void handleScanMonitorStateChange(bool enabled, uint8_t errorCode);
138 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);
264 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
275 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
286 void handleStatusChangeSync(bool enabled, uint8_t errorCode);
/system/core/adb/
Dtransport_mdns.cpp51 DNSServiceErrorType errorCode,
176 DNSServiceErrorType errorCode,
213 DNSServiceErrorType errorCode, in register_resolved_mdns_service() argument
224 if (errorCode != kDNSServiceErr_NoError) { in register_resolved_mdns_service()
225 D("Got error %d resolving service.", errorCode); in register_resolved_mdns_service()
246 DNSServiceErrorType errorCode, in register_mdns_transport() argument
252 if (errorCode != kDNSServiceErr_NoError) { in register_mdns_transport()
253 D("Got error %d during mDNS browse.", errorCode); in register_mdns_transport()
268 DNSServiceErrorType errorCode = DNSServiceBrowse(&service_ref, 0, 0, kADBServiceType, nullptr, in init_mdns_transport_discovery_thread() local
271 if (errorCode != kDNSServiceErr_NoError) { in init_mdns_transport_discovery_thread()
[all …]
/system/chre/platform/shared/
Dplatform_wifi.cc108 uint8_t errorCode, struct chreWifiRangingEvent *event) { in rangingEventCallback() argument
110 .handleRangingEvent(errorCode, event); in rangingEventCallback()
114 uint8_t errorCode) { in scanMonitorStatusChangeCallback() argument
116 .handleScanMonitorStateChange(enabled, errorCode); in scanMonitorStatusChangeCallback()
119 void PlatformWifiBase::scanResponseCallback(bool pending, uint8_t errorCode) { in scanResponseCallback() argument
121 .handleScanResponse(pending, errorCode); in scanResponseCallback()
Dplatform_gnss.cc95 uint8_t errorCode) { in locationStatusChangeCallback() argument
97 .handleStatusChange(enabled, errorCode); in locationStatusChangeCallback()
125 uint8_t errorCode) { in measurementStatusChangeCallback() argument
127 .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.h92 void (*locationStatusChangeCallback)(bool enabled, uint8_t errorCode);
122 void (*measurementStatusChangeCallback)(bool enabled, uint8_t errorCode);
/system/core/adb/daemon/
Dmdns.cpp52 DNSServiceErrorType errorCode, in mdns_callback() argument
57 if (errorCode != kDNSServiceErr_NoError) { in mdns_callback()
59 << errorCode << ")."; in mdns_callback()
/system/netd/server/
DMDnsSdListener.h28 uint32_t interfaceIndex, DNSServiceErrorType errorCode,
33 DNSServiceErrorType errorCode, const char *serviceName, const char *regType,
37 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port,
41 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
DMDnsSdListener.cpp100 uint32_t /* interfaceIndex */, DNSServiceErrorType errorCode, const char *serviceName, in MDnsSdListenerDiscoverCallback() argument
106 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerDiscoverCallback()
107 asprintf(&msg, "%d %d", refNumber, errorCode); in MDnsSdListenerDiscoverCallback()
109 if (DBG) ALOGE("discover failure for %d, error= %d", refNumber, errorCode); in MDnsSdListenerDiscoverCallback()
193 DNSServiceErrorType errorCode, const char *serviceName, const char * /* regType */, in MDnsSdListenerRegisterCallback() argument
198 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerRegisterCallback()
199 asprintf(&msg, "%d %d", refNumber, errorCode); in MDnsSdListenerRegisterCallback()
201 if (DBG) ALOGE("register failure for %d, error= %d", refNumber, errorCode); in MDnsSdListenerRegisterCallback()
247 uint32_t /* interface */, DNSServiceErrorType errorCode, const char *fullname, in MDnsSdListenerResolveCallback() argument
254 if (errorCode != kDNSServiceErr_NoError) { in MDnsSdListenerResolveCallback()
[all …]
/system/libhidl/base/
DStatus.cpp99 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
101 mErrorCode(errorCode) {} in Status()
103 Status::Status(int32_t exceptionCode, int32_t errorCode, const char *message) in Status() argument
105 mErrorCode(errorCode), in Status()
/system/vold/
DKeymaster.cpp309 if (op.errorCode() == km::ErrorCode::KEY_RATE_LIMIT_EXCEEDED) { in keymaster_sign_object_for_cryptfs_scrypt()
316 if (op.errorCode() == km::ErrorCode::KEY_REQUIRES_UPGRADE) { in keymaster_sign_object_for_cryptfs_scrypt()
321 if (op.errorCode() != km::ErrorCode::OK) { in keymaster_sign_object_for_cryptfs_scrypt()
322 LOG(ERROR) << "Error starting keymaster signature transaction: " << int32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()
328 << uint32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()
334 << int32_t(op.errorCode()); in keymaster_sign_object_for_cryptfs_scrypt()
/system/bt/binder/android/bluetooth/le/
DIScannerCallback.aidl30 void onScanManagerErrorCallback(in int errorCode); in onScanManagerErrorCallback() argument
/system/chre/chre_api/include/chre_api/chre/
Dcommon.h158 uint8_t errorCode; member
Dwwan.h395 uint8_t errorCode; member
/system/chre/chre_api/legacy/v1_1/chre/
Dcommon.h158 uint8_t errorCode; member
Dwwan.h395 uint8_t errorCode; member
/system/chre/apps/wwan_world/
Dwwan_world.cc110 if (result->errorCode != CHRE_ERROR_NONE) { in handleCellInfoResult()
111 LOGE("Failed to request WWAN cell info with %" PRIu8, result->errorCode); in handleCellInfoResult()
/system/chre/apps/wifi_world/
Dwifi_world.cc146 result->errorCode); in handleWifiAsyncResult()
160 result->errorCode); in handleWifiAsyncResult()
/system/libhidl/base/include/hidl/
DStatus.h115 Status(int32_t exceptionCode, int32_t errorCode);
116 Status(int32_t exceptionCode, int32_t errorCode, const char *message);

12