Home
last modified time | relevance | path

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

12345678910

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduBody.java47 private void putPartToMaps(PduPart part) { in putPartToMaps() argument
49 byte[] contentId = part.getContentId(); in putPartToMaps()
51 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
55 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
58 mPartMapByContentLocation.put(clc, part); in putPartToMaps()
62 byte[] name = part.getName(); in putPartToMaps()
65 mPartMapByName.put(clc, part); in putPartToMaps()
69 byte[] fileName = part.getFilename(); in putPartToMaps()
72 mPartMapByFileName.put(clc, part); in putPartToMaps()
84 public boolean addPart(PduPart part) { in addPart() argument
[all …]
DPduPersister.java389 PduPart part = new PduPart(); in loadParts() local
393 part.setCharset(charset); in loadParts()
399 part.setContentDisposition(contentDisposition); in loadParts()
405 part.setContentId(contentId); in loadParts()
411 part.setContentLocation(contentLocation); in loadParts()
417 part.setContentType(contentType); in loadParts()
425 part.setFilename(fileName); in loadParts()
431 part.setName(name); in loadParts()
437 part.setDataUri(partURI); in loadParts()
482 part.setData(baos.toByteArray()); in loadParts()
[all …]
DPduParser.java849 PduPart part = new PduPart(); in parseParts() local
860 part.setContentType(contentType); in parseParts()
862 part.setContentType((PduContentTypes.contentTypes[0]).getBytes()); //"*/*" in parseParts()
868 part.setName(name); in parseParts()
874 part.setCharset(charset); in parseParts()
881 if (false == parsePartHeaders(pduDataStream, part, partHeaderLen)) { in parseParts()
893 if ((null == part.getContentLocation()) in parseParts()
894 && (null == part.getName()) in parseParts()
895 && (null == part.getFilename()) in parseParts()
896 && (null == part.getContentId())) { in parseParts()
[all …]
DPduComposer.java909 PduPart part; in makeMessageBody() local
911 part = body.getPart(0); in makeMessageBody()
913 byte[] start = part.getContentId(); in makeMessageBody()
925 appendTextString(part.getContentType()); in makeMessageBody()
940 part = body.getPart(i); in makeMessageBody()
947 byte[] partContentType = part.getContentType(); in makeMessageBody()
967 byte[] name = part.getName(); in makeMessageBody()
970 name = part.getFilename(); in makeMessageBody()
973 name = part.getContentLocation(); in makeMessageBody()
987 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.cpp502 bool BootAnimation::validClock(const Animation::Part& part) { in validClock() argument
503 return part.clockPosX != TEXT_MISSING_VALUE && part.clockPosY != TEXT_MISSING_VALUE; in validClock()
726 Animation::Part part; in parseAnimationDesc() local
727 part.playUntilComplete = pathType == 'c'; in parseAnimationDesc()
728 part.count = count; in parseAnimationDesc()
729 part.pause = pause; in parseAnimationDesc()
730 part.path = path; in parseAnimationDesc()
731 part.audioData = nullptr; in parseAnimationDesc()
732 part.animation = nullptr; in parseAnimationDesc()
733 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/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/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/native/android/
Dlibandroid_net.map.txt8 # These functions have been part of the NDK since API 24.
12 # These functions have been part of the NDK since API 29.
/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
/frameworks/native/cmds/installd/
DTEST_MAPPING18 // AdoptableHostTest moves packages, part of which is handled by installd

12345678910