/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduBody.java | 48 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 …]
|
D | PduPersister.java | 389 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 …]
|
D | PduParser.java | 849 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 …]
|
D | PduComposer.java | 909 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/ |
D | AaptConfig.cpp | 42 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 …]
|
D | ResourceFilter.cpp | 20 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()
|
D | AaptAssets.cpp | 281 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/ |
D | BootAnimation.cpp | 703 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 …]
|
D | FORMAT.md | 30 * **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 …]
|
D | audioplay.cpp | 337 for (const Animation::Part& part : parts) { in init() local 338 if (part.audioData != nullptr) { in init() 339 partWithAudio = ∂ 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()
|
D | BootAnimation.h | 175 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/ |
D | Locale.cpp | 212 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()
|
D | Util.cpp | 81 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/ |
D | Files.cpp | 178 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/ |
D | libandroid_net.map.txt | 8 # 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/ |
D | path.cpp | 115 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/ |
D | MainlineFiles.cfg | 16 # 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/ |
D | Utils.java | 144 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/ |
D | string_utils.cpp | 100 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/ |
D | SmileyParser.java | 63 Part part = getPart(0); in getSpannableString() local 64 ArrayList<Token> tokens = part.getTokens(); in getSpannableString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 168 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/ |
D | EventRecurrence.java | 598 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/ |
D | Fixture.h | 53 for (android::StringPiece part : util::Split(path, '/')) { in GetTestPath() local 54 file::AppendPath(&base, part); in GetTestPath()
|
/frameworks/base/tools/ |
D | aidl | 3 aidl has moved to //system/tools/aidl as part of adding support for
|
/frameworks/av/include/private/ |
D | README | 3 These include files are part of the private implementation details of
|