Home
last modified time | relevance | path

Searched refs:msgs (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tools/cpu_perf/
Dperfetto_cpu_analysis.py76 msgs = []
79 add_line_with_indentation(msgs,
82 add_line_with_indentation(msgs, 50 * "-", indentation)
86 add_line_with_indentation(msgs,
91 print("".join(msgs))
106 msgs = []
109 msgs.append("{}: total: {:.3f}% active: {:.3f}%"\
111 msgs.append("\n" + 50 * "-")
115 msgs.append("\n{:<10} {:<15}".format("Core {}".format(c), "{:.3f}%".format(coreLoad)))
117 print(''.join(msgs))
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DNetlinkUtilsTest.java79 List<RtNetlinkNeighborMessage> msgs = new ArrayList<>(); in testGetNeighborsQuery() local
81 msgs.add(msg); in testGetNeighborsQuery()
115 for (var msg : msgs) { in testGetNeighborsQuery()
125 assertTrue(msgs.size() > 0); in testGetNeighborsQuery()
134 List<RtNetlinkAddressMessage> msgs = new ArrayList<>(); in testBasicWorkingGetAddrQuery() local
136 msgs.add(msg); in testBasicWorkingGetAddrQuery()
146 for (var msg : msgs) { in testBasicWorkingGetAddrQuery()
173 assertTrue(msgs.size() > 0); in testBasicWorkingGetAddrQuery()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DVoicePlateActivity.java413 List<NotificationCompat.MessagingStyle.Message> msgs = mNotifHandler.getMessages(notif); in onReadNotification() local
414 if (msgs == null || msgs.isEmpty()) { in onReadNotification()
422 if (msgs.size() == 1) { in onReadNotification()
423 NotificationCompat.MessagingStyle.Message msg = msgs.get(0); in onReadNotification()
428 Log.d(TAG, "Reading notification: # msgs: " + msgs.size()); in onReadNotification()
430 for (NotificationCompat.MessagingStyle.Message msg : msgs) { in onReadNotification()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1027 final Context context, final SmsMessage[] msgs, final int error) { in parseReceivedSmsMessage() argument
1028 final SmsMessage sms = msgs[0]; in parseReceivedSmsMessage()
1032 values.put(Sms.BODY, buildMessageBodyFromPdus(msgs)); in parseReceivedSmsMessage()
1055 private static String buildMessageBodyFromPdus(final SmsMessage[] msgs) { in buildMessageBodyFromPdus() argument
1056 if (msgs.length == 1) { in buildMessageBodyFromPdus()
1058 return replaceFormFeeds(msgs[0].getDisplayMessageBody()); in buildMessageBodyFromPdus()
1062 for (final SmsMessage msg : msgs) { in buildMessageBodyFromPdus()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java1716 List<Message> msgs = in testAddRemoveMultipleSourcesForGroup() local
1725 assertThat(msgs.size()).isEqualTo(1); in testAddRemoveMultipleSourcesForGroup()