Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 25 of 72) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java103 hp = HostAndPort.fromString(hpString); in checkFromStringCase()
191 assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); in testGetPortOrDefault()
192 assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); in testGetPortOrDefault()
196 HostAndPort hp1 = HostAndPort.fromString("foo::123"); in testHashCodeAndEquals()
197 HostAndPort hp2 = HostAndPort.fromString("foo::123"); in testHashCodeAndEquals()
198 HostAndPort hp3 = HostAndPort.fromString("[foo::123]"); in testHashCodeAndEquals()
200 HostAndPort hp5 = HostAndPort.fromString("[foo::123]:80"); in testHashCodeAndEquals()
217 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
218 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
220 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java207 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString()
224 HashCode.fromString("7f8005ff0z"); in testFromStringFailsWithInvalidHexChar()
233 HashCode.fromString(string); in testFromStringFailsWithUpperCaseString()
241 HashCode.fromString(""); in testFromStringFailsWithShortInputs()
246 HashCode.fromString("7"); in testFromStringFailsWithShortInputs()
250 HashCode.fromString("7f"); in testFromStringFailsWithShortInputs()
255 HashCode.fromString("7f8"); in testFromStringFailsWithOddLengthInput()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattClientFacade.java394 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientReadCharacteristic()
431 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientReadDescriptor()
436 UUID dUuid = UUID.fromString(descriptorUuid); in gattClientReadDescriptor()
473 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientWriteDescriptor()
478 UUID dUuid = UUID.fromString(descriptorUuid); in gattClientWriteDescriptor()
516 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientDescriptorSetValue()
521 UUID dUuid = UUID.fromString(descriptorUuid); in gattClientDescriptorSetValue()
556 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientWriteCharacteristic()
592 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientCharacteristicSetValue()
629 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientCharacteristicSetWriteType()
[all …]
DGattServerFacade.java246 mGattServiceList.put(index, new BluetoothGattService(UUID.fromString(uuid), serviceType)); in gattServerCreateService()
263 && mBluetoothGattServerList.get(index).getService(UUID.fromString(serviceUuid)) != null in gattServiceAddCharacteristic()
265 mBluetoothGattServerList.get(index).getService(UUID.fromString(serviceUuid)) in gattServiceAddCharacteristic()
366 return mBluetoothGattServerList.get(index).getService(UUID.fromString(uuid)); in gattGetService()
409 new BluetoothGattCharacteristic(UUID.fromString(characteristicUuid), property, permission); in gattServerCreateBluetoothGattCharacteristic()
458 new BluetoothGattDescriptor(UUID.fromString(descriptorUuid), permissions); in gattServerCreateBluetoothGattDescriptor()
DBluetoothLeScanFacade.java275 serviceUuids[i] = UUID.fromString(serviceUuidList[i]); in bleStartClassicBleScanWithServiceUuids()
742 ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceData()
747 mScanFilterBuilder.setServiceData(ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceData()
769 .setServiceUuid(ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceUuid()
770 ParcelUuid.fromString(serviceMask)); in bleSetScanFilterServiceUuid()
772 mScanFilterBuilder.setServiceUuid(ParcelUuid.fromString(serviceUuid)); in bleSetScanFilterServiceUuid()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DJreDeflateParametersTest.java72 JreDeflateParameters fromString = JreDeflateParameters.parseString(asString); in testParseString() local
73 Assert.assertEquals(params, fromString); in testParseString()
/external/icu/icu4c/source/i18n/
Dstandardplural.h66 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
76 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/cenc/
DProtectionSystemSpecificHeaderBox.java37 …public static byte[] OMA2_SYSTEM_ID = UUIDConverter.convert(UUID.fromString("A2B55680-6F43-11E0-9A…
38 …public static byte[] PLAYREADY_SYSTEM_ID = UUIDConverter.convert(UUID.fromString("9A04F079-9840-42…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java45 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
46 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
47 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
DNumberFormatTestTuple.java235 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in NumberFormatTestTuple
339 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
343 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
359 padPosition = fromString(padPositionMap, value); in setPadPosition()
391 style = fromString(formatStyleMap, value); in setStyle()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java135 HostAndPort parsedHost = fromString(host); in fromParts()
152 HostAndPort parsedHost = fromString(host); in fromHost()
167 public static HostAndPort fromString(String hostPortString) { in fromString() method in HostAndPort
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java49 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
50 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
51 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
DNumberFormatTestTuple.java236 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in NumberFormatTestTuple
340 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
344 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
360 padPosition = fromString(padPositionMap, value); in setPadPosition()
392 style = fromString(formatStyleMap, value); in setStyle()
/external/autotest/frontend/client/src/autotest/common/
DCustomHistory.java26 public static HistoryToken fromString(String tokenString) { in fromString() method in CustomHistory.HistoryToken
64 token = HistoryToken.fromString(historyTokenString); in processHistoryTokenString()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioEffects.java39 UUID.fromString("bb392ec0-8d4d-11e0-a896-0002a5d5c51b");
41 UUID.fromString("aa8130e0-66fc-11e0-bad0-0002a5d5c51b");
43 UUID.fromString("c06c8400-8e06-11e0-9cb6-0002a5d5c51b");
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPluralRulesLoader.java490 StandardPlural.fromString(row[0]), in StandardPlural.fromString()
491 StandardPlural.fromString(row[1]), in StandardPlural.fromString()
492 StandardPlural.fromString(row[2])); in StandardPlural.fromString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPluralRulesLoader.java488 StandardPlural.fromString(row[0]), in StandardPlural.fromString()
489 StandardPlural.fromString(row[1]), in StandardPlural.fromString()
490 StandardPlural.fromString(row[2])); in StandardPlural.fromString()
/external/libgdx/gdx/test/com/badlogic/gdx/math/
DVector2Test.java16 assertEquals(new Vector2(-5f, 42.00055f), new Vector2().fromString("(-5,42.00055)")); in testFromString()
DVector3Test.java16 …assertEquals(new Vector3(-5f, 42.00055f, 44444.32f), new Vector3().fromString("(-5,42.00055,44444.… in testFromString()
DRectangleTest.java16 …assertEquals(new Rectangle(5f, -4.1f, 0.03f, -0.02f), new Rectangle().fromString("[5.0,-4.1,0.03,-… in testFromString()
/external/parameter-framework/upstream/test/test-subsystem/
DTESTSubsystemBinary.h45 virtual void fromString(const std::string &strValue, void *pvValue, size_t size);
DTESTSubsystemString.h45 virtual void fromString(const std::string &strValue, void *pvValue, size_t size);
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/
DEffectUtil.java68 Color newColor = JColorChooser.showDialog(null, "Choose a color", EffectUtil.fromString(value)); in colorValue()
73 return EffectUtil.fromString(value); in colorValue()
169 static public Color fromString (String rgb) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameStyle.java38 RDN[] fromString(String dirName); in fromString() method
/external/guava/guava/src/com/google/common/primitives/
DParseRequest.java32 static ParseRequest fromString(String stringValue) { in fromString() method in ParseRequest

123