Home
last modified time | relevance | path

Searched refs:constantName (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DFlagsConstantsTest.java129 String constantName = constant.first; in testAllAconfigFlagsAreMapped() local
138 + constantName in testAllAconfigFlagsAreMapped()
143 Log.e(mTag, "Missing mapping for " + constantName + "=" + aconfigFlag); in testAllAconfigFlagsAreMapped()
147 Log.d(mTag, "Found mapping: " + constantName + "->" + serviceConstant); in testAllAconfigFlagsAreMapped()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java705 String constantName = propIdStrings[1]; in parseConstantValue() local
708 if (CONSTANTS_BY_NAME.containsKey(constantName)) { in parseConstantValue()
709 return CONSTANTS_BY_NAME.get(constantName); in parseConstantValue()
711 errors.add(constantName + " is not a valid constant name."); in parseConstantValue()
724 if (constantName.equals(field.getName())) { in parseConstantValue()
728 errors.add("Failed to get int value of " + enumClass + "." + constantName in parseConstantValue()
734 errors.add(enumClass + " doesn't have a constant field with name " + constantName); in parseConstantValue()