/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 288 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/ |
D | Preconditions.java | 436 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/ |
D | Preconditions.java | 143 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/ |
D | ATraceMemoryDump.cpp | 64 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()
|
D | SkiaMemoryTracer.h | 42 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()
|
D | ATraceMemoryDump.h | 35 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units, 38 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override;
|
D | SkiaMemoryTracer.cpp | 117 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/ |
D | DumpHelpers.h | 46 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/ |
D | SkiaMemoryReporter.h | 56 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()
|
D | SkiaMemoryReporter.cpp | 112 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/ |
D | DumpHelpers.cpp | 58 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/ |
D | XmlUtils.java | 1555 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/ |
D | MtpObjectInfo.java | 519 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/ |
D | GraphReader.java | 442 private static void assertValueNotNull(String valueName, Object value) { in assertValueNotNull() argument
|