Home
last modified time | relevance | path

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

1234

/system/core/libbacktrace/
DBacktraceCurrent.cpp136 struct sigaction act, oldact; in UnwindThread() local
137 memset(&act, 0, sizeof(act)); in UnwindThread()
138 act.sa_sigaction = SignalHandler; in UnwindThread()
139 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
140 sigemptyset(&act.sa_mask); in UnwindThread()
141 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
173 memset(&act, 0, sizeof(act)); in UnwindThread()
174 act.sa_sigaction = SignalLogOnly; in UnwindThread()
175 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
176 sigemptyset(&act.sa_mask); in UnwindThread()
[all …]
/system/core/toolbox/upstream-netbsd/lib/libutil/
Draise_default_signal.c66 struct sigaction origact, act; in raise_default_signal() local
74 (void)memset(&act, 0, sizeof(act)); in raise_default_signal()
75 act.sa_handler = SIG_DFL; in raise_default_signal()
76 act.sa_flags = 0; in raise_default_signal()
77 if ((sigemptyset(&act.sa_mask) == -1) || in raise_default_signal()
89 if (sigaction(sig, &act, &origact) == -1) in raise_default_signal()
/system/core/init/
Dsignal_handler.cpp66 struct sigaction act; in signal_handler_init() local
67 memset(&act, 0, sizeof(act)); in signal_handler_init()
68 act.sa_handler = SIGCHLD_handler; in signal_handler_init()
69 act.sa_flags = SA_NOCLDSTOP; in signal_handler_init()
70 sigaction(SIGCHLD, &act, 0); in signal_handler_init()
/system/core/libmemunreachable/
DScopedAlarm.h31 struct sigaction act{}; in ScopedAlarm() struct
32 act.sa_handler = [](int) { 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.h47 struct sigaction act{}; in install() struct
48 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
51 act.sa_flags = SA_SIGINFO; in install()
53 int ret = sigaction(signal, &act, &old_act_); in install()
/system/bt/stack/srvc/
Dsrvc_eng.c218 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
226act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status); in srvc_eng_process_read_req()
229act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_s… in srvc_eng_process_read_req()
233 return act; in srvc_eng_process_read_req()
240 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
245 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
249 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); in srvc_eng_process_write_req()
254 return act; in srvc_eng_process_write_req()
271 UINT8 act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
283 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, &status); in srvc_eng_s_request_cback()
[all …]
Dsrvc_battery.c78 UINT8 act = SRVC_ACT_RSP; in battery_s_write_attr_value() local
94 act = SRVC_ACT_PENDING; in battery_s_write_attr_value()
107 return act; in battery_s_write_attr_value()
117 UINT8 act = SRVC_ACT_RSP; in battery_s_read_attr_value() local
140 act = SRVC_ACT_PENDING; in battery_s_read_attr_value()
153 return act; in battery_s_read_attr_value()
Dsrvc_dis.c120 UINT8 act = SRVC_ACT_RSP; in dis_read_attr_value() local
188 return act; in dis_read_attr_value()
/system/bt/stack/gatt/
Dgatt_auth.c316 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
327 return act; in gatt_determine_sec_act()
355 act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
361 act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
368 if (act == GATT_SEC_OK) in gatt_determine_sec_act()
384 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
388 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
396 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
402 return act ; in gatt_determine_sec_act()
/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/extras/tests/workloads/
Ddefs.sh480 eval "${app}Activity=$act"
/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/libnetutils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/memcpy-perf/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/run-as/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/tpm/attestation/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/memtrack/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/simpleperf/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/verity/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/micro_bench/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/adb/
DNOTICE183 License. However, in accepting such obligations, You may act only
/system/extras/latencytop/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/debuggerd/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/sane_schedstat/
DNOTICE182 License. However, in accepting such obligations, You may act only

1234