Home
last modified time | relevance | path

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

123

/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.cc179 uint8_t errorCode) { in handleScanMonitorStateChange() argument
182 uint8_t errorCode; in handleScanMonitorStateChange() member
189 .handleScanMonitorStateChangeSync(cbState.enabled, cbState.errorCode); in handleScanMonitorStateChange()
194 cbState.errorCode = errorCode; in handleScanMonitorStateChange()
200 void WifiRequestManager::handleScanResponse(bool pending, uint8_t errorCode) { in handleScanResponse() argument
203 uint8_t errorCode; in handleScanResponse() member
210 .handleScanResponseSync(cbState.pending, cbState.errorCode); in handleScanResponse()
215 cbState.errorCode = errorCode; in handleScanResponse()
222 uint8_t errorCode, struct chreWifiRangingEvent *event) { in handleRangingEvent() argument
233 NestedDataPtr<uint8_t>(errorCode)); in handleRangingEvent()
[all …]
Dgnss_manager.cc239 void GnssSession::handleStatusChange(bool enabled, uint8_t errorCode) { in handleStatusChange() argument
242 uint8_t errorCode; in handleStatusChange() member
248 session->handleStatusChangeSync(cbState.enabled, cbState.errorCode); in handleStatusChange()
253 cbState.errorCode = errorCode; in handleStatusChange()
535 uint8_t errorCode, const void *cookie) { in postAsyncResultEvent() argument
544 event->errorCode = errorCode; in postAsyncResultEvent()
561 uint8_t errorCode, in postAsyncResultEventFatal() argument
563 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
569 void GnssSession::handleStatusChangeSync(bool enabled, uint8_t errorCode) { in handleStatusChangeSync() argument
570 bool success = (errorCode == CHRE_ERROR_NONE); in handleStatusChangeSync()
[all …]
/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()
114 uint8_t errorCode) { in scanMonitorStatusChangeCallback() argument
116 errorCode); in scanMonitorStatusChangeCallback()
117 if (errorCode == CHRE_ERROR_LAST) { in scanMonitorStatusChangeCallback()
119 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()
182 uint8_t errorCode) { in locationStatusChangeCallback() argument
184 errorCode); in locationStatusChangeCallback()
185 if (errorCode == CHRE_ERROR_LAST) { in locationStatusChangeCallback()
187 errorCode = CHRE_ERROR; in locationStatusChangeCallback()
190 errorCode_ = errorCode; in locationStatusChangeCallback()
207 uint8_t errorCode) { in measurementStatusChangeCallback() argument
[all …]
/system/chre/core/include/chre/core/
Dwifi_request_manager.h116 void handleRangingEvent(uint8_t errorCode,
129 void handleScanMonitorStateChange(bool enabled, uint8_t errorCode);
141 void handleScanResponse(bool pending, uint8_t errorCode);
317 bool enable, uint8_t errorCode,
329 uint8_t errorCode,
345 uint8_t errorCode, const void *cookie);
355 bool success, uint8_t errorCode,
379 void handleScanMonitorStateChangeSync(bool enabled, uint8_t errorCode);
393 void handleScanResponseSync(bool pending, uint8_t errorCode);
403 bool postRangingAsyncResult(uint8_t errorCode);
[all …]
Dgnss_manager.h76 void handleStatusChange(bool enabled, uint8_t errorCode);
316 Milliseconds minInterval, uint8_t errorCode,
327 Milliseconds minInterval, uint8_t errorCode,
339 void handleStatusChangeSync(bool enabled, uint8_t errorCode);
/system/vold/
DKeymaster.h54 km::ErrorCode getErrorCode() const { return errorCode; } in getErrorCode()
71 KeymasterOperation() { errorCode = km::ErrorCode::UNKNOWN_ERROR; } in KeymasterOperation()
80 errorCode = rhs.errorCode;
81 rhs.errorCode = km::ErrorCode::UNKNOWN_ERROR;
89 : ks2Operation{ks2Op}, errorCode{km::ErrorCode::OK} { in KeymasterOperation()
96 KeymasterOperation(km::ErrorCode errCode) : errorCode{errCode} {} in KeymasterOperation()
103 km::ErrorCode errorCode; variable
/system/chre/platform/shared/
Dplatform_wifi.cc115 uint8_t errorCode, struct chreWifiRangingEvent *event) { in rangingEventCallback() argument
117 errorCode, event); in rangingEventCallback()
121 uint8_t errorCode) { in scanMonitorStatusChangeCallback() argument
124 .handleScanMonitorStateChange(enabled, errorCode); in scanMonitorStatusChangeCallback()
127 void PlatformWifiBase::scanResponseCallback(bool pending, uint8_t errorCode) { in scanResponseCallback() argument
129 pending, errorCode); in scanResponseCallback()
Dplatform_gnss.cc95 uint8_t errorCode) { in locationStatusChangeCallback() argument
99 .handleStatusChange(enabled, errorCode); in locationStatusChangeCallback()
139 uint8_t errorCode) { in measurementStatusChangeCallback() argument
143 .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/chpp/test/
Dwwan_convert_test.cpp80 .errorCode = 0,
85 .errorCode = 0,
193 .errorCode = 2, in TEST()
210 EXPECT_EQ(chpp->errorCode, chreResult.errorCode); in TEST()
223 .errorCode = 2, in TEST()
237 EXPECT_EQ(chre->errorCode, chpp.errorCode); in TEST()
261 EXPECT_EQ(chpp->errorCode, kChreResultOneCell.errorCode); in TEST()
299 EXPECT_EQ(chre->errorCode, chpp->errorCode); in TEST()
300 EXPECT_EQ(chre->errorCode, kChreResultOneCell.errorCode); in TEST()
325 EXPECT_EQ(chpp->errorCode, kChreResultTwoCell.errorCode); in TEST()
[all …]
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp462 KMV1::ErrorCode errorCode; in generateKey() local
466 errorCode = convert(error); in generateKey()
475 if (errorCode == KMV1::ErrorCode::OK) { in generateKey()
481 errorCode = code; in generateKey()
488 return convertErrorCode(errorCode); in generateKey()
498 KMV1::ErrorCode errorCode; in importKey() local
502 errorCode = convert(error); in importKey()
513 if (errorCode == KMV1::ErrorCode::OK) { in importKey()
519 errorCode = code; in importKey()
526 return convertErrorCode(errorCode); in importKey()
[all …]
/system/chre/pal/include/chre/pal/
Dwifi.h83 void (*scanMonitorStatusChangeCallback)(bool enabled, uint8_t errorCode);
101 void (*scanResponseCallback)(bool pending, uint8_t errorCode);
149 void (*rangingEventCallback)(uint8_t errorCode,
Dgnss.h104 void (*locationStatusChangeCallback)(bool enabled, uint8_t errorCode);
134 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/chre/pal/util/tests/
Dwifi_scan_cache_test.cc37 void chreWifiScanResponseCallback(bool pending, uint8_t errorCode);
42 uint8_t errorCode; member
86 void chreWifiScanResponseCallback(bool pending, uint8_t errorCode) { in chreWifiScanResponseCallback() argument
89 .errorCode = errorCode, in chreWifiScanResponseCallback()
165 ASSERT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in cacheDefaultWifiCacheTest()
215 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in testCacheDispatch()
256 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR); in TEST_F()
272 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_INVALID_ARGUMENT); in TEST_F()
356 ASSERT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in TEST_F()
/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/chpp/services/
Dwifi.c119 uint8_t errorCode);
121 uint8_t errorCode);
124 uint8_t errorCode, struct chreWifiRangingEvent *event);
513 uint8_t errorCode) { in chppWifiServiceScanMonitorStatusChangeCallback() argument
532 response->params.errorCode = errorCode; in chppWifiServiceScanMonitorStatusChangeCallback()
547 uint8_t errorCode) { in chppWifiServiceScanResponseCallback() argument
565 response->params.errorCode = errorCode; in chppWifiServiceScanResponseCallback()
623 uint8_t errorCode, struct chreWifiRangingEvent *event) { in chppWifiServiceRangingEventCallback() argument
650 if (errorCode != CHRE_ERROR_NONE) { in chppWifiServiceRangingEventCallback()
/system/chre/apps/test/chqts/src/general_test/
Dtest.cc58 result->errorCode); in validateChreAsyncResult()
60 if (result->success && result->errorCode != CHRE_ERROR_NONE) { in validateChreAsyncResult()
63 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/chre/chpp/include/chpp/common/
Dwifi.h75 uint8_t errorCode; member
92 uint8_t errorCode; member

123