/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmSmsCbMessageTest.java | 126 SmsCbMessage msg = GsmSmsCbMessage.createSmsCbMessage(mMockedContext, header, null, pdus, in testCreateMessageFromBinary() local 129 Log.d(TAG, "msg=" + msg); in testCreateMessageFromBinary() 132 msg.getGeographicalScope()); in testCreateMessageFromBinary() 133 assertEquals(3946, msg.getSerialNumber()); in testCreateMessageFromBinary() 135 msg.getServiceCategory()); in testCreateMessageFromBinary() 136 assertEquals("en", msg.getLanguageCode()); in testCreateMessageFromBinary() 138 msg.getMessageBody()); in testCreateMessageFromBinary() 139 assertEquals(SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, msg.getMessagePriority()); in testCreateMessageFromBinary() 141 SmsCbCmasInfo cmasInfo = msg.getCmasWarningInfo(); in testCreateMessageFromBinary() 148 List<CbGeoUtils.Geometry> geometries = msg.getGeometries(); in testCreateMessageFromBinary() [all …]
|
D | CdmaSmsMessageTest.java | 149 CdmaSmsMessage msg = new CdmaSmsMessage(); in createBroadcastParcel() local 151 msg.teleserviceId = TELESERVICE_NOT_SET; in createBroadcastParcel() 152 msg.isServicePresent = true; in createBroadcastParcel() 153 msg.serviceCategory = serviceCategory; in createBroadcastParcel() 156 msg.address.digitMode = DIGIT_MODE_4BIT_DTMF; in createBroadcastParcel() 157 msg.address.numberMode = NUMBER_MODE_NOT_DATA_NETWORK; in createBroadcastParcel() 158 msg.address.numberType = TON_UNKNOWN; in createBroadcastParcel() 159 msg.address.numberPlan = NUMBERING_PLAN_ISDN_TELEPHONY; in createBroadcastParcel() 160 msg.subAddress.subaddressType = 0; in createBroadcastParcel() 161 msg.subAddress.odd = false; in createBroadcastParcel() [all …]
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/ |
D | phNxpExtns.cpp | 33 static NFCSTATUS phNxpExtns_ProcessSysMessage(phLibNfc_Message_t* msg); 114 phLibNfc_Message_t msg; in EXTNS_MfcCallBack() local 116 msg.eMsgType = PH_NXPEXTNS_RX_DATA; in EXTNS_MfcCallBack() 117 msg.pMsgData = buf; in EXTNS_MfcCallBack() 118 msg.Size = buflen; in EXTNS_MfcCallBack() 120 status = phNxpExtns_SendMsg(&msg); in EXTNS_MfcCallBack() 145 phLibNfc_Message_t msg; in EXTNS_MfcCheckNDef() local 147 msg.eMsgType = PH_NXPEXTNS_MIFARE_CHECK_NDEF; in EXTNS_MfcCheckNDef() 148 msg.pMsgData = NULL; in EXTNS_MfcCheckNDef() 149 msg.Size = 0; in EXTNS_MfcCheckNDef() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 49 public void handleMessage(Message msg) { 52 OnClickListener pendingButtonClick = (OnClickListener) msg.obj; 110 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 111 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 124 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 125 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 139 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 140 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 153 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 154 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NduseroptMessageTest.java | 73 NduseroptMessage msg = parseNduseroptMessage(toBuffer(MSG_EMPTY)); in testParsing() local 74 assertMatches(AF_INET6, 0, IFINDEX1, ICMP_TYPE_RA, (byte) 0, SADDR1, msg); in testParsing() 75 assertNull(msg.option); in testParsing() 77 msg = parseNduseroptMessage(toBuffer(MSG_PREF64)); in testParsing() 78 assertMatches(AF_INET6, 16, IFINDEX2, ICMP_TYPE_RA, (byte) 0, SADDR2, msg); in testParsing() 79 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testParsing() 101 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseWithinNetlinkMessage() local 103 assertMatches(AF_INET6, 16, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseWithinNetlinkMessage() 104 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 109 msg = parseNduseroptMessage(bufWithoutHeader); in testParseWithinNetlinkMessage() [all …]
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | plugin_pcl.c | 113 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/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 155 public void handleMessage(Message msg) { 156 if (DBG) Log.v(TAG, "handleMessage(): msg.what=" + msg.what); 158 switch (msg.what) { 160 BluetoothDevice device = (BluetoothDevice) msg.obj; 170 BluetoothDevice device = (BluetoothDevice) msg.obj; 179 BluetoothDevice device = getDevice((byte[]) msg.obj); 180 int halState = msg.arg1; 210 BluetoothDevice device = (BluetoothDevice) msg.obj; 218 BluetoothDevice device = getDevice((byte[]) msg.obj); 219 int protocolMode = msg.arg1; [all …]
|
D | HidDeviceService.java | 86 public void handleMessage(Message msg) { in handleMessage() argument 88 Log.d(TAG, "handleMessage(): msg.what=" + msg.what); in handleMessage() 91 switch (msg.what) { in handleMessage() 93 BluetoothDevice device = msg.obj != null ? (BluetoothDevice) msg.obj : null; in handleMessage() 94 boolean success = (msg.arg1 != 0); in handleMessage() 147 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() 148 int halState = msg.arg1; in handleMessage() 168 byte type = (byte) msg.arg1; in handleMessage() 169 byte id = (byte) msg.arg2; in handleMessage() 170 int bufferSize = msg.obj == null ? 0 : ((Integer) msg.obj).intValue(); in handleMessage() [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/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | Logger.java | 30 public void v(String msg) { in v() argument 31 Log.v(mTag, buildMessage(msg)); in v() 35 public void v(String msg, Exception ex) { in v() argument 36 Log.v(mTag, buildMessage(msg), ex); in v() 40 public void i(String msg) { in i() argument 41 Log.i(mTag, buildMessage(msg)); in i() 45 public void i(String msg, Exception ex) { in i() argument 46 Log.i(mTag, buildMessage(msg), ex); in i() 50 public void d(String msg) { in d() argument 51 Log.d(mTag, buildMessage(msg)); in d() [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/services/Car/service/src/com/android/car/garagemode/ |
D | Logger.java | 31 public void v(String msg) { in v() argument 32 Log.v(mTag, buildMessage(msg)); in v() 36 public void v(String msg, Exception ex) { in v() argument 37 Log.v(mTag, buildMessage(msg), ex); in v() 41 public void i(String msg) { in i() argument 42 Log.i(mTag, buildMessage(msg)); in i() 46 public void i(String msg, Exception ex) { in i() argument 47 Log.i(mTag, buildMessage(msg), ex); in i() 51 public void d(String msg) { in d() argument 52 Log.d(mTag, buildMessage(msg)); in d() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterState.java | 143 protected String getLogRecString(Message msg) { in getLogRecString() argument 144 return messageString(msg.what); in getLogRecString() 159 void infoLog(String msg) { in infoLog() argument 161 Log.i(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in infoLog() 165 void errorLog(String msg) { in errorLog() argument 166 Log.e(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in errorLog() 178 public boolean processMessage(Message msg) { in processMessage() argument 179 switch (msg.what) { in processMessage() 185 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage() 200 public boolean processMessage(Message msg) { in processMessage() argument [all …]
|
D | BondStateMachine.java | 125 public synchronized boolean processMessage(Message msg) { in processMessage() argument 127 BluetoothDevice dev = (BluetoothDevice) msg.obj; in processMessage() 129 switch (msg.what) { in processMessage() 133 if (msg.getData() != null) { in processMessage() 134 oobData = msg.getData().getParcelable(OOBDATA); in processMessage() 137 createBond(dev, msg.arg1, oobData, true); in processMessage() 143 int newState = msg.arg1; in processMessage() 163 Log.e(TAG, "Received unhandled state: " + msg.what); in processMessage() 181 public synchronized boolean processMessage(Message msg) { in processMessage() argument 182 BluetoothDevice dev = (BluetoothDevice) msg.obj; in processMessage() [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/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Clog.java | 59 public static int v(@NonNull String tag, @NonNull String msg) { in v() argument 60 return println(VERBOSE, tag, msg); in v() 63 public static int v(@NonNull String tag, @NonNull String msg, @NonNull Throwable tr) { in v() argument 64 return println(VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); in v() 67 public static int d(@NonNull String tag, @NonNull String msg) { in d() argument 68 return println(DEBUG, tag, msg); in d() 71 public static int d(@NonNull String tag, @NonNull String msg, @NonNull Throwable tr) { in d() argument 72 return println(DEBUG, tag, msg + '\n' + getStackTraceString(tr)); in d() 75 public static int i(@NonNull String tag, @NonNull String msg) { in i() argument 76 return println(INFO, tag, msg); in i() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 227 protected void onPreHandleMessage(Message msg) { in onPreHandleMessage() argument 228 if (msg.obj != null && msg.obj instanceof SomeArgs) { in onPreHandleMessage() 229 Session session = (Session) ((SomeArgs) msg.obj).arg1; in onPreHandleMessage() 230 String messageCodeName = MESSAGE_CODE_TO_NAME.get(msg.what, "unknown"); in onPreHandleMessage() 232 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); in onPreHandleMessage() 237 protected void onPostHandleMessage(Message msg) { in onPostHandleMessage() argument 239 if (msg.obj != null && msg.obj instanceof SomeArgs) { in onPostHandleMessage() 240 ((SomeArgs) msg.obj).recycle(); in onPostHandleMessage() 264 public boolean processMessage(Message msg) { in processMessage() argument 270 MESSAGE_CODE_TO_NAME.get(msg.what, Integer.toString(msg.what))); in processMessage() [all …]
|
D | CallAudioModeStateMachine.java | 194 public boolean processMessage(Message msg) { in processMessage() argument 195 switch (msg.what) { in processMessage() 218 java.lang.Runnable r = (java.lang.Runnable) msg.obj; in processMessage() 240 public boolean processMessage(Message msg) { in processMessage() argument 241 if (super.processMessage(msg) == HANDLED) { in processMessage() 244 MessageArgs args = (MessageArgs) msg.obj; in processMessage() 245 switch (msg.what) { in processMessage() 301 public boolean processMessage(Message msg) { in processMessage() argument 302 if (super.processMessage(msg) == HANDLED) { in processMessage() 305 MessageArgs args = (MessageArgs) msg.obj; in processMessage() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/utils/ |
D | Log.java | 60 public void v(String prefix, String msg) { in v() argument 62 android.util.Log.v(mTAG, prefix + ": " + msg); in v() 76 public void v(String prefix, String msg, Throwable tr) { in v() argument 78 android.util.Log.v(mTAG, prefix + ": " + msg, tr); in v() 91 public void d(String prefix, String msg) { in d() argument 93 android.util.Log.d(mTAG, prefix + ": " + msg); in d() 107 public void d(String prefix, String msg, Throwable tr) { in d() argument 109 android.util.Log.d(mTAG, prefix + ": " + msg, tr); in d() 122 public void i(String prefix, String msg) { in i() argument 124 android.util.Log.i(mTAG, prefix + ": " + 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/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/Bluetooth/src/com/android/bluetooth/statemachine/ |
D | StateMachine.java | 469 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, in LogRec() argument 471 update(sm, msg, info, state, orgState, transToState); in LogRec() 480 public void update(StateMachine sm, Message msg, String info, IState state, IState orgState, in update() argument 484 mWhat = (msg != null) ? msg.what : 0; in update() 664 synchronized void add(StateMachine sm, Message msg, String messageInfo, IState state, in add() argument 668 mLogRecVector.add(new LogRec(sm, msg, messageInfo, state, orgState, transToState)); in add() 675 pmi.update(sm, msg, messageInfo, state, orgState, transToState); in add() 770 public boolean processMessage(Message msg) { in processMessage() argument 771 mSm.haltedProcessMessage(msg); in processMessage() 781 public boolean processMessage(Message msg) { in processMessage() argument [all …]
|