Lines Matching refs:cmd

117 static const char* getReturnString(uint32_t cmd)  in getReturnString()  argument
119 size_t idx = cmd & 0xff; in getReturnString()
148 const int32_t* cmd = (const int32_t*)_cmd; in printReturnCommand() local
149 uint32_t code = (uint32_t)*cmd++; in printReturnCommand()
152 out << "BR_ERROR: " << (void*)(long)(*cmd++) << endl; in printReturnCommand()
153 return cmd; in printReturnCommand()
156 return cmd; in printReturnCommand()
164 cmd = (const int32_t *)printBinderTransactionData(out, cmd); in printReturnCommand()
169 const int32_t res = *cmd++; in printReturnCommand()
177 const int32_t b = *cmd++; in printReturnCommand()
178 const int32_t c = *cmd++; in printReturnCommand()
183 const int32_t p = *cmd++; in printReturnCommand()
184 const int32_t b = *cmd++; in printReturnCommand()
185 const int32_t c = *cmd++; in printReturnCommand()
192 const int32_t c = *cmd++; in printReturnCommand()
203 return cmd; in printReturnCommand()
209 const int32_t* cmd = (const int32_t*)_cmd; in printCommand() local
210 uint32_t code = (uint32_t)*cmd++; in printCommand()
215 return cmd; in printCommand()
223 cmd = (const int32_t *)printBinderTransactionData(out, cmd); in printCommand()
228 const int32_t res = *cmd++; in printCommand()
233 const int32_t buf = *cmd++; in printCommand()
241 const int32_t d = *cmd++; in printCommand()
247 const int32_t b = *cmd++; in printCommand()
248 const int32_t c = *cmd++; in printCommand()
253 const int32_t p = *cmd++; in printCommand()
254 const int32_t d = *cmd++; in printCommand()
260 const int32_t h = *cmd++; in printCommand()
261 const int32_t c = *cmd++; in printCommand()
266 const int32_t c = *cmd++; in printCommand()
277 return cmd; in printCommand()
494 int32_t cmd; in getAndExecuteCommand() local
500 cmd = mIn.readInt32(); in getAndExecuteCommand()
503 << getReturnString(cmd) << endl; in getAndExecuteCommand()
514 result = executeCommand(cmd); in getAndExecuteCommand()
833 uint32_t cmd; in waitForResponse() local
842 cmd = (uint32_t)mIn.readInt32(); in waitForResponse()
846 << getReturnString(cmd) << endl; in waitForResponse()
849 switch (cmd) { in waitForResponse()
906 err = executeCommand(cmd); in waitForResponse()
1025 status_t IPCThreadState::writeTransactionData(int32_t cmd, uint32_t binderFlags, in writeTransactionData() argument
1055 mOut.writeInt32(cmd); in writeTransactionData()
1068 status_t IPCThreadState::executeCommand(int32_t cmd) in executeCommand() argument
1074 switch ((uint32_t)cmd) { in executeCommand()
1153 if (cmd == (int) BR_TRANSACTION_SEC_CTX) { in executeCommand()
1279 ALOGE("*** BAD COMMAND %d received from Binder driver\n", cmd); in executeCommand()