OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contentId
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/core/java/com/google/android/mms/pdu/
PduPart.java
181
* @param
contentId
the content-id value
184
public void setContentId(byte[]
contentId
) {
185
if((
contentId
== null) || (
contentId
.length == 0)) {
190
if ((
contentId
.length > 1)
191
&& ((char)
contentId
[0] == '<')
192
&& ((char)
contentId
[
contentId
.length - 1] == '>')) {
193
mPartHeader.put(P_CONTENT_ID,
contentId
);
198
byte[] buffer = new byte[
contentId
.length + 2]
[
all
...]
PduBody.java
46
byte[]
contentId
= part.getContentId();
47
if(null !=
contentId
) {
48
mPartMapByContentId.put(new String(
contentId
), part);
PduComposer.java
962
byte[]
contentId
= part.getContentId();
964
if (null !=
contentId
) {
966
if (('<' ==
contentId
[0]) && ('>' ==
contentId
[
contentId
.length - 1])) {
967
appendQuotedString(
contentId
);
969
appendQuotedString("<" + new String(
contentId
) + ">");
[
all
...]
PduParser.java
[
all
...]
PduPersister.java
376
byte[]
contentId
= getByteArrayFromPartColumn(
378
if (
contentId
!= null) {
379
part.setContentId(
contentId
);
[
all
...]
/packages/apps/Email/tests/src/com/android/email/mail/
MessageTestUtils.java
76
* @param
contentId
content-id header value (optional - null for no header)
80
public static BodyPart bodyPart(String mimeType, String
contentId
) throws MessagingException {
82
if (
contentId
!= null) {
83
bp.setHeader(MimeHeader.HEADER_CONTENT_ID,
contentId
);
107
* @param
contentId
content-id header value (optional - null for no header)
114
public static BodyPart imagePart(String mimeType, String
contentId
,
120
if (
contentId
!= null) {
121
imagePart.setHeader(MimeHeader.HEADER_CONTENT_ID,
contentId
);
253
* @param
contentId
content id string
256
public TextBuilder addCidImg(String
contentId
) {
[
all
...]
/packages/apps/Email/src/com/android/email/mail/internet/
EmailHtmlUtil.java
58
String
contentId
= part.getContentId();
60
contentId
!= null &&
67
// Regexp which matches ' src="cid:
contentId
"'.
68
String contentIdRe = "\\s+(?i)src=\"cid(?-i):\\Q" +
contentId
+ "\\E\"";
MimeBodyPart.java
120
String
contentId
= getFirstHeader(MimeHeader.HEADER_CONTENT_ID);
121
if (
contentId
== null) {
125
return REMOVE_OPTIONAL_BRACKETS.matcher(
contentId
).replaceAll("$1");
MimeUtility.java
228
public static Part findPartByContentId(Part part, String
contentId
) throws Exception {
233
Part ret = findPartByContentId(bodyPart,
contentId
);
240
if (
contentId
.equals(cid)) {
MimeMessage.java
191
String
contentId
= getFirstHeader(MimeHeader.HEADER_CONTENT_ID);
192
if (
contentId
== null) {
196
return REMOVE_OPTIONAL_BRACKETS.matcher(
contentId
).replaceAll("$1");
/frameworks/base/core/java/android/widget/
SlidingDrawer.java
208
int
contentId
= a.getResourceId(R.styleable.SlidingDrawer_content, 0);
209
if (
contentId
== 0) {
214
if (handleId ==
contentId
) {
220
mContentId =
contentId
;
[
all
...]
/packages/apps/Mms/src/com/android/mms/ui/
UriImage.java
193
byte[]
contentId
= period != -1 ? src.substring(0, period).getBytes() : srcBytes;
194
part.setContentId(
contentId
);
MessageUtils.java
591
String
contentId
= "Image" + System.currentTimeMillis();
592
part.setContentLocation((
contentId
+ ".jpg").getBytes());
593
part.setContentId(
contentId
.getBytes());
[
all
...]
/packages/apps/Mms/src/com/android/mms/model/
SlideshowModel.java
242
String
contentId
= (index == -1) ? location
244
part.setContentId(
contentId
.getBytes());
/packages/apps/Email/src/com/android/email/mail/store/
LocalStore.java
[
all
...]
Completed in 252 milliseconds