/system/keymaster/km_openssl/ |
D | openssl_err.cpp | 34 static keymaster_error_t TranslateEvpError(int reason); 36 static keymaster_error_t TranslateASN1Error(int reason); 37 static keymaster_error_t TranslateCipherError(int reason); 38 static keymaster_error_t TranslatePKCS8Error(int reason); 39 static keymaster_error_t TranslateX509v3Error(int reason); 40 static keymaster_error_t TranslateRsaError(int reason); 52 int reason = ERR_GET_REASON(error); in TranslateLastOpenSslError() local 55 switch (reason) { in TranslateLastOpenSslError() 69 return static_cast<keymaster_error_t>(reason); in TranslateLastOpenSslError() 71 return TranslateEvpError(reason); in TranslateLastOpenSslError() [all …]
|
/system/keymint/boringssl/src/ |
D | err.rs | 26 let reason = unsafe { ffi::ERR_GET_REASON_RUST(code) }; in map_openssl_err() localVariable 29 match reason { in map_openssl_err() 40 ffi::ERR_LIB_USER => ErrorCode::try_from(reason).unwrap_or(ErrorCode::BoringSslError), in map_openssl_err() 41 ffi::ERR_LIB_EVP => translate_evp_error(reason), in map_openssl_err() 42 ffi::ERR_LIB_ASN1 => translate_asn1_error(reason), in map_openssl_err() 43 ffi::ERR_LIB_CIPHER => translate_cipher_error(reason), in map_openssl_err() 44 ffi::ERR_LIB_PKCS8 => translate_pkcs8_error(reason), in map_openssl_err() 45 ffi::ERR_LIB_X509V3 => translate_x509v3_error(reason), in map_openssl_err() 46 ffi::ERR_LIB_RSA => translate_rsa_error(reason), in map_openssl_err() 54 fn translate_evp_error(reason: i32) -> ErrorCode { in translate_evp_error() [all …]
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 134 adb_su setprop persist.test.boot.reason "'${1}'" 2>/dev/null </dev/null 555 EXPECT_PROPERTY persist.sys.boot.reason "" 557 reason=`validate_property sys.boot.reason` 559 EXPECT_PROPERTY persist.sys.boot.reason.history "${reason},[1-9][0-9]*\(\|[^0-9].*\)" 592 reason=`validate_property ${prop}` 593 EXPECT_PROPERTY ${prop} ${reason} || retval=${?} 596 report_bootstat_logs ${reason} ${bootloader} 647 EXPECT_PROPERTY sys.boot.reason "\(reboot,ota\|bootloader\)" 648 EXPECT_PROPERTY sys.boot.reason.last bootloader 662 EXPECT_PROPERTY sys.boot.reason reboot,ota [all …]
|
D | bootstat-debug.rc | 4 # For devices w/o bootloader boot reason reported, mirror test boot reason 5 # to bootloader boot reason to allow test to inject reasons 6 on property:persist.test.boot.reason=* 7 setprop ro.boot.bootreason ${persist.test.boot.reason}
|
D | bootstat.cpp | 664 bool correctForBitError(std::string& reason, const std::string& needle) { in correctForBitError() argument 666 if (reason.length() < needle.length()) return corrected; in correctForBitError() 667 const pstoreConsole console(reason); in correctForBitError() 668 const size_t last_pos = reason.length() - needle.length(); in correctForBitError() 674 if (needle == reason.substr(pos, needle.length())) continue; in correctForBitError() 677 reason = reason.substr(0, pos) + needle + reason.substr(pos + needle.length()); in correctForBitError() 685 bool correctForBitErrorOrUnderline(std::string& reason, const std::string& needle) { in correctForBitErrorOrUnderline() argument 686 bool corrected = correctForBitError(reason, needle); in correctForBitErrorOrUnderline() 691 corrected |= correctForBitError(reason, _needle); in correctForBitErrorOrUnderline() 698 void transformReason(std::string& reason) { in transformReason() argument [all …]
|
D | bootstat.rc | 3 # Mirror bootloader boot reason to system boot reason 7 setprop sys.boot.reason ${ro.boot.bootreason} 60 # Set boot reason 62 # Converts bootloader boot reason and persist.sys.boot.reason to system boot reason 69 # Record the boot reason.
|
/system/chre/apps/test/chqts/src/shared/ |
D | abort.cc | 25 void abort(AbortBlame reason) { in abort() argument 26 uint32_t abortCode = UINT32_C(0x10000) + static_cast<uint16_t>(reason); in abort() 33 uint16_t zero = static_cast<uint16_t>(reason) - static_cast<uint8_t>(reason); in abort()
|
D | send_message.cc | 182 AbortBlame reason) { in sendFatalFailureToHost() argument 185 nanoapp_testing::abort(reason); in sendFatalFailureToHost() 194 AbortBlame reason) { in sendInternalFailureToHost() argument 197 nanoapp_testing::abort(reason); in sendInternalFailureToHost()
|
D | send_message.h | 150 AbortBlame reason = AbortBlame::kChre); 170 AbortBlame reason = AbortBlame::kTestFramework);
|
D | abort.h | 71 void abort(AbortBlame reason = AbortBlame::kChre);
|
/system/extras/latencytop/ |
D | latencytop.c | 39 char reason[MAX_LINE]; member 54 static struct latency_entry* find_latency_entry(struct latency_entry* e, char* reason); 288 static struct latency_entry* find_latency_entry(struct latency_entry* head, char* reason) { in find_latency_entry() argument 294 if (!strcmp(e->reason, reason)) return e; in find_latency_entry() 319 char reason[MAX_LINE]; in read_latency_file() local 335 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); in read_latency_file() 337 e = find_latency_entry(head, reason); in read_latency_file() 347 strcpy(e->reason, reason); in read_latency_file() 387 average / 1000, (average % 1000) / 10, e->count, e->reason); in print_latency_entries()
|
/system/chre/pal/tests/src/ |
D | wifi_pal_impl_test.cc | 103 void chrePalNanServiceTerminatedCallback(uint32_t reason, in chrePalNanServiceTerminatedCallback() argument 106 gTest->nanServiceTerminatedCallback(reason, subscriptionId); in chrePalNanServiceTerminatedCallback() 110 void chrePalNanSubscriptionCanceledCallback(uint8_t reason, in chrePalNanSubscriptionCanceledCallback() argument 113 gTest->nanSubscriptionCanceledCallback(reason, subscriptionId); in chrePalNanSubscriptionCanceledCallback() 230 void PalWifiTest::nanServiceTerminatedCallback(uint32_t reason, in nanServiceTerminatedCallback() argument 233 errorCode_ = reason; in nanServiceTerminatedCallback()
|
/system/core/init/ |
D | reboot_utils.cpp | 124 std::string reason = "shutdown,thermal"; in RebootSystem() local 125 if (!reboot_reason.empty()) reason = reboot_reason; in RebootSystem() 129 LINUX_REBOOT_CMD_RESTART2, reason.c_str()); in RebootSystem()
|
D | reboot.cpp | 100 static void PersistRebootReason(const char* reason, bool write_to_property) { in PersistRebootReason() argument 102 SetProperty(LAST_REBOOT_REASON_PROPERTY, reason); in PersistRebootReason() 111 WriteStringToFd(reason, fd); in PersistRebootReason() 613 static void DoReboot(unsigned int cmd, const std::string& reason, const std::string& reboot_target, in DoReboot() argument 616 LOG(INFO) << "Reboot start, reason: " << reason << ", reboot_target: " << reboot_target; in DoReboot() 637 RebootSystem(cmd, reboot_target, reason); in DoReboot() 653 std::vector<std::string> reasons = Split(reason, ","); in DoReboot() 659 PersistRebootReason(reason.c_str() + skip, true); in DoReboot() 665 RebootSystem(cmd, reboot_target, reason); in DoReboot() 798 RebootSystem(cmd, reboot_target, reason); in DoReboot()
|
/system/connectivity/wificond/aidl/android/net/wifi/nl80211/ |
D | ISendMgmtFrameEvent.aidl | 54 oneway void OnFailure(int reason); in OnFailure() argument
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 161 bool checkKill(const char* reason) { in checkKill() argument 166 if (bootreason == reason) { in checkKill() 167 GTEST_LOG_INFO << "Expected test result confirmed " << reason << "\n"; in checkKill() 170 GTEST_LOG_WARNING << "Expected test result is " << reason << "\n"; in checkKill()
|
/system/sepolicy/private/ |
D | bootstat.te | 8 # Read/Write [persist.]sys.boot.reason and ro.boot.bootreason (write if empty) 58 # ... and refine, as these components should not set the last boot reason
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 366 std::string reason; in EnsurePolicy() local 369 reason = "The directory already has a different encryption policy."; in EnsurePolicy() 372 reason = strerror(errno); in EnsurePolicy() 376 << PolicyDebugString(policy) << ": " << reason; in EnsurePolicy()
|
/system/connectivity/wificond/tests/ |
D | mock_i_send_mgmt_frame_event.h | 35 MOCK_METHOD1(OnFailure, ::android::binder::Status(int reason));
|
/system/chre/host/common/ |
D | metrics_reporter.cc | 107 ChreHalNanoappLoadFailed::Reason reason) { in logNanoappLoadFailed() argument 111 values[2].set<VendorAtomValue::intValue>(reason); in logNanoappLoadFailed()
|
/system/chre/host/common/include/chre_host/ |
D | metrics_reporter.h | 57 android::chre::Atoms::ChreHalNanoappLoadFailed::Reason reason);
|
/system/chre/host/msm/daemon/generated/ |
D | .clang-format | 18 # This isn't controlled by DisableFormat for some reason
|
/system/chre/host/common/include/chre_host/generated/ |
D | .clang-format | 18 # This isn't controlled by DisableFormat for some reason
|
/system/chre/pal/include/chre/pal/ |
D | wifi.h | 229 void (*nanServiceTerminatedCallback)(uint32_t reason,
|
/system/chre/apps/power_test/common/idl/ |
D | .clang-format | 18 # This isn't controlled by DisableFormat for some reason
|