/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 181 final android.telephony.SmsMessage[] messages = getMessagesFromIntent(intent); in deliverSmsIntent() local 184 if (messages == null || messages.length < 1) { in deliverSmsIntent() 194 deliverSmsMessages(context, subId, errorCode, messages); in deliverSmsIntent() 197 DebugUtils.dumpSms(messages[0].getTimestampMillis(), messages, format); in deliverSmsIntent() 202 final int errorCode, final android.telephony.SmsMessage[] messages) { in deliverSmsMessages() argument 204 MmsUtils.parseReceivedSmsMessage(context, messages, errorCode); in deliverSmsMessages() 209 final long receivedTimestampMs = MmsUtils.getMessageDate(messages[0], nowInMillis); in deliverSmsMessages() 220 if (messages[0].getMessageClass() == android.telephony.SmsMessage.MessageClass.CLASS_0 || in deliverSmsMessages() 338 final android.telephony.SmsMessage[] messages = Sms.Intents.getMessagesFromIntent(intent); in getMessagesFromIntent() local 341 if (messages == null || messages.length < 1) { in getMessagesFromIntent() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | PasswordHelper.java | 160 List<String> messages = new LinkedList<>(); in convertPasswordErrorCodeToMessages() local 163 messages.add(context.getString(R.string.lockpassword_illegal_character)); in convertPasswordErrorCodeToMessages() 167 messages.add(context.getString(R.string.lockpassword_password_too_short, MIN_LENGTH)); in convertPasswordErrorCodeToMessages() 170 return messages; in convertPasswordErrorCodeToMessages() 174 List<String> messages = new LinkedList<>(); in convertPinErrorCodeToMessages() local 177 messages.add(context.getString(R.string.lockpassword_pin_contains_non_digits)); in convertPinErrorCodeToMessages() 181 messages.add(context.getString(R.string.lockpassword_pin_no_sequential_digits)); in convertPinErrorCodeToMessages() 185 messages.add(context.getString(R.string.lockpin_invalid_pin)); in convertPinErrorCodeToMessages() 188 return messages; in convertPinErrorCodeToMessages()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/ |
D | messagereader.cpp | 66 void ParseMessages(const char* json, MessageMap& messages) { in ParseMessages() argument 71 messages.swap(handler.messages_); // Only change it if success. in ParseMessages() 81 MessageMap messages; in main() local 85 ParseMessages(json1, messages); in main() 87 for (MessageMap::const_iterator itr = messages.begin(); itr != messages.end(); ++itr) in main() 93 ParseMessages(json2, messages); in main()
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 171 List<String> messages = sms.divideMessage(messageOut); in sendSmsMessageInternal() local 176 for (String message : messages) { in sendSmsMessageInternal() 181 return messages; in sendSmsMessageInternal() 212 List<String> messages = sendSmsMessageInternal(message); in sendMessageTest() local 213 Log.i(TAG, "sendMessageTest -- message broken into " + messages.size() + "parts"); in sendMessageTest() 215 boolean receivedSms = waitForSms(messages.size()); in sendMessageTest() 220 assertEquals(messages.size(), mReceivedMessages.size()); in sendMessageTest() 222 for (String messageFrag : messages) { in sendMessageTest()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 212 final ArrayList<String> messages = smsManager.divideMessage(message); in sendMessage() local 213 if (messages == null || messages.size() < 1) { in sendMessage() 217 final SendResult pendingResult = new SendResult(messages.size()); in sendMessage() 221 context, subId, dest, messages, serviceCenter, requireDeliveryReport, messageUri); in sendMessage() 252 final ArrayList<String> messages, final String serviceCenter, in sendInternal() argument 256 final int messageCount = messages.size(); in sendInternal() 287 messages.get(i), in sendInternal() 293 dest, serviceCenter, messages, sentIntents, deliveryIntents); in sendInternal()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | MessageFragment.java | 59 args.putStringArray(MESSAGE_LIST_KEY, builder.messages); in newInstance() 153 private String[] messages; field in MessageFragment.Builder 161 public Builder setMessages(String... messages) { in setMessages() argument 163 Assert.checkArgument(messages.length > 0 && messages.length <= 3); in setMessages() 164 this.messages = messages; in setMessages()
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | FallbackAssistant.java | 117 List<CharSequence> messages = new ArrayList<>(); in handleReadAction() local 128 messages.add(previousSender.getName()); in handleReadAction() 129 messages.add(mVerbForSays); in handleReadAction() 133 messages.add(message.getSenderPerson().getName()); in handleReadAction() 134 messages.add(mVerbForSays); in handleReadAction() 137 messages.add(message.getText()); in handleReadAction() 142 if (mTextToSpeechHelper.requestPlay(messages, requestId)) { in handleReadAction()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Injector.java | 54 public final MessageBuilder messages; field in Injector 87 MessageBuilder messages, in Injector() argument 91 this(features, config, prefs, messages, dialogs, fileTypeLookup, in Injector() 100 MessageBuilder messages, in Injector() argument 109 this.messages = messages; in Injector()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockPassword.java | 875 List<String> messages = new ArrayList<>(); in convertErrorCodeToMessages() local 877 messages.add(getString(R.string.lockpassword_illegal_character)); in convertErrorCodeToMessages() 880 messages.add(getString(R.string.lockpassword_pin_contains_non_digits)); in convertErrorCodeToMessages() 883 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 888 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 893 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 898 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 903 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 908 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 913 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 874 List<String> messages = new ArrayList<>(); in convertErrorCodeToMessages() local 876 messages.add(getString(R.string.lockpassword_illegal_character)); in convertErrorCodeToMessages() 879 messages.add(getString(R.string.lockpassword_pin_contains_non_digits)); in convertErrorCodeToMessages() 882 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 887 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 892 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 897 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 902 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 907 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() 912 messages.add(getResources().getQuantityString( in convertErrorCodeToMessages() [all …]
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | SmartActionsHelper.java | 257 List<ConversationActions.Message> messages = extractMessages(entry.getNotification()); in suggestConversationActions() local 258 if (messages.isEmpty()) { in suggestConversationActions() 262 ConversationActions.Message lastMessage = messages.get(messages.size() - 1); in suggestConversationActions() 280 new ConversationActions.Request.Builder(messages) in suggestConversationActions() 436 Parcelable[] messages = notification.extras.getParcelableArray(Notification.EXTRA_MESSAGES); in extractMessages() local 437 if (messages == null || messages.length == 0) { in extractMessages() 445 for (int i = messages.length - 1; i >= 0; i--) { in extractMessages() 447 Notification.MessagingStyle.Message.getMessageFromBundle((Bundle) messages[i]); in extractMessages()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | MessageNotificationViewHolder.java | 122 List<Notification.MessagingStyle.Message> messages = in bindBody() local 124 if (messages != null && !messages.isEmpty()) { in bindBody() 125 messageCount = messages.size(); in bindBody() 127 Notification.MessagingStyle.Message message = messages.get(messages.size() - 1); in bindBody()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 224 final ArrayList<Message> messages = new ArrayList<Message>(uids.length); in getMessagesInternal() local 228 messages.add(message); in getMessagesInternal() 230 return messages.toArray(Message.EMPTY_ARRAY); in getMessagesInternal() 233 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetch() argument 236 fetchInternal(messages, fp, listener); in fetch() 243 public void fetchInternal(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetchInternal() argument 245 if (messages.length == 0) { in fetchInternal() 250 for (Message m : messages) { in fetchInternal() 303 ImapStore.joinMessageUids(messages), in fetchInternal() 674 public void setFlags(Message[] messages, String[] flags, boolean value) in setFlags() argument [all …]
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | SmartActionsHelperTest.java | 207 List<ConversationActions.Message> messages = in testSuggest_nonMessageStyleMessageNotification() local 210 assertThat(messages).hasSize(1); in testSuggest_nonMessageStyleMessageNotification() 211 MessageSubject.assertThat(messages.get(0)).hasText(MESSAGE); in testSuggest_nonMessageStyleMessageNotification() 240 List<ConversationActions.Message> messages = in testSuggest_messageStyle() local 242 assertThat(messages).hasSize(4); in testSuggest_messageStyle() 244 ConversationActions.Message firstMessage = messages.get(0); in testSuggest_messageStyle() 251 ConversationActions.Message secondMessage = messages.get(1); in testSuggest_messageStyle() 258 ConversationActions.Message thirdMessage = messages.get(2); in testSuggest_messageStyle() 264 ConversationActions.Message fourthMessage = messages.get(3); in testSuggest_messageStyle()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | DebugUtils.java | 249 public static void dumpSms(final long id, final android.telephony.SmsMessage[] messages, 263 dos.writeInt(messages.length); 264 for (final android.telephony.SmsMessage message : messages) { 284 SmsMessage[] messages = null; 310 messages = messagesTemp; 327 return messages;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 70 … public RuntimeDialogController(Features features, Activity activity, MessageBuilder messages) { in RuntimeDialogController() argument 73 mMessages = messages; in RuntimeDialogController() 208 static DialogController create(Features features, Activity activity, MessageBuilder messages) { in create() argument 209 return new RuntimeDialogController(features, activity, messages); in create()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
D | ImapHelper.java | 207 Message[] messages; in fetchAllVoicemails() local 216 messages = folder.getMessages(null); in fetchAllVoicemails() 218 for (Message message : messages) { in fetchAllVoicemails() 670 Message[] messages = new Message[voicemails.size()]; in convertToImapMessages() local 672 messages[i] = new MimeMessage(); in convertToImapMessages() 673 messages[i].setUid(voicemails.get(i).getSourceData()); in convertToImapMessages() 675 return messages; in convertToImapMessages()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationGroup.java | 182 List<Notification.MessagingStyle.Message> messages = in generateChildTitles() local 185 Notification.MessagingStyle.Message lastMessage = messages.get(messages.size() - 1); in generateChildTitles()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 51 public NdefPushProtocol(byte[] actions, NdefMessage[] messages) { in NdefPushProtocol() argument 52 if (actions.length != messages.length || actions.length == 0) { in NdefPushProtocol() 62 System.arraycopy(messages, 0, mMessages, 0, numMessages); in NdefPushProtocol()
|
/packages/apps/Dialer/java/com/android/dialer/persistentlog/ |
D | PersistentLogger.java | 82 List<byte[]> messages = new ArrayList<>(); in initialize() 83 messageQueue.drainTo(messages); in initialize() 88 fileHandler.writeLogs(messages); in initialize()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 413 List<SmsMessage> messages; in getSingleMessageFromIcc() local 419 messages = smsManager.getMessagesFromIcc(); in getSingleMessageFromIcc() 424 final int count = messages.size(); in getSingleMessageFromIcc() 426 SmsMessage message = messages.get(i); in getSingleMessageFromIcc() 449 List<SmsMessage> messages; in getAllMessagesFromIcc() local 455 messages = smsManager.getMessagesFromIcc(); in getAllMessagesFromIcc() 460 final int count = messages.size(); in getAllMessagesFromIcc() 463 SmsMessage message = messages.get(i); in getAllMessagesFromIcc()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 88 MessageBuilder messages = new MessageBuilder(this); in onCreate() local 96 messages, in onCreate() 97 DialogController.create(features, this, messages), in onCreate() 132 mInjector.messages); in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessageNotificationState.java | 676 final List<CharSequence> messages = Lists.newArrayList(); in buildConversationPageForWearable() local 747 messages.add(message); in buildConversationPageForWearable() 759 if (!hasSeenMessagesBeforeNotification && messages.size() <= maxMessagesInNotification) { in buildConversationPageForWearable() 768 if (messages.size() > MAX_MESSAGES_IN_WEARABLE_PAGE) { in buildConversationPageForWearable() 769 messages.remove(messages.size() - 1); in buildConversationPageForWearable() 774 for (int i = messages.size() - 1; i >= 0; --i) { in buildConversationPageForWearable() 775 bigText.append(messages.get(i)); in buildConversationPageForWearable()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugSmsMmsFromDumpFileDialogFragment.java | 132 final SmsMessage[] messages = DebugUtils.retreiveSmsFromDumpFile(dumpFileName); in receiveFromDumpFile() local 133 if (messages != null) { in receiveFromDumpFile() 135 0, messages); in receiveFromDumpFile() local
|
/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | rtt_transcript.proto | 17 // Chat messages. 18 repeated RttTranscriptMessage messages = 4; field
|