Home
last modified time | relevance | path

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

12345678910

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduBody.java48 private void putPartToMaps(PduPart part) { in putPartToMaps() argument
50 byte[] contentId = part.getContentId(); in putPartToMaps()
52 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
56 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
59 mPartMapByContentLocation.put(clc, part); in putPartToMaps()
63 byte[] name = part.getName(); in putPartToMaps()
66 mPartMapByName.put(clc, part); in putPartToMaps()
70 byte[] fileName = part.getFilename(); in putPartToMaps()
73 mPartMapByFileName.put(clc, part); in putPartToMaps()
85 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.cpp703 bool BootAnimation::validClock(const Animation::Part& part) { in validClock() argument
704 return part.clockPosX != TEXT_MISSING_VALUE && part.clockPosY != TEXT_MISSING_VALUE; in validClock()
820 const int frameHeight, const Animation::Part& part, in fadeFrame() argument
828 const float alpha = static_cast<float>(fadedFramesCount) / part.framesToFadeCount; in fadeFrame()
829 glColor4f(part.backgroundColor[0], part.backgroundColor[1], part.backgroundColor[2], alpha); in fadeFrame()
985 Animation::Part part; in parseAnimationDesc() local
986 part.playUntilComplete = pathType == 'c'; in parseAnimationDesc()
987 part.framesToFadeCount = framesToFadeCount; in parseAnimationDesc()
988 part.count = count; in parseAnimationDesc()
989 part.pause = pause; in parseAnimationDesc()
[all …]
DFORMAT.md30 * **PROGRESS:** whether to show a progress percentage on the last part
39 + `p` -- this part will play unless interrupted by the end of the boot
40 + `c` -- this part will play to completion, no matter what
42 continue playing. Only the first interrupted `f` part is faded out, other subsequent `f`
45 * **PAUSE:** number of FRAMES to delay after this part ends
46 * **PATH:** directory in which to find the frames for this part (e.g. `part0`)
49 part
90 Each part is scanned and loaded directly from the zip archive. Within a part directory, every file
92 one frame in that part (at the specified resolution). For this reason it is important that frames be
111 Each part may optionally play a `wav` sample when it starts. To enable this, add a file
[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()
DBootAnimation.h175 const Animation::Part& part, int fadedFramesCount);
176 bool validClock(const Animation::Part& part);
190 bool shouldStopPlayingPart(const Animation::Part& part, int fadedFramesCount,
/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/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.
17 # These functions have been part of the NDK since API 31.
/frameworks/base/services/incremental/
Dpath.cpp115 auto part = path.substr(start, end - start); in normalize() local
116 if (part.empty() || part == "."sv) { in normalize()
119 if (part == ".."sv) { in normalize()
132 result += part; in normalize()
/frameworks/av/
DMainlineFiles.cfg16 # is part of mainline
17 # EXCLUDE indicates that this is not part of mainline,
19 # means everything under foo/ is part of mainline EXCEPT foo/nope.
/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/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/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java168 for (Part part : parts) { in DozeMachine()
169 part.setDozeMachine(this); in DozeMachine()
177 for (Part part : mParts) { in destroy()
178 part.destroy(); in destroy()
209 for (Part part : mParts) { in onScreenState()
210 part.onScreenState(state); in onScreenState()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java598 for (String part : parts) { in parse()
600 if (TextUtils.isEmpty(part)) { in parse()
603 int equalIndex = part.indexOf('='); in parse()
606 throw new InvalidFormatException("Missing LHS in " + part); in parse()
609 String lhs = part.substring(0, equalIndex); in parse()
610 String rhs = part.substring(equalIndex + 1); in parse()
612 throw new InvalidFormatException("Missing RHS in " + part); in parse()
/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/tools/
Daidl3 aidl has moved to //system/tools/aidl as part of adding support for
/frameworks/av/include/private/
DREADME3 These include files are part of the private implementation details of

12345678910