Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 22 of 22) sorted by relevance

/system/libvintf/
DKernelConfigTypedValue.cpp34 mType = KernelConfigType::STRING; in KernelConfigTypedValue()
39 mType = KernelConfigType::INTEGER; in KernelConfigTypedValue()
44 mType = KernelConfigType::RANGE; in KernelConfigTypedValue()
49 mType = KernelConfigType::TRISTATE; in KernelConfigTypedValue()
54 if (mType != other.mType) { in operator ==()
57 switch(mType) { in operator ==()
71 switch(mType) { in matchValue()
DHalManifest.cpp274 LOG(DEBUG) << "HalManifest::getHidlTransport(" << mType << "): Cannot find " in getHidlTransport()
502 if (mType == mat.mType) { in checkCompatibility()
504 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility()
505 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
524 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
532 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
600 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
601 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
603 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
604 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
[all …]
DCompatibilityMatrix.cpp49 if (mType != SchemaType::FRAMEWORK) { in addKernel()
51 *error = "Cannot add <kernel> to a " + to_string(mType) + " compatibility matrix."; in addKernel()
114 return mType; in type()
321 return lft.mType == rgt.mType && lft.mLevel == rgt.mLevel && lft.mHals == rgt.mHals && in operator ==()
323 (lft.mType != SchemaType::DEVICE || in operator ==()
331 (lft.mType != SchemaType::FRAMEWORK || in operator ==()
364 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()
394 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()
DRuntimeInfo.cpp82 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
84 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility()
Dparse_string.cpp107 switch (kctv.mType) {
189 switch (kctv->mType) { in parseKernelConfigValue()
204 kctv->mType = KernelConfigType::STRING; in parseKernelConfigTypedValue()
209 kctv->mType = KernelConfigType::INTEGER; in parseKernelConfigTypedValue()
213 kctv->mType = KernelConfigType::TRISTATE; in parseKernelConfigTypedValue()
Dparse_xml.cpp551 appendAttr(root, "type", object.mType); in mutateNode()
557 if (!parseAttr(root, "type", &object->mType, param.error) || in buildObject()
1244 appendAttr(root, "type", object.mType); in mutateNode()
1250 if (object.mType == SchemaType::DEVICE) { in mutateNode()
1266 } else if (object.mType == SchemaType::FRAMEWORK) { in mutateNode()
1297 if (!parseAttr(root, "type", &object->mType, param.error)) { in buildObject()
1309 if (object->mType == SchemaType::DEVICE) { in buildObject()
1326 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1433 appendAttr(root, "type", object.mType); in mutateNode()
1439 if (object.mType == SchemaType::FRAMEWORK) { in mutateNode()
[all …]
DAssembleVintf.cpp399 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
417 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()
555 if (matrices->front().mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
582 if (matrices->front().mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
/system/tools/hidl/c2hal/
DVarDeclaration.cpp23 mType(type) in VarDeclaration()
29 delete mType; in ~VarDeclaration()
41 return mType; in getType()
DFunctionDeclaration.cpp29 mType(type), in FunctionDeclaration()
36 delete mType; in ~FunctionDeclaration()
52 return mType; in getType()
DExpression.cpp104 : mType(type), mValue(value), mIsId(isId) in AtomExpression()
108 if (mType != Type::UNKNOWN) { in getType()
109 return mType; in getType()
126 Type mType; member
DVarDeclaration.h41 Type *mType;
DFunctionDeclaration.h47 const Type *mType;
/system/vold/model/
DVolumeBase.h91 Type getType() const { return mType; } in getType()
111 bool isEmulated() { return mType == Type::kEmulated; } in isEmulated()
151 Type mType; variable
DVolumeBase.cpp36 : mType(type), in VolumeBase()
189 listener->onVolumeCreated(getId(), static_cast<int32_t>(mType), mDiskId, mPartGuid, in create()
/system/tools/hidl/
DDocComment.cpp64 : mLines(lines), mType(type), mLocation(location) {} in DocComment()
74 if (useType == CommentType::UNSPECIFIED) useType = mType; in emit()
DDocComment.h60 CommentType mType; member
/system/incremental_delivery/libdataloader/include/
Ddataloader.h88 DataLoaderType type() const { return mType; } in type()
97 DataLoaderType const mType;
Ddataloader_inline.h120 : mType(type), in DataLoaderParams()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h53 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()
171 SchemaType mType; member
DKernelConfigTypedValue.h58 KernelConfigType mType; member
DHalManifest.h70 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
240 SchemaType mType; member
/system/libvintf/test/
DLibVintfTest.cpp87 cm.mType = type; in set()
159 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
184 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()