Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java288 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
290 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
292 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
314 String valueName) { in checkArgumentInRange() argument
316 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
320 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
324 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
343 String valueName) { in checkArgumentInRange() argument
347 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
351 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
[all …]
/frameworks/libs/modules-utils/java/com/android/internal/util/
DPreconditions.java436 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
438 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
440 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
462 String valueName) { in checkArgumentInRange() argument
464 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
468 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
472 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
494 String valueName) { in checkArgumentInRange() argument
496 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
500 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
[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/base/libs/hwui/pipeline/skia/
DATraceMemoryDump.cpp64 void ATraceMemoryDump::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument
68 if (!strcmp(valueName, "size")) { in dumpNumericValue()
70 } else if (!strcmp(valueName, "purgeable_size")) { in dumpNumericValue()
76 void ATraceMemoryDump::dumpStringValue(const char* dumpName, const char* valueName, in dumpStringValue() argument
78 if (!strcmp(valueName, "type")) { in dumpStringValue()
DSkiaMemoryTracer.h42 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
45 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override { in dumpStringValue() argument
47 dumpNumericValue(dumpName, valueName, value, 0); in dumpStringValue()
DATraceMemoryDump.h35 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
38 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override;
DSkiaMemoryTracer.cpp117 void SkiaMemoryTracer::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument
123 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDumpHelpers.h46 void dumpVal(std::string& out, const char* name, const char* valueName, EnumType value) { in dumpVal() argument
47 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal()
51 void dumpVal(std::string& out, const char* name, const std::string& valueName, EnumType value) { in dumpVal() argument
52 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal()
/frameworks/native/libs/renderengine/skia/debug/
DSkiaMemoryReporter.h56 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
59 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override { in dumpStringValue() argument
61 dumpNumericValue(dumpName, valueName, value, 0); in dumpStringValue()
DSkiaMemoryReporter.cpp112 void SkiaMemoryReporter::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument
118 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDumpHelpers.cpp58 void dumpVal(std::string& out, const char* name, const char* valueName, int value) { in dumpVal() argument
59 StringAppendF(&out, "%s=%s (%d) ", name, valueName, value); in dumpVal()
62 void dumpVal(std::string& out, const char* name, const std::string& valueName, int value) { in dumpVal() argument
63 dumpVal(out, name, valueName.c_str(), value); in dumpVal()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1555 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml() local
1570 name[0] = valueName; in readThisValueXml()
1589 name[0] = valueName; in readThisValueXml()
1594 name[0] = valueName; in readThisValueXml()
1599 name[0] = valueName; in readThisValueXml()
1604 name[0] = valueName; in readThisValueXml()
1609 name[0] = valueName; in readThisValueXml()
1614 name[0] = valueName; in readThisValueXml()
1622 name[0] = valueName; in readThisValueXml()
1628 name[0] = valueName; in readThisValueXml()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java519 private static int longToUint32(long value, String valueName) { in longToUint32() argument
520 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