Searched refs:cmd (Results 1 - 25 of 159) sorted by relevance

1234567

/frameworks/native/cmds/installd/
H A Dotapreopt_script.sh24 PREPARE=$(cmd otadexopt prepare)
32 cmd otadexopt step
33 DONE=$(cmd otadexopt done)
41 DONE=$(cmd otadexopt done)
48 cmd otadexopt cleanup
/frameworks/opt/telephony/tools/
H A Dtdi8 cmd=$1
14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
44 case ${cmd} in
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java53 private void startSound(Command cmd) { argument
60 player.setAudioAttributes(cmd.attributes);
61 player.setDataSource(cmd.context, cmd.uri);
62 player.setLooping(cmd.looping);
69 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
75 Log.w(mTag, "error loading sound for " + cmd.uri, e);
86 Command cmd = null;
90 cmd = mCmdQueue.removeFirst();
93 switch (cmd
227 enqueueLocked(Command cmd) argument
[all...]
/frameworks/base/cmds/uiautomator/cmds/uiautomator/
H A Duiautomator49 cmd=${1}
52 cmd="help"
69 if [ "${cmd}" == "runtest" ]; then
79 cmd="help"
98 cmd="help"
117 # if cmd is not 'runtest', just take the rest of the args
121 args="${cmd} ${args}"
/frameworks/native/cmds/cmd/
H A DAndroid.mk5 cmd.cpp
18 LOCAL_MODULE:= cmd
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java71 public CreationAndCompletionThread(Command cmd) { argument
73 mCmd = cmd;
132 private void startSound(Command cmd) { argument
149 mCompletionThread = new CreationAndCompletionThread(cmd);
157 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
163 Log.w(mTag, "error loading sound for " + cmd.uri, e);
174 Command cmd = null;
178 cmd = mCmdQueue.removeFirst();
181 switch (cmd.code) {
184 startSound(cmd);
357 enqueueLocked(Command cmd) argument
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java373 byte[] cmd = new byte[12];
377 cmd[0] = 0x60; // phHal_eMifareAuthentA
379 cmd[0] = 0x61; // phHal_eMifareAuthentB
385 cmd[1] = (byte) sectorToBlock(sector);
389 System.arraycopy(uid, uid.length - 4, cmd, 2, 4);
392 System.arraycopy(key, 0, cmd, 6, 6);
395 if (transceive(cmd, false) != null) {
424 byte[] cmd = { 0x30, (byte) blockIndex };
425 return transceive(cmd, false);
449 byte[] cmd
[all...]
H A DMifareUltralight.java163 byte[] cmd = { 0x30, (byte) pageOffset};
164 return transceive(cmd, false);
188 byte[] cmd = new byte[data.length + 2];
189 cmd[0] = (byte) 0xA2;
190 cmd[1] = (byte) pageOffset;
191 System.arraycopy(data, 0, cmd, 2, data.length);
193 transceive(cmd, false);
/frameworks/base/services/core/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/base/services/core/java/com/android/server/hdmi/
H A DOneTouchRecordAction.java79 boolean processCommand(HdmiCecMessage cmd) { argument
80 if (mState != STATE_WAITING_FOR_RECORD_STATUS || mRecorderAddress != cmd.getSource()) {
84 switch (cmd.getOpcode()) {
86 return handleRecordStatus(cmd);
91 private boolean handleRecordStatus(HdmiCecMessage cmd) { argument
93 if (cmd.getSource() != mRecorderAddress) {
97 int recordStatus = cmd.getParams()[0];
99 Slog.i(TAG, "Got record status:" + recordStatus + " from " + cmd.getSource());
H A DVolumeControlAction.java126 boolean processCommand(HdmiCecMessage cmd) { argument
127 if (mState != STATE_WAIT_FOR_NEXT_VOLUME_PRESS || cmd.getSource() != mAvrAddress) {
131 switch (cmd.getOpcode()) {
133 return handleReportAudioStatus(cmd);
135 return handleFeatureAbort(cmd);
140 private boolean handleReportAudioStatus(HdmiCecMessage cmd) { argument
141 byte params[] = cmd.getParams();
173 private boolean handleFeatureAbort(HdmiCecMessage cmd) { argument
174 int originalOpcode = cmd.getParams()[0] & 0xFF;
H A DDeviceDiscoveryAction.java219 boolean processCommand(HdmiCecMessage cmd) { argument
222 if (cmd.getOpcode() == Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS) {
223 handleReportPhysicalAddress(cmd);
228 if (cmd.getOpcode() == Constants.MESSAGE_SET_OSD_NAME) {
229 handleSetOsdName(cmd);
234 if (cmd.getOpcode() == Constants.MESSAGE_DEVICE_VENDOR_ID) {
235 handleVendorId(cmd);
246 private void handleReportPhysicalAddress(HdmiCecMessage cmd) { argument
250 if (current.mLogicalAddress != cmd.getSource()) {
252 cmd
272 handleSetOsdName(HdmiCecMessage cmd) argument
295 handleVendorId(HdmiCecMessage cmd) argument
[all...]
H A DPowerStatusMonitorAction.java66 boolean processCommand(HdmiCecMessage cmd) { argument
68 && cmd.getOpcode() == Constants.MESSAGE_REPORT_POWER_STATUS) {
69 return handleReportPowerStatus(cmd);
74 private boolean handleReportPowerStatus(HdmiCecMessage cmd) { argument
75 int sourceAddress = cmd.getSource();
81 int newStatus = cmd.getParams()[0] & 0xFF;
H A DSystemAudioStatusAction.java79 boolean processCommand(HdmiCecMessage cmd) { argument
80 if (mState != STATE_WAIT_FOR_REPORT_AUDIO_STATUS || mAvrAddress != cmd.getSource()) {
84 switch (cmd.getOpcode()) {
86 handleReportAudioStatus(cmd);
93 private void handleReportAudioStatus(HdmiCecMessage cmd) { argument
94 byte[] params = cmd.getParams();
H A DRequestArcAction.java49 boolean processCommand(HdmiCecMessage cmd) { argument
51 || !HdmiUtils.checkCommandSource(cmd, mAvrAddress, TAG)) {
54 int opcode = cmd.getOpcode();
60 int originalOpcode = cmd.getParams()[0] & 0xFF;
H A DSystemAudioAutoInitiationAction.java60 boolean processCommand(HdmiCecMessage cmd) { argument
62 || mAvrAddress != cmd.getSource()) {
66 if (cmd.getOpcode() == Constants.MESSAGE_SYSTEM_AUDIO_MODE_STATUS) {
67 handleSystemAudioModeStatusMessage(HdmiUtils.parseCommandParamSystemAudioStatus(cmd));
H A DTimerRecordingAction.java98 boolean processCommand(HdmiCecMessage cmd) { argument
100 || cmd.getSource() != mRecorderAddress) {
104 switch (cmd.getOpcode()) {
106 return handleTimerStatus(cmd);
108 return handleFeatureAbort(cmd);
113 private boolean handleTimerStatus(HdmiCecMessage cmd) { argument
114 byte[] timerStatusData = cmd.getParams();
128 private boolean handleFeatureAbort(HdmiCecMessage cmd) { argument
129 byte[] params = cmd.getParams();
/frameworks/base/core/java/android/nfc/
H A DApduList.java46 byte[] cmd = new byte[length];
47 in.readByteArray(cmd);
48 commands.add(cmd);
61 for (byte[] cmd : commands) {
62 dest.writeInt(cmd.length);
63 dest.writeByteArray(cmd);
/frameworks/base/core/java/com/android/internal/util/
H A DWakeupMessage.java51 String cmdName, int cmd, int arg1, int arg2) {
55 mCmd = cmd;
60 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1) { argument
61 this(context, handler, cmdName, cmd, arg1, 0);
64 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd) { argument
65 this(context, handler, cmdName, cmd, 0, 0);
50 WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1, int arg2) argument
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateServiceShellCommand.java32 public int onCommand(String cmd) { argument
33 if (cmd == null) {
34 return handleDefaultCommands(cmd);
39 switch(cmd) {
47 return handleDefaultCommands(cmd);
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py119 def genCmd(self, cmd, name):
120 reg.OutputGenerator.genCmd(self, cmd, name)
122 rtype, fname = parseProto(cmd.elem.find('proto'))
123 params = [parseParam(p) for p in cmd.elem.findall('param')]
144 def genCmd(self, cmd, name):
145 reg.OutputGenerator.genCmd(self, cmd, name)
146 rtype, fname = parseProto(cmd.elem.find('proto'))
147 params = [parseParam(p) for p in cmd.elem.findall('param')]
186 for cmd in self.cmds:
187 if len(cmds) == 0 or cmd !
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DAdapterHelper.java98 switch (op.cmd) {
232 if (op.cmd == UpdateOp.ADD || op.cmd == UpdateOp.MOVE) {
246 int tmpStart = updatePositionWithPostponed(op.positionStart, op.cmd);
253 switch (op.cmd) {
265 int updatedPos = updatePositionWithPostponed(pos, op.cmd);
270 switch (op.cmd) {
282 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStart, tmpCnt, op.payload);
288 if (op.cmd == UpdateOp.UPDATE) {
298 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStar
330 updatePositionWithPostponed(int pos, int cmd) argument
643 int cmd; field in class:AdapterHelper.UpdateOp
652 UpdateOp(int cmd, int positionStart, int itemCount, Object payload) argument
727 obtainUpdateOp(int cmd, int positionStart, int itemCount, Object payload) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DOtaDexoptShellCommand.java33 public int onCommand(String cmd) { argument
34 if (cmd == null) {
40 switch(cmd) {
50 return handleDefaultCommands(cmd);
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarShellCommand.java33 public int onCommand(String cmd) { argument
34 if (cmd == null) {
35 return handleDefaultCommands(cmd);
38 switch (cmd) {
52 return handleDefaultCommands(cmd);
/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);

Completed in 843 milliseconds

1234567