/packages/apps/Nfc/nci/jni/extns/pn54x/src/ |
D | phNxpExtns.c | 32 static NFCSTATUS phNxpExtns_ProcessSysMessage (phLibNfc_Message_t *msg); 125 phLibNfc_Message_t msg; in EXTNS_MfcCallBack() local 127 msg.eMsgType = PH_NXPEXTNS_RX_DATA; in EXTNS_MfcCallBack() 128 msg.pMsgData = buf; in EXTNS_MfcCallBack() 129 msg.Size = buflen; in EXTNS_MfcCallBack() 131 status = phNxpExtns_SendMsg (&msg); in EXTNS_MfcCallBack() 158 phLibNfc_Message_t msg; in EXTNS_MfcCheckNDef() local 160 msg.eMsgType = PH_NXPEXTNS_MIFARE_CHECK_NDEF; in EXTNS_MfcCheckNDef() 161 msg.pMsgData = NULL; in EXTNS_MfcCheckNDef() 162 msg.Size = 0; in EXTNS_MfcCheckNDef() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Loggers.java | 104 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 …]
|
D | Log.java | 64 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 …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | UserPresetsManager.java | 32 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/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | BluetoothMapbMessageTest.java | 39 BluetoothMapbMessageSms msg = new BluetoothMapbMessageSms(); in testSmsEncodeText() local 96 msg.addOriginator("Bonde,Casper", "Casper Bonde", phone, email, null, null); in testSmsEncodeText() 97 msg.addOriginator("Bonde,Casper", "Casper Bonde", phone, email, null, null); in testSmsEncodeText() 98 msg.addRecipient("", "Jens Hansen", phone, email, null, null); in testSmsEncodeText() 99 msg.addRecipient("", "Jens Hansen", phone, email, null, null); in testSmsEncodeText() 100 msg.setFolder("inbox"); in testSmsEncodeText() 101 msg.setSmsBody("This is a short message"); in testSmsEncodeText() 102 msg.setStatus(false); in testSmsEncodeText() 103 msg.setType(TYPE.SMS_GSM); in testSmsEncodeText() 105 encoded = new String(msg.encode()); in testSmsEncodeText() [all …]
|
D | SapSocketTest.java | 40 private void dumpMsgHeader(MsgHeader msg){ in dumpMsgHeader() argument 41 Log.d(TAG,"MsgHeader: ID = " + msg.getId()); in dumpMsgHeader() 42 Log.d(TAG," Type= " + msg.getType()); in dumpMsgHeader() 43 Log.d(TAG," Token= " + msg.getToken()); in dumpMsgHeader() 44 Log.d(TAG," Error= " + msg.getError()); in dumpMsgHeader() 45 Log.d(TAG," Length=" + msg.getSerializedSize()); in dumpMsgHeader() 46 if(msg.hasPayload()){ in dumpMsgHeader() 47 Log.d(TAG,"Payload: Length=" + msg.getPayload().size()); in dumpMsgHeader() 48 Log.d(TAG," Data= " + Arrays.toString(msg.getPayload().toByteArray())); in dumpMsgHeader() 147 SapApi.MsgHeader msg = new MsgHeader(); in testSapServerConnectSimple() local [all …]
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 47 public void handleMessage(Message msg) { 50 OnClickListener pendingButtonClick = (OnClickListener) msg.obj; 108 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 109 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 122 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 123 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/Messaging/src/com/android/messaging/util/ |
D | LogUtil.java | 76 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/btservice/ |
D | BondStateMachine.java | 110 public boolean processMessage(Message msg) { in processMessage() argument 112 BluetoothDevice dev = (BluetoothDevice)msg.obj; in processMessage() 114 switch(msg.what) { in processMessage() 118 if (msg.getData() != null) in processMessage() 119 oobData = msg.getData().getParcelable(OOBDATA); in processMessage() 121 createBond(dev, msg.arg1, oobData, true); in processMessage() 127 int newState = msg.arg1; in processMessage() 147 Log.e(TAG, "Received unhandled state: " + msg.what); in processMessage() 166 public boolean processMessage(Message msg) { in processMessage() argument 168 BluetoothDevice dev = (BluetoothDevice)msg.obj; in processMessage() [all …]
|
D | AdapterState.java | 146 public boolean processMessage(Message msg) { in processMessage() argument 149 errorLog("Received message in OffState after cleanup: " + msg.what); in processMessage() 153 debugLog("Current state: OFF, message: " + msg.what); in processMessage() 155 switch(msg.what) { in processMessage() 182 public boolean processMessage(Message msg) { in processMessage() argument 187 errorLog("Received message in BleOnState after cleanup: " + msg.what); in processMessage() 191 debugLog("Current state: BLE ON, message: " + msg.what); in processMessage() 193 switch(msg.what) { in processMessage() 240 public boolean processMessage(Message msg) { in processMessage() argument 243 errorLog("Received message in OnState after cleanup: " + msg.what); in processMessage() [all …]
|
/packages/services/Car/vehicle_network_service/ |
D | VehicleHalPropertyUtil.h | 35 static void dumpProperty(String8& msg, const vehicle_prop_config_t& config) { in dumpProperty() argument 36 msg.appendFormat("property 0x%x, access:0x%x, change_mode:0x%x, value_type:0x%x", in dumpProperty() 38 msg.appendFormat(",permission:0x%x, zones:0x%x, conflg_flag:0x%x, fsmin:%f, fsmax:%f", in dumpProperty() 46 msg.appendFormat(",v min:%f, v max:%f\n", config.float_min_value, in dumpProperty() 55 msg.appendFormat(",v min:%f, v max:%f\n", config.float_min_value, in dumpProperty() 58 msg.appendFormat(", ERROR: float_max_values not NULL while min is NULL"); in dumpProperty() 63 msg.appendFormat(", ERROR: float_min_values not NULL while max is NULL"); in dumpProperty() 67 msg.appendFormat(", v min:"); in dumpProperty() 69 msg.appendFormat("%f,", config.float_min_values[i]); in dumpProperty() 71 msg.appendFormat(", v max:"); in dumpProperty() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 148 public void handleMessage(Message msg) { 149 switch (msg.what) { 152 BluetoothDevice device = (BluetoothDevice) msg.obj; 163 BluetoothDevice device = (BluetoothDevice) msg.obj; 173 BluetoothDevice device = getDevice((byte[]) msg.obj); 174 int halState = msg.arg1; 200 BluetoothDevice device = (BluetoothDevice) msg.obj; 209 BluetoothDevice device = getDevice((byte[]) msg.obj); 210 int protocolMode = msg.arg1; 216 BluetoothDevice device = (BluetoothDevice) msg.obj; [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Log.java | 20 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/ |
D | Log.java | 20 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/ |
D | Log.java | 21 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/Gallery2/src/com/android/gallery3d/data/ |
D | Log.java | 20 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/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioModeStateMachine.java | 116 public boolean processMessage(Message msg) { in processMessage() argument 117 switch (msg.what) { in processMessage() 137 java.lang.Runnable r = (java.lang.Runnable) msg.obj; in processMessage() 160 public boolean processMessage(Message msg) { in processMessage() argument 161 if (super.processMessage(msg) == HANDLED) { in processMessage() 164 MessageArgs args = (MessageArgs) msg.obj; in processMessage() 165 switch (msg.what) { in processMessage() 226 public boolean processMessage(Message msg) { in processMessage() argument 227 if (super.processMessage(msg) == HANDLED) { in processMessage() 230 MessageArgs args = (MessageArgs) msg.obj; in processMessage() [all …]
|
D | CallAudioRouteStateMachine.java | 152 protected void onPreHandleMessage(Message msg) { in onPreHandleMessage() argument 153 if (msg.obj != null && msg.obj instanceof Session) { in onPreHandleMessage() 154 String messageCodeName = MESSAGE_CODE_TO_NAME.get(msg.what, "unknown"); in onPreHandleMessage() 155 Log.continueSession((Session) msg.obj, "CARSM.pM_" + messageCodeName); in onPreHandleMessage() 156 Log.i(this, "Message received: %s=%d", messageCodeName, msg.what); in onPreHandleMessage() 161 protected void onPostHandleMessage(Message msg) { in onPostHandleMessage() argument 181 public boolean processMessage(Message msg) { in processMessage() argument 182 switch (msg.what) { in processMessage() 252 public boolean processMessage(Message msg) { in processMessage() argument 253 if (super.processMessage(msg) == HANDLED) { in processMessage() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 720 SapApi.MsgHeader msg = new MsgHeader(); in writeReqToStream() local 722 msg.setToken(rilSerial); in writeReqToStream() 723 msg.setType(SapApi.REQUEST); in writeReqToStream() 724 msg.setError(SapApi.RIL_E_UNUSED); in writeReqToStream() 731 msg.setId(SapApi.RIL_SIM_SAP_CONNECT); in writeReqToStream() 732 msg.setPayload(ByteStringMicro.copyFrom(reqMsg.toByteArray())); in writeReqToStream() 733 writeLength(msg.getSerializedSize(), out); in writeReqToStream() 734 msg.writeTo(out); in writeReqToStream() 740 msg.setId(SapApi.RIL_SIM_SAP_DISCONNECT); in writeReqToStream() 741 msg.setPayload(ByteStringMicro.copyFrom(reqMsg.toByteArray())); in writeReqToStream() [all …]
|
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/ |
D | BluetoothMapService.java | 168 public void handleMessage(Message msg) { in handleMessage() argument 177 Log.d(TAG, "Handling " + msg); in handleMessage() 185 "Ignoring msg: " + msg + " because service not connected: " + connStatus); in handleMessage() 189 switch (msg.what) { in handleMessage() 192 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() 202 SdpMasRecord sdpRecord = (SdpMasRecord) msg.obj; in handleMessage() 218 boolean status = (boolean) msg.obj; in handleMessage() 241 service.pushMessage((BluetoothMapMessage) msg.obj); in handleMessage() 245 service.getMessage((String) msg.obj); in handleMessage() 249 service.getMessagesListing((String) msg.obj, msg.arg1, msg.arg2); in handleMessage() [all …]
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | Log.java | 41 public static void d(String tag, String msg) { in d() argument 43 android.util.Log.d(TAG, delimit(tag) + msg); in d() 47 public static void d(Object obj, String msg) { in d() argument 49 android.util.Log.d(TAG, getPrefix(obj) + msg); in d() 59 public static void v(Object obj, String msg) { in v() argument 61 android.util.Log.v(TAG, getPrefix(obj) + msg); in v() 71 public static void e(String tag, String msg, Exception e) { in e() argument 72 android.util.Log.e(TAG, delimit(tag) + msg, e); in e() 75 public static void e(String tag, String msg) { in e() argument 76 android.util.Log.e(TAG, delimit(tag) + msg); in e() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | Avrcp.java | 285 public void handleMessage(Message msg) { in handleMessage() argument 286 switch (msg.what) { in handleMessage() 288 String address = (String) msg.obj; in handleMessage() 290 ", features="+msg.arg1); in handleMessage() 291 mFeatures = msg.arg1; in handleMessage() 312 byte numAttr = (byte) msg.arg1; in handleMessage() 313 ArrayList<Integer> attrList = (ArrayList<Integer>) msg.obj; in handleMessage() 327 if (DEBUG) Log.v(TAG, "MESSAGE_REGISTER_NOTIFICATION:event=" + msg.arg1 + in handleMessage() 328 " param=" + msg.arg2); in handleMessage() 329 processRegisterNotification(msg.arg1, msg.arg2); in handleMessage() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ContactsAsyncHelper.java | 86 public void handleMessage(Message msg) { in handleMessage() argument 87 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() 89 switch (msg.arg1) { in handleMessage() 103 if (DBG) Log.d(LOG_TAG, "Loading image: " + msg.arg1 + in handleMessage() 104 " token: " + msg.what + " image URI: " + args.uri); in handleMessage() 107 if (DBG) Log.d(LOG_TAG, "Problem with image: " + msg.arg1 + in handleMessage() 108 " token: " + msg.what + " image URI: " + args.uri + in handleMessage() 116 Message reply = ContactsAsyncHelper.this.obtainMessage(msg.what); in handleMessage() 117 reply.arg1 = msg.arg1; in handleMessage() 118 reply.obj = msg.obj; in handleMessage() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 103 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 …]
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | SoftPreconditions.java | 48 public static void checkArgument(final boolean expression, String tag, String msg) { in checkArgument() argument 50 warn(tag, "Illegal argument", msg, new IllegalArgumentException(msg)); in checkArgument() 75 public static <T> T checkNotNull(final T reference, String tag, String msg) { in checkNotNull() argument 77 warn(tag, "Null Pointer", msg, new NullPointerException(msg)); in checkNotNull() 103 public static void checkState(final boolean expression, String tag, String msg) { in checkState() argument 105 warn(tag, "Illegal State", msg, new IllegalStateException(msg)); in checkState() 141 public static void warn(String tag, String prefix, String msg, Exception e) in warn() argument 147 if (TextUtils.isEmpty(msg)) { in warn() 150 logMessage = msg; in warn() 152 logMessage = prefix + ": " + msg; in warn() [all …]
|