Home
last modified time | relevance | path

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

12

/system/security/keystore/include/keystore/
Dkeystore_return_types.h45 KeyStoreServiceReturnCode(const ErrorCode& errorCode) : errorCode_(int32_t(errorCode)) {} in KeyStoreServiceReturnCode() argument
47 KeyStoreServiceReturnCode(const ResponseCode& errorCode) : errorCode_(int32_t(errorCode)) {} in KeyStoreServiceReturnCode() argument
48 KeyStoreServiceReturnCode(const KeyStoreServiceReturnCode& errorCode) in KeyStoreServiceReturnCode() argument
49 : errorCode_(errorCode.errorCode_) {} in KeyStoreServiceReturnCode()
51 KeyStoreServiceReturnCode(const KeyStoreNativeReturnCode& errorCode);
52 explicit inline KeyStoreServiceReturnCode(const int32_t& errorCode) : errorCode_(errorCode) {} in KeyStoreServiceReturnCode() argument
53 inline KeyStoreServiceReturnCode& operator=(const ErrorCode& errorCode) {
54 errorCode_ = int32_t(errorCode);
57 inline KeyStoreServiceReturnCode& operator=(const ResponseCode& errorCode) {
58 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()
311 uint8_t errorCode, const void *cookie) { in postAsyncResultEventFatal() argument
312 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
318 void GnssSession::handleStatusChangeSync(bool enabled, uint8_t errorCode) { in handleStatusChangeSync() argument
319 bool success = (errorCode == CHRE_ERROR_NONE); in handleStatusChangeSync()
[all …]
Dsensor_request_manager.cc383 uint8_t errorCode, SensorType sensorType) { in handleFlushCompleteEvent() argument
385 uint8_t errorCode; in handleFlushCompleteEvent() member
398 state.callbackState.errorCode = errorCode; in handleFlushCompleteEvent()
405 .handleFlushCompleteEventSync(nestedState.callbackState.errorCode, in handleFlushCompleteEvent()
434 uint32_t sensorHandle, uint8_t errorCode, const FlushRequest& request) { in postFlushCompleteEvent() argument
440 event->errorCode = errorCode; in postFlushCompleteEvent()
470 uint8_t errorCode, SensorType sensorType) { in handleFlushCompleteEventSync() argument
479 postFlushCompleteEvent(sensorHandle, errorCode, request); in handleFlushCompleteEventSync()
611 uint8_t errorCode = CHRE_ERROR; in makeFlushRequest() local
623 errorCode = CHRE_ERROR_TIMEOUT; in makeFlushRequest()
[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.h172 void handleFlushCompleteEvent(uint8_t errorCode, SensorType sensorType);
400 uint32_t sensorHandle, uint8_t errorCode, const FlushRequest& request);
419 void handleFlushCompleteEventSync(uint8_t errorCode, SensorType sensorType);
/system/core/adb/client/
Dtransport_mdns.cpp51 DNSServiceErrorType errorCode,
175 DNSServiceErrorType errorCode,
212 DNSServiceErrorType errorCode, in register_resolved_mdns_service() argument
223 if (errorCode != kDNSServiceErr_NoError) { in register_resolved_mdns_service()
224 D("Got error %d resolving service.", errorCode); in register_resolved_mdns_service()
245 DNSServiceErrorType errorCode, in register_mdns_transport() argument
251 if (errorCode != kDNSServiceErr_NoError) { in register_mdns_transport()
252 D("Got error %d during mDNS browse.", errorCode); in register_mdns_transport()
265 DNSServiceErrorType errorCode = DNSServiceBrowse(&service_ref, 0, 0, kADBServiceType, nullptr, in init_mdns_transport_discovery_thread() local
268 if (errorCode != kDNSServiceErr_NoError) { in init_mdns_transport_discovery_thread()
[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/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.h29 uint32_t interfaceIndex, DNSServiceErrorType errorCode,
34 DNSServiceErrorType errorCode, const char *serviceName, const char *regType,
38 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port,
42 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
45 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.cpp106 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
108 mErrorCode(errorCode) {} in Status()
110 Status::Status(int32_t exceptionCode, int32_t errorCode, const char *message) in Status() argument
112 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
/system/chre/chre_api/legacy/v1_2/chre/
Dcommon.h158 uint8_t errorCode; member
/system/chre/chre_api/legacy/v1_1/chre/
Dcommon.h158 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()

12