Lines Matching refs:Partition
55 vintf::SchemaType toSchemaType(Partition p) { in toSchemaType()
56 return (p == Partition::SYSTEM) ? vintf::SchemaType::FRAMEWORK : vintf::SchemaType::DEVICE; in toSchemaType()
59 Partition toPartition(vintf::SchemaType t) { in toPartition()
61 case vintf::SchemaType::FRAMEWORK: return Partition::SYSTEM; in toPartition()
63 case vintf::SchemaType::DEVICE: return Partition::VENDOR; in toPartition()
65 return Partition::UNKNOWN; in toPartition()
109 Partition ListCommand::getPartition(pid_t pid) { in getPartition()
110 if (pid == NO_PID) return Partition::UNKNOWN; in getPartition()
115 Partition partition = android::procpartition::getPartition(pid); in getPartition()
122 Partition ListCommand::resolvePartition(Partition process, const FqInstance& fqInstance) const { in resolvePartition()
124 return Partition::VENDOR; in resolvePartition()
129 return Partition::SYSTEM; in resolvePartition()
135 if (process != Partition::UNKNOWN) { in resolvePartition()
138 return Partition::VENDOR; in resolvePartition()
270 if (entry.partition == Partition::UNKNOWN) { in postprocess()
329 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance()
331 if (partition == Partition::UNKNOWN) { in addEntryWithInstance()
932 if (thiz->mVintfPartition == Partition::UNKNOWN) in registerAllOptions()
933 thiz->mVintfPartition = Partition::VENDOR; in registerAllOptions()
940 if (thiz->mVintfPartition == Partition::UNKNOWN) return USAGE; in registerAllOptions()