Home
last modified time | relevance | path

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

12

/system/core/libbacktrace/
DBacktraceCurrent.cpp134 struct sigaction act, oldact; in UnwindThread() local
135 memset(&act, 0, sizeof(act)); in UnwindThread()
136 act.sa_sigaction = SignalHandler; in UnwindThread()
137 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
138 sigemptyset(&act.sa_mask); in UnwindThread()
139 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
163 memset(&act, 0, sizeof(act)); in UnwindThread()
164 act.sa_sigaction = SignalLogOnly; in UnwindThread()
165 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
166 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/
Dinit_parser.cpp96 action* act = node_to_item(node, struct action, alist); in dump_parser_state() local
99 build_triggers_string(name_str, sizeof(name_str), act); in dump_parser_state()
104 list_for_each(node2, &act->commands) { in dump_parser_state()
547 void (*func)(struct action *act)) in action_for_each_trigger() argument
550 struct action *act; in action_for_each_trigger() local
554 act = node_to_item(node, struct action, alist); in action_for_each_trigger()
555 list_for_each(node2, &act->triggers) { in action_for_each_trigger()
558 func(act); in action_for_each_trigger()
568 struct action *act; in queue_property_triggers() local
574 act = node_to_item(node, struct action, alist); in queue_property_triggers()
[all …]
Dsignal_handler.cpp176 struct sigaction act; in signal_handler_init() local
177 memset(&act, 0, sizeof(act)); in signal_handler_init()
178 act.sa_handler = SIGCHLD_handler; in signal_handler_init()
179 act.sa_flags = SA_NOCLDSTOP; in signal_handler_init()
180 sigaction(SIGCHLD, &act, 0); in signal_handler_init()
Dinit_parser.h26 void action_add_queue_tail(struct action *act);
28 void (*func)(struct action *act));
Dinit.cpp543 static struct command *get_first_command(struct action *act) in get_first_command() argument
546 node = list_head(&act->commands); in get_first_command()
547 if (!node || list_empty(&act->commands)) in get_first_command()
553 static struct command *get_next_command(struct action *act, struct command *cmd) in get_next_command() argument
559 if (node == &act->commands) in get_next_command()
565 static int is_last_command(struct action *act, struct command *cmd) in is_last_command() argument
567 return (list_tail(&act->commands) == &cmd->clist); in is_last_command()
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/bt/stack/srvc/
Dsrvc_eng.c220 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
228act = 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()
231act = 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()
235 return act; in srvc_eng_process_read_req()
242 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
247 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
251 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); in srvc_eng_process_write_req()
256 return act; in srvc_eng_process_write_req()
273 UINT8 act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
285 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.c122 UINT8 act = SRVC_ACT_RSP; in dis_read_attr_value() local
191 return act; in dis_read_attr_value()
/system/bt/stack/gatt/
Dgatt_auth.c320 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
331 return act; in gatt_determine_sec_act()
359 act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
365 act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
372 if (act == GATT_SEC_OK) in gatt_determine_sec_act()
388 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
392 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
400 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
406 return act ; in gatt_determine_sec_act()
/system/core/debuggerd/
Ddebuggerd.cpp550 struct sigaction act; in do_server() local
551 act.sa_handler = SIG_DFL; in do_server()
552 sigemptyset(&act.sa_mask); in do_server()
553 sigaddset(&act.sa_mask,SIGCHLD); in do_server()
554 act.sa_flags = SA_NOCLDWAIT; in do_server()
555 sigaction(SIGCHLD, &act, 0); in do_server()
/system/extras/tests/workloads/
Ddefs.sh442 act=$(${ADB}am stack list | grep $(getPackageName $app) | sed -e 's/
444 eval "${app}Activity=$act"
/system/extras/ksmutils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/showslab/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/libpagemap/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/logcat/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/timeinfo/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/tests/cpueater/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/su/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/procmem/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/ext4_utils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/librank/
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/showmap/
DNOTICE182 License. However, in accepting such obligations, You may act only

12