/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 257 bool signal_has_si_addr(const siginfo_t* si) { argument 259 if (si->si_code == SI_USER || si->si_code == SI_QUEUE || si->si_code == SI_TKILL) { 263 switch (si->si_signo) { 275 bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { argument 276 return SI_FROMUSER(si) && (si->si_pid != 0) && (si->si_pid != caller_pid); 279 void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { argument 280 snprintf(buf, n, " from pid %d, uid %d", si->si_pid, si->si_uid); 283 const char* get_signame(const siginfo_t* si) { argument 284 switch (si->si_signo) { 299 const char* get_sigcode(const siginfo_t* si) { argument [all …]
|
D | tombstone.cpp | 89 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps) { in dump_probable_cause() argument 91 if (si->si_signo == SIGSEGV && si->si_code == SEGV_MAPERR) { in dump_probable_cause() 92 if (si->si_addr < reinterpret_cast<void*>(4096)) { in dump_probable_cause() 94 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0ffc)) { in dump_probable_cause() 96 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fe0)) { in dump_probable_cause() 98 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fc0)) { in dump_probable_cause() 100 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0fa0)) { in dump_probable_cause() 102 } else if (si->si_addr == reinterpret_cast<void*>(0xffff0f60)) { in dump_probable_cause() 105 } else if (si->si_signo == SIGSEGV && si->si_code == SEGV_ACCERR) { in dump_probable_cause() 106 unwindstack::MapInfo* map_info = maps->Find(reinterpret_cast<uint64_t>(si->si_addr)); in dump_probable_cause() [all …]
|
/system/core/libmemunreachable/ |
D | ScopedSignalHandler.h | 53 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()
|
D | HeapWalker.cpp | 189 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, in HandleSegFault() argument 191 uintptr_t addr = reinterpret_cast<uintptr_t>(si->si_addr); in HandleSegFault() 197 MEM_ALOGW("failed to read page at %p, signal %d", si->si_addr, signal); in HandleSegFault() 205 if (!MapOverPage(si->si_addr)) { in HandleSegFault()
|
/system/bt/bta/jv/ |
D | bta_jv_api.cc | 562 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()
|
D | bta_jv_act.cc | 326 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() 437 uint32_t si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_free_set_pm_profile_cb() local 439 si < BTA_JV_MAX_RFC_SR_SESSION && in bta_jv_free_set_pm_profile_cb() 440 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in bta_jv_free_set_pm_profile_cb() 442 bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb() 1567 uint32_t si = 0; in bta_jv_add_rfc_port() local 1591 } else if (si == 0) { in bta_jv_add_rfc_port() 1592 si = i + 1; in bta_jv_add_rfc_port() 1598 << ", si=" << si; in bta_jv_add_rfc_port() [all …]
|
/system/core/libunwindstack/tests/ |
D | TestUtils.h | 40 siginfo_t si; in TestQuiescePid() local 44 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in TestQuiescePid()
|
/system/core/base/ |
D | mapped_file.cpp | 26 SYSTEM_INFO si; in InitPageSize() local 27 GetSystemInfo(&si); in InitPageSize() 28 return si.dwAllocationGranularity; in InitPageSize()
|
/system/core/fastboot/ |
D | fs.cpp | 40 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/tools/ |
D | unwind.cpp | 49 siginfo_t si; in Attach() local 50 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
|
D | unwind_for_offline.cpp | 66 siginfo_t si; in Attach() local 67 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
|
/system/core/libutils/ |
D | FileMap.cpp | 144 SYSTEM_INFO si; in create() local 146 GetSystemInfo( &si ); in create() 147 mPageSize = si.dwAllocationGranularity; in create()
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 361 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/ |
D | keystore_attestation_id.cpp | 241 for (auto si : signature_digests) { in build_attestation_application_id() local 248 if (!ASN1_OCTET_STRING_set(asn1_item.get(), si.data(), si.size())) { in build_attestation_application_id()
|
/system/core/libbacktrace/ |
D | backtrace_read_benchmarks.cpp | 45 siginfo_t si; in Attach() local 48 if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { in Attach()
|
D | backtrace_test.cpp | 138 siginfo_t si; in WaitForStop() local 139 while (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) < 0 && (errno == EINTR || errno == ESRCH)) { in WaitForStop()
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack.py | 131 for si in profile.Extensions[perfprofd_record_pb2.symbol_info]: 132 map = SymbolMap(si.min_vaddr) 133 symbol_maps[si.filename] = map 134 for sym in si.symbols:
|
/system/core/libcutils/arch-x86_64/ |
D | android_memset16.S | 69 movzwl %si, %ecx
|
/system/core/libpixelflinger/ |
D | scanline.cpp | 1468 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/ |
D | countryzones.txt | 2834 isoCode:"si"
|