Home
last modified time | relevance | path

Searched refs:valueName (Results 1 – 23 of 23) 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/base/core/java/com/android/internal/util/
DPreconditions.java324 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() argument
326 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentFinite()
328 throw new IllegalArgumentException(valueName + " must not be infinite"); in checkArgumentFinite()
350 String valueName) { in checkArgumentInRange() argument
352 throw new IllegalArgumentException(valueName + " must not be NaN"); in checkArgumentInRange()
356 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
360 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
380 String valueName) { in checkArgumentInRange() argument
384 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
388 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
[all …]
DXmlUtils.java1423 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml() local
1438 name[0] = valueName; in readThisValueXml()
1457 name[0] = valueName; in readThisValueXml()
1462 name[0] = valueName; in readThisValueXml()
1467 name[0] = valueName; in readThisValueXml()
1472 name[0] = valueName; in readThisValueXml()
1477 name[0] = valueName; in readThisValueXml()
1482 name[0] = valueName; in readThisValueXml()
1490 name[0] = valueName; in readThisValueXml()
1496 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/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupConfigStoreData.java187 String[] valueName = new String[1]; in parseFeatureState() local
188 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFeatureState()
189 if (valueName[0] == null) { in parseFeatureState()
192 switch (valueName[0]) { in parseFeatureState()
203 throw new XmlPullParserException("Unknown value found: " + valueName[0]); in parseFeatureState()
225 String[] valueName = new String[1]; in parseNetwork() local
226 Object value = XmlUtil.readCurrentValue(in, valueName); in parseNetwork()
227 if (valueName[0] == null) { in parseNetwork()
230 switch (valueName[0]) { in parseNetwork()
239 + valueName[0]); in parseNetwork()
DRandomizedMacStoreData.java58 String[] valueName = new String[1]; in deserializeData() local
59 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
60 if (valueName[0] == null) { in deserializeData()
63 switch (valueName[0]) { in deserializeData()
70 + ": " + valueName[0]); in deserializeData()
DSsidSetStoreData.java93 String[] valueName = new String[1]; in deserializeData() local
94 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
95 if (TextUtils.isEmpty(valueName[0])) { in deserializeData()
98 switch (valueName[0]) { in deserializeData()
104 + mTagName + ": " + valueName[0]); in deserializeData()
DDeletedEphemeralSsidsStoreData.java62 String[] valueName = new String[1]; in deserializeData() local
63 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
64 if (valueName[0] == null) { in deserializeData()
67 switch (valueName[0]) { in deserializeData()
84 + ": " + valueName[0]); in deserializeData()
DNetworkRequestStoreData.java247 String[] valueName = new String[1]; in parseApprovedAccessPoint() local
248 Object value = XmlUtil.readCurrentValue(in, valueName); in parseApprovedAccessPoint()
249 if (valueName[0] == null) { in parseApprovedAccessPoint()
252 switch (valueName[0]) { in parseApprovedAccessPoint()
264 "Unknown value name found: " + valueName[0]); in parseApprovedAccessPoint()
DWifiBackupDataV1Parser.java280 String[] valueName = new String[1]; in parseWifiConfigurationFromXmlInternal() local
281 Object value = XmlUtil.readCurrentValue(in, valueName); in parseWifiConfigurationFromXmlInternal()
282 String tagName = valueName[0]; in parseWifiConfigurationFromXmlInternal()
351 "Unknown value name found: " + valueName[0]); in parseWifiConfigurationFromXmlInternal()
429 String[] valueName = new String[1]; in parseIpConfigurationFromXml() local
430 Object value = XmlUtil.readCurrentValue(in, valueName); in parseIpConfigurationFromXml()
431 String tagName = valueName[0]; in parseIpConfigurationFromXml()
481 "Unknown value name found: " + valueName[0]); in parseIpConfigurationFromXml()
DNetworkSuggestionStoreData.java295 String[] valueName = new String[1]; in parseNetworkSuggestion() local
296 Object value = XmlUtil.readCurrentValue(in, valueName); in parseNetworkSuggestion()
297 switch (valueName[0]) { in parseNetworkSuggestion()
312 "Unknown value name found: " + valueName[0]); in parseNetworkSuggestion()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java475 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 …]
DPasspointConfigSharedStoreData.java137 String[] valueName = new String[1]; in deserializeShareData() local
138 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeShareData()
139 if (valueName[0] == null) { in deserializeShareData()
142 switch (valueName[0]) { in deserializeShareData()
148 + valueName[0]); in deserializeShareData()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDumpHelpers.h45 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/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()
526 String[] valueName = new String[1]; in parseFromXml() local
527 Object value = XmlUtil.readCurrentValue(in, valueName); in parseFromXml()
528 if (valueName[0] == null) { in parseFromXml()
531 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.cpp120 void SkiaMemoryTracer::dumpNumericValue(const char* dumpName, const char* valueName, in dumpNumericValue() argument
126 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/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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBDescriptor.m724 const char *valueName = valueNames_ + nameOffsets_[i];
725 NSString *fullName = [NSString stringWithFormat:@"%@_%s", name_, valueName];
748 const char *valueName = valueNames_ + nameOffsets_[i];
749 if (strcmp(nameAsCStr, valueName) == 0) {
795 const char *valueName = valueNames_ + nameOffsets_[valueDescriptorIndex];
796 NSString *shortName = @(valueName);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m1866 NSString *valueName;
1871 valueName = [descriptor enumNameForValue:Foo_SerializedSize];
1872 XCTAssertEqualObjects(@"Foo_SerializedSize", valueName);
1873 valueName = [descriptor enumNameForValue:Foo_Size];
1874 XCTAssertEqualObjects(@"Foo_Size", valueName);
1879 valueName = [descriptor enumNameForValue:Category_Enum_Red];
1880 XCTAssertEqualObjects(@"Category_Enum_Red", valueName);
1885 valueName = [descriptor enumNameForValue:Time_Base];
1886 XCTAssertEqualObjects(@"Time_Base", valueName);
1887 valueName = [descriptor enumNameForValue:Time_SomethingElse];
[all …]
/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/ ...