/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 639 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in delayedInitialization() local 640 msg.arg1 = COMMAND_TYPE_DELAYED_INITIALIZATION; in delayedInitialization() 641 mSm.sendMessage(msg); in delayedInitialization() 649 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in getAwareInterface() local 650 msg.arg1 = COMMAND_TYPE_GET_AWARE; in getAwareInterface() 651 msg.obj = requestorWs; in getAwareInterface() 652 mSm.sendMessage(msg); in getAwareInterface() 660 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in releaseAwareInterface() local 661 msg.arg1 = COMMAND_TYPE_RELEASE_AWARE; in releaseAwareInterface() 662 mSm.sendMessage(msg); in releaseAwareInterface() [all …]
|
/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/modules/adb/daemon/ |
D | file_sync_service.cpp | 144 syncmsg msg = {}; in do_lstat_v1() local 145 msg.stat_v1.id = ID_LSTAT_V1; in do_lstat_v1() 149 msg.stat_v1.mode = st.st_mode; in do_lstat_v1() 150 msg.stat_v1.size = st.st_size; in do_lstat_v1() 151 msg.stat_v1.mtime = st.st_mtime; in do_lstat_v1() 152 return WriteFdExactly(s, &msg.stat_v1, sizeof(msg.stat_v1)); in do_lstat_v1() 156 syncmsg msg = {}; in do_stat_v2() local 157 msg.stat_v2.id = id; in do_stat_v2() 169 msg.stat_v2.error = errno_to_wire(errno); in do_stat_v2() 171 msg.stat_v2.dev = st.st_dev; in do_stat_v2() [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 | 74 NduseroptMessage msg = parseNduseroptMessage(toBuffer(MSG_EMPTY)); in testParsing() local 75 assertMatches(AF_INET6, 0, IFINDEX1, ICMP_TYPE_RA, (byte) 0, SADDR1, msg); in testParsing() 76 assertNull(msg.option); in testParsing() 78 msg = parseNduseroptMessage(toBuffer(MSG_PREF64)); in testParsing() 79 assertMatches(AF_INET6, 16, IFINDEX2, ICMP_TYPE_RA, (byte) 0, SADDR2, msg); in testParsing() 80 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testParsing() 102 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseWithinNetlinkMessage() local 104 assertMatches(AF_INET6, 16, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseWithinNetlinkMessage() 105 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 110 msg = parseNduseroptMessage(bufWithoutHeader); in testParseWithinNetlinkMessage() [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/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsResolverTest.java | 157 static private void assertGreaterThan(String msg, int first, int second) { in assertGreaterThan() argument 158 assertTrue(msg + " Excepted " + first + " to be greater than " + second, first > second); in assertGreaterThan() 162 public DnsParseException(String msg) { in DnsParseException() argument 163 super(msg); in DnsParseException() 203 VerifyCancelCallback(@NonNull String msg, @Nullable CancellationSignal cancel) { in VerifyCancelCallback() argument 204 mMsg = msg; in VerifyCancelCallback() 208 VerifyCancelCallback(@NonNull String msg) { in VerifyCancelCallback() argument 209 this(msg, null); in VerifyCancelCallback() 329 final String msg = "RawQuery " + TEST_DOMAIN; in doTestRawQuery() local 331 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQuery() [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/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/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareManager.java | 623 public void handleMessage(Message msg) { in WifiAwareEventCallbackProxy() 625 Log.d(TAG, "WifiAwareEventCallbackProxy: What=" + msg.what + ", msg=" in WifiAwareEventCallbackProxy() 626 + msg); in WifiAwareEventCallbackProxy() 635 switch (msg.what) { in WifiAwareEventCallbackProxy() 638 new WifiAwareSession(mgr, mBinder, msg.arg1)); in WifiAwareEventCallbackProxy() 648 identityChangedListener.onIdentityChanged((byte[]) msg.obj); in WifiAwareEventCallbackProxy() 660 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_SUCCESS); in onConnectSuccess() local 661 msg.arg1 = clientId; in onConnectSuccess() 662 mHandler.sendMessage(msg); in onConnectSuccess() 669 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_FAIL); in onConnectFail() local [all …]
|
/packages/modules/adb/client/ |
D | transport_usb.cpp | 44 static int UsbReadMessage(usb_handle* h, amessage* msg) { in UsbReadMessage() argument 49 CHECK_GE(usb_packet_size, sizeof(*msg)); in UsbReadMessage() 54 if (n != sizeof(*msg)) { in UsbReadMessage() 55 D("usb_read returned unexpected length %d (expected %zu)", n, sizeof(*msg)); in UsbReadMessage() 58 memcpy(msg, buffer, sizeof(*msg)); in UsbReadMessage() 61 return usb_read(h, msg, sizeof(*msg)); in UsbReadMessage() 68 D("UsbReadPayload(%d)", p->msg.data_length); in UsbReadPayload() 70 if (p->msg.data_length > MAX_PAYLOAD) { in UsbReadPayload() 80 size_t len = p->msg.data_length; in UsbReadPayload() 88 if (rc != static_cast<int>(p->msg.data_length)) { in UsbReadPayload() [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/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/hid/ |
D | HidHostService.java | 158 public void handleMessage(Message msg) { 159 if (DBG) Log.v(TAG, "handleMessage(): msg.what=" + msg.what); 161 switch (msg.what) { 163 BluetoothDevice device = (BluetoothDevice) msg.obj; 175 BluetoothDevice device = (BluetoothDevice) msg.obj; 186 BluetoothDevice device = getAnonymousDevice((byte[]) msg.obj); 189 int halState = msg.arg1; 219 BluetoothDevice device = (BluetoothDevice) msg.obj; 229 BluetoothDevice device = getAnonymousDevice((byte[]) msg.obj); 230 int protocolMode = msg.arg1; [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 169 private String getPackageName(Message msg) { in getPackageName() argument 170 if (!(msg.obj instanceof Bundle)) { in getPackageName() 173 Bundle bundle = (Bundle) msg.obj; in getPackageName() 179 private String getAttributionTag(Message msg) { in getAttributionTag() argument 180 if (!(msg.obj instanceof Bundle)) { in getAttributionTag() 183 Bundle bundle = (Bundle) msg.obj; in getAttributionTag() 189 private boolean shouldIgnoreLocationSettingsForSingleScan(Message msg) { in shouldIgnoreLocationSettingsForSingleScan() argument 190 if (msg.what != WifiScanner.CMD_START_SINGLE_SCAN) return false; in shouldIgnoreLocationSettingsForSingleScan() 191 if (!(msg.obj instanceof Bundle)) return false; in shouldIgnoreLocationSettingsForSingleScan() 192 Bundle bundle = (Bundle) msg.obj; in shouldIgnoreLocationSettingsForSingleScan() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterState.java | 151 protected String getLogRecString(Message msg) { in getLogRecString() argument 152 return messageString(msg.what); in getLogRecString() 167 void infoLog(String msg) { in infoLog() argument 169 Log.i(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in infoLog() 173 void errorLog(String msg) { in errorLog() argument 174 Log.e(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in errorLog() 186 public boolean processMessage(Message msg) { in processMessage() argument 187 switch (msg.what) { in processMessage() 193 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage() 208 public boolean processMessage(Message msg) { in processMessage() argument [all …]
|
D | BondStateMachine.java | 137 public synchronized boolean processMessage(Message msg) { in processMessage() argument 139 BluetoothDevice dev = (BluetoothDevice) msg.obj; in processMessage() 143 switch (msg.what) { in processMessage() 146 OobData p192Data = (msg.getData() != null) in processMessage() 147 ? msg.getData().getParcelable(OOBDATAP192) : null; in processMessage() 148 OobData p256Data = (msg.getData() != null) in processMessage() 149 ? msg.getData().getParcelable(OOBDATAP256) : null; in processMessage() 150 createBond(dev, msg.arg1, p192Data, p256Data, true); in processMessage() 156 int newState = msg.arg1; in processMessage() 176 Log.e(TAG, "Received unhandled state: " + msg.what); in processMessage() [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 …]
|
/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/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/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 …]
|