/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); 50 int reason = ERR_GET_REASON(error); in TranslateLastOpenSslError() local 53 switch (reason) { in TranslateLastOpenSslError() 67 return static_cast<keymaster_error_t>(reason); in TranslateLastOpenSslError() 69 return TranslateEvpError(reason); in TranslateLastOpenSslError() [all …]
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 134 adb_su setprop persist.test.boot.reason "'${1}'" 2>/dev/null </dev/null 558 EXPECT_PROPERTY persist.sys.boot.reason "" 560 reason=`validate_property sys.boot.reason` 562 EXPECT_PROPERTY persist.sys.boot.reason.history "${reason},[1-9][0-9]*\(\|[^0-9].*\)" 595 reason=`validate_property ${prop}` 596 EXPECT_PROPERTY ${prop} ${reason} || retval=${?} 599 report_bootstat_logs ${reason} ${bootloader} 650 EXPECT_PROPERTY sys.boot.reason "\(reboot,ota\|bootloader\)" 651 EXPECT_PROPERTY sys.boot.reason.last bootloader 665 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 | 633 bool correctForBitError(std::string& reason, const std::string& needle) { in correctForBitError() argument 635 if (reason.length() < needle.length()) return corrected; in correctForBitError() 636 const pstoreConsole console(reason); in correctForBitError() 637 const size_t last_pos = reason.length() - needle.length(); in correctForBitError() 643 if (needle == reason.substr(pos, needle.length())) continue; in correctForBitError() 646 reason = reason.substr(0, pos) + needle + reason.substr(pos + needle.length()); in correctForBitError() 654 bool correctForBitErrorOrUnderline(std::string& reason, const std::string& needle) { in correctForBitErrorOrUnderline() argument 655 bool corrected = correctForBitError(reason, needle); in correctForBitErrorOrUnderline() 660 corrected |= correctForBitError(reason, _needle); in correctForBitErrorOrUnderline() 667 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} 70 # Set boot reason 72 # Converts bootloader boot reason and persist.sys.boot.reason to system boot reason 79 # Record the boot reason.
|
/system/chre/apps/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) in abort() 34 - static_cast<uint8_t>(reason); in abort()
|
D | send_message.h | 150 AbortBlame reason = AbortBlame::kChre); 170 AbortBlame reason = AbortBlame::kTestFramework);
|
D | send_message.cc | 180 AbortBlame reason) { in sendFatalFailureToHost() argument 183 nanoapp_testing::abort(reason); in sendFatalFailureToHost() 192 AbortBlame reason) { in sendInternalFailureToHost() argument 195 nanoapp_testing::abort(reason); in sendInternalFailureToHost()
|
/system/bt/gd/security/ |
D | pairing_failure.h | 44 PairingFailedReason reason; member 52 …ailure(/*const base::Location& location, */ const std::string& message, PairingFailedReason reason) in PairingFailure() 53 : /*location(location),*/ message(message), reason(reason) {} in PairingFailure()
|
/system/bt/packet/avrcp/ |
D | general_reject_packet.h | 28 static std::unique_ptr<GeneralRejectBuilder> MakeBuilder(Status reason); 37 …GeneralRejectBuilder(Status reason) : BrowsePacketBuilder(BrowsePdu::GENERAL_REJECT), reason_(reas… in GeneralRejectBuilder() argument
|
D | avrcp_reject_packet.h | 29 Status reason); 38 RejectBuilder(CommandPdu pdu, Status reason) in RejectBuilder() argument 40 reason_(reason){}; in RejectBuilder()
|
D | general_reject_packet.cc | 22 std::unique_ptr<GeneralRejectBuilder> GeneralRejectBuilder::MakeBuilder(Status reason) { in MakeBuilder() argument 24 std::unique_ptr<GeneralRejectBuilder>(new GeneralRejectBuilder(reason)); in MakeBuilder()
|
D | avrcp_reject_packet.cc | 23 Status reason) { in MakeBuilder() argument 25 std::unique_ptr<RejectBuilder>(new RejectBuilder(pdu, reason)); in MakeBuilder()
|
/system/extras/latencytop/ |
D | latencytop.c | 39 char reason[MAX_LINE]; member 53 static struct latency_entry *find_latency_entry(struct latency_entry *e, char *reason); 287 static struct latency_entry *find_latency_entry(struct latency_entry *head, char *reason) { in find_latency_entry() argument 293 if (!strcmp(e->reason, reason)) 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() 348 strcpy(e->reason, reason); in read_latency_file() 391 e->reason); in print_latency_entries()
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 622 uint8_t reason = in gatts_process_primary_service_req() local 624 if (reason != GATT_SUCCESS) { in gatts_process_primary_service_req() 625 gatt_send_error_rsp(tcb, reason, op_code, s_hdl, false); in gatts_process_primary_service_req() 655 reason = gatt_build_primary_service_rsp(p_msg, tcb, op_code, s_hdl, e_hdl, in gatts_process_primary_service_req() 657 if (reason != GATT_SUCCESS) { in gatts_process_primary_service_req() 659 gatt_send_error_rsp(tcb, reason, op_code, s_hdl, false); in gatts_process_primary_service_req() 679 uint8_t reason = read_handles(len, p_data, s_hdl, e_hdl); in gatts_process_find_info() local 680 if (reason != GATT_SUCCESS) { in gatts_process_find_info() 681 gatt_send_error_rsp(tcb, reason, op_code, s_hdl, false); in gatts_process_find_info() 689 reason = GATT_NOT_FOUND; in gatts_process_find_info() [all …]
|
/system/bt/stack/smp/ |
D | smp_l2c.cc | 38 bool connected, uint16_t reason, 44 bool connected, uint16_t reason, 88 bool connected, uint16_t reason, in smp_connect_callback() argument 116 int_data.reason = reason; in smp_connect_callback() 240 bool connected, uint16_t reason, in smp_br_connect_callback() argument 269 int_data.reason = reason; in smp_br_connect_callback()
|
/system/bt/gd/hci/acl_manager/ |
D | le_acl_connection.cc | 27 common::OnceCallback<void(DisconnectReason reason)> disconnect) in LeAclConnectionTracker() 55 void OnDisconnection(ErrorCode reason) override { in OnDisconnection() argument 56 SAVE_OR_CALL(OnDisconnection, reason); in OnDisconnection() 103 void LeAclConnection::Disconnect(DisconnectReason reason) { in Disconnect() argument 104 common::BindOnce(std::move(pimpl_->tracker.do_disconnect_), reason).Run(); in Disconnect()
|
/system/extras/profcollectd/ |
D | profcollectctl.cpp | 27 void PrintHelp(const std::string& reason = "") { in PrintHelp() argument 28 std::cout << reason; in PrintHelp()
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_act.cc | 386 evt_data.disc.reason = NFA_P2P_DISC_REASON_REMOTE_INITIATE; in nfa_p2p_proc_llcp_disconnect_ind() 399 evt_data.disc.reason = NFA_P2P_DISC_REASON_LLCP_DEACTIVATED; in nfa_p2p_proc_llcp_disconnect_ind() 427 if (p_data->disconnect_resp.reason == LLCP_SAP_DM_REASON_RESP_DISC) { in nfa_p2p_proc_llcp_disconnect_resp() 428 evt_data.disc.reason = NFA_P2P_DISC_REASON_LOCAL_INITITATE; in nfa_p2p_proc_llcp_disconnect_resp() 429 } else if ((p_data->disconnect_resp.reason == in nfa_p2p_proc_llcp_disconnect_resp() 431 (p_data->disconnect_resp.reason == in nfa_p2p_proc_llcp_disconnect_resp() 433 (p_data->disconnect_resp.reason == in nfa_p2p_proc_llcp_disconnect_resp() 435 (p_data->disconnect_resp.reason == in nfa_p2p_proc_llcp_disconnect_resp() 437 (p_data->disconnect_resp.reason == in nfa_p2p_proc_llcp_disconnect_resp() 439 evt_data.disc.reason = NFA_P2P_DISC_REASON_REMOTE_REJECT; in nfa_p2p_proc_llcp_disconnect_resp() [all …]
|
/system/nfc/src/nfc/llcp/ |
D | llcp_main.cc | 149 uint8_t reason; in llcp_process_timeout() local 166 reason = LLCP_SAP_DISCONNECT_REASON_TIMEOUT; in llcp_process_timeout() 168 &reason); in llcp_process_timeout()
|
/system/bt/stack/btu/ |
D | btu_hcif.cc | 148 uint16_t reason = android::bluetooth::hci::STATUS_UNKNOWN; in btu_hcif_log_event_metrics() local 164 bluetooth::common::LogClassicPairingEvent(bda, handle, cmd, evt_code, status, reason, value); in btu_hcif_log_event_metrics() 170 bluetooth::common::LogClassicPairingEvent(bda, handle, cmd, evt_code, status, reason, value); in btu_hcif_log_event_metrics() 176 bluetooth::common::LogClassicPairingEvent(bda, handle, cmd, evt_code, status, reason, value); in btu_hcif_log_event_metrics() 183 …bluetooth::common::LogClassicPairingEvent(bda, handle, cmd, evt_code, status, reason, encryption_e… in btu_hcif_log_event_metrics() 195 evt_code, android::bluetooth::hci::BLE_EVT_UNKNOWN, status, reason); in btu_hcif_log_event_metrics() 245 android::bluetooth::hci::BLE_EVT_UNKNOWN, status, reason); in btu_hcif_log_event_metrics() 251 STREAM_TO_UINT8(reason, p_event); in btu_hcif_log_event_metrics() 256 android::bluetooth::hci::BLE_EVT_UNKNOWN, status, reason); in btu_hcif_log_event_metrics() 268 evt_code, android::bluetooth::hci::BLE_EVT_UNKNOWN, status, reason); in btu_hcif_log_event_metrics() [all …]
|
/system/sepolicy/private/ |
D | bootstat.te | 8 # Read/Write [persist.]sys.boot.reason and ro.boot.bootreason (write if empty) 24 # ... and refine, as these components should not set the last boot reason
|
/system/core/adb/client/ |
D | adb_client.cpp | 161 std::string reason; in _adb_connect() local 163 if (!socket_spec_connect(&fd, __adb_server_socket_spec, nullptr, nullptr, &reason)) { in _adb_connect() 165 __adb_server_socket_spec, reason.c_str()); in _adb_connect() 195 std::string reason; in adb_kill_server() local 197 if (!socket_spec_connect(&fd, __adb_server_socket_spec, nullptr, nullptr, &reason)) { in adb_kill_server() 199 reason.c_str()); in adb_kill_server()
|
/system/bt/stack/sdp/ |
D | sdp_main.cc | 538 void sdp_disconnect(tCONN_CB* p_ccb, uint16_t reason) { in sdp_disconnect() argument 544 ((reason == SDP_SUCCESS) || (reason == SDP_NO_RECS_MATCH))) { in sdp_disconnect() 573 if ((reason == SDP_NO_RECS_MATCH) && (p_ccb->p_db->p_first_rec)) in sdp_disconnect() 574 reason = SDP_SUCCESS; in sdp_disconnect() 583 p_ccb->disconnect_reason = reason; in sdp_disconnect() 591 (*p_ccb->p_cb)(reason); in sdp_disconnect() 593 (*p_ccb->p_cb2)(reason, p_ccb->user_data); in sdp_disconnect()
|
/system/core/debuggerd/tombstoned/ |
D | intercept_manager.cpp | 59 const char* reason; in intercept_close_cb() local 61 reason = "due to timeout"; in intercept_close_cb() 63 reason = "due to input"; in intercept_close_cb() 67 << intercept->dump_type << " terminated: " << reason; in intercept_close_cb()
|