Searched defs:Constant (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/health/
H A DHealthKeys.java71 public @interface Constant { interface in class:HealthKeys
90 * tagged with the @Constant annotation.
99 final Class<Constant> annotationClass = Constant.class;
110 final Constant constant = field.getAnnotation(annotationClass);
114 throw new RuntimeException("Unknown Constant type " + type
167 throw new RuntimeException("Unknown Constant " + key + " (of type "
/frameworks/rs/script_api/
H A DSpecification.cpp308 Constant::~Constant() {
375 Constant* constant = systemSpecification.findOrCreateConstant(name, &created);
781 Constant* constant = spec->getConstant();
782 mDocumentedConstants.insert(pair<string, Constant*>(constant->getName(), constant));
884 Constant* SystemSpecification::findOrCreateConstant(const string& name, bool* created) {
885 return findOrCreate<Constant>(name, &mConstants, created);
H A DSpecification.h29 class Constant;
186 * We'll only have one instance of Constant for each name.
188 class Constant : public Definition { class in inherits:Definition
193 Constant(const std::string& name) : Definition(name) {} function in class:Constant
194 ~Constant();
266 Constant* mConstant; // Not owned
271 ConstantSpecification(Constant* constant) : mConstant(constant) {}
273 Constant* getConstant() const { return mConstant; }
527 std::map<std::string, Constant*> mDocumentedConstants;
550 const std::map<std::string, Constant*>
[all...]

Completed in 202 milliseconds