/system/security/keystore/include/keystore/ |
D | keystore_return_types.h | 43 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/ |
D | wifi_request_manager.cc | 179 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 …]
|
D | gnss_manager.cc | 239 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/ |
D | wifi_pal_impl_test.cc | 55 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 …]
|
D | gnss_pal_impl_test.cc | 64 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/ |
D | wifi_request_manager.h | 116 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 …]
|
D | gnss_manager.h | 76 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/ |
D | Keymaster.h | 54 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/ |
D | platform_wifi.cc | 115 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()
|
D | platform_gnss.cc | 95 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/ |
D | platform_wifi_base.h | 40 static void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode); 41 static void scanResponseCallback(bool pending, uint8_t errorCode); 43 static void rangingEventCallback(uint8_t errorCode,
|
D | platform_gnss_base.h | 41 static void locationStatusChangeCallback(bool enabled, uint8_t errorCode); 43 static void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
|
/system/chre/chpp/test/ |
D | wwan_convert_test.cpp | 80 .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/ |
D | km_compat.cpp | 462 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/ |
D | wifi.h | 83 void (*scanMonitorStatusChangeCallback)(bool enabled, uint8_t errorCode); 101 void (*scanResponseCallback)(bool pending, uint8_t errorCode); 149 void (*rangingEventCallback)(uint8_t errorCode,
|
D | gnss.h | 104 void (*locationStatusChangeCallback)(bool enabled, uint8_t errorCode); 134 void (*measurementStatusChangeCallback)(bool enabled, uint8_t errorCode);
|
/system/chre/pal/tests/include/ |
D | wifi_pal_impl_test.h | 35 void scanMonitorStatusChangeCallback(bool enabled, uint8_t errorCode); 36 void scanResponseCallback(bool pending, uint8_t errorCode); 38 void rangingEventCallback(uint8_t errorCode,
|
D | gnss_pal_impl_test.h | 35 void locationStatusChangeCallback(bool enabled, uint8_t errorCode); 37 void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
|
/system/chre/pal/util/tests/ |
D | wifi_scan_cache_test.cc | 37 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/ |
D | MDnsSdListener.h | 30 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,
|
D | MDnsSdListener.cpp | 104 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/ |
D | wifi.c | 119 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/ |
D | test.cc | 58 result->errorCode); in validateChreAsyncResult() 60 if (result->success && result->errorCode != CHRE_ERROR_NONE) { in validateChreAsyncResult() 63 result->errorCode); in validateChreAsyncResult()
|
/system/libhidl/base/ |
D | Status.cpp | 75 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/ |
D | wifi.h | 75 uint8_t errorCode; member 92 uint8_t errorCode; member
|