Lines Matching refs:action
927 * performing an action. The number of parameters required by each action is
928 * fixed and defined in a table. If the return value of an action is positive,
1331 static struct action {
1377 struct action* action = actions;
1383 while (action->code && action->code != code) {
1384 ++action;
1386 if (!action->code) {
1389 if (!(action->perm & user->perms)) {
1392 if (action->state != STATE_ANY && action->state != keyStore->getState()) {
1399 for (i = 0; i < MAX_PARAM && action->lengths[i] != 0; ++i) {
1400 params[i].length = recv_message(sock, params[i].value, action->lengths[i]);
1408 return action->run(keyStore, sock, uid, ¶ms[0], ¶ms[1], ¶ms[2]);
1463 ALOGI("uid: %d action: %c -> %d state: %d -> %d retry: %d",