Home
last modified time | relevance | path

Searched refs:valueName (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java250 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
252 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
254 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
276 String valueName) { in checkArgumentInRange() argument
278 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
282 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
286 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
305 String valueName) { in checkArgumentInRange() argument
309 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
313 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
[all …]
DXmlUtils.java1348 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml() local
1363 name[0] = valueName; in readThisValueXml()
1382 name[0] = valueName; in readThisValueXml()
1387 name[0] = valueName; in readThisValueXml()
1392 name[0] = valueName; in readThisValueXml()
1397 name[0] = valueName; in readThisValueXml()
1402 name[0] = valueName; in readThisValueXml()
1410 name[0] = valueName; in readThisValueXml()
1416 name[0] = valueName; in readThisValueXml()
1422 name[0] = valueName; in readThisValueXml()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java143 final String valueName) { in checkCollectionElementsNotNull() argument
145 throw new NullPointerException(valueName + " must not be null"); in checkCollectionElementsNotNull()
152 String.format("%s[%d] must not be null", valueName, ctr)); in checkCollectionElementsNotNull()
172 final String valueName) { in checkCollectionNotEmpty() argument
174 throw new NullPointerException(valueName + " must not be null"); in checkCollectionNotEmpty()
177 throw new IllegalArgumentException(valueName + " is empty"); in checkCollectionNotEmpty()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp153 char *valueName = strtok_r(valueNames, ",", &ctx); in loadCriterionType() local
154 while (valueName != NULL) { in loadCriterionType()
155 if (strlen(valueName) != 0) { in loadCriterionType()
159 if (strchr(valueName, ':') != NULL) { in loadCriterionType()
161 char *first = strtok(valueName, ":"); in loadCriterionType()
174 addCriterionTypeValuePair(typeName, pfwIndex, valueName); in loadCriterionType()
178 valueName = strtok_r(NULL, ",", &ctx); in loadCriterionType()
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java506 private static int longToUint32(long value, String valueName) { in longToUint32() argument
507 Preconditions.checkArgumentInRange(value, 0, 0xffffffffL, valueName); in longToUint32()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java442 private static void assertValueNotNull(String valueName, Object value) { in assertValueNotNull() argument