Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduBody.java44 private void putPartToMaps(PduPart part) { in putPartToMaps() argument
46 byte[] contentId = part.getContentId(); in putPartToMaps()
48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
52 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
55 mPartMapByContentLocation.put(clc, part); in putPartToMaps()
59 byte[] name = part.getName(); in putPartToMaps()
62 mPartMapByName.put(clc, part); in putPartToMaps()
66 byte[] fileName = part.getFilename(); in putPartToMaps()
69 mPartMapByFileName.put(clc, part); in putPartToMaps()
80 public boolean addPart(PduPart part) { in addPart() argument
[all …]
DPduPersister.java378 PduPart part = new PduPart(); in loadParts() local
382 part.setCharset(charset); in loadParts()
388 part.setContentDisposition(contentDisposition); in loadParts()
394 part.setContentId(contentId); in loadParts()
400 part.setContentLocation(contentLocation); in loadParts()
406 part.setContentType(contentType); in loadParts()
414 part.setFilename(fileName); in loadParts()
420 part.setName(name); in loadParts()
426 part.setDataUri(partURI); in loadParts()
471 part.setData(baos.toByteArray()); in loadParts()
[all …]
DPduParser.java846 PduPart part = new PduPart(); in parseParts() local
857 part.setContentType(contentType); in parseParts()
859 part.setContentType((PduContentTypes.contentTypes[0]).getBytes()); //"*/*" in parseParts()
865 part.setName(name); in parseParts()
871 part.setCharset(charset); in parseParts()
878 if (false == parsePartHeaders(pduDataStream, part, partHeaderLen)) { in parseParts()
890 if ((null == part.getContentLocation()) in parseParts()
891 && (null == part.getName()) in parseParts()
892 && (null == part.getFilename()) in parseParts()
893 && (null == part.getContentId())) { in parseParts()
[all …]
DPduComposer.java870 PduPart part; in makeMessageBody() local
872 part = body.getPart(0); in makeMessageBody()
874 byte[] start = part.getContentId(); in makeMessageBody()
886 appendTextString(part.getContentType()); in makeMessageBody()
901 part = body.getPart(i); in makeMessageBody()
908 byte[] partContentType = part.getContentType(); in makeMessageBody()
928 byte[] name = part.getName(); in makeMessageBody()
931 name = part.getFilename(); in makeMessageBody()
934 name = part.getContentLocation(); in makeMessageBody()
948 int charset = part.getCharset(); in makeMessageBody()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp42 const char* part = parts[index].string(); in parse() local
48 if (parseMcc(part, &config)) { in parse()
53 part = parts[index].string(); in parse()
56 if (parseMnc(part, &config)) { in parse()
61 part = parts[index].string(); in parse()
75 part = parts[index].string(); in parse()
78 if (parseLayoutDirection(part, &config)) { in parse()
83 part = parts[index].string(); in parse()
86 if (parseSmallestScreenWidthDp(part, &config)) { in parse()
91 part = parts[index].string(); in parse()
[all …]
DResourceFilter.cpp20 const String8& part = configStrs[i]; in parse() local
21 if (part == "en_XA") { in parse()
23 } else if (part == "ar_XB") { in parse()
30 if (val.initFromFilterString(part)) { in parse()
34 } else if (!AaptConfig::parse(part, &entry.first)) { in parse()
35 fprintf(stderr, "Invalid configuration: %s\n", part.string()); in parse()
DAaptAssets.cpp282 String8 part = parts[currentIndex]; in initFromDirName() local
283 if (part[0] == 'b' && part[1] == '+') { in initFromDirName()
286 Vector<String8> subtags = AaptUtil::splitAndLowerCase(part, '+'); in initFromDirName()
310 part.string()); in initFromDirName()
326 fprintf(stderr, "ERROR: Invalid BCP-47 tag in directory name %s\n", part.string()); in initFromDirName()
343 fprintf(stderr, "ERROR: Invalid BCP-47 tag in directory name: %s\n", part.string()); in initFromDirName()
349 if ((part.length() == 2 || part.length() == 3) && isAlpha(part)) { in initFromDirName()
350 setLanguage(part); in initFromDirName()
358 part = parts[currentIndex]; in initFromDirName()
359 if (part.string()[0] == 'r' && part.length() == 3) { in initFromDirName()
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp492 Animation::Part part; in movie() local
493 part.playUntilComplete = pathType == 'c'; in movie()
494 part.count = count; in movie()
495 part.pause = pause; in movie()
496 part.path = path; in movie()
497 part.audioFile = NULL; in movie()
498 if (!parseColor(color, part.backgroundColor)) { in movie()
500 part.backgroundColor[0] = 0.0f; in movie()
501 part.backgroundColor[1] = 0.0f; in movie()
502 part.backgroundColor[2] = 0.0f; in movie()
[all …]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dui_test.rs142 static void createParticle(Particle_t *part, int idx, float scale) {
149 part->color.x = (uchar) (220 + id * 35);
150 part->color.y = 220;
151 part->color.z = 220;
153 part->color.x = 180;
154 part->color.y = 180;
155 part->color.z = (uchar) clamp(140.f + id * 115.f, 140.f, 255.f);
158 part->color.w = (uchar) (rsRand(1.2f, 2.1f) * 60);
169 part->position.x = rsRand(TWO_PI);
170 part->position.y = d;
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java144 long part;
146 part = i;
148 long x = ((int) part & 1) != 0 ? POLY64REV : 0;
149 part = (part >> 1) ^ x;
151 sCrcTable[i] = part;
/frameworks/base/core/java/com/google/android/util/
DSmileyParser.java63 Part part = getPart(0); in getSpannableString() local
64 ArrayList<Token> tokens = part.getTokens(); in getSpannableString()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java600 for (String part : parts) { in parse()
602 if (TextUtils.isEmpty(part)) { in parse()
605 int equalIndex = part.indexOf('='); in parse()
608 throw new InvalidFormatException("Missing LHS in " + part); in parse()
611 String lhs = part.substring(0, equalIndex); in parse()
612 String rhs = part.substring(equalIndex + 1); in parse()
614 throw new InvalidFormatException("Missing RHS in " + part); in parse()
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd17 can be granted for. Data subsets are indicated by the path part of a
18 {@code content:} URI. (The authority part of the URI identifies the
48 The {@code pathPrefix} attribute specifies the initial part of a path;
50 initial part.
Ddata-element.jd76 <dd>The scheme part of a URI. This is the minimal essential attribute for
98 <dd>The host part of a URI authority. This attribute is meaningless
109 <dd>The port part of a URI authority. This attribute is meaningful only
118 <dd>The path part of a URI. The {@code path} attribute specifies a complete
121 only the initial part of the path in the Intent object. The {@code pathPattern}
/frameworks/av/include/private/
DREADME3 These include files are part of the private implementation details of
/frameworks/base/include/private/
DREADME3 These include files are part of the private implementation details of
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter() local
229 pCounter[i] = part + carry; in FwdLockFile_CalculateCounter()
230 carry = (part < pNonce[i] || pCounter[i] < part) ? 1 : 0; in FwdLockFile_CalculateCounter()
/frameworks/rs/scriptc/
Drs_mesh.rsh53 * Returns an allocation that is part of the mesh and contains
75 * Returns the primitive describing how a part of the mesh is
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java138 for (String part : value.split(";")) { in updateOverlayDisplayDevicesLocked()
139 Matcher matcher = SETTING_PATTERN.matcher(part); in updateOverlayDisplayDevicesLocked()
171 } else if (part.isEmpty()) { in updateOverlayDisplayDevicesLocked()
/frameworks/multidex/
DNOTICE10 This product includes software developed as part of
/frameworks/base/docs/html/distribute/essentials/
Dindex.jd10 A focus on quality should be part of your entire app delivery process: from
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/
Dindex.jd10 A focus on quality should be part of your entire app delivery process: from
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd101 How to access the Calendar Provider that is part of the Android platform.
108 How to access the Contacts Provider that is part of the Android platform.
/frameworks/support/annotations/
Dbuild.gradle22 …r not available for older platform versions or utility APIs that aren't a part of the framework AP…
/frameworks/av/
DNOTICE10 This product includes software developed as part of
62 This file is part of TagSoup and is Copyright 2002-2008 by John Cowan.
199 excluding those notices that do not pertain to any part of
202 (d) If the Work includes a "NOTICE" text file as part of its
206 pertain to any part of the Derivative Works, in at least one
208 as part of the Derivative Works; within the Source form or

12345678910>>...16