Lines Matching refs:Partition
56 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()
125 return Partition::VENDOR; in resolvePartition()
130 return Partition::SYSTEM; in resolvePartition()
136 if (process != Partition::UNKNOWN) { in resolvePartition()
139 return Partition::VENDOR; in resolvePartition()
351 if (entry.partition == Partition::UNKNOWN) { in postprocess()
410 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance()
412 if (partition == Partition::UNKNOWN) { in addEntryWithInstance()
991 if (thiz->mVintfPartition == Partition::UNKNOWN) in registerAllOptions()
992 thiz->mVintfPartition = Partition::VENDOR; in registerAllOptions()
999 if (thiz->mVintfPartition == Partition::UNKNOWN) return USAGE; in registerAllOptions()