/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
TimeValTest.java | 27 assertEquals(0, TimeVal.fromString("0")); 28 assertEquals(1, TimeVal.fromString("1")); 30 assertEquals(1000, TimeVal.fromString("1000")); 31 assertEquals(1000, TimeVal.fromString("1000ms")); 32 assertEquals(1000, TimeVal.fromString("1000Ms")); 33 assertEquals(1000, TimeVal.fromString("1000mS")); 34 assertEquals(1000, TimeVal.fromString("1000MS")); 36 assertEquals(1000, TimeVal.fromString("1s")); 37 assertEquals(1000, TimeVal.fromString("1S")); 39 assertEquals(1000 * 60, TimeVal.fromString("1m")) [all...] |
/system/bt/types/test/ |
raw_address_unittest.cc | 43 RawAddress::FromString("00:00:00:00:00:00", empty); 47 RawAddress::FromString("00:00:00:00:00:01", not_empty); 53 RawAddress::FromString(test_addr, bdaddr); 90 RawAddress::FromString(test_addr, bdaddr1); 91 RawAddress::FromString(test_addr, bdaddr2); 97 RawAddress::FromString(test_addr2, bdaddr3); 106 RawAddress::FromString(test_addr, bdaddr1); 107 RawAddress::FromString(test_addr, bdaddr2); 111 RawAddress::FromString(test_addr2, bdaddr3); 120 RawAddress::FromString(test_addr, bdaddr1) [all...] |
/system/bt/vendor_libs/test_vendor_lib/test/ |
bt_address_unittest.cc | 64 EXPECT_TRUE(btaddr1.FromString(kTestAddr1)); 65 EXPECT_TRUE(btaddr1_copy.FromString(kTestAddr1)); 66 EXPECT_TRUE(btaddr2.FromString(kTestAddr2)); 96 EXPECT_TRUE(btaddr1.FromString(kTestAddr1)); 97 EXPECT_TRUE(btaddr2.FromString(kTestAddr2)); 98 EXPECT_TRUE(btaddr3.FromString(kTestAddr3)); 122 EXPECT_TRUE(btaddr1.FromString(kTestAddr1)); 123 EXPECT_TRUE(btaddr2.FromString(kTestAddr2)); 124 EXPECT_TRUE(btaddr3.FromString(kTestAddr3)); 125 EXPECT_TRUE(btaddr_lowmask.FromString(kLowerMask)) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
UUIDTest.java | 28 UUID.fromString("+f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); 33 UUID.fromString("f81d4fae-+7dec-11d0-a765-00a0c91e6bf6"); 38 UUID.fromString("f81d4fae-7dec-+11d0-a765-00a0c91e6bf6"); 43 UUID.fromString("f81d4fae-7dec-11d0-+a765-00a0c91e6bf6"); 48 UUID.fromString("f81d4fae-7dec-11d0-a765-+00a0c91e6bf6");
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothUuidTest.java | 36 assertEquals(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"), 41 assertEquals(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"), 47 assertEquals(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-0060504030201"), 54 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); 56 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); 59 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); 61 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); 63 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB")));
|
/system/bt/device/test/ |
interop_test.cc | 25 RawAddress::FromString("38:2c:4a:e6:67:89", test_address); 28 RawAddress::FromString("9c:df:03:12:34:56", test_address); 34 RawAddress::FromString("00:00:00:00:00:00", test_address); 37 RawAddress::FromString("ff:ff:ff:ff:ff:ff", test_address); 39 RawAddress::FromString("42:08:15:ae:ae:ae", test_address); 42 RawAddress::FromString("38:2c:4a:59:67:89", test_address); 49 RawAddress::FromString("11:22:33:44:55:66", test_address); 58 RawAddress::FromString("66:55:44:33:22:11", test_address);
|
/external/guava/guava-tests/test/com/google/common/net/ |
HostAndPortTest.java | 103 hp = HostAndPort.fromString(hpString); 191 assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); 192 assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); 196 HostAndPort hp1 = HostAndPort.fromString("foo::123"); 197 HostAndPort hp2 = HostAndPort.fromString("foo::123"); 198 HostAndPort hp3 = HostAndPort.fromString("[foo::123]"); 200 HostAndPort hp5 = HostAndPort.fromString("[foo::123]:80"); 217 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHostText()); 218 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHostText()); 220 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHostText()) [all...] |
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
FieldMaskUtilTest.java | 56 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); 58 NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); 60 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload,nonexist"))); 66 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("payload"))); 68 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("nonexist"))); 94 FieldMask mask = FieldMaskUtil.fromString(""); 96 mask = FieldMaskUtil.fromString("foo"); 99 mask = FieldMaskUtil.fromString("foo,bar.baz"); 105 mask = FieldMaskUtil.fromString(",foo,,bar,"); 111 mask = FieldMaskUtil.fromString(NestedTestAllTypes.class, ",payload") [all...] |
/system/bt/service/example/heart_rate/ |
constants.h | 31 const bluetooth::Uuid kCCCDescriptorUuid = bluetooth::Uuid::FromString("2902"); 32 const bluetooth::Uuid kHRServiceUuid = bluetooth::Uuid::FromString("180D"); 33 const bluetooth::Uuid kHRMeasurementUuid = bluetooth::Uuid::FromString("2A37"); 35 bluetooth::Uuid::FromString("2A38"); 36 const bluetooth::Uuid kHRControlPointUuid = bluetooth::Uuid::FromString("2A39");
|
/frameworks/base/tests/net/java/android/net/ |
MacAddressTest.java | 87 assertEquals(expected, MacAddress.fromString(mac).toOuiString()); 101 assertEquals(mac, MacAddress.fromString(mac).toString()); 111 MacAddress.fromString("07:00:d3:56:8a:c4"), 112 MacAddress.fromString("33:33:aa:bb:cc:dd"), 116 MacAddress.fromString("00:01:44:55:66:77"), 117 MacAddress.fromString("08:00:22:33:44:55"), 118 MacAddress.fromString("06:00:00:00:00:00"), 134 MacAddress.fromString("06:00:00:00:00:00"), 135 MacAddress.fromString("07:00:d3:56:8a:c4"), 136 MacAddress.fromString("33:33:aa:bb:cc:dd") [all...] |
/external/protobuf/src/google/protobuf/util/ |
field_mask_util_test.cc | 128 FieldMaskUtil::FromString("", &mask); 130 FieldMaskUtil::FromString("fooBar", &mask); 133 FieldMaskUtil::FromString("fooBar,bazQuz", &mask); 176 FieldMaskUtil::FromString("optional_int32,optional_nested_message.bb", &mask); 179 FieldMaskUtil::FromString( 245 FieldMaskUtil::FromString("baz.quz,bar,foo", &in); 249 FieldMaskUtil::FromString("foo,bar,foo", &in); 253 FieldMaskUtil::FromString("foo.b1,bar.b1,foo.b2,bar", &in); 258 FieldMaskUtil::FromString( 265 FieldMaskUtil::FromString( [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothUuid.java | 41 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 43 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 45 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 47 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 49 ParcelUuid.fromString("00001112-0000-1000-8000-00805F9B34FB"); 51 ParcelUuid.fromString("0000111E-0000-1000-8000-00805F9B34FB"); 53 ParcelUuid.fromString("0000111F-0000-1000-8000-00805F9B34FB"); 55 ParcelUuid.fromString("0000110E-0000-1000-8000-00805F9B34FB"); 57 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"); 59 ParcelUuid.fromString("00001105-0000-1000-8000-00805f9b34fb") [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiSsidTest.java | 53 WifiSsid fromString = WifiSsid.createFromAsciiEncoded(TEST_SSID); 55 assertTrue(fromString != null); 56 assertEquals(fromBytes, fromString);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
UUIDTest.java | 305 * @see UUID#fromString(String) 308 UUID actual = UUID.fromString("f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); 318 actual = UUID.fromString("00000000-0000-1000-8000-000000000000"); 329 UUID.fromString(null); 334 UUID.fromString(""); 339 UUID.fromString("f81d4fae_7dec-11d0-a765-00a0c91e6bf6"); 344 UUID.fromString("f81d4fae-7dec_11d0-a765-00a0c91e6bf6"); 349 UUID.fromString("f81d4fae-7dec-11d0_a765-00a0c91e6bf6"); 354 UUID.fromString("f81d4fae-7dec-11d0-a765_00a0c91e6bf6"); 360 * @tests java.util.UUID#fromString(String [all...] |
/external/webrtc/webrtc/base/ |
stringencode_unittest.cc | 402 EXPECT_TRUE(FromString("true", &value)); 404 EXPECT_TRUE(FromString("true,", &value)); 406 EXPECT_TRUE(FromString("true , true", &value)); 408 EXPECT_TRUE(FromString("true ,\n false", &value)); 410 EXPECT_TRUE(FromString(" true \n", &value)); 413 EXPECT_TRUE(FromString("false", &value)); 415 EXPECT_TRUE(FromString(" false ", &value)); 417 EXPECT_TRUE(FromString(" false, ", &value)); 420 EXPECT_TRUE(FromString<bool>("true\n")); 421 EXPECT_FALSE(FromString<bool>("false\n")) [all...] |
/system/bt/types/test/bluetooth/ |
uuid_unittest.cc | 68 EXPECT_TRUE(Uuid::FromString("1ae8").Is16Bit()); 129 Uuid::FromString("e39c6285-867f-4b1d-9db0-35fbd9aebf22", &is_valid); 136 uuid = Uuid::FromString("1Ae8", &is_valid); 143 uuid = Uuid::FromString("12341128", &is_valid); 150 Uuid uuid = Uuid::FromString("This is not a UUID", &is_valid); 153 uuid = Uuid::FromString("11212", &is_valid); 156 uuid = Uuid::FromString("1121 ", &is_valid); 159 uuid = Uuid::FromString("AGFE", &is_valid); 162 uuid = Uuid::FromString("ABFG", &is_valid); 165 uuid = Uuid::FromString("e39c6285867f14b1d9db035fbd9aebf22", &is_valid) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataSourceType.java | 27 private static final Path PICASA_ROOT = Path.fromString("/picasa"); 28 private static final Path LOCAL_ROOT = Path.fromString("/local");
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
ScanFilterTest.java | 102 ParcelUuid.fromString(UUID1)).build(); 107 ParcelUuid.fromString(UUID3)).build(); 111 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 113 .setServiceUuid(ParcelUuid.fromString(UUID3), 126 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID2); 204 ParcelUuid.fromString(UUID3)).build(); 208 ParcelUuid.fromString(UUID3), 209 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")).build(); 215 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID2);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanFilterTest.java | 82 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB")).build(); 86 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); 90 .setServiceUuid(ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), 91 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")) 100 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 166 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); 170 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), 171 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")).build(); 177 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB");
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MediaSetUtils.java | 48 Path.fromString("/local/all/" + CAMERA_BUCKET_ID), 49 Path.fromString("/local/image/" + CAMERA_BUCKET_ID), 50 Path.fromString("/local/video/" + CAMERA_BUCKET_ID)};
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleServerService.java | 124 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb"); 126 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb"); 128 UUID.fromString("00009974-0000-1000-8000-00805f9b34fb"); 130 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb"); 132 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb"); 134 UUID.fromString("00003333-0000-1000-8000-00805f9b34fb"); 137 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb"); 139 UUID.fromString("00009994-0000-1000-8000-00805f9b34fb"); 143 UUID.fromString("00009984-0000-1000-8000-00805f9b34fb"); 145 UUID.fromString("00009983-0000-1000-8000-00805f9b34fb") [all...] |
/external/pdfium/core/fxcrt/css/ |
cfx_cssselector.h | 18 static std::unique_ptr<CFX_CSSSelector> FromString(const WideStringView& str);
|
/external/tensorflow/tensorflow/tools/api/golden/ |
tensorflow.-config-proto.-device-count-entry.pbtxt | 43 name: "FromString"
|
tensorflow.-meta-graph-def.-collection-def-entry.pbtxt | 43 name: "FromString"
|
tensorflow.-meta-graph-def.-signature-def-entry.pbtxt | 43 name: "FromString"
|