Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java287 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
289 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
291 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
313 String valueName) { in checkArgumentInRange() argument
315 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
319 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
323 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
342 String valueName) { in checkArgumentInRange() argument
346 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
350 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
[all …]
DXmlUtils.java1415 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml() local
1430 name[0] = valueName; in readThisValueXml()
1449 name[0] = valueName; in readThisValueXml()
1454 name[0] = valueName; in readThisValueXml()
1459 name[0] = valueName; in readThisValueXml()
1464 name[0] = valueName; in readThisValueXml()
1469 name[0] = valueName; in readThisValueXml()
1474 name[0] = valueName; in readThisValueXml()
1482 name[0] = valueName; in readThisValueXml()
1488 name[0] = valueName; in readThisValueXml()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/util/
DPreconditions.java255 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
257 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
259 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
281 String valueName) { in checkArgumentInRange() argument
283 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
287 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
291 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
310 String valueName) { in checkArgumentInRange() argument
314 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
318 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java467 String[] valueName = new String[1]; in deserializeHomeSP() local
468 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeHomeSP()
469 if (valueName[0] == null) { in deserializeHomeSP()
472 switch (valueName[0]) { in deserializeHomeSP()
498 throw new XmlPullParserException("Unknown data under HomeSP: " + valueName[0]); in deserializeHomeSP()
636 String[] valueName = new String[1]; in deserializeUserCredential() local
637 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeUserCredential()
638 if (valueName[0] == null) { in deserializeUserCredential()
641 switch (valueName[0]) { in deserializeUserCredential()
665 + valueName[0]); in deserializeUserCredential()
[all …]
DPasspointConfigStoreData.java239 String[] valueName = new String[1]; in deserializeShareData() local
240 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeShareData()
241 if (valueName[0] == null) { in deserializeShareData()
244 switch (valueName[0]) { in deserializeShareData()
250 + valueName[0]); in deserializeShareData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupConfigStoreData.java197 String[] valueName = new String[1]; in parseFeatureState() local
198 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFeatureState()
199 if (valueName[0] == null) { in parseFeatureState()
202 switch (valueName[0]) { in parseFeatureState()
213 throw new XmlPullParserException("Unknown value found: " + valueName[0]); in parseFeatureState()
235 String[] valueName = new String[1]; in parseNetwork() local
236 Object value = XmlUtil.readCurrentValue(in, valueName); in parseNetwork()
237 if (valueName[0] == null) { in parseNetwork()
240 switch (valueName[0]) { in parseNetwork()
249 + valueName[0]); in parseNetwork()
DDeletedEphemeralSsidsStoreData.java65 String[] valueName = new String[1]; in deserializeData() local
66 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
67 if (valueName[0] == null) { in deserializeData()
70 switch (valueName[0]) { in deserializeData()
77 + ": " + valueName[0]); in deserializeData()
DSsidSetStoreData.java103 String[] valueName = new String[1]; in deserializeData() local
104 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
105 if (TextUtils.isEmpty(valueName[0])) { in deserializeData()
108 switch (valueName[0]) { in deserializeData()
114 + mTagName + ": " + valueName[0]); in deserializeData()
DWifiBackupDataV1Parser.java280 String[] valueName = new String[1]; in parseWifiConfigurationFromXml() local
281 Object value = XmlUtil.readCurrentValue(in, valueName); in parseWifiConfigurationFromXml()
282 String tagName = valueName[0]; in parseWifiConfigurationFromXml()
348 "Unknown value name found: " + valueName[0]); in parseWifiConfigurationFromXml()
423 String[] valueName = new String[1]; in parseIpConfigurationFromXml() local
424 Object value = XmlUtil.readCurrentValue(in, valueName); in parseIpConfigurationFromXml()
425 String tagName = valueName[0]; in parseIpConfigurationFromXml()
475 "Unknown value name found: " + valueName[0]); in parseIpConfigurationFromXml()
/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/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java208 public static Object readCurrentValue(XmlPullParser in, String[] valueName) in readCurrentValue() argument
210 Object value = XmlUtils.readValueXml(in, valueName); in readCurrentValue()
231 String[] valueName = new String[1]; in readNextValueWithName() local
233 Object value = readCurrentValue(in, valueName); in readNextValueWithName()
234 if (valueName[0].equals(expectedName)) { in readNextValueWithName()
238 "Value not found. Expected: " + expectedName + ", but got: " + valueName[0]); in readNextValueWithName()
513 String[] valueName = new String[1]; in parseFromXml() local
514 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFromXml()
515 if (valueName[0] == null) { in parseFromXml()
518 switch (valueName[0]) { in parseFromXml()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.h40 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
43 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override { in dumpStringValue() argument
45 dumpNumericValue(dumpName, valueName, value, 0); in dumpStringValue()
DSkiaMemoryTracer.cpp119 void SkiaMemoryTracer::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument
125 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
/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.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
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...