Home
last modified time | relevance | path

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

123456

/aosp14/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A DPduBody.java63 byte[] name = part.getName(); in putPartToMaps()
66 mPartMapByName.put(clc, part); in putPartToMaps()
85 public boolean addPart(PduPart part) { in addPart() argument
86 if(null == part) { in addPart()
90 putPartToMaps(part); in addPart()
91 return mParts.add(part); in addPart()
103 if(null == part) { in addPart()
107 putPartToMaps(part); in addPart()
108 mParts.add(index, part); in addPart()
147 public int getPartIndex(PduPart part) { in getPartIndex() argument
[all …]
H A DPduPersister.java431 part.setName(name); in loadParts()
437 part.setDataUri(partURI); in loadParts()
484 parts[partIdx++] = part; in loadParts()
714 return part.getContentType() == null ? null : toIsoString(part.getContentType()); in getPartContentType()
723 int charset = part.getCharset(); in persistPart()
745 if (part.getFilename() != null) { in persistPart()
750 if (part.getName() != null) { in persistPart()
779 part.setDataUri(res); in persistPart()
1057 int charset = part.getCharset(); in updatePart()
1075 if (part.getName() != null) { in updatePart()
[all …]
H A DPduParser.java849 PduPart part = new PduPart(); in parseParts() local
868 part.setName(name); in parseParts()
874 part.setCharset(charset); in parseParts()
894 && (null == part.getName()) in parseParts()
910 part = childBody.getPart(0); in parseParts()
930 part.setData(partData); in parseParts()
937 body.addPart(0, part); in parseParts()
940 body.addPart(part); in parseParts()
1610 PduPart part, int length) { in parsePartHeaders() argument
1612 assert(null != part); in parsePartHeaders()
[all …]
H A 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()
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()
999 byte[] contentId = part.getContentId(); in makeMessageBody()
[all …]
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dextensions.cpp103 while (part) { in ExtractPartitions()
105 const std::string name = XMLAttribute(part, "value"); in ExtractPartitions()
106 const std::string test = XMLAttribute(part, "test"); in ExtractPartitions()
108 XMLAssert(XMLYesNo(part, "slots", &part_info.slots), part, in ExtractPartitions()
110 XMLAssert(XMLYesNo(part, "hashable", &part_info.hashable, true), part, in ExtractPartitions()
112 XMLAssert(XMLYesNo(part, "parsed", &part_info.parsed), part, in ExtractPartitions()
127 part = part->NextSiblingElement("part"); in ExtractPartitions()
135 while (part) { in ExtractPacked()
137 const std::string name = XMLAttribute(part, "value"); in ExtractPacked()
140 XMLAssert(XMLYesNo(part, "slots", &packed_info.slots), part, in ExtractPacked()
[all …]
H A Dmain.cpp426 std::string part(std::get<0>(p)); in TEST_F() local
464 std::string part(std::get<0>(p)); in TEST_F() local
737 std::string part(std::get<0>(tup)); in TEST_F() local
1491 for (const auto& part : info.children) { in TEST_P() local
1503 for (const auto& part : info.children) { in TEST_P() local
1519 initial_hashes[part] = hash; in TEST_P()
1524 for (const auto& part : info.children) { in TEST_P() local
1532 for (const auto& part : info.children) { in TEST_P() local
1570 for (const auto& part : info.children) { in TEST_P() local
1582 for (const auto& part : info.children) { in TEST_P() local
[all …]
H A DREADME.md74 The `<part/>` element supports the following attributes:
101 partition. These pseudo partitions should be listed inside a `<part></part>`
105 Additionally, inside the `<part></part>` element pair, one should list
113 <part value="bootloader" slots="yes">
121 </part>
126 a `<part></part>` pair. This is because Fuzzy Fastboot allows (and recommends) one to specify
221 <part value="foo1" slots="yes" test="no" hashable="yes"/>
222 <part value="foo2" slots="yes" test="no" hashable="yes"/>
223 <part value="bar3" slots="yes" test="no" hashable="yes"/>
228 <part value="bootloader" slots="yes">
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DAaptConfig.cpp48 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()
83 part = parts[index].string(); in parse()
91 part = parts[index].string(); in parse()
99 part = parts[index].string(); in parse()
107 part = parts[index].string(); in parse()
115 part = parts[index].string(); in parse()
[all …]
H A 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()
H A 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()
344 fprintf(stderr, "ERROR: Invalid BCP 47 tag in directory name: %s\n", part.string()); in initFromDirName()
350 if ((part.length() == 2 || part.length() == 3) in initFromDirName()
351 && isAlpha(part) && strcmp("car", part.string())) { in initFromDirName()
352 setLanguage(part); in initFromDirName()
360 part = parts[currentIndex]; in initFromDirName()
361 if (part.string()[0] == 'r' && part.length() == 3) { in initFromDirName()
[all …]
/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp918 return part.clockPosX != TEXT_MISSING_VALUE && part.clockPosY != TEXT_MISSING_VALUE; in validClock()
1222 part.count = count; in parseAnimationDesc()
1224 part.path = path; in parseAnimationDesc()
1233 parsePosition(clockPos1, clockPos2, &part.clockPosX, &part.clockPosY); in parseAnimationDesc()
1241 part.count = 1; in parseAnimationDesc()
1242 part.pause = 0; in parseAnimationDesc()
1536 for (int r=0 ; !part.count || r<part.count || fadedFramesCount > 0 ; r++) { in playAnimation()
1542 && (part.useDynamicColoring || part.postDynamicColoring)) { in playAnimation()
1565 animation.fileName.string(), part.path.string(), part.count, in playAnimation()
1640 drawClock(animation.clockFont, part.clockPosX, part.clockPosY); in playAnimation()
[all …]
H A DFORMAT.md29 * **PROGRESS:** whether to show a progress percentage on the last part
41 + `p` -- this part will play unless interrupted by the end of the boot
42 + `c` -- this part will play to completion, no matter what
47 * **PAUSE:** number of FRAMES to delay after this part ends
51 part
92 Each part is scanned and loaded directly from the zip archive. Within a part directory, every file
114 with the name `audio.wav` in the part directory.
141 zip -0qry -i \*.txt \*.png \*.wav @ ../bootanimation.zip *.txt part*
157 * **PATH:** file path of the part to apply dynamic color transition to.
158 Any part before this part will be rendered in the start colors.
[all …]
H A 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()
H A DBootAnimation.h190 const Animation::Part& part, int fadedFramesCount);
192 bool validClock(const Animation::Part& part);
208 bool shouldStopPlayingPart(const Animation::Part& part, int fadedFramesCount,
/aosp14/system/core/libdiskconfig/
H A Ddiskconfig.c349 if (part->len_kb != (uint32_t)-1) { in validate()
350 total_size += part->len_kb * 1024; in validate()
351 } else if (part->len_kb == 0) { in validate()
363 if ((part->type != PC_PART_TYPE_LINUX) && in validate()
364 (part->type != PC_PART_TYPE_FAT32)) { in validate()
366 "'%s'\n", part->type, part->name); in validate()
462 struct part_info *part; in dump_disk_config() local
485 part = &dinfo->part_lst[cnt]; in dump_disk_config()
486 printf("\tname = %s\n", part->name); in dump_disk_config()
491 if (part->len_kb == (uint32_t)-1) in dump_disk_config()
[all …]
/aosp14/frameworks/base/libs/androidfw/
H A DLocale.cpp205 std::string& part = *iter; in InitFromParts() local
206 if (part[0] == 'b' && part[1] == '+') { in InitFromParts()
209 if (!InitFromBcp47TagImpl(StringPiece(part).substr(2), '+')) { in InitFromParts()
214 if ((part.length() == 2 || part.length() == 3) && is_alpha(part) && part != "car") { in InitFromParts()
215 set_language(part.c_str()); in InitFromParts()
H A DUtil.cpp182 std::string& part = parts.back(); in SplitAndTransform() local
183 std::transform(part.begin(), part.end(), part.begin(), f); in SplitAndTransform()
/aosp14/frameworks/base/native/android/
H A Dlibandroid_net.map.txt8 # These functions have been part of the LL-NDK since API 24.
12 # These functions have been part of the LL-NDK since API 29.
17 # These functions have been part of the LL-NDK since API 31.
21 # These functions have been part of the LL-NDK since API 33.
/aosp14/frameworks/base/tools/aapt2/util/
H A 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 (StringPiece part : util::Tokenize(package, '.')) { in PackageToPath() local
206 AppendPath(&out_path, part); in PackageToPath()
/aosp14/frameworks/base/services/incremental/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeMachine.java175 for (Part part : parts) { in DozeMachine()
176 part.setDozeMachine(this); in DozeMachine()
184 for (Part part : mParts) { in destroy()
185 part.destroy(); in destroy()
196 for (Part part : mParts) { in onConfigurationChanged()
197 part.onUiModeTypeChanged(mUiModeType); in onConfigurationChanged()
236 for (Part part : mParts) { in onScreenState()
237 part.onScreenState(state); in onScreenState()
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A 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;
/aosp14/frameworks/base/tools/streaming_proto/
H A 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()
/aosp14/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java63 Part part = getPart(0); in getSpannableString() local
64 ArrayList<Token> tokens = part.getTokens(); in getSpannableString()
/aosp14/frameworks/base/tools/aapt2/test/
H A DFixture.h53 for (android::StringPiece part : util::Split(path, '/')) { in GetTestPath() local
54 file::AppendPath(&base, part); in GetTestPath()

123456