/frameworks/base/services/core/java/com/android/server/ |
H A D | NativeDaemonConnector.java | 277 String cmd, Object... args) { 278 if (cmd.indexOf('\0') >= 0) { 279 throw new IllegalArgumentException("Unexpected command: " + cmd); 281 if (cmd.indexOf(' ') >= 0) { 285 rawBuilder.append(sequenceNumber).append(' ').append(cmd); 286 logBuilder.append(sequenceNumber).append(' ').append(cmd); 316 public NativeDaemonEvent execute(Command cmd) throws NativeDaemonConnectorException { argument 317 return execute(cmd.mCmd, cmd.mArguments.toArray()); 330 public NativeDaemonEvent execute(String cmd, Objec argument 276 makeCommand(StringBuilder rawBuilder, StringBuilder logBuilder, int sequenceNumber, String cmd, Object... args) argument 350 executeForList(Command cmd) argument 365 executeForList(String cmd, Object... args) argument 382 execute(int timeout, String cmd, Object... args) argument 491 Command(String cmd, Object... args) argument [all...] |
H A D | NetworkManagementService.java | 869 final Command cmd = new Command("interface", "setcfg", iface, 873 cmd.appendArg(flag); 877 mConnector.execute(cmd); 966 final Command cmd = new Command("network", "route", action, netId); 969 cmd.appendArg(route.getInterface()); 970 cmd.appendArg(route.getDestination().toString()); 975 cmd.appendArg(route.getGateway().getHostAddress()); 979 cmd.appendArg("unreachable"); 982 cmd.appendArg("throw"); 987 mConnector.execute(cmd); [all...] |
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 159 const int32_t* cmd = (const int32_t*)_cmd; local 160 int32_t code = *cmd++; 163 out << "BR_ERROR: " << (void*)(*cmd++) << endl; 164 return cmd; 167 return cmd; 175 cmd = (const int32_t *)printBinderTransactionData(out, cmd); 180 const int32_t res = *cmd++; 188 const int32_t b = *cmd++; 189 const int32_t c = *cmd 220 const int32_t* cmd = (const int32_t*)_cmd; local 423 int32_t cmd; local 711 int32_t cmd; local 901 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument 944 executeCommand(int32_t cmd) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileBridge.java | 98 final int cmd = Memory.peekInt(temp, 0, ByteOrder.BIG_ENDIAN); 99 if (cmd == CMD_WRITE) { 112 } else if (cmd == CMD_FSYNC) { 117 } else if (cmd == CMD_CLOSE) { 163 private void writeCommandAndBlock(int cmd, String cmdString) throws IOException { argument 164 Memory.pokeInt(mTemp, 0, cmd, ByteOrder.BIG_ENDIAN); 169 if (Memory.peekInt(mTemp, 0, ByteOrder.BIG_ENDIAN) == cmd) {
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SystemAudioAction.java | 140 final boolean processCommand(HdmiCecMessage cmd) { argument 141 if (cmd.getSource() != mAvrLogicalAddress) { 146 if (cmd.getOpcode() == Constants.MESSAGE_FEATURE_ABORT 147 && (cmd.getParams()[0] & 0xFF) 154 if (cmd.getOpcode() != Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE 155 || !HdmiUtils.checkCommandSource(cmd, mAvrLogicalAddress, TAG)) { 158 boolean receivedStatus = HdmiUtils.parseCommandParamSystemAudioStatus(cmd);
|
H A D | DeviceSelectAction.java | 110 public boolean processCommand(HdmiCecMessage cmd) { argument 111 if (cmd.getSource() != getTargetAddress()) { 114 int opcode = cmd.getOpcode(); 115 byte[] params = cmd.getParams();
|
H A D | HdmiCecFeatureAction.java | 87 * @param cmd command to process 90 abstract boolean processCommand(HdmiCecMessage cmd); argument 169 protected final void sendCommand(HdmiCecMessage cmd) { argument 170 mService.sendCecCommand(cmd); 173 protected final void sendCommand(HdmiCecMessage cmd, argument 175 mService.sendCecCommand(cmd, callback);
|
H A D | HdmiUtils.java | 130 * @param cmd the CEC message to check 135 static boolean checkCommandSource(HdmiCecMessage cmd, int expectedAddress, String tag) { argument 136 int src = cmd.getSource(); 147 * @param cmd the CEC message to parse 150 static boolean parseCommandParamSystemAudioStatus(HdmiCecMessage cmd) { argument 151 return cmd.getParams()[0] == Constants.SYSTEM_AUDIO_STATUS_ON;
|
H A D | NewDeviceAction.java | 94 public boolean processCommand(HdmiCecMessage cmd) { argument 99 int opcode = cmd.getOpcode(); 100 int src = cmd.getSource(); 101 byte[] params = cmd.getParams();
|
H A D | RoutingControlAction.java | 95 public boolean processCommand(HdmiCecMessage cmd) { argument 96 int opcode = cmd.getOpcode(); 97 byte[] params = cmd.getParams(); 114 handleReportPowerStatus(cmd.getParams()[0]);
|
/frameworks/av/media/libmedia/ |
H A D | IEffect.cpp | 155 char *cmd = NULL; local 157 cmd = (char *)malloc(cmdSize); 158 data.read(cmd, cmdSize); 166 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); 175 if (cmd) { 176 free(cmd);
|
H A D | IStreamSource.cpp | 155 Command cmd, bool synchronous, const sp<AMessage> &msg) { 158 data.writeInt32(static_cast<int32_t>(cmd)); 190 Command cmd = static_cast<Command>(data.readInt32()); local 200 issueCommand(cmd, synchronous, msg); 154 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcSwitchAsyncChannel.java | 84 protected static String cmdToString(int cmd) { argument 85 cmd -= BASE; 86 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 87 return sCmdToString[cmd]; 89 return AsyncChannel.cmdToString(cmd + BASE);
|
H A D | DcAsyncChannel.java | 83 // Convert cmd to string or null if unknown 84 protected static String cmdToString(int cmd) { argument 85 cmd -= BASE; 86 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 87 return sCmdToString[cmd]; 89 return AsyncChannel.cmdToString(cmd + BASE);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 133 void printSyntax(const char *cmd); 170 char cmd[MAXCMD]; local 281 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 282 if (rv >= (signed) sizeof(cmd) - 1) { 286 testExecCmd(cmd); 402 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 403 if (rv >= (signed) sizeof(cmd) - 1) { 407 testExecCmd(cmd); 424 printSyntax(const char *cmd) argument [all...] |
H A D | hwcRects.cpp | 175 void printSyntax(const char *cmd); 209 char cmd[MAXCMD]; local 238 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 239 if (rv >= (signed) sizeof(cmd) - 1) { 243 testExecCmd(cmd); 350 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 351 if (rv >= (signed) sizeof(cmd) - 1) { 355 testExecCmd(cmd); 543 printSyntax(const char *cmd) argument [all...] |
H A D | hwcStress.cpp | 244 char cmd[MAXCMD]; local 375 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 376 if (rv >= (signed) sizeof(cmd) - 1) { 380 testExecCmd(cmd); 515 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 516 if (rv >= (signed) sizeof(cmd) - 1) { 520 testExecCmd(cmd);
|
/frameworks/webview/chromium/tools/ |
H A D | merge_common.py | 98 def __init__(self, returncode, cmd, cwd, stdout, stderr): 101 self.cmd = cmd 109 (self.cmd, self.returncode, self.cwd, self.stdout, self.stderr))
|
/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 61 const char *cmd_name(uint32_t cmd) argument 63 switch(cmd) { 208 uint32_t cmd = *(uint32_t *) ptr; local 211 fprintf(stderr,"%s:\n", cmd_name(cmd)); 213 switch(cmd) { 278 ALOGE("parse: OOPS %d\n", cmd); 288 uint32_t cmd[2]; local 289 cmd[0] = BC_ACQUIRE; 290 cmd[1] = target; 291 binder_write(bs, cmd, sizeo 296 uint32_t cmd[2]; local 305 uint32_t cmd; member in struct:__anon1173 322 uint32_t cmd; member in struct:__anon1174 453 uint32_t cmd; member in struct:__anon1175 [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.h | 37 Command cmd, bool synchronous, const sp<AMessage> &extra);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_eglapi.cpp | 91 uint32_t cmd = ntohl(*(uint32_t*)cmdBuf); local 93 bool collectFbOnEglSwap = (cmd & READ_FB_ON_EGLSWAP_MASK) != 0; 94 bool collectFbOnGlDraw = (cmd & READ_FB_ON_GLDRAW_MASK) != 0; 95 bool collectTextureData = (cmd & READ_TEXTURE_DATA_ON_GLTEXIMAGE_MASK) != 0;
|
/frameworks/base/media/mca/ |
H A D | structgen.py | 205 cmd = linecomps[0] 206 if cmd == "@name": 213 elif cmd == "@package": 216 elif cmd == "@libname": 219 elif cmd == "@structname": 222 elif cmd == "@javaclassname": 225 elif cmd == "@field": 238 raise ParseError(lineno, "Unknown command: '%s'!" % cmd)
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 429 def genCmd(self, cmd, name): 440 # makeCDecls(cmd) - return C prototype and function pointer typedef for a 442 # cmd - Element for the <command> 466 # cmd - Element containing a <command> tag 467 def makeCDecls(self, cmd): 469 proto = cmd.find('proto') 470 params = cmd.findall('param') 707 # dictionary - self.{type|group|enum|cmd|api|ext}dict 725 # dictionary - self.{type|enum|cmd}dict 780 for cmd i [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | SimpleSoftOMXComponent.h | 104 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data); 137 void onSendCommand(OMX_COMMANDTYPE cmd, OMX_U32 param);
|
/frameworks/av/include/media/ |
H A D | IStreamSource.h | 85 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
|