Searched refs:act (Results 1 - 12 of 12) sorted by relevance

/system/core/toolbox/upstream-netbsd/lib/libutil/
H A Draise_default_signal.c66 struct sigaction origact, act; local
74 (void)memset(&act, 0, sizeof(act));
75 act.sa_handler = SIG_DFL;
76 act.sa_flags = 0;
77 if ((sigemptyset(&act.sa_mask) == -1) ||
89 if (sigaction(sig, &act, &origact) == -1)
/system/core/init/
H A Dinit_parser.h26 void action_add_queue_tail(struct action *act);
28 void (*func)(struct action *act));
H A Dinit_parser.cpp96 action* act = node_to_item(node, struct action, alist); local
99 build_triggers_string(name_str, sizeof(name_str), act);
104 list_for_each(node2, &act->commands) {
546 void (*func)(struct action *act))
549 struct action *act; local
553 act = node_to_item(node, struct action, alist);
554 list_for_each(node2, &act->triggers) {
557 func(act);
567 struct action *act; local
573 act
545 action_for_each_trigger(const char *trigger, void (*func)(struct action *act)) argument
625 action* act = (action*) calloc(1, sizeof(*act)); local
643 action_add_queue_tail(struct action *act) argument
656 struct action *act = node_to_item(node, struct action, qlist); local
955 action* act = (action*) calloc(1, sizeof(*act)); local
987 struct action *act = (action*) state->context; local
[all...]
H A Dsignal_handler.cpp176 struct sigaction act; local
177 memset(&act, 0, sizeof(act));
178 act.sa_handler = SIGCHLD_handler;
179 act.sa_flags = SA_NOCLDSTOP;
180 sigaction(SIGCHLD, &act, 0);
H A Dinit.cpp543 static struct command *get_first_command(struct action *act) argument
546 node = list_head(&act->commands);
547 if (!node || list_empty(&act->commands))
553 static struct command *get_next_command(struct action *act, struct command *cmd) argument
559 if (node == &act->commands)
565 static int is_last_command(struct action *act, struct command *cmd) argument
567 return (list_tail(&act->commands) == &cmd->clist);
/system/core/libbacktrace/
H A DBacktraceCurrent.cpp130 struct sigaction act, oldact; local
131 memset(&act, 0, sizeof(act));
132 act.sa_sigaction = SignalHandler;
133 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK;
134 sigemptyset(&act.sa_mask);
135 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) {
/system/bt/stack/srvc/
H A Dsrvc_eng.c220 UINT8 act = SRVC_ACT_RSP; local
228 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
231 act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
235 return act;
242 UINT8 act = SRVC_ACT_RSP; local
247 act = dis_write_attr_value(p_data, p_status);
251 act = battery_s_write_attr_value(clcb_idx, p_data, p_status);
256 return act;
273 UINT8 act = SRVC_ACT_IGNORE; local
285 act
[all...]
H A Dsrvc_battery.c78 UINT8 act = SRVC_ACT_RSP; local
94 act = SRVC_ACT_PENDING;
107 return act;
117 UINT8 act = SRVC_ACT_RSP; local
140 act = SRVC_ACT_PENDING;
153 return act;
H A Dsrvc_dis.c122 UINT8 act = SRVC_ACT_RSP; local
191 return act;
/system/bt/stack/gatt/
H A Dgatt_auth.c315 tGATT_SEC_ACTION act = GATT_SEC_OK; local
326 return act;
354 act = GATT_SEC_ENCRYPT_MITM;
360 act = GATT_SEC_ENCRYPT_NO_MITM;
367 if (act == GATT_SEC_OK)
383 act = GATT_SEC_SIGN_DATA;
387 act = GATT_SEC_ENCRYPT;
395 act = GATT_SEC_ENCRYPT;
401 return act ;
/system/core/debuggerd/
H A Ddebuggerd.cpp529 struct sigaction act; local
530 act.sa_handler = SIG_DFL;
531 sigemptyset(&act.sa_mask);
532 sigaddset(&act.sa_mask,SIGCHLD);
533 act.sa_flags = SA_NOCLDWAIT;
534 sigaction(SIGCHLD, &act, 0);
/system/extras/tests/workloads/
H A Ddefs.sh442 act=$(${ADB}am stack list | grep $(getPackageName $app) | sed -e 's/ //' | head -1 | awk '{ print $2; }')
444 eval "${app}Activity=$act"

Completed in 112 milliseconds