/external/guava/guava-tests/test/com/google/common/net/ |
D | HostAndPortTest.java | 103 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/ |
D | HashCodeTest.java | 207 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/ |
D | GattClientFacade.java | 394 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 …]
|
D | GattServerFacade.java | 246 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()
|
D | BluetoothLeScanFacade.java | 275 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/ |
D | JreDeflateParametersTest.java | 72 JreDeflateParameters fromString = JreDeflateParameters.parseString(asString); in testParseString() local 73 Assert.assertEquals(params, fromString); in testParseString()
|
/external/icu/icu4c/source/i18n/ |
D | standardplural.h | 66 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/ |
D | ProtectionSystemSpecificHeaderBox.java | 37 …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/ |
D | PluralRangesTest.java | 45 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()
|
D | NumberFormatTestTuple.java | 235 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/ |
D | HostAndPort.java | 135 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/ |
D | PluralRangesTest.java | 49 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()
|
D | NumberFormatTestTuple.java | 236 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/ |
D | CustomHistory.java | 26 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/ |
D | WebRtcAudioEffects.java | 39 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/ |
D | PluralRulesLoader.java | 490 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/ |
D | PluralRulesLoader.java | 488 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/ |
D | Vector2Test.java | 16 assertEquals(new Vector2(-5f, 42.00055f), new Vector2().fromString("(-5,42.00055)")); in testFromString()
|
D | Vector3Test.java | 16 …assertEquals(new Vector3(-5f, 42.00055f, 44444.32f), new Vector3().fromString("(-5,42.00055,44444.… in testFromString()
|
D | RectangleTest.java | 16 …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/ |
D | TESTSubsystemBinary.h | 45 virtual void fromString(const std::string &strValue, void *pvValue, size_t size);
|
D | TESTSubsystemString.h | 45 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/ |
D | EffectUtil.java | 68 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/ |
D | X500NameStyle.java | 38 RDN[] fromString(String dirName); in fromString() method
|
/external/guava/guava/src/com/google/common/primitives/ |
D | ParseRequest.java | 32 static ParseRequest fromString(String stringValue) { in fromString() method in ParseRequest
|