/system/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 108 int32_t error_code; in sign() local 112 KeymasterBlob(), UID_SELF, &error_code); in sign() 117 if (!KSReturn(error_code).isOk()) { in sign() 118 LOG(ERROR) << AT << "getKeyCharacteristics failed: " << error_code; in sign() 145 std::vector<uint8_t>() /* entropy */, UID_SELF, &error_code); in sign() 151 keystore::KeyStoreNativeReturnCode rc(error_code); in sign() 153 LOG(ERROR) << AT << "Keystore begin returned: " << error_code; in sign() 169 std::vector<uint8_t>(in, in + len), &error_code); in sign() 175 rc = keystore::KeyStoreNativeReturnCode(error_code); in sign() 177 LOG(ERROR) << AT << "Keystore update returned: " << error_code; in sign() [all …]
|
/system/core/base/ |
D | errors_windows.cpp | 38 DWORD error_code = int_error_code; in SystemErrorCodeToString() local 40 DWORD len = FormatMessageW(flags, nullptr, error_code, 0, msgbuf, in SystemErrorCodeToString() 45 error_code); in SystemErrorCodeToString() 53 GetLastError(), error_code); in SystemErrorCodeToString() 63 android::base::StringAppendF(&msg, " (%lu)", error_code); in SystemErrorCodeToString()
|
D | errors_unix.cpp | 24 std::string SystemErrorCodeToString(int error_code) { in SystemErrorCodeToString() argument 25 return strerror(error_code); in SystemErrorCodeToString()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 93 int32_t error_code; in getPublicKey() local 98 KeymasterBlob() /* clientId */, KeymasterBlob() /* appData */, UID_SELF, &error_code); in getPublicKey() 105 KSReturn rc(error_code); in getPublicKey() 107 LOG(ERROR) << AT << "exportKey failed: " << error_code; in getPublicKey() 149 int32_t error_code; in sign() local 153 KeymasterBlob(), UID_SELF, &error_code); in sign() 159 KSReturn rc(error_code); in sign() 161 LOG(ERROR) << AT << "getKeyCharacteristics failed: " << error_code; in sign() 191 std::vector<uint8_t>() /* entropy */, UID_SELF, &error_code); in sign() 198 rc = KSReturn(error_code); in sign() [all …]
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 306 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; in CompletePartitionPostinstall() local 312 error_code = ErrorCode::kPostinstallBootedFromFirmwareB; in CompletePartitionPostinstall() 319 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable; in CompletePartitionPostinstall() 327 return CompletePostinstall(error_code); in CompletePartitionPostinstall() 337 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { in CompletePostinstall() argument 340 if (error_code == ErrorCode::kSuccess) { in CompletePostinstall() 343 error_code = ErrorCode::kPostinstallRunnerError; in CompletePostinstall() 346 error_code = ErrorCode::kUpdatedButNotActive; in CompletePostinstall() 351 completer.set_code(error_code); in CompletePostinstall() 353 if (error_code != ErrorCode::kSuccess && in CompletePostinstall() [all …]
|
/system/core/libbacktrace/ |
D | BacktraceCurrent.cpp | 70 error_.error_code = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind() 74 error_.error_code = BACKTRACE_UNWIND_NO_ERROR; in Unwind() 167 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 175 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 177 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 222 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 224 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_TIMEOUT; in UnwindThread()
|
D | UnwindStack.cpp | 65 error->error_code = BACKTRACE_UNWIND_NO_ERROR; in Unwind() 69 error->error_code = BACKTRACE_UNWIND_ERROR_ACCESS_MEM_FAILED; in Unwind() 74 error->error_code = BACKTRACE_UNWIND_ERROR_UNWIND_INFO; in Unwind() 78 error->error_code = BACKTRACE_UNWIND_ERROR_UNSUPPORTED_OPERATION; in Unwind() 82 error->error_code = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind() 86 error->error_code = BACKTRACE_UNWIND_ERROR_EXCEED_MAX_FRAMES_LIMIT; in Unwind() 90 error->error_code = BACKTRACE_UNWIND_ERROR_REPEATED_FRAME; in Unwind() 94 error->error_code = BACKTRACE_UNWIND_ERROR_INVALID_ELF; in Unwind() 141 error->error_code = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in UnwindOffline()
|
D | backtrace_test.cpp | 171 #define VERIFY_NO_ERROR(error_code) \ argument 172 ASSERT_TRUE(error_code == BACKTRACE_UNWIND_NO_ERROR || \ 173 error_code == BACKTRACE_UNWIND_ERROR_UNWIND_INFO || \ 174 error_code == BACKTRACE_UNWIND_ERROR_MAP_MISSING) \ 175 << "Unknown error code " << std::to_string(error_code); 177 #define VERIFY_NO_ERROR(error_code) ASSERT_EQ(BACKTRACE_UNWIND_NO_ERROR, error_code); argument 226 VERIFY_NO_ERROR(backtrace->GetError().error_code); in VerifyLevelBacktrace() 248 ASSERT_EQ(BACKTRACE_UNWIND_ERROR_EXCEED_MAX_FRAMES_LIMIT, backtrace->GetError().error_code); in VerifyMaxBacktrace() 278 VERIFY_NO_ERROR(backtrace->GetError().error_code); in TEST_F() 299 VERIFY_NO_ERROR(backtrace->GetError().error_code); in TEST_F() [all …]
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 187 int32_t error_code; in addRandomNumberGeneratorEntropy() local 193 keystore_->addRngEntropy(promise, blob2hidlVec(entropy), flags, &error_code); in addRandomNumberGeneratorEntropy() 196 KeyStoreNativeReturnCode rc(error_code); in addRandomNumberGeneratorEntropy() 209 int32_t error_code; in generateKey() local 215 hidl_vec<uint8_t>() /* entropy */, kDefaultUID, flags, &error_code); in generateKey() 218 KeyStoreNativeReturnCode rc(error_code); in generateKey() 236 int32_t error_code; in getKeyCharacteristics() local 241 android::security::keymaster::KeymasterBlob(), kDefaultUID, &error_code); in getKeyCharacteristics() 244 KeyStoreNativeReturnCode rc(error_code); in getKeyCharacteristics() 264 int32_t error_code; in importKey() local [all …]
|
/system/chre/host/common/include/chre_host/ |
D | log.h | 59 #define LOG_ERROR(message, error_code) \ argument 62 strerror_r(error_code, error_string, sizeof(error_string)); \ 63 LOGE("%s: %s (%d)\n", message, error_string, error_code); \
|
/system/update_engine/ |
D | sideload_main.cc | 98 void SendPayloadApplicationComplete(ErrorCode error_code) override { in SendPayloadApplicationComplete() argument 99 if (error_code != ErrorCode::kSuccess) { in SendPayloadApplicationComplete() 102 error_code, in SendPayloadApplicationComplete() 103 utils::ErrorCodeToString(error_code).c_str())); in SendPayloadApplicationComplete() 105 error_code_ = error_code; in SendPayloadApplicationComplete() 111 ErrorCode error_code() { return error_code_; } in error_code() function in chromeos_update_engine::__anone72923c00111::SideloadDaemonState
|
D | omaha_request_action.h | 85 error_code(ErrorCode::kError) {} in OmahaEvent() 89 error_code(ErrorCode::kSuccess) {} in OmahaEvent() 91 : type(in_type), result(in_result), error_code(in_error_code) {} in OmahaEvent() 95 ErrorCode error_code; member
|
D | update_engine_client_android.cc | 64 Status onPayloadApplicationComplete(int error_code) override; 95 int error_code) { in onPayloadApplicationComplete() argument 96 ErrorCode code = static_cast<ErrorCode>(error_code); in onPayloadApplicationComplete() 98 << " (" << error_code << "))"; in onPayloadApplicationComplete()
|
D | metrics_reporter_omaha_unittest.cc | 73 metrics::DownloadErrorCode error_code = in TEST_F() local 86 static_cast<int>(error_code))) in TEST_F() 108 &fake_system_state, result, reaction, error_code); in TEST_F() 115 &fake_system_state, result, reaction, error_code); in TEST_F() 128 metrics::DownloadErrorCode error_code = in TEST_F() local 142 &fake_system_state, result, reaction, error_code); in TEST_F() 155 metrics::DownloadErrorCode error_code = in TEST_F() local 170 &fake_system_state, result, reaction, error_code); in TEST_F()
|
D | mock_service_observer.h | 30 MOCK_METHOD1(SendPayloadApplicationComplete, void(ErrorCode error_code));
|
D | service_observer_interface.h | 38 virtual void SendPayloadApplicationComplete(ErrorCode error_code) = 0;
|
/system/connectivity/wificond/scanning/ |
D | offload_scan_callback_interface_impl.cpp | 36 OffloadScanCallbackInterface::AsyncErrorReason error_code) { in OnOffloadError() argument 37 scanner_impl_->OnOffloadError(error_code); in OnOffloadError()
|
D | scan_utils.cpp | 283 int* error_code) { in Scan() argument 344 error_code)) { in Scan() 348 if (*error_code != 0) { in Scan() 349 LOG(ERROR) << "NL80211_CMD_TRIGGER_SCAN failed: " << strerror(*error_code); in Scan() 366 int error_code; in StopScheduledScan() local 368 &error_code)) { in StopScheduledScan() 372 if (error_code == ENOENT) { in StopScheduledScan() 375 } else if (error_code != 0) { in StopScheduledScan() 378 << strerror(error_code); in StopScheduledScan() 412 int* error_code) { in StartScheduledScan() argument [all …]
|
D | scanner_impl.cpp | 192 int error_code = 0; in scan() local 194 ssids, freqs, &error_code)) { in scan() 195 CHECK(error_code != ENODEV) << "Driver is in a bad state, restarting wificond"; in scan() 317 int error_code = 0; in StartPnoScanDefault() local 330 &error_code)) { in StartPnoScanDefault() 332 CHECK(error_code != ENODEV) << "Driver is in a bad state, restarting wificond"; in StartPnoScanDefault() 525 OffloadScanCallbackInterface::AsyncErrorReason error_code) { in OnOffloadError() argument 532 LOG(ERROR) << "Offload Service Async Failure error_code=" << error_code; in OnOffloadError() 533 switch (error_code) { in OnOffloadError()
|
/system/apex/apexd/ |
D | apexd_session.cpp | 70 std::error_code error_code; in deleteSessionDir() local 71 std::filesystem::remove_all(path, error_code); in deleteSessionDir() 72 if (error_code) { in deleteSessionDir() 74 << " : " << error_code); in deleteSessionDir() 120 std::error_code ec; in GetSessions()
|
/system/connectivity/wificond/tests/ |
D | scan_utils_unittest.cpp | 65 NL80211Packet CreateControlMessageError(int error_code) { in CreateControlMessageError() argument 75 *error_field = -error_code; in CreateControlMessageError() 262 int error_code; in TEST_F() local 264 kFakeScanType, {}, {}, &error_code)); in TEST_F() 265 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F() 301 int error_code; in TEST_F() local 306 req_flags, {}, {}, {}, &error_code)); in TEST_F() 307 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F()
|
D | mock_scan_utils.h | 50 int* error_code)); 61 int* error_code));
|
/system/core/base/include/android-base/ |
D | errors.h | 40 std::string SystemErrorCodeToString(int error_code);
|
/system/update_engine/binder_bindings/android/os/ |
D | IUpdateEngineCallback.aidl | 24 void onPayloadApplicationComplete(int error_code); in onPayloadApplicationComplete() argument
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_writer.h | 83 static const char* ErrorCodeString(int32_t error_code); 162 int32_t HandleError(int32_t error_code);
|