Home
last modified time | relevance | path

Searched refs:partitions (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java146 final ArrayList<OverlayPartition> partitions; in OverlayConfig() local
148 partitions = new ArrayList<>( in OverlayConfig()
152 partitions = new ArrayList<>(PackagePartitions.getOrderedPartitions( in OverlayConfig()
157 mIsDefaultPartitionOrder = !sortPartitions(PARTITION_ORDER_FILE_PATH, partitions); in OverlayConfig()
158 mPartitionOrder = generatePartitionOrderString(partitions); in OverlayConfig()
160 ArrayMap<Integer, List<String>> activeApexesPerPartition = getActiveApexes(partitions); in OverlayConfig()
166 for (int i = 0, n = partitions.size(); i < n; i++) { in OverlayConfig()
167 final OverlayPartition partition = partitions.get(i); in OverlayConfig()
220 private static String generatePartitionOrderString(List<OverlayPartition> partitions) { in generatePartitionOrderString() argument
221 if (partitions == null || partitions.size() == 0) { in generatePartitionOrderString()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackagePartitionsTest.java40 final ArrayList<SystemPartition> partitions = PackagePartitions.getOrderedPartitions( in testPackagePartitionsFingerprint() local
42 final String[] properties = new String[partitions.size() + 1]; in testPackagePartitionsFingerprint()
43 for (int i = 0; i < partitions.size(); i++) { in testPackagePartitionsFingerprint()
44 final String name = partitions.get(i).getName(); in testPackagePartitionsFingerprint()
47 properties[partitions.size()] = "ro.build.fingerprint"; in testPackagePartitionsFingerprint()
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigTest.java96 private String generatePartitionOrderString(List<OverlayPartition> partitions) { in generatePartitionOrderString() argument
98 for (int i = 0; i < partitions.size(); i++) { in generatePartitionOrderString()
99 partitionOrder.append(partitions.get(i).getName()); in generatePartitionOrderString()
100 if (i < partitions.size() - 1) { in generatePartitionOrderString()
116 String[] partitions = overlayConfig.getPartitionOrder().split(", "); in createConfigIndexes() local
118 for (int i = 0; i < partitions.length; i++) { in createConfigIndexes()
119 if (configIndexes.containsKey(partitions[i])) { in createConfigIndexes()
120 configIndexes.put(partitions[i], index++); in createConfigIndexes()
732 ArrayList<OverlayPartition> partitions = new ArrayList<>( in testSortPartitionsWithoutXml() local
738 assertEquals(false, overlayConfig.sortPartitions(partitionOrderFilePath, partitions)); in testSortPartitionsWithoutXml()
[all …]
/frameworks/base/core/java/android/os/
DBuild.java1466 ArrayList<Partition> partitions = new ArrayList(); in getFingerprintedPartitions() local
1482 partitions.add(new Partition(name, fingerprint, time)); in getFingerprintedPartitions()
1485 return partitions; in getFingerprintedPartitions()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java287 ArrayList<PackagePartitions.SystemPartition> partitions = in isSystemServerDexPathSupportedForOdex() local
293 for (int i = 0; i < partitions.size(); i++) { in isSystemServerDexPathSupportedForOdex()
294 if (partitions.get(i).containsPath(dexPath)) { in isSystemServerDexPathSupportedForOdex()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerServiceTest.java152 String[] partitions = {"system", "vendor", "odm", "oem", "product", "system_ext"}; in testPartitions() local
154 for (int i = 0; i < partitions.length; i++) { in testPartitions()
158 File path = new File(String.format("%s/%s/A.apk", partitions[i], appdir[j])); in testPartitions()
/frameworks/base/core/proto/android/service/
Ddiskstats.proto44 // Free Space in the major partitions
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt703 private fun redirectScanPartitions(partitions: List<ScanPartition>): List<ScanPartition> { in redirectScanPartitions()
705 ArrayList(partitions.size) in redirectScanPartitions()
706 for (partition: ScanPartition in partitions) { in redirectScanPartitions()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp707 const uint32_t *partitions = reinterpret_cast<const uint32_t*>(data + 10); in setWebmBlockCryptoInfo() local
710 ? ntohl(partitions[i]) in setWebmBlockCryptoInfo()
/frameworks/proto_logging/stats/
Datoms.proto8747 * Free and total bytes of the Data, Cache, System, and Metadata partitions.
21810 * VBMeta Digest cryptographically encapsulates the composition of signed images or partitions of