/frameworks/base/services/java/com/android/server/ |
H A D | NativeDaemonConnectorException.java | 37 public NativeDaemonConnectorException(String cmd, NativeDaemonEvent event) { argument 38 super("command '" + cmd + "' failed with '" + event + "'"); 39 mCmd = cmd;
|
H A D | NativeDaemonConnector.java | 237 String cmd, Object... args) { 238 if (cmd.indexOf('\0') >= 0) { 239 throw new IllegalArgumentException("Unexpected command: " + cmd); 241 if (cmd.indexOf(' ') >= 0) { 245 rawBuilder.append(sequenceNumber).append(' ').append(cmd); 246 logBuilder.append(sequenceNumber).append(' ').append(cmd); 276 public NativeDaemonEvent execute(Command cmd) throws NativeDaemonConnectorException { argument 277 return execute(cmd.mCmd, cmd.mArguments.toArray()); 290 public NativeDaemonEvent execute(String cmd, Objec argument 236 makeCommand(StringBuilder rawBuilder, StringBuilder logBuilder, int sequenceNumber, String cmd, Object... args) argument 310 executeForList(Command cmd) argument 325 executeForList(String cmd, Object... args) argument 342 execute(int timeout, String cmd, Object... args) argument 451 Command(String cmd, Object... args) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 75 Command cmd, bool synchronous, const sp<AMessage> &extra) { 80 entry.mCommand = cmd; 74 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &extra) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 58 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) { 62 msg->setInt32("cmd", cmd); 341 int32_t cmd, param; 342 CHECK(msg->findInt32("cmd", &cmd)); 345 onSendCommand((OMX_COMMANDTYPE)cmd, (OMX_U32)param); 393 OMX_COMMANDTYPE cmd, OMX_U32 param) { 394 switch (cmd) { 404 onPortEnable(param, cmd 57 sendCommand( OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument [all...] |
H A D | SoftOMXComponent.cpp | 113 OMX_COMMANDTYPE cmd, 120 return me->sendCommand(cmd, param, data); 260 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) { 111 SendCommandWrapper( OMX_HANDLETYPE component, OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument 259 sendCommand( OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument
|
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 117 char *cmd = NULL; local 119 cmd = (char *)malloc(cmdSize); 120 data.read(cmd, cmdSize); 128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); 129 if (cmd) { 130 free(cmd);
|
H A D | IEffect.cpp | 152 char *cmd = NULL; local 154 cmd = (char *)malloc(cmdSize); 155 data.read(cmd, cmdSize); 163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); 172 if (cmd) { 173 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
|
H A D | AudioEffect.cpp | 393 effect_param_t *cmd = (effect_param_t *)cmdData; local 394 cmd->status = *(int32_t *)replyData; 395 mCbf(EVENT_PARAMETER_CHANGED, mUserData, cmd);
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 54 private void startSound(Command cmd) { argument 61 player.setAudioStreamType(cmd.stream); 62 player.setDataSource(cmd.context, cmd.uri); 63 player.setLooping(cmd.looping); 70 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 76 Log.w(mTag, "error loading sound for " + cmd.uri, e); 87 Command cmd = null; 91 cmd = mCmdQueue.removeFirst(); 94 switch (cmd 197 enqueueLocked(Command cmd) argument [all...] |
/frameworks/base/services/common_time/ |
H A D | diag_thread.cpp | 250 uint8_t cmd; local 251 if (read(data_fd_, &cmd, sizeof(cmd)) > 0) { 252 switch(cmd) {
|
/frameworks/base/services/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 52 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument 57 int length = ioctl(fd, cmd, buffer);
|
/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/rs/ |
H A D | rsThreadIO.cpp | 109 const CoreCmdHeader *cmd = (const CoreCmdHeader *)&buf[0]; local 139 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes); 145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); 153 //ALOGV("playCoreCommands 3 %i %i", cmd->cmdID, cmd->bytes); 155 if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { 156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); 157 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd [all...] |
/frameworks/av/camera/ |
H A D | Camera.cpp | 233 status_t Camera::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) argument 238 return c->sendCommand(cmd, arg1, arg2);
|
H A D | ICamera.cpp | 238 virtual status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) argument 243 data.writeInt32(cmd);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 69 public CreationAndCompletionThread(Command cmd) { argument 71 mCmd = cmd; 127 private void startSound(Command cmd) { argument 144 mCompletionThread = new CreationAndCompletionThread(cmd); 152 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 158 Log.w(mTag, "error loading sound for " + cmd.uri, e); 169 Command cmd = null; 173 cmd = mCmdQueue.removeFirst(); 176 switch (cmd.code) { 179 startSound(cmd); 316 enqueueLocked(Command cmd) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Installer.java | 131 byte[] cmd = _cmd.getBytes(); 132 int len = cmd.length; 139 mOut.write(cmd, 0, len); 148 private synchronized String transaction(String cmd) { argument 154 if (!writeCommand(cmd)) { 161 if (!connect() || !writeCommand(cmd)) { 166 Slog.i(TAG, "send: '" + cmd + "'"); 182 private int execute(String cmd) { argument 183 String res = transaction(cmd);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 134 void printSyntax(const char *cmd); 171 char cmd[MAXCMD]; local 282 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 283 if (rv >= (signed) sizeof(cmd) - 1) { 287 testExecCmd(cmd); 403 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 404 if (rv >= (signed) sizeof(cmd) - 1) { 408 testExecCmd(cmd); 425 printSyntax(const char *cmd) argument [all...] |
H A D | hwcRects.cpp | 176 void printSyntax(const char *cmd); 210 char cmd[MAXCMD]; local 239 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 240 if (rv >= (signed) sizeof(cmd) - 1) { 244 testExecCmd(cmd); 351 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 352 if (rv >= (signed) sizeof(cmd) - 1) { 356 testExecCmd(cmd); 544 printSyntax(const char *cmd) argument [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_StreamPlayer.cpp | 98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { argument 100 mListener->issueCommand(cmd, false /* synchronous */, msg);
|
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 48 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 237 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { 238 return getOMX(node)->sendCommand(node, cmd, param); 236 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 162 protected static String cmdToString(int cmd) { argument 163 cmd -= BASE; 164 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 165 return sCmdToString[cmd];
|
/frameworks/native/cmds/installd/ |
H A D | installd.c | 192 static int execute(int s, char cmd[BUFFER_MAX]) argument 201 // ALOGI("execute('%s')\n", cmd); 207 arg[0] = cmd; 208 while (*cmd) { 209 if (isspace(*cmd)) { 210 *cmd++ = 0; 212 arg[n] = cmd; 218 cmd++; 236 n = snprintf(cmd, BUFFER_MAX, "%d %s", ret, reply); 238 n = snprintf(cmd, BUFFER_MA [all...] |
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 631 static void show_help(const char *cmd) argument 633 fprintf(stderr,"Usage: %s COMMAND [options] [backup-file-path]\n", cmd); 654 cmd);
|