Home
last modified time | relevance | path

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

/system/core/debuggerd/test/
Dtombstone_test.cpp79 siginfo_t si; in SetUp() local
80 si.si_signo = SIGABRT; in SetUp()
81 ptrace_set_fake_getsiginfo(si); in SetUp()
294 siginfo_t si; in TEST_F() local
295 si.si_signo = SIGBUS; in TEST_F()
296 si.si_addr = reinterpret_cast<void*>(0x1000); in TEST_F()
297 ptrace_set_fake_getsiginfo(si); in TEST_F()
350 siginfo_t si; in TEST_F() local
351 si.si_signo = SIGBUS; in TEST_F()
352 si.si_addr = reinterpret_cast<void*>(0xa533000); in TEST_F()
[all …]
Dptrace_fake.cpp28 void ptrace_set_fake_getsiginfo(const siginfo_t& si) { in ptrace_set_fake_getsiginfo() argument
29 g_fake_si = si; in ptrace_set_fake_getsiginfo()
47 siginfo_t* si = va_arg(ap, siginfo*); local
49 *si = g_fake_si;
/system/core/libmemunreachable/
DScopedSignalHandler.h43 [=](int signal, siginfo_t* si, void* uctx) { in install()
44 f(*this, signal, si, uctx); in install()
48 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
49 handler_(signal, si, uctx); in install()
DHeapWalker.cpp164 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, void* /*uc… in HandleSegFault() argument
165 uintptr_t addr = reinterpret_cast<uintptr_t>(si->si_addr); in HandleSegFault()
170 ALOGW("failed to read page at %p, signal %d", si->si_addr, signal); in HandleSegFault()
171 if (!MapOverPage(si->si_addr)) { in HandleSegFault()
/system/core/debuggerd/
Dtombstone.cpp180 siginfo_t si; in dump_signal_info() local
181 memset(&si, 0, sizeof(si)); in dump_signal_info()
182 if (ptrace(PTRACE_GETSIGINFO, tid, 0, &si) == -1) { in dump_signal_info()
188 si.si_code = si_code; in dump_signal_info()
192 snprintf(addr_desc, sizeof(addr_desc), "%p", si.si_addr); in dump_signal_info()
198 signal, get_signame(signal), si.si_code, get_sigcode(signal, si.si_code), addr_desc); in dump_signal_info()
362 siginfo_t si; in dump_all_maps() local
363 memset(&si, 0, sizeof(si)); in dump_all_maps()
364 if (ptrace(PTRACE_GETSIGINFO, tid, 0, &si) != -1) { in dump_all_maps()
365 print_fault_address_marker = signal_has_si_addr(si.si_signo); in dump_all_maps()
[all …]
/system/core/init/
Dservice.cpp104 for (const auto& si : sockets_) { in Reap() local
105 std::string tmp = StringPrintf(ANDROID_SOCKET_DIR "/%s", si.name.c_str()); in Reap()
163 for (const auto& si : sockets_) { in DumpState() local
164 INFO(" socket %s %s 0%o\n", si.name.c_str(), si.type.c_str(), si.perm); in DumpState()
398 for (const auto& si : sockets_) { in Start() local
399 int socket_type = ((si.type == "stream" ? SOCK_STREAM : in Start()
400 (si.type == "dgram" ? SOCK_DGRAM : in Start()
403 !si.socketcon.empty() ? si.socketcon.c_str() : scon.c_str(); in Start()
405 int s = create_socket(si.name.c_str(), socket_type, si.perm, in Start()
406 si.uid, si.gid, socketcon); in Start()
[all …]
/system/bt/bta/jv/
Dbta_jv_api.c808 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommClose() local
813 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in BTA_JvRfcommClose()
819 p_msg->p_pcb = &bta_jv_cb.port_cb[p_msg->p_cb->rfc_hdl[si] - 1]; in BTA_JvRfcommClose()
915 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommGetPortHdl() local
918 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommGetPortHdl()
919 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl()
938 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommWrite() local
942 APPL_TRACE_DEBUG( "handle:0x%x, hi:%d, si:%d", handle, hi, si); in BTA_JvRfcommWrite()
944 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in BTA_JvRfcommWrite()
951 p_msg->p_pcb = &bta_jv_cb.port_cb[p_msg->p_cb->rfc_hdl[si] - 1]; in BTA_JvRfcommWrite()
Dbta_jv_act.c355 int si = BTA_JV_RFC_HDL_TO_SIDX(p_pcb->handle); in bta_jv_free_rfc_cb() local
356 if (0 <= si && si < BTA_JV_MAX_RFC_SR_SESSION) in bta_jv_free_rfc_cb()
357 p_cb->rfc_hdl[si] = 0; in bta_jv_free_rfc_cb()
476 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_free_set_pm_profile_cb() local
477 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && si in bta_jv_free_set_pm_profile_cb()
478 < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in bta_jv_free_set_pm_profile_cb()
480 tBTA_JV_PCB *p_pcb = bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb()
1820 UINT32 si = 0; in bta_jv_add_rfc_port() local
1851 else if (si == 0) in bta_jv_add_rfc_port()
1853 si = i + 1; in bta_jv_add_rfc_port()
[all …]
/system/core/libutils/
DFileMap.cpp130 SYSTEM_INFO si; in create() local
132 GetSystemInfo( &si ); in create()
133 mPageSize = si.dwAllocationGranularity; in create()
/system/core/libbacktrace/
Dbacktrace_test.cpp109 siginfo_t si; in WaitForStop() local
110 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.cpp1473 horz_iterator32 si(c); in scanline_t32cb16_dither() local
1478 uint32_t s = si.get_pixel32(); in scanline_t32cb16_dither()
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt13396 country : "si"
13427 country : "si"
13443 country : "si"
13450 apn : "internet.simobil.si"