Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 88) sorted by relevance

1234

/system/core/libbacktrace/
DBacktraceCurrent.cpp158 struct sigaction act, oldact; in UnwindThread() local
159 memset(&act, 0, sizeof(act)); in UnwindThread()
160 act.sa_sigaction = SignalHandler; in UnwindThread()
161 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
162 sigemptyset(&act.sa_mask); in UnwindThread()
163 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
195 memset(&act, 0, sizeof(act)); in UnwindThread()
196 act.sa_sigaction = SignalLogOnly; in UnwindThread()
197 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
198 sigemptyset(&act.sa_mask); in UnwindThread()
[all …]
/system/core/libmemunreachable/
DScopedAlarm.h33 struct sigaction act {}; in ScopedAlarm() struct
34 act.sa_handler = [](int) { ScopedAlarm::func_(); }; in ScopedAlarm()
35 sigaction(SIGALRM, &act, &oldact); in ScopedAlarm()
46 struct sigaction act {}; in ~ScopedAlarm() struct
47 act.sa_handler = SIG_DFL; in ~ScopedAlarm()
48 sigaction(SIGALRM, &act, NULL); in ~ScopedAlarm()
DScopedSignalHandler.h55 struct sigaction act {}; in install() struct
56 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
59 act.sa_flags = SA_SIGINFO; in install()
61 int ret = sigaction(signal, &act, &old_act_); in install()
/system/bt/stack/srvc/
Dsrvc_eng.cc206 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
213 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, in srvc_eng_process_read_req()
217 return act; in srvc_eng_process_read_req()
225 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
228 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
232 return act; in srvc_eng_process_write_req()
249 uint8_t act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
262 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, in srvc_eng_s_request_cback()
268 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, in srvc_eng_s_request_cback()
270 if (!p_data->write_req.need_rsp) act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback()
[all …]
Dsrvc_dis.cc120 uint8_t act = SRVC_ACT_RSP; in dis_read_attr_value() local
180 return act; in dis_read_attr_value()
/system/core/libunwindstack/tests/
DLocalUnwinderTest.cpp96 struct sigaction act, oldact; in LocalInnerFunction() local
97 memset(&act, 0, sizeof(act)); in LocalInnerFunction()
98 act.sa_sigaction = SignalLocalCallerHandler; in LocalInnerFunction()
99 act.sa_flags = SA_RESTART | SA_ONSTACK; in LocalInnerFunction()
100 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in LocalInnerFunction()
DUnwindTest.cpp355 struct sigaction act, oldact; in TEST_F() local
356 memset(&act, 0, sizeof(act)); in TEST_F()
357 act.sa_sigaction = SignalHandler; in TEST_F()
358 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in TEST_F()
359 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in TEST_F()
396 struct sigaction act, oldact; in RemoteThroughSignal() local
397 memset(&act, 0, sizeof(act)); in RemoteThroughSignal()
398 act.sa_sigaction = SignalCallerHandler; in RemoteThroughSignal()
399 act.sa_flags = SA_RESTART | SA_ONSTACK | sa_flags; in RemoteThroughSignal()
400 ASSERT_EQ(0, sigaction(signal, &act, &oldact)); in RemoteThroughSignal()
/system/bt/stack/gatt/
Dgatt_auth.cc272 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
282 if (auth_req == GATT_AUTH_REQ_NONE) return act; in gatt_determine_sec_act()
305 if (!is_key_mitm) act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
310 if (!is_link_key_known) act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
318 if (act == GATT_SEC_OK) { in gatt_determine_sec_act()
330 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
332 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
337 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
342 return act; in gatt_determine_sec_act()
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc639 bool act = false; in nfa_ee_evt_hdlr() local
649 act = true; in nfa_ee_evt_hdlr()
654 act = true; in nfa_ee_evt_hdlr()
657 if (p_msg->event == NFA_EE_NCI_CONN_EVT) act = true; in nfa_ee_evt_hdlr()
662 if (act) { in nfa_ee_evt_hdlr()
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp297 struct sigaction act {}; in TEST_F() struct
298 act.sa_handler = [](int) { in TEST_F()
303 sigaction(sig, &act, NULL); in TEST_F()
/system/core/init/
Dinit.cpp527 const struct sigaction act { .sa_handler = SIG_DFL }; in UnblockSignals() struct
528 sigaction(SIGCHLD, &act, nullptr); in UnblockSignals()
543 const struct sigaction act { .sa_handler = SIG_DFL, .sa_flags = SA_NOCLDSTOP }; in InstallSignalFdHandler() struct
544 sigaction(SIGCHLD, &act, nullptr); in InstallSignalFdHandler()
/system/extras/simpleperf/
Denvironment.cpp865 struct sigaction act; in SignalIsIgnored() local
866 if (sigaction(signo, nullptr, &act) != 0) { in SignalIsIgnored()
870 if ((act.sa_flags & SA_SIGINFO)) { in SignalIsIgnored()
874 return act.sa_handler == SIG_IGN; in SignalIsIgnored()
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/tests/workloads/
Ddefs.sh480 eval "${app}Activity=$act"
/system/nfc/src/nfa/include/
Dnfa_ee_int.h421 tNFA_EE_NCI_ACTION act; member
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc1230 { auto act = PurePath{actual}; \
1231 EXPECT_NE(act, act.Parent()); \
/system/sepolicy/tools/fc_sort/
DNOTICE73 covered by this License; they are outside its scope. The act of
87 You may charge a fee for the physical act of transferring a copy, and
/system/core/liblog/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libpixelflinger/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/puncture_fs/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/cpustats/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/mmap-perf/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libcutils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libgrallocusage/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/postinst/
DNOTICE182 License. However, in accepting such obligations, You may act only

1234