Home
last modified time | relevance | path

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

1234567891011

/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.java376 PduPart part = new PduPart(); in loadParts() local
380 part.setCharset(charset); in loadParts()
386 part.setContentDisposition(contentDisposition); in loadParts()
392 part.setContentId(contentId); in loadParts()
398 part.setContentLocation(contentLocation); in loadParts()
404 part.setContentType(contentType); in loadParts()
412 part.setFilename(fileName); in loadParts()
418 part.setName(name); in loadParts()
424 part.setDataUri(partURI); in loadParts()
469 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.java886 PduPart part; in makeMessageBody() local
888 part = body.getPart(0); in makeMessageBody()
890 byte[] start = part.getContentId(); in makeMessageBody()
902 appendTextString(part.getContentType()); in makeMessageBody()
917 part = body.getPart(i); in makeMessageBody()
924 byte[] partContentType = part.getContentType(); in makeMessageBody()
944 byte[] name = part.getName(); in makeMessageBody()
947 name = part.getFilename(); in makeMessageBody()
950 name = part.getContentLocation(); in makeMessageBody()
964 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.cpp281 String8 part = parts[currentIndex]; in initFromDirName() local
282 if (part[0] == 'b' && part[1] == '+') { in initFromDirName()
285 Vector<String8> subtags = AaptUtil::splitAndLowerCase(part, '+'); in initFromDirName()
313 part.string()); in initFromDirName()
329 fprintf(stderr, "ERROR: Invalid BCP 47 tag in directory name %s\n", part.string()); in initFromDirName()
346 fprintf(stderr, "ERROR: Invalid BCP 47 tag in directory name: %s\n", part.string()); in initFromDirName()
352 if ((part.length() == 2 || part.length() == 3) in initFromDirName()
353 && isAlpha(part) && strcmp("car", part.string())) { in initFromDirName()
354 setLanguage(part); in initFromDirName()
362 part = parts[currentIndex]; in initFromDirName()
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp477 bool BootAnimation::validClock(const Animation::Part& part) { in validClock() argument
478 return part.clockPosX != TEXT_MISSING_VALUE && part.clockPosY != TEXT_MISSING_VALUE; in validClock()
701 Animation::Part part; in parseAnimationDesc() local
702 part.playUntilComplete = pathType == 'c'; in parseAnimationDesc()
703 part.count = count; in parseAnimationDesc()
704 part.pause = pause; in parseAnimationDesc()
705 part.path = path; in parseAnimationDesc()
706 part.audioData = nullptr; in parseAnimationDesc()
707 part.animation = nullptr; in parseAnimationDesc()
708 if (!parseColor(color, part.backgroundColor)) { in parseAnimationDesc()
[all …]
Daudioplay.cpp337 for (const Animation::Part& part : parts) { in init() local
338 if (part.audioData != nullptr) { in init()
339 partWithAudio = &part; in init()
358 void playPart(int partNumber, const Animation::Part& part, int playNumber) override { in playPart() argument
360 if (playNumber == 0 && part.audioData && playSoundsAllowed()) { in playPart()
362 partNumber, part.audioLength); in playPart()
367 audioplay::playClip(part.audioData, part.audioLength); in playPart()
DFORMAT.md36 + `p` -- this part will play unless interrupted by the end of the boot
37 + `c` -- this part will play to completion, no matter what
39 * **PAUSE:** number of FRAMES to delay after this part ends
40 * **PATH:** directory in which to find the frames for this part (e.g. `part0`)
76 Each part is scanned and loaded directly from the zip archive. Within a part directory, every file
78 one frame in that part (at the specified resolution). For this reason it is important that frames be
97 Each part may optionally play a `wav` sample when it starts. To enable this, add a file
98 with the name `audio.wav` in the part directory.
125 zip -0qry -i \*.txt \*.png \*.wav @ ../bootanimation.zip *.txt part*
/frameworks/base/libs/androidfw/
DLocale.cpp212 std::string& part = *iter; in InitFromParts() local
213 if (part[0] == 'b' && part[1] == '+') { in InitFromParts()
216 if (!InitFromBcp47TagImpl(StringPiece(part).substr(2), '+')) { in InitFromParts()
221 if ((part.length() == 2 || part.length() == 3) && is_alpha(part) && part != "car") { in InitFromParts()
222 set_language(part.c_str()); in InitFromParts()
DUtil.cpp81 std::string& part = parts.back(); in SplitAndTransform() local
82 std::transform(part.begin(), part.end(), part.begin(), f); in SplitAndTransform()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java109 for (String part : parts) { in addFieldPath()
115 if (node.children.containsKey(part)) { in addFieldPath()
116 node = node.children.get(part); in addFieldPath()
120 node.children.put(part, tmp); in addFieldPath()
177 for (String part : parts) { in intersectFieldPath()
183 if (node.children.containsKey(part)) { in intersectFieldPath()
184 node = node.children.get(part); in intersectFieldPath()
/frameworks/base/tools/aapt2/util/
DFiles.cpp178 void AppendPath(std::string* base, StringPiece part) { in AppendPath() argument
181 const bool part_has_leading_sep = (!part.empty() && *(part.begin()) == sDirSep); in AppendPath()
184 part = part.substr(1, part.size() - 1); in AppendPath()
189 base->append(part.data(), part.size()); in AppendPath()
205 for (const StringPiece& part : util::Tokenize(package, '.')) { in PackageToPath() local
206 AppendPath(&out_path, part); in PackageToPath()
/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/native/android/
Dlibandroid_net.map.txt4 # These functions have been part of the NDK since API 24.
8 # These functions have been part of the NDK since API 29.
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp100 string part = str.substr(base, found - base); in split() local
101 if (!part.empty()) { in split()
102 result.push_back(part); in split()
/frameworks/base/wifi/tests/assets/hsr1/
DREADME.txt3 HSR1ProfileWithNonBase64Part.base64 - base64 encoded installation file that contains a part of non-…
5 …tType.base64 - base64 encoded installation file with that contains a MIME part with an invalid con…
/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/base/tools/aapt2/test/
DFixture.h53 for (android::StringPiece part : util::Split(path, '/')) { in GetTestPath() local
54 file::AppendPath(&base, part); in GetTestPath()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java298 MimePart part = new MimePart(); in parseMimePart() local
299 part.type = header.contentType; in parseMimePart()
300 part.data = Base64.decode(text.toString(), Base64.DEFAULT); in parseMimePart()
301 part.isLast = isLast; in parseMimePart()
302 return part; in parseMimePart()
/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/tools/
Daidl3 aidl has moved to //system/tools/aidl as part of adding support for
/frameworks/base/libs/hwui/private/
DREADME3 These include files are part of the private implementation details of
/frameworks/av/include/private/
DREADME3 These include files are part of the private implementation details of

1234567891011