Searched refs:cmd (Results 26 - 50 of 98) sorted by relevance

1234

/frameworks/base/cmds/installd/
H A Dinstalld.c198 static int execute(int s, char cmd[BUFFER_MAX]) argument
207 // ALOGI("execute('%s')\n", cmd);
213 arg[0] = cmd;
214 while (*cmd) {
215 if (isspace(*cmd)) {
216 *cmd++ = 0;
218 arg[n] = cmd;
224 cmd++;
242 n = snprintf(cmd, BUFFER_MAX, "%d %s", ret, reply);
244 n = snprintf(cmd, BUFFER_MA
[all...]
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java535 final Command cmd = new Command("interface", "setcfg", iface,
539 cmd.appendArg(flag);
543 mConnector.execute(cmd);
633 final Command cmd = new Command("interface", "route", action, interfaceName, type);
637 cmd.appendArg(la.getAddress().getHostAddress());
638 cmd.appendArg(la.getNetworkPrefixLength());
642 cmd.appendArg("0.0.0.0");
644 cmd.appendArg("::0");
647 cmd.appendArg(route.getGateway().getHostAddress());
651 mConnector.execute(cmd);
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp245 char cmd[MAXCMD]; local
376 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK);
377 if (rv >= (signed) sizeof(cmd) - 1) {
381 testExecCmd(cmd);
516 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK);
517 if (rv >= (signed) sizeof(cmd) - 1) {
521 testExecCmd(cmd);
/frameworks/av/media/libstagefright/include/
H A DSimpleSoftOMXComponent.h98 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data);
131 void onSendCommand(OMX_COMMANDTYPE cmd, OMX_U32 param);
H A DSoftOMXComponent.h56 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data);
107 OMX_COMMANDTYPE cmd,
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java305 WallpaperCommand cmd = new WallpaperCommand();
306 cmd.action = action;
307 cmd.x = x;
308 cmd.y = y;
309 cmd.z = z;
310 cmd.extras = extras;
311 cmd.sync = sync;
313 msg.obj = cmd;
868 void doCommand(WallpaperCommand cmd) { argument
871 result = onCommand(cmd
[all...]
/frameworks/av/include/media/
H A DIStreamSource.h77 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
/frameworks/av/media/libmedia/
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
/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/core/java/android/app/
H A DBackStackRecord.java56 mOps[pos++] = op.cmd;
101 op.cmd = mOps[pos++];
190 int cmd; field in class:BackStackRecord.Op
284 switch (op.cmd) {
293 default: cmdStr="cmd=" + op.cmd; break;
415 op.cmd = opcmd;
435 op.cmd = OP_REMOVE;
444 op.cmd = OP_HIDE;
453 op.cmd
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java56 mOps[pos++] = op.cmd;
101 op.cmd = mOps[pos++];
190 int cmd; field in class:BackStackRecord.Op
284 switch (op.cmd) {
293 default: cmdStr="cmd=" + op.cmd; break;
415 op.cmd = opcmd;
435 op.cmd = OP_REMOVE;
444 op.cmd = OP_HIDE;
453 op.cmd
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnectionAc.java121 protected static String cmdToString(int cmd) { argument
122 cmd -= BASE;
123 if ((cmd >= 0) && (cmd < sCmdToString.length)) {
124 return sCmdToString[cmd];
126 return AsyncChannel.cmdToString(cmd + BASE);
/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/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/base/tests/DumpRenderTree2/assets/
H A Drun_apache2.py130 def execute_cmd(envvars_path, error_log_path, cmd):
131 p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/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/av/include/camera/
H A DICamera.h103 virtual status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) = 0;
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.h51 void receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg = NULL);
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java162 protected static String cmdToString(int cmd) { argument
163 cmd -= BASE;
164 if ((cmd >= 0) && (cmd < sCmdToString.length)) {
165 return sCmdToString[cmd];
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.h141 void startRequest(int cmd);
/frameworks/native/include/binder/
H A DIPCThreadState.h93 status_t writeTransactionData(int32_t cmd,
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp60 int32_t cmd; member in struct:android::ActivityWork
74 static void write_work(int fd, int32_t cmd, int32_t arg1=0, int32_t arg2=0) { argument
76 work.cmd = cmd;
80 LOG_TRACE("write_work: cmd=%d", cmd);
532 LOG_TRACE("mainWorkCallback: cmd=%d", work.cmd);
534 switch (work.cmd) {
592 ALOGW("Unknown work command: %d", work.cmd);
[all...]
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)

Completed in 447 milliseconds

1234