Searched refs:msg (Results 1 - 25 of 88) sorted by relevance

1234

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
H A DLogger.java60 private String getMsg(String msg) { argument
62 return mLogPrefix + msg;
64 return msg;
68 public void i(String msg) { argument
69 Log.i(APP_TAG, getMsg(msg));
72 public void i(String msg, Throwable t) { argument
73 Log.i(APP_TAG, getMsg(msg), t);
76 public void d(String msg) { argument
77 Log.d(APP_TAG, getMsg(msg));
80 public void d(String msg, Throwabl argument
84 w(String msg) argument
88 w(String msg, Throwable t) argument
92 e(String msg) argument
96 e(String msg, Throwable t) argument
[all...]
/development/testrunner/
H A Derrors.py22 """Generic exception with an optional string msg."""
23 def __init__(self, msg=""):
24 self.msg = msg
H A Dlogger.py48 msg = _PrependTimeStamp(new_str)
49 print msg
50 _WriteLog(msg)
52 def _WriteLog(msg):
56 file_handle.write('\n' + str(msg))
77 msg = _PrependTimeStamp(new_str)
79 print msg
80 _WriteLog(msg)
/development/ndk/platforms/android-9/arch-mips/include/machine/
H A Dcdefs.h35 #define __warn_references(sym,msg)
41 #define __warn_references(sym,msg) \
43 " ; .ascii \"" msg "\" ; .text")
44 #define __indr_references(sym,msg) /* nothing */
/development/ndk/platforms/android-3/arch-arm/include/machine/
H A Dcdefs.h8 #define __warn_references(sym,msg)
14 #define __warn_references(sym,msg) \
16 " ; .ascii \"" msg "\" ; .text");
H A Dasm.h131 #define WARN_REFERENCES(sym,msg) \
132 .stabs msg ## ,30,0,0,0 ; \
135 #define WARN_REFERENCES(sym,msg) \
136 .stabs msg,30,0,0,0 ; \
139 #define WARN_REFERENCES(sym,msg) \
140 .stabs msg,30,0,0,0 ; \
/development/ndk/platforms/android-9/arch-x86/include/machine/
H A Dcdefs.h13 #define __warn_references(sym,msg)
19 #define __warn_references(sym,msg) \
21 " ; .ascii \"" msg "\" ; .text");
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeyMotionEvent.java153 StringBuilder msg = new StringBuilder(":Sending ");
154 msg.append(getTypeLabel()).append(" (");
157 msg.append("ACTION_DOWN");
160 msg.append("ACTION_MOVE");
163 msg.append("ACTION_UP");
166 msg.append("ACTION_CANCEL");
169 msg.append("ACTION_POINTER_DOWN ").append(me.getPointerId(me.getActionIndex()));
172 msg.append("ACTION_POINTER_UP ").append(me.getPointerId(me.getActionIndex()));
175 msg.append(me.getAction());
178 msg
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DMessengerServiceActivities.java46 public void handleMessage(Message msg) { argument
47 switch (msg.what) {
49 mCallbackText.setText("Received from service: " + msg.arg1);
52 super.handleMessage(msg);
79 Message msg = Message.obtain(null,
81 msg.replyTo = mMessenger;
82 mService.send(msg);
85 msg = Message.obtain(null,
87 mService.send(msg);
128 Message msg
[all...]
H A DServiceStartArguments.java66 public void handleMessage(Message msg) { argument
67 Bundle arguments = (Bundle)msg.obj;
71 Log.i("ServiceStartArguments", "Message: " + msg + ", "
74 if ((msg.arg2&Service.START_FLAG_REDELIVERY) == 0) {
75 txt = "New cmd #" + msg.arg1 + ": " + txt;
77 txt = "Re-delivered #" + msg.arg1 + ": " + txt;
96 Log.i("ServiceStartArguments", "Done with #" + msg.arg1);
97 stopSelf(msg.arg1);
129 Message msg = mServiceHandler.obtainMessage();
130 msg
[all...]
H A DMessengerService.java86 public void handleMessage(Message msg) { argument
87 switch (msg.what) {
89 mClients.add(msg.replyTo);
92 mClients.remove(msg.replyTo);
95 mValue = msg.arg1;
109 super.handleMessage(msg);
H A DIncomingMessageInterstitial.java57 CharSequence msg = getIntent().getCharSequenceExtra(IncomingMessageView.KEY_MESSAGE);
59 Intent[] stack = IncomingMessage.makeMessageIntentStack(this, from, msg);
/development/tools/yuv420sp2rgb/
H A Ddebug.h12 #define FAILIF(cond, msg...) do { \
15 fprintf(stderr, ##msg); \
32 #define FAILIF(cond, msg...) do { \
34 fprintf(stderr, ##msg); \
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
H A DChatConnection.java62 public void sendMessage(String msg) { argument
64 mChatClient.sendMessage(msg);
77 public synchronized void updateMessages(String msg, boolean local) { argument
78 Log.e(TAG, "Updating message: " + msg);
81 msg = "me: " + msg;
83 msg = "them: " + msg;
87 messageBundle.putString("msg", msg);
261 sendMessage(String msg) argument
[all...]
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
H A DBeam.java77 NdefMessage msg = new NdefMessage(NdefRecord.createMime(
89 return msg;
105 public void handleMessage(Message msg) {
106 switch (msg.what) {
136 NdefMessage msg = (NdefMessage) rawMsgs[0];
138 mInfoText.setText(new String(msg.getRecords()[0].getPayload()));
/development/samples/JetBoy/src/com/example/android/jetboy/
H A DJetBoy.java135 public boolean onKeyDown(int keyCode, KeyEvent msg) { argument
137 return super.onKeyDown(keyCode, msg);
139 return mJetBoyThread.doKeyDown(keyCode, msg);
147 public boolean onKeyUp(int keyCode, KeyEvent msg) { argument
149 return super.onKeyUp(keyCode, msg);
151 return mJetBoyThread.doKeyUp(keyCode, msg);
/development/ndk/platforms/android-3/include/linux/
H A Dipmi_smi.h37 void (*done)(struct ipmi_smi_msg *msg);
48 struct ipmi_smi_msg *msg,
H A Dmsg.h25 struct msg *msg_first;
26 struct msg *msg_last;
/development/tools/emulator/system/camera/
H A DEmulatedCameraDevice.cpp313 const ControlMessage msg = THREAD_STOP; local
315 TEMP_FAILURE_RETRY(write(mThreadControl, &msg, sizeof(msg)));
316 if (wres == sizeof(msg)) {
374 ControlMessage msg; local
375 res = TEMP_FAILURE_RETRY(read(mControlFD, &msg, sizeof(msg)));
376 if (res != sizeof(msg)) {
382 if (msg == THREAD_STOP) {
386 ALOGE("Unknown worker thread message %d", msg);
[all...]
H A DCallbackNotifier.cpp51 * msg - Messages to get strings for,
57 static int GetMessageStrings(uint32_t msg, const char** strings, int max) argument
61 while (msg != 0 && out < max && index < lCameraMessagesNum) {
62 while ((msg & 0x1) == 0 && index < lCameraMessagesNum) {
63 msg >>= 1;
66 if ((msg & 0x1) != 0 && index < lCameraMessagesNum) {
69 msg >>= 1;
78 static void PrintMessages(uint32_t msg) argument
81 const int translated = GetMessageStrings(msg, strs, lCameraMessagesNum);
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
H A Dip_queue.h49 } msg; member in struct:ipq_peer_msg
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DLocalServiceBroadcaster.java117 public void handleMessage(Message msg) {
118 switch (msg.what) {
128 super.handleMessage(msg);
145 Message msg = mHandler.obtainMessage(MSG_UPDATE);
146 mHandler.sendMessageDelayed(msg, 1000);
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
H A DBluetoothHDPActivity.java78 public void handleMessage(Message msg) {
79 switch (msg.what) {
84 msg.arg1));
90 msg.arg1));
107 msg.arg1));
115 msg.arg1));
119 super.handleMessage(msg);
205 Message msg = Message.obtain(null, BluetoothHDPService.MSG_REG_CLIENT);
206 msg.replyTo = mMessenger;
209 mHealthService.send(msg);
[all...]
H A DBluetoothHDPService.java103 public void handleMessage(Message msg) { argument
104 switch (msg.what) {
108 mClient = msg.replyTo;
116 registerApp(msg.arg1);
124 mDevice = (BluetoothDevice) msg.obj;
129 mDevice = (BluetoothDevice) msg.obj;
133 super.handleMessage(msg);
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
H A DBluetoothChat.java246 public void handleMessage(Message msg) {
247 switch (msg.what) {
249 if(D) Log.i(TAG, "MESSAGE_STATE_CHANGE: " + msg.arg1);
250 switch (msg.arg1) {
265 byte[] writeBuf = (byte[]) msg.obj;
271 byte[] readBuf = (byte[]) msg.obj;
273 String readMessage = new String(readBuf, 0, msg.arg1);
278 mConnectedDeviceName = msg.getData().getString(DEVICE_NAME);
283 Toast.makeText(getApplicationContext(), msg.getData().getString(TOAST),

Completed in 9292 milliseconds

1234