Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 18 of 18) 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.cpp144 LOG(DEBUG) << "HalManifest::getTransport(" << mType << "): Cannot find " in getTransport()
290 if (mType == mat.mType) { in checkCompatibility()
292 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility()
293 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
312 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
320 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
356 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
357 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
359 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
360 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
[all …]
DCompatibilityMatrix.cpp34 if (mType != SchemaType::FRAMEWORK) { in addKernel()
36 *error = "Cannot add <kernel> to a " + to_string(mType) + " compatibility matrix."; in addKernel()
91 return mType; in type()
332 return lft.mType == rgt.mType && lft.mLevel == rgt.mLevel && lft.mHals == rgt.mHals && in operator ==()
334 (lft.mType != SchemaType::DEVICE || in operator ==()
342 (lft.mType != SchemaType::FRAMEWORK || in operator ==()
374 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()
404 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()
DRuntimeInfo.cpp74 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
76 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility()
Dparse_xml.cpp481 appendAttr(root, "type", object.mType); in mutateNode()
487 if (!parseAttr(root, "type", &object->mType, error) || in buildObject()
928 appendAttr(root, "type", m.mType); in mutateNode()
934 if (m.mType == SchemaType::DEVICE) { in mutateNode()
949 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
972 !parseAttr(root, "type", &object->mType, error) || in buildObject()
981 if (object->mType == SchemaType::DEVICE) { in buildObject()
998 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1105 appendAttr(root, "type", m.mType); in mutateNode()
1111 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
[all …]
Dparse_string.cpp103 switch (kctv.mType) { in operator <<()
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.cpp367 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
379 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()
512 if (matrices->front().object.mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
539 if (matrices->front().object.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/libvintf/include/vintf/
DCompatibilityMatrix.h47 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()
148 SchemaType mType; member
DKernelConfigTypedValue.h58 KernelConfigType mType; member
DHalManifest.h59 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
176 SchemaType mType; member
/system/libvintf/test/
DLibVintfTest.cpp83 cm.mType = type; in set()
138 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
164 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()