/system/core/toolbox/upstream-netbsd/lib/libutil/ |
H A D | raise_default_signal.c | 66 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 D | init_parser.h | 26 void action_add_queue_tail(struct action *act); 28 void (*func)(struct action *act));
|
H A D | init_parser.cpp | 96 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 D | signal_handler.cpp | 176 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 D | init.cpp | 543 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 D | BacktraceCurrent.cpp | 130 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 D | srvc_eng.c | 220 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 D | srvc_battery.c | 78 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 D | srvc_dis.c | 122 UINT8 act = SRVC_ACT_RSP; local 191 return act;
|
/system/bt/stack/gatt/ |
H A D | gatt_auth.c | 315 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 D | debuggerd.cpp | 529 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 D | defs.sh | 442 act=$(${ADB}am stack list | grep $(getPackageName $app) | sed -e 's/
//' | head -1 | awk '{ print $2; }') 444 eval "${app}Activity=$act"
|