Searched defs:cmd (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnectorException.java37 public NativeDaemonConnectorException(String cmd, NativeDaemonEvent event) { argument
38 super("command '" + cmd + "' failed with '" + event + "'");
39 mCmd = cmd;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp75 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 DSimpleSoftOMXComponent.cpp58 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 DSoftOMXComponent.cpp113 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/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DAdbUtils.java66 String cmd = "dns:" + host;
68 if(!sendAdbCmd(dis, os, cmd))
84 * @param cmd the adb command to send
89 String cmd) throws IOException {
92 cmd = String.format("%04X", cmd.length()) + cmd;
93 os.write(cmd.getBytes());
96 Log.w(LOGTAG, "adb cmd faild.");
116 String cmd
88 sendAdbCmd(InputStream is, OutputStream os, String cmd) argument
[all...]
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp117 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 DIEffect.cpp152 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 DIStreamSource.cpp152 Command cmd, bool synchronous, const sp<AMessage> &msg) {
155 data.writeInt32(static_cast<int32_t>(cmd));
187 Command cmd = static_cast<Command>(data.readInt32()); local
197 issueCommand(cmd, synchronous, msg);
151 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
H A DAudioEffect.cpp386 effect_param_t *cmd = (effect_param_t *)cmdData; local
387 cmd->status = *(int32_t *)replyData;
388 mCbf(EVENT_PARAMETER_CHANGED, mUserData, cmd);
H A DIOMX.cpp120 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) {
124 data.writeInt32(cmd);
486 OMX_COMMANDTYPE cmd = local
490 reply->writeInt32(sendCommand(node, cmd, param));
119 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/
H A DMockRilController.java55 * @param cmd for MsgHeader
61 private boolean sendCtrlCommand(int cmd, long token, int status, MessageMicro pbData) { argument
63 Msg.send(mRilChannel, cmd, token, status, pbData);
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp36 static int doCommand(const char *ifname, const char *cmd, char *replybuf, int replybuflen) argument
40 if (::wifi_command(ifname, cmd, replybuf, &reply_len) != 0)
/frameworks/base/services/common_time/
H A Ddiag_thread.cpp250 uint8_t cmd; local
251 if (read(data_fd_, &cmd, sizeof(cmd)) > 0) {
252 switch(cmd) {
/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp51 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument
56 int length = ioctl(fd, cmd, buffer);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp88 uint32_t cmd = ntohl(*(uint32_t*)cmdBuf); local
90 bool collectFbOnEglSwap = (cmd & READ_FB_ON_EGLSWAP_MASK) != 0;
91 bool collectFbOnGlDraw = (cmd & READ_FB_ON_GLDRAW_MASK) != 0;
92 bool collectTextureData = (cmd & READ_TEXTURE_DATA_ON_GLTEXIMAGE_MASK) != 0;
/frameworks/rs/
H A DrsThreadIO.cpp109 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/support/renderscript/v8/rs_support/
H A DrsThreadIO.cpp109 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/base/media/java/android/media/
H A DAsyncPlayer.java54 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/java/com/android/server/pm/
H A DInstaller.java131 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 DhwcColorEquiv.cpp134 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 DhwcRects.cpp176 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 Dandroid_StreamPlayer.cpp98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { argument
100 mListener->issueCommand(cmd, false /* synchronous */, msg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java74 public CreationAndCompletionThread(Command cmd) { argument
76 mCmd = cmd;
118 private void startSound(Command cmd) { argument
135 mCompletionThread = new CreationAndCompletionThread(cmd);
143 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
149 Log.w(mTag, "error loading sound for " + cmd.uri, e);
160 Command cmd = null;
164 cmd = mCmdQueue.removeFirst();
167 switch (cmd.code) {
170 startSound(cmd);
296 enqueueLocked(Command cmd) argument
[all...]
/frameworks/av/camera/
H A DCamera.cpp322 status_t Camera::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) argument
327 return c->sendCommand(cmd, arg1, arg2);
H A DICamera.cpp236 virtual status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) argument
241 data.writeInt32(cmd);

Completed in 271 milliseconds

123