Home
last modified time | relevance | path

Searched refs:subject (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java602 public String subject = null; field in BluetoothMapContentObserver.Event
651 String subject, String senderName, String priority) { in Event() argument
657 if (subject != null) { in Event()
658 this.subject = BluetoothMapUtils.stripInvalidChars(subject); in Event()
668 String subject, String senderName, String priority, long conversationID, in Event() argument
675 if (subject != null) { in Event()
676 this.subject = BluetoothMapUtils.stripInvalidChars(subject); in Event()
762 if (subject != null) { in encode()
764 subject.substring(0, subject.length() < 256 ? subject.length() : 256)); in encode()
796 presenceStatus.length() < 256 ? subject.length() in encode()
[all …]
DBluetoothMapContent.java706 String subject = c.getString(fi.mSmsColSubject); in setSize() local
707 size = subject.length(); in setSize()
711 String subject = e.getSubject(); in setSize() local
712 if (subject == null || subject.length() == 0) { in setSize()
716 if (subject != null && subject.length() != 0) { in setSize()
717 size += subject.length(); in setSize()
1317 String subject = ""; in setSubject() local
1328 subject = c.getString(fi.mSmsColSubject); in setSubject()
1330 subject = c.getString(fi.mMmsColSubject); in setSubject()
1331 if (subject == null || subject.length() == 0) { in setSubject()
[all …]
DBluetoothMapMessageListingElement.java96 public void setSubject(String subject) { in setSubject() argument
97 this.mSubject = subject; in setSubject()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java388 final String subject = mComposeSubjectText.getText().toString(); in sendMessageInternal() local
389 mBinding.getData().setMessageSubject(subject); in sendMessageInternal()
484 final String subject = data.getMessageSubject(); in onDraftChanged() local
491 mComposeSubjectText.setText(subject); in onDraftChanged()
597 final String subject = mComposeSubjectText.getText().toString(); in writeDraftMessage() local
598 mBinding.getData().setMessageSubject(subject); in writeDraftMessage()
676 final String subject = mComposeSubjectText.getText().toString(); in updateVisualsOnDraftChanged() local
677 draftMessageData.setMessageSubject(subject); in updateVisualsOnDraftChanged()
678 if (!TextUtils.isEmpty(subject)) { in updateVisualsOnDraftChanged()
683 final boolean hasSubject = (TextUtils.getTrimmedLength(subject) > 0); in updateVisualsOnDraftChanged()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelNumberSubject.java43 public ChannelNumberSubject(FailureMetadata failureMetadata, @Nullable ChannelNumber subject) { in ChannelNumberSubject() argument
44 super(failureMetadata, subject); in ChannelNumberSubject()
45 this.actual = subject; in ChannelNumberSubject()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java149 String subject = mCallSubjectView.getText().toString();
154 .setCallSubject(subject));
156 mSubjectHistory.add(subject);
397 for (String subject : history) { in saveSubjectHistory()
398 if (!TextUtils.isEmpty(subject)) { in saveSubjectHistory()
399 editor.putString(PREF_KEY_SUBJECT_HISTORY_ITEM + historyCount, subject); in saveSubjectHistory()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java162 String subject = mCallSubjectView.getText().toString();
164 subject);
171 mSubjectHistory.add(subject);
456 for (String subject : history) { in saveSubjectHistory()
457 if (!TextUtils.isEmpty(subject)) { in saveSubjectHistory()
459 subject); in saveSubjectHistory()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java270 X500Principal subject = intermediate.getSubjectX500Principal(); in shouldPresentCertificate() local
272 subject.getName())); in shouldPresentCertificate()
276 chainIssuers.add(subject); in shouldPresentCertificate()
474 String subject = mSubjects.get(adapterPosition); in getView() local
475 if (subject == null) { in getView()
478 holder.mSubjectTextView.setText(subject); in getView()
DKeyChainService.java341 final String subject =
344 Log.d(TAG, String.format("Installing CA certificate: %s", subject));
347 subjectForAudit = subject;
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DNoConfirmationSmsSendService.java83 final String subject = getText(intent, Intent.EXTRA_SUBJECT); in onHandleIntent() local
110 InsertNewMessageAction.insertNewMessage(subId, recipients, message, subject); in onHandleIntent()
119 subject); in onHandleIntent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java279 final String subject, final long sent, final long recieved, in createReceivedSmsMessage() argument
288 message.mMmsSubject = subject; in createReceivedSmsMessage()
339 final int smsPriority, final String subject, final boolean seen, final boolean read, in createMmsMessage() argument
357 message.mMmsSubject = subject; in createMmsMessage()
529 public final void setMmsSubject(final String subject) { in setMmsSubject() argument
530 mMmsSubject = subject; in setMmsSubject()
DDraftMessageData.java261 private void setMessageSubject(final String subject, final boolean notify) { in setMessageSubject() argument
262 mMessageSubject = subject; in setMessageSubject()
272 public void setMessageSubject(final String subject) { in setMessageSubject() argument
273 setMessageSubject(subject, false); in setMessageSubject()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java77 final String messageText, final String subject) { in insertNewMessage() argument
79 subId, recipients, messageText, subject); in insertNewMessage()
105 final String messageText, final String subject) { in InsertNewMessageAction() argument
113 actionParameters.putString(KEY_SUBJECT_TEXT, subject); in InsertNewMessageAction()
DReceiveSmsMessageAction.java126 final String subject = messageValues.getAsString(Sms.SUBJECT); in executeAction() local
144 participantId, selfId, text, subject, sent, received, seen, read); in executeAction()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DSmartActionsHelperTest.java513 @NonNull ConversationActions.Message subject) {
514 return new MessageSubject(failureMetadata, subject);
519 FailureMetadata failureMetadata, @Nullable ConversationActions.Message subject) { in MessageSubject() argument
520 super(failureMetadata, subject); in MessageSubject()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java334 final String subject = "subject here"; in testBugleDatabaseDraftOperations() local
355 MessageData.createDraftMmsMessage(conversationId, selfId, initialMessage, subject); in testBugleDatabaseDraftOperations()
401 MessageData.createDraftMmsMessage(conversationId, selfId, draftMessage, subject); in testBugleDatabaseDraftOperations()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java81 @Nullable String subject, in newInstance()
88 args.putString(ARG_SUBJECT, subject); in newInstance()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/
DOutgoingCallComposerData.java67 public abstract Builder setSubject(String subject); in setSubject() argument
/packages/apps/Dialer/java/com/android/dialer/multimedia/
DMultimediaData.java89 public abstract Builder setText(@NonNull String subject); in setText() argument
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java326 public void setSubject(String subject) throws MessagingException { in setSubject() argument
328 setHeader("Subject", MimeUtility.foldAndEncode2(subject, headerNameLength)); in setSubject()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMessage.java52 public abstract void setSubject(String subject) throws MessagingException; in setSubject() argument
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt342 val subject = subjects[(Math.random() * subjects.size).toInt()] in <lambda>() constant
352 .putExtra(Intent.EXTRA_SUBJECT, subject) in <lambda>()
DStopwatchFragment.java354 final String subject = subjects[(int) (Math.random() * subjects.length)]; in doShare() local
362 .putExtra(Intent.EXTRA_SUBJECT, subject) in doShare()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1131 final EncodedStringValue subject = sendReq.getSubject(); in updateHeaders() local
1132 if (subject != null) { in updateHeaders()
1133 values.put(Mms.SUBJECT, toIsoString(subject.getTextString())); in updateHeaders()
1134 values.put(Mms.SUBJECT_CHARSET, subject.getCharacterSet()); in updateHeaders()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java860 final String subject, final Long date, final boolean read, final boolean seen, in addMessageToUri() argument
870 values.put(Telephony.Sms.SUBJECT, subject); in addMessageToUri()
1098 public static String cleanseMmsSubject(final Resources resources, final String subject) { in cleanseMmsSubject() argument
1099 if (TextUtils.isEmpty(subject)) { in cleanseMmsSubject()
1107 if (subject.equalsIgnoreCase(noSubjectString)) { in cleanseMmsSubject()
1111 return subject; in cleanseMmsSubject()

12