Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.c35 static NFCSTATUS phNxpExtns_ProcessSysMessage (phLibNfc_Message_t *msg);
128 phLibNfc_Message_t msg; in EXTNS_MfcCallBack() local
130 msg.eMsgType = PH_NXPEXTNS_RX_DATA; in EXTNS_MfcCallBack()
131 msg.pMsgData = buf; in EXTNS_MfcCallBack()
132 msg.Size = buflen; in EXTNS_MfcCallBack()
134 status = phNxpExtns_SendMsg (&msg); in EXTNS_MfcCallBack()
161 phLibNfc_Message_t msg; in EXTNS_MfcCheckNDef() local
163 msg.eMsgType = PH_NXPEXTNS_MIFARE_CHECK_NDEF; in EXTNS_MfcCheckNDef()
164 msg.pMsgData = NULL; in EXTNS_MfcCheckNDef()
165 msg.Size = 0; in EXTNS_MfcCheckNDef()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java183 public boolean processMessage(Message msg) { in processMessage() argument
184 Log.d(TAG, " HandleMessage: " + dumpMessageString(msg.what)); in processMessage()
185 switch (msg.what) { in processMessage()
187 if (msg.arg1 == BluetoothProfile.STATE_CONNECTED) { in processMessage()
190 BluetoothDevice rtDevice = (BluetoothDevice) msg.obj; in processMessage()
208 Log.w(TAG,"Currently Disconnected not handling " + dumpMessageString(msg.what)); in processMessage()
217 public boolean processMessage(Message msg) { in processMessage() argument
218 Log.d(TAG, " HandleMessage: " + dumpMessageString(msg.what)); in processMessage()
221 switch (msg.what) { in processMessage()
239 BluetoothDevice device = (BluetoothDevice) msg.obj; in processMessage()
[all …]
DAvrcpControllerService.java318 Message msg = mAvrcpCtSm.obtainMessage(AvrcpControllerStateMachine. in sendGroupNavigationCmd() local
320 mAvrcpCtSm.sendMessage(msg); in sendGroupNavigationCmd()
336 Message msg = mAvrcpCtSm in sendPassThroughCmd() local
339 mAvrcpCtSm.sendMessage(msg); in sendPassThroughCmd()
489 Message msg = mAvrcpCtSm.obtainMessage( in getNowPlayingList() local
491 mAvrcpCtSm.sendMessage(msg); in getNowPlayingList()
519 Message msg = mAvrcpCtSm.obtainMessage( in getFolderList() local
521 mAvrcpCtSm.sendMessage(msg); in getFolderList()
548 Message msg = mAvrcpCtSm.obtainMessage( in getPlayerList() local
550 mAvrcpCtSm.sendMessage(msg); in getPlayerList()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c113 msgQ_msg_t msg; in _send_thread() local
116 while (priv->job_info.wprint_ifc->msgQReceive(priv->msgQ, (char *) &msg, sizeof(msgQ_msg_t), in _send_thread()
118 if (msg.id == MSG_START_JOB) { in _send_thread()
125 } else if (msg.id == MSG_START_PAGE) { in _send_thread()
126 priv->pcl_ifc->start_page(&priv->job_info, msg.param.start_page.width, in _send_thread()
127 msg.param.start_page.height); in _send_thread()
128 } else if (msg.id == MSG_SEND) { in _send_thread()
130 priv->pcl_ifc->print_swath(&priv->job_info, msg.param.send.buffer, in _send_thread()
131 msg.param.send.start_row, msg.param.send.num_rows, in _send_thread()
132 msg.param.send.bytes_per_row); in _send_thread()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java46 public void handleMessage(Message msg) {
49 OnClickListener pendingButtonClick = (OnClickListener) msg.obj;
107 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
108 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate()
121 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
122 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate()
136 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
137 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate()
150 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
151 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java150 public void handleMessage(Message msg) {
151 switch (msg.what) {
154 BluetoothDevice device = (BluetoothDevice) msg.obj;
165 BluetoothDevice device = (BluetoothDevice) msg.obj;
175 BluetoothDevice device = getDevice((byte[]) msg.obj);
176 int halState = msg.arg1;
202 BluetoothDevice device = (BluetoothDevice) msg.obj;
211 BluetoothDevice device = getDevice((byte[]) msg.obj);
212 int protocolMode = msg.arg1;
218 BluetoothDevice device = (BluetoothDevice) msg.obj;
[all …]
DHidDevService.java76 public void handleMessage(Message msg) {
77 if (DBG) Log.v(TAG, "handleMessage(): msg.what=" + msg.what);
79 switch (msg.what) {
81 BluetoothDevice device = msg.obj != null ? getDevice((byte[]) msg.obj) : null;
82 boolean success = (msg.arg1 != 0);
135 BluetoothDevice device = getDevice((byte[]) msg.obj);
136 int halState = msg.arg1;
154 byte type = (byte) msg.arg1;
155 byte id = (byte) msg.arg2;
156 int bufferSize = msg.obj == null ? 0 : ((Integer) msg.obj).intValue();
[all …]
/packages/apps/Camera2/src/com/android/camera/debug/
DLog.java64 public static void d(Tag tag, String msg) { in d() argument
66 android.util.Log.d(tag.toString(), msg); in d() local
70 public static void d(Tag tag, Object instance, String msg) { in d() argument
72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); in d()
76 public static void d(Tag tag, Object instance, String msg, String tags) { in d() argument
78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); in d()
82 public static void d(Tag tag, String msg, Throwable tr) { in d() argument
84 android.util.Log.d(tag.toString(), msg, tr); in d() local
88 public static void e(Tag tag, String msg) { in e() argument
90 android.util.Log.e(tag.toString(), msg); in e() local
[all …]
DLoggers.java104 public void d(String msg) {
108 public void d(String msg, Throwable tr) {
112 public void e(String msg) {
116 public void e(String msg, Throwable tr) {
120 public void i(String msg) {
124 public void i(String msg, Throwable tr) {
128 public void v(String msg) {
132 public void v(String msg, Throwable tr) {
136 public void w(String msg) {
140 public void w(String msg, Throwable tr) {
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java113 public boolean processMessage(Message msg) { in processMessage() argument
115 BluetoothDevice dev = (BluetoothDevice)msg.obj; in processMessage()
117 switch(msg.what) { in processMessage()
121 if (msg.getData() != null) in processMessage()
122 oobData = msg.getData().getParcelable(OOBDATA); in processMessage()
124 createBond(dev, msg.arg1, oobData, true); in processMessage()
130 int newState = msg.arg1; in processMessage()
150 Log.e(TAG, "Received unhandled state: " + msg.what); in processMessage()
169 public boolean processMessage(Message msg) { in processMessage() argument
170 BluetoothDevice dev = (BluetoothDevice)msg.obj; in processMessage()
[all …]
DAdapterState.java136 public boolean processMessage(Message msg) { in processMessage() argument
139 errorLog("Received message in OffState after cleanup: " + msg.what); in processMessage()
143 debugLog("Current state: OFF, message: " + msg.what); in processMessage()
145 switch(msg.what) { in processMessage()
172 public boolean processMessage(Message msg) { in processMessage() argument
177 errorLog("Received message in BleOnState after cleanup: " + msg.what); in processMessage()
181 debugLog("Current state: BLE ON, message: " + msg.what); in processMessage()
183 switch(msg.what) { in processMessage()
229 public boolean processMessage(Message msg) { in processMessage() argument
232 errorLog("Received message in OnState after cleanup: " + msg.what); in processMessage()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java170 protected void onPreHandleMessage(Message msg) { in onPreHandleMessage() argument
171 if (msg.obj != null && msg.obj instanceof Session) { in onPreHandleMessage()
172 String messageCodeName = MESSAGE_CODE_TO_NAME.get(msg.what, "unknown"); in onPreHandleMessage()
173 Log.continueSession((Session) msg.obj, "CARSM.pM_" + messageCodeName); in onPreHandleMessage()
174 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); in onPreHandleMessage()
179 protected void onPostHandleMessage(Message msg) { in onPostHandleMessage() argument
199 public boolean processMessage(Message msg) { in processMessage() argument
203 switch (msg.what) { in processMessage()
235 mAudioFocusType = msg.arg1; in processMessage()
284 public boolean processMessage(Message msg) { in processMessage() argument
[all …]
DCallAudioModeStateMachine.java120 public boolean processMessage(Message msg) { in processMessage() argument
121 switch (msg.what) { in processMessage()
141 java.lang.Runnable r = (java.lang.Runnable) msg.obj; in processMessage()
164 public boolean processMessage(Message msg) { in processMessage() argument
165 if (super.processMessage(msg) == HANDLED) { in processMessage()
168 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
169 switch (msg.what) { in processMessage()
233 public boolean processMessage(Message msg) { in processMessage() argument
234 if (super.processMessage(msg) == HANDLED) { in processMessage()
237 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java32 public void handleMessage(Message msg) {
33 switch (msg.what) {
35 resultLoad(msg);
42 public boolean handleMessage(Message msg) { in handleMessage() argument
43 switch (msg.what) { in handleMessage()
48 processSave(msg); in handleMessage()
51 processDelete(msg); in handleMessage()
54 processUpdate(msg); in handleMessage()
75 Message msg = mProcessingHandler.obtainMessage(LOAD); in load() local
76 mProcessingHandler.sendMessage(msg); in load()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DLogUtil.java76 public static void v(final String tag, final String msg) { in v() argument
77 println(android.util.Log.VERBOSE, tag, msg); in v()
87 public static void v(final String tag, final String msg, final Throwable tr) { in v() argument
88 println(android.util.Log.VERBOSE, tag, msg + '\n' in v()
98 public static void d(final String tag, final String msg) { in d() argument
99 println(android.util.Log.DEBUG, tag, msg); in d()
109 public static void d(final String tag, final String msg, final Throwable tr) { in d() argument
110 println(android.util.Log.DEBUG, tag, msg + '\n' in d()
120 public static void i(final String tag, final String msg) { in i() argument
121 println(android.util.Log.INFO, tag, msg); in i()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java901 Message msg = mns.obtainMessage(); in setNotificationRegistration() local
903 msg.what = BluetoothMnsObexClient.MSG_MNS_NOTIFICATION_REGISTRATION; in setNotificationRegistration()
906 msg.what = BluetoothMnsObexClient.MSG_MNS_SDP_SEARCH_REGISTRATION; in setNotificationRegistration()
922 msg.what = BluetoothMnsObexClient.MSG_MNS_NOTIFICATION_REGISTRATION; in setNotificationRegistration()
926 msg.arg1 = mMasId; in setNotificationRegistration()
927 msg.arg2 = notificationStatus; in setNotificationRegistration()
928 mns.sendMessageDelayed(msg, 10); // Send message without forcing a context switch in setNotificationRegistration()
931 if(D) Log.d(TAG,"setNotificationRegistration() send : " + msg.what + " to MNS "); in setNotificationRegistration()
1216 Msg msg = new Msg(id, type, threadId, read); in initMsgList() local
1217 msgListSms.put(id, msg); in initMsgList()
[all …]
DBluetoothMnsObexClient.java123 public void handleMessage(Message msg) { in handleMessage() argument
124 switch (msg.what) { in handleMessage()
126 if (V) Log.v(TAG, "Reg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
128 handleRegistration(msg.arg1 /*masId*/, msg.arg2 /*status*/); in handleMessage()
135 sendEventHandler((byte[])msg.obj/*byte[]*/, msg.arg1 /*masId*/); in handleMessage()
141 mMnsLstRegRqst = new MnsSdpSearchInfo(true, msg.arg1, msg.arg2); in handleMessage()
145 msg.arg1, msg.arg2); in handleMessage()
146 if (V) Log.v(TAG, "SearchReg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
256 Message msg = Message.obtain(mCallback); in handleRegistration() local
257 msg.what = BluetoothMapService.MSG_OBSERVER_REGISTRATION; in handleRegistration()
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java237 CatCmdMessage msg; field in StkAppService.DelayedCmd
240 DelayedCmd(int id, CatCmdMessage msg, int slotId) { in DelayedCmd() argument
242 this.msg = msg; in DelayedCmd()
325 Message msg = mServiceHandler.obtainMessage(); in onStart() local
326 msg.arg1 = op; in onStart()
327 msg.arg2 = slotId; in onStart()
328 switch(msg.arg1) { in onStart()
330 msg.obj = args.getParcelable(CMD_MSG); in onStart()
337 msg.obj = args; in onStart()
346 mServiceHandler.sendMessage(msg); in onStart()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DLog.java21 public static int v(String tag, String msg) { in v() argument
22 return android.util.Log.v(tag, msg); in v()
24 public static int v(String tag, String msg, Throwable tr) { in v() argument
25 return android.util.Log.v(tag, msg, tr); in v()
27 public static int d(String tag, String msg) { in d() argument
28 return android.util.Log.d(tag, msg); in d()
30 public static int d(String tag, String msg, Throwable tr) { in d() argument
31 return android.util.Log.d(tag, msg, tr); in d()
33 public static int i(String tag, String msg) { in i() argument
34 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java197 SapMessage msg = new SapMessage(SapMessage.ID_DISCONNECT_REQ); in sendDisconnectInd() local
199 clearPendingRilResponses(msg); in sendDisconnectInd()
204 sendRilThreadMessage(msg); in sendDisconnectInd()
330 SapMessage msg = SapMessage.readMessage(requestType, mRfcommIn); in run() local
333 if(msg != null && mState != SAP_STATE.DISCONNECTING) in run()
338 + msg.getMaxMsgSize()); in run()
339 onConnectRequest(msg); in run()
340 msg = null; /* don't send ril connect yet */ in run()
365 clearPendingRilResponses(msg); in run()
367 sendRilThreadMessage(msg); in run()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java412 public void handleMessage(Message msg) { in handleMessage() argument
413 switch (msg.what) { in handleMessage()
416 String address = (String) msg.obj; in handleMessage()
418 ", features="+msg.arg1); in handleMessage()
419 mFeatures = msg.arg1; in handleMessage()
434 byte[] address = (byte[]) msg.obj; in handleMessage()
448 AvrcpCmd.ElementAttrCmd elem = (AvrcpCmd.ElementAttrCmd) msg.obj; in handleMessage()
473 if (DEBUG) Log.v(TAG, "MSG_NATIVE_REQ_REGISTER_NOTIFICATION:event=" + msg.arg1 + in handleMessage()
474 " param=" + msg.arg2); in handleMessage()
475 processRegisterNotification((byte[]) msg.obj, msg.arg1, msg.arg2); in handleMessage()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java103 Message msg = new Message(); in testBuildBodyTextWithForward() local
104 msg.mText = TEXT; in testBuildBodyTextWithForward()
105 msg.mFrom = SENDER; in testBuildBodyTextWithForward()
106 msg.mTo = RECIPIENT_TO; in testBuildBodyTextWithForward()
107 msg.mCc = RECIPIENT_CC; in testBuildBodyTextWithForward()
108 msg.mSubject = SUBJECT; in testBuildBodyTextWithForward()
109 msg.mFlags = Message.FLAG_TYPE_FORWARD; in testBuildBodyTextWithForward()
110 msg.save(mMockContext); in testBuildBodyTextWithForward()
111 Body body = createTestBody(msg); in testBuildBodyTextWithForward()
118 Message msg = new Message(); in testWriteToText() local
[all …]

12345678910>>...21