/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 …]
|
/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/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 891 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in delayedInitialization() local 892 msg.arg1 = COMMAND_TYPE_DELAYED_INITIALIZATION; in delayedInitialization() 893 mSm.sendMessage(msg); in delayedInitialization() 901 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in getAwareInterface() local 902 msg.arg1 = COMMAND_TYPE_GET_AWARE; in getAwareInterface() 903 msg.obj = requestorWs; in getAwareInterface() 904 mSm.sendMessage(msg); in getAwareInterface() 912 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in releaseAwareInterface() local 913 msg.arg1 = COMMAND_TYPE_RELEASE_AWARE; in releaseAwareInterface() 914 mSm.sendMessage(msg); in releaseAwareInterface() [all …]
|
/packages/modules/StatsD/statsd/benchmark/ |
D | log_event_benchmark.cpp | 32 static size_t createStatsEvent(uint8_t* msg, int numElements = 1) { in createStatsEvent() argument 42 memcpy(msg, buf, size); in createStatsEvent() 46 static size_t createStatsEventMedium(uint8_t* msg) { in createStatsEventMedium() argument 47 return createStatsEvent(msg, 5); in createStatsEventMedium() 50 static size_t createStatsEventLarge(uint8_t* msg) { in createStatsEventLarge() argument 51 return createStatsEvent(msg, 10); in createStatsEventLarge() 54 static size_t createStatsEventExtraLarge(uint8_t* msg) { in createStatsEventExtraLarge() argument 55 return createStatsEvent(msg, 40); in createStatsEventExtraLarge() 59 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreation() local 60 size_t size = createStatsEvent(msg); in BM_LogEventCreation() [all …]
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_avrcp_test.cc | 33 tAVRC_MSG msg{}; in TEST_F() local 37 msg.hdr.opcode = AVRC_OP_VENDOR; in TEST_F() 38 msg.hdr.ctype = AVRC_CMD_STATUS; in TEST_F() 48 msg.vendor.p_vendor_data = vendor_rsp_buf; in TEST_F() 49 msg.vendor.vendor_len = 13; in TEST_F() 51 AVRC_Ctrl_ParsResponse(&msg, &result, scratch_buf, &scratch_buf_len), in TEST_F() 58 tAVRC_MSG msg{}; in TEST_F() local 62 msg.hdr.opcode = AVRC_OP_BROWSE; in TEST_F() 73 msg.browse.p_browse_data = browse_rsp_buf; in TEST_F() 74 msg.browse.browse_len = 13; in TEST_F() [all …]
|
/packages/modules/AdServices/adservices/framework/java/com/android/adservices/ |
D | LogUtil.java | 33 public static int v(String msg) { in v() argument 35 return Log.v(TAG, msg); in v() 43 String msg = format(format, params); in v() local 44 return Log.v(TAG, msg); in v() 50 public static int d(String msg) { in d() argument 52 return Log.d(TAG, msg); in d() 60 String msg = format(format, params); in d() local 61 return Log.d(TAG, msg); in d() 69 String msg = format(format, params); in d() local 70 return Log.d(TAG, msg, tr); in d() [all …]
|
D | LoggerFactory.java | 87 public int v(String msg) { in v() argument 89 return Log.v(mTag, msg); in v() 97 String msg = format(format, params); in v() local 98 return Log.v(mTag, msg); in v() 104 public int d(String msg) { in d() argument 106 return Log.d(mTag, msg); in d() 114 String msg = format(format, params); in d() local 115 return Log.d(mTag, msg); in d() 123 String msg = format(format, params); in d() local 124 return Log.d(mTag, msg, tr); in d() [all …]
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | LogUtil.java | 33 public static int v(String msg) { in v() argument 35 return Log.v(TAG, msg); in v() 43 String msg = format(format, params); in v() local 44 return Log.v(TAG, msg); in v() 50 public static int d(String msg) { in d() argument 52 return Log.d(TAG, msg); in d() 60 String msg = format(format, params); in d() local 61 return Log.d(TAG, msg); in d() 69 String msg = format(format, params); in d() local 70 return Log.d(TAG, msg, tr); in d() [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/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/utils/ |
D | Logger.java | 53 public void e(String msg) { in e() argument 54 Log.e(mTag, format(msg)); in e() 60 public void e(String msg, Throwable throwable) { in e() argument 61 Log.e(mTag, format(msg), throwable); in e() 67 public void d(String msg) { in d() argument 68 Log.d(mTag, format(msg)); in d() 74 public void d(String msg, Throwable throwable) { in d() argument 75 Log.d(mTag, format(msg), throwable); in d() 81 public void i(String msg) { in i() argument 82 Log.i(mTag, format(msg)); in i() [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/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsCallStatusTrackerTest.java | 96 Message msg = (Message) invocation.getArguments()[0]; in setUp() local 98 msg.getTarget().sendMessageDelayed(msg, delay); in setUp() 99 mMessageHashMap.put(++mId, msg); in setUp() 105 Message msg = mMessageHashMap.get(timerId); in setUp() 106 if (msg != null && msg.getTarget() != null) { in setUp() 107 msg.getTarget().removeMessages(msg.what, msg.obj); in setUp() 152 Message msg = mTestLooperListener.nextMessage(); in testForVoiceCallTypeChangedScenarios() local 153 assertEquals(mImsHandler, msg.getTarget()); in testForVoiceCallTypeChangedScenarios() 154 assertNotEquals(mEmergencyHandler, msg.getTarget()); in testForVoiceCallTypeChangedScenarios() 155 assertNotNull(msg); in testForVoiceCallTypeChangedScenarios() [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; 128 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 129 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 143 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 144 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 159 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 160 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() 174 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 175 mDelayHandler.sendMessageDelayed(msg, DELAY_BEFORE_SENDING_MSEC); in onCreate() [all …]
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_ccb_act.cc | 150 p_data->msg.discover_rsp.p_sep_info = sep_info; in avdt_ccb_hdl_discover_cmd() 151 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd() 157 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 158 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd() 159 sep_info[p_data->msg.discover_rsp.num_seps].media_type = in avdt_ccb_hdl_discover_cmd() 161 sep_info[p_data->msg.discover_rsp.num_seps].tsep = in avdt_ccb_hdl_discover_cmd() 164 p_data->msg.discover_rsp.num_seps++; in avdt_ccb_hdl_discover_cmd() 190 (tAVDT_CTRL*)(&p_data->msg.discover_rsp), in avdt_ccb_hdl_discover_rsp() 209 AvdtpScb* p_scb = avdt_scb_by_hdl(p_data->msg.single.seid); in avdt_ccb_hdl_getcap_cmd() 213 p_data->msg.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_ccb_hdl_getcap_cmd() [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/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterState.java | 149 protected String getLogRecString(Message msg) { in getLogRecString() argument 150 return messageString(msg.what); in getLogRecString() 165 void infoLog(String msg) { in infoLog() argument 167 Log.i(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in infoLog() 171 void errorLog(String msg) { in errorLog() argument 172 Log.e(TAG, BluetoothAdapter.nameForState(getStateValue()) + " : " + msg); in errorLog() 184 public boolean processMessage(Message msg) { in processMessage() argument 185 switch (msg.what) { in processMessage() 191 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage() 206 public boolean processMessage(Message msg) { in processMessage() argument [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsResolverTest.java | 188 static private void assertGreaterThan(String msg, int first, int second) { in assertGreaterThan() argument 189 assertTrue(msg + " Excepted " + first + " to be greater than " + second, first > second); in assertGreaterThan() 193 public DnsParseException(String msg) { in DnsParseException() argument 194 super(msg); in DnsParseException() 234 VerifyCancelCallback(@NonNull String msg, @Nullable CancellationSignal cancel) { in VerifyCancelCallback() argument 235 mMsg = msg; in VerifyCancelCallback() 239 VerifyCancelCallback(@NonNull String msg) { in VerifyCancelCallback() argument 240 this(msg, null); in VerifyCancelCallback() 370 final String msg = "RawQuery " + TEST_DOMAIN; in doTestRawQuery() local 372 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQuery() [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/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/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 …]
|