/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/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 326 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument 328 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite() 330 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite() 352 String valueName) { in checkArgumentInRange() argument 354 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange() 358 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 362 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 382 String valueName) { in checkArgumentInRange() argument 386 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 390 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange() [all …]
|
D | XmlUtils.java | 1409 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml() local 1424 name[0] = valueName; in readThisValueXml() 1443 name[0] = valueName; in readThisValueXml() 1448 name[0] = valueName; in readThisValueXml() 1453 name[0] = valueName; in readThisValueXml() 1458 name[0] = valueName; in readThisValueXml() 1463 name[0] = valueName; in readThisValueXml() 1468 name[0] = valueName; in readThisValueXml() 1476 name[0] = valueName; in readThisValueXml() 1482 name[0] = valueName; in readThisValueXml() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 475 String[] valueName = new String[1]; in deserializeHomeSP() local 476 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeHomeSP() 477 if (valueName[0] == null) { in deserializeHomeSP() 480 switch (valueName[0]) { in deserializeHomeSP() 506 throw new XmlPullParserException("Unknown data under HomeSP: " + valueName[0]); in deserializeHomeSP() 644 String[] valueName = new String[1]; in deserializeUserCredential() local 645 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeUserCredential() 646 if (valueName[0] == null) { in deserializeUserCredential() 649 switch (valueName[0]) { in deserializeUserCredential() 673 + valueName[0]); in deserializeUserCredential() [all …]
|
D | PasspointConfigSharedStoreData.java | 143 String[] valueName = new String[1]; in deserializeShareData() local 144 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeShareData() 145 if (valueName[0] == null) { in deserializeShareData() 148 switch (valueName[0]) { in deserializeShareData() 154 + valueName[0]); in deserializeShareData()
|
/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupConfigStoreData.java | 192 String[] valueName = new String[1]; in parseFeatureState() local 193 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFeatureState() 194 if (valueName[0] == null) { in parseFeatureState() 197 switch (valueName[0]) { in parseFeatureState() 208 throw new XmlPullParserException("Unknown value found: " + valueName[0]); in parseFeatureState() 230 String[] valueName = new String[1]; in parseNetwork() local 231 Object value = XmlUtil.readCurrentValue(in, valueName); in parseNetwork() 232 if (valueName[0] == null) { in parseNetwork() 235 switch (valueName[0]) { in parseNetwork() 244 + valueName[0]); in parseNetwork()
|
D | RandomizedMacStoreData.java | 64 String[] valueName = new String[1]; in deserializeData() local 65 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData() 66 if (valueName[0] == null) { in deserializeData() 69 switch (valueName[0]) { in deserializeData() 76 + ": " + valueName[0]); in deserializeData()
|
D | SsidSetStoreData.java | 98 String[] valueName = new String[1]; in deserializeData() local 99 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData() 100 if (TextUtils.isEmpty(valueName[0])) { in deserializeData() 103 switch (valueName[0]) { in deserializeData() 109 + mTagName + ": " + valueName[0]); in deserializeData()
|
D | DeletedEphemeralSsidsStoreData.java | 68 String[] valueName = new String[1]; in deserializeData() local 69 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData() 70 if (valueName[0] == null) { in deserializeData() 73 switch (valueName[0]) { in deserializeData() 90 + ": " + valueName[0]); in deserializeData()
|
D | NetworkRequestStoreData.java | 252 String[] valueName = new String[1]; in parseApprovedAccessPoint() local 253 Object value = XmlUtil.readCurrentValue(in, valueName); in parseApprovedAccessPoint() 254 if (valueName[0] == null) { in parseApprovedAccessPoint() 257 switch (valueName[0]) { in parseApprovedAccessPoint() 269 "Unknown value name found: " + valueName[0]); in parseApprovedAccessPoint()
|
D | WifiBackupDataV1Parser.java | 281 String[] valueName = new String[1]; in parseWifiConfigurationFromXmlInternal() local 282 Object value = XmlUtil.readCurrentValue(in, valueName); in parseWifiConfigurationFromXmlInternal() 283 String tagName = valueName[0]; in parseWifiConfigurationFromXmlInternal() 352 "Unknown value name found: " + valueName[0]); in parseWifiConfigurationFromXmlInternal() 430 String[] valueName = new String[1]; in parseIpConfigurationFromXml() local 431 Object value = XmlUtil.readCurrentValue(in, valueName); in parseIpConfigurationFromXml() 432 String tagName = valueName[0]; in parseIpConfigurationFromXml() 482 "Unknown value name found: " + valueName[0]); in parseIpConfigurationFromXml()
|
D | NetworkSuggestionStoreData.java | 313 String[] valueName = new String[1]; in parseNetworkSuggestion() local 314 Object value = XmlUtil.readCurrentValue(in, valueName); in parseNetworkSuggestion() 315 switch (valueName[0]) { in parseNetworkSuggestion() 330 "Unknown value name found: " + valueName[0]); in parseNetworkSuggestion()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 211 public static Object readCurrentValue(XmlPullParser in, String[] valueName) in readCurrentValue() argument 213 Object value = XmlUtils.readValueXml(in, valueName); in readCurrentValue() 234 String[] valueName = new String[1]; in readNextValueWithName() local 236 Object value = readCurrentValue(in, valueName); in readNextValueWithName() 237 if (valueName[0].equals(expectedName)) { in readNextValueWithName() 241 "Value not found. Expected: " + expectedName + ", but got: " + valueName[0]); in readNextValueWithName() 568 String[] valueName = new String[1]; in parseFromXml() local 569 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFromXml() 570 if (valueName[0] == null) { in parseFromXml() 573 switch (valueName[0]) { in parseFromXml() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DumpHelpers.h | 45 void dumpVal(std::string& out, const char* name, const char* valueName, EnumType value) { in dumpVal() argument 46 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal() 50 void dumpVal(std::string& out, const char* name, const std::string& valueName, EnumType value) { in dumpVal() argument 51 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal()
|
/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/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.h | 40 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()
|
D | SkiaMemoryTracer.cpp | 120 void SkiaMemoryTracer::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument 126 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
|
/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
|