Home
last modified time | relevance | path

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

1234

/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.cpp63 struct sigaction act; in signal_handler_init() local
64 memset(&act, 0, sizeof(act)); in signal_handler_init()
65 act.sa_handler = SIGCHLD_handler; in signal_handler_init()
66 act.sa_flags = SA_NOCLDSTOP; in signal_handler_init()
67 sigaction(SIGCHLD, &act, 0); in signal_handler_init()
Ddevices.cpp918 static bool inline should_stop_coldboot(coldboot_action_t act) in should_stop_coldboot() argument
920 return (act == COLDBOOT_STOP || act == COLDBOOT_FINISH); in should_stop_coldboot()
939 coldboot_action_t act = handle_uevent(&uevent); in handle_device_fd_with() local
940 if (should_stop_coldboot(act)) in handle_device_fd_with()
941 return act; in handle_device_fd_with()
961 coldboot_action_t act = COLDBOOT_CREATE; in handle_device_fd() local
963 act = fn(uevent); in handle_device_fd()
966 if (act == COLDBOOT_CREATE || act == COLDBOOT_STOP) { in handle_device_fd()
971 return act; in handle_device_fd()
990 coldboot_action_t act = COLDBOOT_CONTINUE; in do_coldboot() local
[all …]
/system/core/libbacktrace/
DBacktraceCurrent.cpp156 struct sigaction act, oldact; in UnwindThread() local
157 memset(&act, 0, sizeof(act)); in UnwindThread()
158 act.sa_sigaction = SignalHandler; in UnwindThread()
159 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
160 sigemptyset(&act.sa_mask); in UnwindThread()
161 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
193 memset(&act, 0, sizeof(act)); in UnwindThread()
194 act.sa_sigaction = SignalLogOnly; in UnwindThread()
195 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
196 sigemptyset(&act.sa_mask); in UnwindThread()
[all …]
/system/nfc/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c32 phTmlNfc_TransactInfo_t* act);
66 phTmlNfc_TransactInfo_t* act);
67 static uint8_t st_validator_null(nci_data_t* exp, phTmlNfc_TransactInfo_t* act);
69 phTmlNfc_TransactInfo_t* act);
71 phTmlNfc_TransactInfo_t* act);
73 phTmlNfc_TransactInfo_t* act);
75 nci_data_t* exp, phTmlNfc_TransactInfo_t* act);
77 nci_data_t* exp, phTmlNfc_TransactInfo_t* act);
610 phTmlNfc_TransactInfo_t* act);
625 phTmlNfc_TransactInfo_t* act) { in st_validator_null() argument
[all …]
/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.cc208 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
215 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, in srvc_eng_process_read_req()
219 act = in srvc_eng_process_read_req()
225 return act; in srvc_eng_process_read_req()
233 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
236 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
238 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); in srvc_eng_process_write_req()
242 return act; in srvc_eng_process_write_req()
259 uint8_t act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
271 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, in srvc_eng_s_request_cback()
[all …]
Dsrvc_battery.cc72 uint8_t act = SRVC_ACT_RSP; in battery_s_write_attr_value() local
85 act = SRVC_ACT_PENDING; in battery_s_write_attr_value()
97 return act; in battery_s_write_attr_value()
108 uint8_t act = SRVC_ACT_RSP; in battery_s_read_attr_value() local
128 act = SRVC_ACT_PENDING; in battery_s_read_attr_value()
139 return act; in battery_s_read_attr_value()
Dsrvc_dis.cc132 uint8_t act = SRVC_ACT_RSP; in dis_read_attr_value() local
191 return act; in dis_read_attr_value()
/system/bt/stack/gatt/
Dgatt_auth.cc284 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
294 if (auth_req == GATT_AUTH_REQ_NONE) return act; in gatt_determine_sec_act()
317 if (!is_key_mitm) act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
322 if (!is_link_key_known) act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
330 if (act == GATT_SEC_OK) { in gatt_determine_sec_act()
342 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
344 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
349 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
354 return act; in gatt_determine_sec_act()
/system/nfc/src/nfa/ee/
Dnfa_ee_main.c611 bool act = false; in nfa_ee_evt_hdlr() local
626 act = true; in nfa_ee_evt_hdlr()
631 act = true; in nfa_ee_evt_hdlr()
634 if (p_msg->event == NFA_EE_NCI_CONN_EVT) act = true; in nfa_ee_evt_hdlr()
637 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/nfc/src/nfa/int/
Dnfa_ee_int.h362 tNFA_EE_NCI_ACTION act; member
/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/libpixelflinger/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/memory_replay/
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/extras/micro_bench/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/sound/
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/core/libgrallocusage/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/security/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/procrank/
DNOTICE182 License. However, in accepting such obligations, You may act only

1234