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()
468 if (mType == mat.mType) { in checkCompatibility()
470 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility()
471 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
490 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
498 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
555 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
556 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
558 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
559 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) {
192 switch (kctv->mType) { in parseKernelConfigValue()
207 kctv->mType = KernelConfigType::STRING; in parseKernelConfigTypedValue()
212 kctv->mType = KernelConfigType::INTEGER; in parseKernelConfigTypedValue()
216 kctv->mType = KernelConfigType::TRISTATE; in parseKernelConfigTypedValue()
Dparse_xml.cpp559 appendAttr(root, "type", object.mType); in mutateNode()
565 if (!parseAttr(root, "type", &object->mType, param.error) || in buildObject()
1248 appendAttr(root, "type", object.mType); in mutateNode()
1254 if (object.mType == SchemaType::DEVICE) { in mutateNode()
1270 } else if (object.mType == SchemaType::FRAMEWORK) { in mutateNode()
1301 if (!parseAttr(root, "type", &object->mType, param.error)) { in buildObject()
1313 if (object->mType == SchemaType::DEVICE) { in buildObject()
1330 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1437 appendAttr(root, "type", object.mType); in mutateNode()
1443 if (object.mType == SchemaType::FRAMEWORK) { in mutateNode()
[all …]
DAssembleVintf.cpp588 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
607 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()
707 if (matrices->front().mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
734 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()
190 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()
167 SchemaType mType; member
DKernelConfigTypedValue.h58 KernelConfigType mType; member
DHalManifest.h70 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
243 SchemaType mType; member
/system/libvintf/test/
DLibVintfTest.cpp88 cm.mType = type; in set()
160 vm.mType = SchemaType::DEVICE; in testDeviceManifestWithSepolicy()
186 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()