Searched refs:action (Results 1 - 25 of 44) sorted by relevance

12

/system/core/init/
H A Dinit_parser.h22 struct action;
24 struct action *action_remove_queue_head(void);
25 void action_add_queue_tail(struct action *act);
27 void (*func)(struct action *act));
H A Dinit.h28 /* list of commands in an action */
36 struct action { struct
98 struct action onrestart; /* Actions to execute on restart. */
H A Dinit_parser.c321 void (*func)(struct action *act))
324 struct action *act;
326 act = node_to_item(node, struct action, alist);
336 struct action *act;
338 act = node_to_item(node, struct action, alist);
355 struct action *act;
357 act = node_to_item(node, struct action, alist);
386 struct action *act;
402 void action_add_queue_tail(struct action *act)
407 struct action *action_remove_queue_hea
[all...]
H A Dparser.c15 struct action *act;
37 act = node_to_item(node, struct action, alist);
H A Ddevices.c48 const char *action; member in struct:uevent
234 uevent->action = "";
247 uevent->action = msg;
277 uevent->action, uevent->path, uevent->subsystem,
353 if (!strcmp(uevent->action,"add"))
432 if(!strcmp(uevent->action, "add")) {
440 if(!strcmp(uevent->action, "remove")) {
574 if(strcmp(uevent->action, "add"))
H A Dinit.c71 static struct action *cur_action = NULL;
463 static struct command *get_first_command(struct action *act)
473 static struct command *get_next_command(struct action *act, struct command *cmd)
485 static int is_last_command(struct action *act, struct command *cmd)
499 INFO("processing action %p (%s)\n", cur_action, cur_action->name);
/system/core/sh/
H A Dtrap.c134 char *action; local
150 action = NULL;
168 action = *ap++;
181 if (action)
182 action = savestr(action);
187 trap[signo] = action;
234 int action; local
240 action = S_DFL;
242 action
[all...]
H A Derror.c285 short action; /* operation which encountered the error */ member in struct:errname
355 errmsg(int e, int action) argument
361 if (ep->errcode == e && (ep->action & action) != 0)
/system/netd/
H A DNetlinkHandler.cpp53 int action = evt->getAction(); local
54 if (action == evt->NlActionAdd) {
57 } else if (action == evt->NlActionRemove) {
60 } else if (action == evt->NlActionChange) {
/system/vold/
H A DProcess.h22 static void killProcessesWithOpenFiles(const char *path, int action);
H A DVolume.cpp451 int action = 0; local
455 action = 2; // SIGKILL
457 action = 1; // SIGHUP
460 SLOGW("Failed to move %s -> %s (%s, retries %d, action %d)",
461 src, dst, strerror(errno), retries, action);
462 Process::killProcessesWithOpenFiles(src, action);
484 int action = 0; local
488 action = 2; // SIGKILL
490 action = 1; // SIGHUP
494 SLOGW("Failed to unmount %s (%s, retries %d, action
[all...]
H A DDirectVolume.cpp91 int action = evt->getAction(); local
94 if (action == NetlinkEvent::NlActionAdd) {
111 } else if (action == NetlinkEvent::NlActionRemove) {
117 } else if (action == NetlinkEvent::NlActionChange) {
H A DProcess.cpp175 * action = 0 to just warn,
176 * action = 1 to SIGHUP,
177 * action = 2 to SIGKILL
180 void Process::killProcessesWithOpenFiles(const char *path, int action) { argument
213 if (action == 1) {
216 } else if (action == 2) {
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/QOS/Inc/
H A DtrafficAdmControl.h129 TI_STATUS trafficAdmCtrl_recv(TI_HANDLE hTrafficAdmCtrl, UINT8* pData, UINT8 action);
H A DqosMngr_API.h142 TI_STATUS QosMngr_receiveActionFrames(TI_HANDLE hQosMngr, UINT8* pData, UINT8 action, UINT32 bodyLen);
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
H A DtrafficAdmControl.h132 TI_STATUS trafficAdmCtrl_recv(TI_HANDLE hTrafficAdmCtrl, TI_UINT8* pData, TI_UINT8 action);
H A DmlmeParser.c738 /* if the action frame is unicast and not directed to our STA, we should ignore it */
743 pHandle->tempFrameInfo.frame.content.action.category = *pData;
748 if(( pHandle->tempFrameInfo.frame.content.action.category != CATAGORY_SPECTRUM_MANAGEMENT) &&
749 (pHandle->tempFrameInfo.frame.content.action.category != CATAGORY_QOS) &&
750 (pHandle->tempFrameInfo.frame.content.action.category != WME_CATAGORY_QOS) )
752 TRACE1(pHandle->hReport, REPORT_SEVERITY_ERROR, "MLME_PARSER: Error category is invalid for action management frame %d \n", pHandle->tempFrameInfo.frame.content.action.category );
756 switch(pHandle->tempFrameInfo.frame.content.action.category)
760 /* read action field */
761 pHandle->tempFrameInfo.frame.content.action
[all...]
H A DqosMngr_API.h136 TI_STATUS QosMngr_receiveActionFrames(TI_HANDLE hQosMngr, TI_UINT8* pData, TI_UINT8 action, TI_UINT32 bodyLen);
H A DmlmeApi.h178 TI_UINT8 action; member in struct:__anon1889
193 action_t action; member in union:__anon1890::__anon1891
/system/media/opensles/tests/sandbox/
H A Dmonkey.c199 #define _(entryState, action, probability) {entryState, action, probability, #action, 0},
296 printf("state %d action %s count %u\n",
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/AirLink/Measurement/dot11h/
H A DspectrumMngmntMgr.c303 measurementReport.actionField.action = MEASUREMENT_REPORT;
381 measurementReport.actionField.action = MEASUREMENT_REPORT;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/
H A DmlmeParser.c739 /* if the action frame is unicast and not directed to our STA, we should ignore it */
746 pHandle->tempFrameInfo.frame.content.action.category = *pData;
751 if(( pHandle->tempFrameInfo.frame.content.action.category != CATAGORY_SPECTRUM_MANAGEMENT) &&
752 (pHandle->tempFrameInfo.frame.content.action.category != CATAGORY_QOS) &&
753 (pHandle->tempFrameInfo.frame.content.action.category != WME_CATAGORY_QOS) )
756 ("MLME_PARSER: Error category is invalid for action management frame %d \n",
757 pHandle->tempFrameInfo.frame.content.action.category ));
761 switch(pHandle->tempFrameInfo.frame.content.action.category)
765 /* read action field */
766 pHandle->tempFrameInfo.frame.content.action
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/
H A DmlmeApi.h93 action_t action; member in union:__anon712::__anon713
/system/wlan/ti/wilink_6_1/TWD/Ctrl/
H A DCmdBldCmdIE.c359 TI_UINT32 action,
387 pCmd->action = ENDIAN_HANDLE_WORD((TI_UINT16)action);
411 TRACE7(pCmdBld->hReport, REPORT_SEVERITY_INFORMATION, "Action=%x,keySize=0x%x,type=%x, id=%x, ssidProfile=%x, AcSeqNum16[0]=%x, AcSeqNum32[0]=%x\n", pCmd->action,pCmd->keySize, pCmd->type,pCmd->id,pCmd->ssidProfile,pCmd->AcSeqNum16[0],pCmd->AcSeqNum32[0] );
358 cmdBld_CmdIeSetKey(TI_HANDLE hCmdBld, TI_UINT32 action, TI_UINT8 *pMacAddr, TI_UINT32 uKeySize, TI_UINT32 uKeyType, TI_UINT32 uKeyId, TI_UINT8 *pKey, TI_UINT32 uSecuritySeqNumLow, TI_UINT32 uSecuritySeqNumHigh, void *fCb, TI_HANDLE hCb) argument
/system/core/adb/
H A Dtransport.c494 int action; member in struct:tmsg
559 if(m.action == 0){
655 m.action = 1;
666 m.action = 0;

Completed in 365 milliseconds

12