Home
last modified time | relevance | path

Searched refs:compact (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tools/aapt2/format/binary/
DResEntryWriter.h54 template <bool compact>
55 using ResEntryValue = std::conditional_t<compact, ResTable_entry, ResEntryValuePair>;
59 template <bool compact>
61 using T = ResEntryValue<compact>;
DResEntryWriter.cpp187 void WriteEntry(const FlatEntry* entry, T* out_result, bool compact = false) { in WriteEntry() argument
206 if (!compact) { in WriteEntry()
213 CHECK(compact && (std::is_same_v<ResTable_entry, T>)) << "cannot encode complex entry"; in WriteEntry()
217 out_entry->compact.flags = android::util::HostToDevice16(flags); in WriteEntry()
218 out_entry->compact.key = android::util::HostToDevice16(entry->entry_key); in WriteEntry()
219 out_entry->compact.data = value.data; in WriteEntry()
DTableFlattener.cpp154 std::unique_ptr<ResEntryWriter> GetResEntryWriter(bool dedup, bool compact, BigBuffer* buffer) { in GetResEntryWriter() argument
156 if (compact) { in GetResEntryWriter()
162 if (compact) { in GetResEntryWriter()
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp69 entry.compact.key = i; in createTypeTable()
70 entry.compact.flags = ResTable_entry::FLAG_COMPACT | (v->dataType << 8); in createTypeTable()
71 entry.compact.data = v->data; in createTypeTable()
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp316 ProtoOutputStream::compact() { in compact() function in android::util::ProtoOutputStream
460 if (!compact()) { in size()
471 if (!compact()) return false; in flush()
487 if (!compact()) return false; in serializeToString()
503 if (!compact()) return false; in serializeToVector()
519 if (!compact()) { in data()
/frameworks/base/test-base/src/junit/framework/
DComparisonFailure.java35 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage()
DComparisonCompactor.java25 public String compact(String message) { in compact() method in ComparisonCompactor
/frameworks/base/libs/protoutil/include/android/util/
DProtoOutputStream.h167 bool compact();
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1566 } compact; member
1577 return is_compact() ? dtohs(this->compact.key) : dtohl(this->full.key.index); in key()
1588 v.data = dtohl(this->compact.data); in value()
1589 v.dataType = dtohs(compact.flags) >> 8; in value()
1617 static_assert(offsetof(ResTable_entry, full.flags) == offsetof(ResTable_entry, compact.flags));
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1085 int base, boolean compact) { in buildOomTag() argument
1088 if (compact) { in buildOomTag()
1095 return prefix + (compact ? "+" : "+ ") + Integer.toString(diff); in buildOomTag()
1100 public static String makeOomAdjString(int setAdj, boolean compact) { in makeOomAdjString() argument
1103 ProcessList.CACHED_APP_MIN_ADJ, compact); in makeOomAdjString()
1106 ProcessList.SERVICE_B_ADJ, compact); in makeOomAdjString()
1109 ProcessList.PREVIOUS_APP_ADJ, compact); in makeOomAdjString()
1112 ProcessList.HOME_APP_ADJ, compact); in makeOomAdjString()
1115 ProcessList.SERVICE_ADJ, compact); in makeOomAdjString()
1118 ProcessList.HEAVY_WEIGHT_APP_ADJ, compact); in makeOomAdjString()
[all …]
/frameworks/base/core/proto/android/app/
Dtime_zone_detector.proto82 // are also significantly more compact than full IANA TZDB IDs, albeit unstable
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java151 encodedBytes.compact(); in write()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java956 void dump(IndentingPrintWriter pw, List<String> pkgs, boolean compact) { in dump() argument
957 printLast24HrEvents(pw, !compact, pkgs); in dump()
962 printIntervalStats(pw, mCurrentStats[interval], !compact, true, pkgs); in dump()
965 mDatabase.dump(pw, compact); in dump()
DUsageStatsDatabase.java1507 public void dump(IndentingPrintWriter pw, boolean compact) { in dump() argument
1526 if (compact) { in dump()
DUsageStatsService.java1740 boolean compact = false; in dump()
1749 compact = true; in dump()
1886 mUserState.valueAt(i).dump(idpw, pkgs, compact); in dump()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java94 public void compact() throws Exception { in compact() method in FontListParserTest
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseBooleanMatrix.java554 public void compact() { in compact() method in WatchedSparseBooleanMatrix
/frameworks/base/core/java/android/widget/
DGridLayout.java2346 this.keys = compact(keys, index);
2347 this.values = compact(values, index);
2374 private static <K> K[] compact(K[] a, int[] index) {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatcherTest.java1052 matrix.compact(); in matrixShrink()
1185 matrix.compact(); in testWatchedSparseBooleanMatrix_removeRangeAndShrink()
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterImpl.java958 mShouldFilterCache.compact(); in removeShouldFilterCacheForUser()
/frameworks/wilhelm/doc/
DDoxyfile1110 # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
1183 # If the COMPACT_RTF tag is set to YES Doxygen generates more compact
/frameworks/native/docs/
DDoxyfile1355 # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
1441 # If the COMPACT_RTF tag is set to YES Doxygen generates more compact
/frameworks/av/media/libaaudio/
DDoxyfile1580 # If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
1709 # If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
/frameworks/av/media/codec2/docs/
Ddoxygen.config1647 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
1800 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
/frameworks/base/media/native/midi/include/
DDoxyfile1697 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
1850 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF

12