Lines Matching refs:Partition
57 vintf::SchemaType toSchemaType(Partition p) { in toSchemaType()
58 return (p == Partition::SYSTEM) ? vintf::SchemaType::FRAMEWORK : vintf::SchemaType::DEVICE; in toSchemaType()
61 Partition toPartition(vintf::SchemaType t) { in toPartition()
63 case vintf::SchemaType::FRAMEWORK: return Partition::SYSTEM; in toPartition()
65 case vintf::SchemaType::DEVICE: return Partition::VENDOR; in toPartition()
67 return Partition::UNKNOWN; in toPartition()
111 Partition ListCommand::getPartition(pid_t pid) { in getPartition()
112 if (pid == NO_PID) return Partition::UNKNOWN; in getPartition()
117 Partition partition = android::procpartition::getPartition(pid); in getPartition()
124 Partition ListCommand::resolvePartition(Partition process, const FqInstance& fqInstance) const { in resolvePartition()
126 return Partition::VENDOR; in resolvePartition()
131 return Partition::SYSTEM; in resolvePartition()
137 if (process != Partition::UNKNOWN) { in resolvePartition()
140 return Partition::VENDOR; in resolvePartition()
272 if (entry.partition == Partition::UNKNOWN) { in postprocess()
331 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance()
333 if (partition == Partition::UNKNOWN) { in addEntryWithInstance()
977 if (thiz->mVintfPartition == Partition::UNKNOWN) in registerAllOptions()
978 thiz->mVintfPartition = Partition::VENDOR; in registerAllOptions()
985 if (thiz->mVintfPartition == Partition::UNKNOWN) return USAGE; in registerAllOptions()