Home
last modified time | relevance | path

Searched refs:Partition (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp24 std::ostream& operator<<(std::ostream& os, Partition p) { in operator <<()
26 case Partition::SYSTEM: return os << "system"; in operator <<()
27 case Partition::VENDOR: return os << "vendor"; in operator <<()
28 case Partition::ODM: return os << "odm"; in operator <<()
29 case Partition::UNKNOWN: // fallthrough in operator <<()
56 Partition parsePartition(const std::string& s) { in parsePartition()
58 return Partition::SYSTEM; in parsePartition()
61 return Partition::VENDOR; in parsePartition()
64 return Partition::ODM; in parsePartition()
66 return Partition::UNKNOWN; in parsePartition()
[all …]
/frameworks/native/cmds/lshal/libprocpartition/include/procpartition/
Dprocpartition.h27 enum class Partition { enum
34 std::ostream& operator<<(std::ostream& os, Partition p);
35 Partition parsePartition(const std::string& s);
42 Partition getPartition(pid_t pid);
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java34 public static class Partition { class in CompositeCursorAdapter
42 public Partition(boolean showIfEmpty, boolean hasHeader) { in Partition() method in CompositeCursorAdapter.Partition
64 private ArrayList<Partition> mPartitions;
76 mPartitions = new ArrayList<Partition>(); in CompositeCursorAdapter()
89 addPartition(new Partition(showIfEmpty, hasHeader)); in addPartition()
92 public void addPartition(Partition partition) { in addPartition()
98 public void addPartition(int location, Partition partition) { in addPartition()
121 for (Partition partition : mPartitions) { in clearPartitions()
132 for (Partition partition : mPartitions) { in close()
153 public Partition getPartition(int partitionIndex) { in getPartition()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DOriginalPackageMigrationTest.kt56 preparer.deleteApkFolders(Partition.SYSTEM, VERSION_ONE, VERSION_TWO, VERSION_THREE, in deleteApkFolders()
80 preparer.pushApk(apk, Partition.SYSTEM) in runForApk()
89 preparer.deleteApkFolders(Partition.SYSTEM, apk) in runForApk()
90 .pushApk(NEW_PKG, Partition.SYSTEM) in runForApk()
105 .contains(HostUtils.makePathForApk(apk, Partition.SYSTEM).parent.toString()) in assertCodePath()
DHostUtils.kt24 internal fun SystemPreparer.pushApk(file: String, partition: Partition) = in <lambda>()
28 partition: Partition, in <lambda>()
45 fun makePathForApk(fileName: String, partition: Partition) = in makePathForApk()
48 fun makePathForApk(file: File, partition: Partition) = in makePathForApk()
DPartition.kt23 internal enum class Partition(val baseAppFolder: Path) { class
DInvalidNewSystemAppTest.kt52 private val filePath = HostUtils.makePathForApk("PackageManagerDummyApp.apk", Partition.PRODUCT)
/frameworks/base/core/java/android/os/
DBuild.java1157 public static class Partition { class in Build
1165 private Partition(String name, String fingerprint, long timeMs) { in Partition() method in Build.Partition
1190 if (!(o instanceof Partition)) { in equals()
1193 Partition op = (Partition) o; in equals()
1212 public static List<Partition> getFingerprintedPartitions() { in getFingerprintedPartitions()
1213 ArrayList<Partition> partitions = new ArrayList(); in getFingerprintedPartitions()
1216 "bootimage", "odm", "product", "system_ext", Partition.PARTITION_NAME_SYSTEM, in getFingerprintedPartitions()
1225 partitions.add(new Partition(name, fingerprint, time)); in getFingerprintedPartitions()
/frameworks/native/cmds/lshal/
DListCommand.h129 virtual Partition getPartition(pid_t pid);
130 Partition resolvePartition(Partition processPartition, const FqInstance &fqInstance) const;
175 Partition mVintfPartition = Partition::UNKNOWN;
194 std::map<pid_t, Partition> mPartitions;
DListCommand.cpp56 vintf::SchemaType toSchemaType(Partition p) { in toSchemaType()
57 return (p == Partition::SYSTEM) ? vintf::SchemaType::FRAMEWORK : vintf::SchemaType::DEVICE; in toSchemaType()
60 Partition toPartition(vintf::SchemaType t) { in toPartition()
62 case vintf::SchemaType::FRAMEWORK: return Partition::SYSTEM; in toPartition()
64 case vintf::SchemaType::DEVICE: return Partition::VENDOR; in toPartition()
66 return Partition::UNKNOWN; in toPartition()
110 Partition ListCommand::getPartition(pid_t pid) { in getPartition()
111 if (pid == NO_PID) return Partition::UNKNOWN; in getPartition()
116 Partition partition = android::procpartition::getPartition(pid); in getPartition()
123 Partition ListCommand::resolvePartition(Partition process, const FqInstance& fqInstance) const { in resolvePartition()
[all …]
DTableEntry.h34 using android::procpartition::Partition;
88 Partition partition{Partition::UNKNOWN};
Dtest.cpp216 MOCK_METHOD1(getPartition, Partition(pid_t));
351 ON_CALL(*mockList, getPartition(_)).WillByDefault(Return(Partition::VENDOR)); in initMockList()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java98 public final static class DirectoryPartition extends CompositeCursorAdapter.Partition {
/frameworks/base/api/
Dcurrent.txt35793 …method @NonNull public static java.util.List<android.os.Build.Partition> getFingerprintedPartition…
35822 public static class Build.Partition {