Lines Matching refs:constexpr
29 explicit constexpr Type(uint32_t value) : mValue(value) {} in Type()
32 constexpr Type enable##name() const { return Type(mValue | (1 << bit)); } \
33 constexpr Type disable##name() const { return Type(mValue & ~(1 << bit)); } \
34 constexpr bool is##name##Enabled() const { return mValue & (1 << bit); }
55 constexpr Type EVERYTHING = Type(~0);
56 constexpr Type NO_HALS = EVERYTHING.disableHals();
57 constexpr Type NO_AVB = EVERYTHING.disableAvb();
58 constexpr Type NO_SEPOLICY = EVERYTHING.disableSepolicy();
59 constexpr Type NO_VNDK = EVERYTHING.disableVndk();
60 constexpr Type NO_KERNEL = EVERYTHING.disableKernel();
61 constexpr Type NO_XMLFILES = EVERYTHING.disableXmlFiles();
62 constexpr Type NO_SSDK = EVERYTHING.disableSsdk();
63 constexpr Type NO_FQNAME = EVERYTHING.disableFqname();
64 constexpr Type NO_KERNEL_CONFIGS = EVERYTHING.disableKernelConfigs();
65 constexpr Type NO_KERNEL_MINOR_REVISION = EVERYTHING.disableKernelMinorRevision();
67 constexpr Type NO_TAGS = Type(0).enableMetaVersion().enableSchemaType();
68 constexpr Type HALS_ONLY = NO_TAGS.enableHals().enableFqname(); // <hal> with <fqname>
69 constexpr Type XMLFILES_ONLY = NO_TAGS.enableXmlFiles();
70 constexpr Type SEPOLICY_ONLY = NO_TAGS.enableSepolicy();
71 constexpr Type VNDK_ONLY = NO_TAGS.enableVndk();
72 constexpr Type HALS_NO_FQNAME = NO_TAGS.enableHals(); // <hal> without <fqname>
73 constexpr Type SSDK_ONLY = NO_TAGS.enableSsdk();