Home
last modified time | relevance | path

Searched refs:si (Results 1 – 19 of 19) sorted by relevance

/system/core/debuggerd/libdebuggerd/
Dutility.cpp260 bool signal_has_si_addr(const siginfo_t* si) { in signal_has_si_addr() argument
262 if (si->si_code == SI_USER || si->si_code == SI_QUEUE || si->si_code == SI_TKILL) { in signal_has_si_addr()
266 switch (si->si_signo) { in signal_has_si_addr()
278 bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { in signal_has_sender() argument
279 return SI_FROMUSER(si) && (si->si_pid != 0) && (si->si_pid != caller_pid); in signal_has_sender()
282 void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { in get_signal_sender() argument
283 snprintf(buf, n, " from pid %d, uid %d", si->si_pid, si->si_uid); in get_signal_sender()
286 const char* get_signame(const siginfo_t* si) { in get_signame() argument
287 switch (si->si_signo) { in get_signame()
303 const char* get_sigcode(const siginfo_t* si) { in get_sigcode() argument
[all …]
Dtombstone.cpp115 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps, in dump_probable_cause() argument
118 if (si->si_signo == SIGSEGV && si->si_code == SEGV_MAPERR) { in dump_probable_cause()
119 if (si->si_addr < reinterpret_cast<void*>(4096)) { in dump_probable_cause()
121 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0ffc)) { in dump_probable_cause()
123 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fe0)) { in dump_probable_cause()
125 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fc0)) { in dump_probable_cause()
127 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fa0)) { in dump_probable_cause()
129 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0f60)) { in dump_probable_cause()
132 cause = get_stack_overflow_cause(reinterpret_cast<uint64_t>(si->si_addr), regs->sp(), maps); in dump_probable_cause()
134 } else if (si->si_signo == SIGSEGV && si->si_code == SEGV_ACCERR) { in dump_probable_cause()
[all …]
/system/memory/libmemunreachable/
DScopedSignalHandler.h53 SignalFn([=](int signal, siginfo_t* si, void* uctx) { f(*this, signal, si, uctx); }); in install()
56 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
57 ((*handler_map_)[signal])(signal, si, uctx); in install()
DHeapWalker.cpp207 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, in HandleSegFault() argument
209 uintptr_t addr = reinterpret_cast<uintptr_t>(si->si_addr); in HandleSegFault()
215 MEM_ALOGW("failed to read page at %p, signal %d", si->si_addr, signal); in HandleSegFault()
223 if (!MapOverPage(si->si_addr)) { in HandleSegFault()
/system/bt/bta/jv/
Dbta_jv_api.cc562 uint32_t si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommClose() local
567 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommClose()
643 uint32_t si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommGetPortHdl() local
645 if (hi < BTA_JV_MAX_RFC_CONN && si < BTA_JV_MAX_RFC_SR_SESSION && in BTA_JvRfcommGetPortHdl()
646 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommGetPortHdl()
647 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl()
664 uint32_t si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommWrite() local
669 << ", si=" << si; in BTA_JvRfcommWrite()
671 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in BTA_JvRfcommWrite()
679 &bta_jv_cb.port_cb[p_cb->rfc_hdl[si] - 1])); in BTA_JvRfcommWrite()
Dbta_jv_act.cc326 int si = BTA_JV_RFC_HDL_TO_SIDX(p_pcb->handle); in bta_jv_free_rfc_cb() local
327 if (0 <= si && si < BTA_JV_MAX_RFC_SR_SESSION) p_cb->rfc_hdl[si] = 0; in bta_jv_free_rfc_cb()
439 uint32_t si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_free_set_pm_profile_cb() local
441 si < BTA_JV_MAX_RFC_SR_SESSION && in bta_jv_free_set_pm_profile_cb()
442 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in bta_jv_free_set_pm_profile_cb()
444 bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb()
1569 uint32_t si = 0; in bta_jv_add_rfc_port() local
1593 } else if (si == 0) { in bta_jv_add_rfc_port()
1594 si = i + 1; in bta_jv_add_rfc_port()
1600 << ", si=" << si; in bta_jv_add_rfc_port()
[all …]
/system/core/fastboot/
Dfs.cpp40 STARTUPINFO si; in exec_cmd() local
44 ZeroMemory(&si, sizeof(si)); in exec_cmd()
45 si.cb = sizeof(si); in exec_cmd()
64 &si, // Pointer to STARTUPINFO structure in exec_cmd()
/system/core/libunwindstack/tests/
DTestUtils.h41 siginfo_t si; in TestQuiescePid() local
45 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in TestQuiescePid()
/system/core/libunwindstack/tools/
Dunwind.cpp49 siginfo_t si; in Attach() local
50 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
Dunwind_for_offline.cpp66 siginfo_t si; in Attach() local
67 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
/system/libbase/
Dmapped_file.cpp30 SYSTEM_INFO si; in InitPageSize() local
31 GetSystemInfo(&si); in InitPageSize()
32 return si.dwAllocationGranularity; in InitPageSize()
/system/core/libutils/
DFileMap.cpp144 SYSTEM_INFO si; in create() local
146 GetSystemInfo( &si ); in create()
147 mPageSize = si.dwAllocationGranularity; in create()
/system/core/storaged/tests/
Dstoraged_test.cpp361 storage_info_t si; in TEST() local
384 si.day_start_tp = {}; in TEST()
389 si.update_perf_history((i + 1) * 5, stp); in TEST()
392 vector<int> history = si.get_perf_history(); in TEST()
420 storage_info_t si; in TEST() local
421 si.day_start_tp = {}; in TEST()
426 si.load_perf_history_proto(proto); in TEST()
431 si.update_perf_history(100, stp); in TEST()
433 vector<int> history = si.get_perf_history(); in TEST()
/system/security/keystore/
Dkeystore_attestation_id.cpp242 for (auto si : signature_digests) { in build_attestation_application_id() local
249 if (!ASN1_OCTET_STRING_set(asn1_item.get(), si.data(), si.size())) { in build_attestation_application_id()
/system/core/libbacktrace/
Dbacktrace_read_benchmarks.cpp45 siginfo_t si; in Attach() local
48 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
Dbacktrace_test.cpp138 siginfo_t si; in WaitForStop() local
139 while (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) < 0 && (errno == EINTR || errno == ESRCH)) { in WaitForStop()
/system/core/libcutils/arch-x86_64/
Dandroid_memset16.S69 movzwl %si, %ecx
/system/core/libpixelflinger/
Dscanline.cpp1468 horz_iterator32 si(c); in scanline_t32cb16_dither() local
1473 uint32_t s = si.get_pixel32(); in scanline_t32cb16_dither()
/system/timezone/input_data/android/
Dcountryzones.txt2904 isoCode:"si"