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.cpp197 LOG(DEBUG) << "HalManifest::getHidlTransport(" << mType << "): Cannot find " in getHidlTransport()
374 if (mType == mat.mType) { in checkCompatibility()
376 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility()
377 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
396 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
404 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
447 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
448 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
450 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
451 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 ==()
363 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()
393 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()
DRuntimeInfo.cpp78 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
80 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility()
Dparse_xml.cpp479 appendAttr(root, "type", object.mType); in mutateNode()
485 if (!parseAttr(root, "type", &object->mType, error) || in buildObject()
983 appendAttr(root, "type", m.mType); in mutateNode()
989 if (m.mType == SchemaType::DEVICE) { in mutateNode()
1004 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
1033 if (!parseAttr(root, "type", &object->mType, error)) { in buildObject()
1045 if (object->mType == SchemaType::DEVICE) { in buildObject()
1062 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1169 appendAttr(root, "type", m.mType); in mutateNode()
1175 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
[all …]
Dparse_string.cpp103 switch (kctv.mType) {
185 switch (kctv->mType) { in parseKernelConfigValue()
200 kctv->mType = KernelConfigType::STRING; in parseKernelConfigTypedValue()
205 kctv->mType = KernelConfigType::INTEGER; in parseKernelConfigTypedValue()
209 kctv->mType = KernelConfigType::TRISTATE; in parseKernelConfigTypedValue()
DAssembleVintf.cpp393 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
409 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()
549 if (matrices->front().mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
576 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.h84 Type getType() const { return mType; } in getType()
102 bool isEmulated() { return mType == Type::kEmulated; } in isEmulated()
135 Type mType; variable
DVolumeBase.cpp36 : mType(type), in VolumeBase()
179 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.h78 DataLoaderType type() const { return mType; } in type()
87 DataLoaderType const mType;
Ddataloader_inline.h107 : mType(type), in DataLoaderParams()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h49 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()
157 SchemaType mType; member
DKernelConfigTypedValue.h58 KernelConfigType mType; member
DHalManifest.h65 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
214 SchemaType mType; member
/system/libvintf/test/
DLibVintfTest.cpp85 cm.mType = type; in set()
140 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
166 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()