Home
last modified time | relevance | path

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

12

/cts/tests/tests/net/src/android/net/cts/
DMacAddressTest.java92 MacAddress mac = MacAddress.fromString(tc.macAddress); in testMacAddress()
137 MacAddress mac = MacAddress.fromString(s); in testConstructorInputValidation()
144 MacAddress mac = MacAddress.fromString(null); in testConstructorInputValidation()
174 assertTrue(MacAddress.fromString("aa:bb:cc:dd:ee:11").matches( in testMatches()
175 MacAddress.fromString("aa:bb:cc:dd:00:00"), in testMatches()
176 MacAddress.fromString("ff:ff:ff:ff:00:00"))); in testMatches()
179 assertTrue(MacAddress.fromString("aa:bb:cc:dd:ee:11").matches( in testMatches()
180 MacAddress.fromString("aa:bb:cc:00:00:11"), in testMatches()
181 MacAddress.fromString("ff:ff:ff:00:00:ff"))); in testMatches()
184 assertTrue(MacAddress.fromString("aa:bb:cc:dd:ee:11").matches( in testMatches()
[all …]
DNetworkRequestTest.java62 private static final MacAddress ARBITRARY_ADDRESS = MacAddress.fromString("3:5:8:12:9:2");
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java103 ParcelUuid.fromString(UUID1)).build(); in testsetServiceUuidFilter()
108 ParcelUuid.fromString(UUID3)).build(); in testsetServiceUuidFilter()
112 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in testsetServiceUuidFilter()
114 .setServiceUuid(ParcelUuid.fromString(UUID3), in testsetServiceUuidFilter()
126 ParcelUuid.fromString(UUID1)).build(); in testsetServiceSolicitationUuidFilter()
131 ParcelUuid.fromString(UUID2)).build(); in testsetServiceSolicitationUuidFilter()
135 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in testsetServiceSolicitationUuidFilter()
137 .setServiceSolicitationUuid(ParcelUuid.fromString(UUID3), mask) in testsetServiceSolicitationUuidFilter()
149 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID2); in testsetServiceDataFilter()
227 ParcelUuid.fromString(UUID3)).build(); in testReadWriteParcel()
[all …]
DScanRecordTest.java46 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser()
47 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParser()
48 ParcelUuid uuid3 = ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"); in testParser()
49 ParcelUuid uuid4 = ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); in testParser()
DAdvertiseDataTest.java88 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData()
104 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid()
105 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testServiceUuid()
122 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData()
123 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testManufacturerData()
145 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java124 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 …]
DBleClientService.java207 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
209 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
211 UUID.fromString("00009974-0000-1000-8000-00805f9b34fb");
213 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
215 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
218 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
222 UUID.fromString("00009984-0000-1000-8000-00805f9b34fb");
224 UUID.fromString("00009983-0000-1000-8000-00805f9b34fb");
226 UUID.fromString("00009982-0000-1000-8000-00805f9b34fb");
228 UUID.fromString("00009981-0000-1000-8000-00805f9b34fb");
[all …]
DBleCocServerService.java122 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
124 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
126 UUID.fromString("00009974-0000-1000-8000-00805f9b34fb");
128 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
130 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
132 UUID.fromString("00003334-0000-1000-8000-00805f9b34fb");
135 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
137 UUID.fromString("00009994-0000-1000-8000-00805f9b34fb");
141 UUID.fromString("00009973-0000-1000-8000-00805f9b34fb");
143 UUID.fromString("00009972-0000-1000-8000-00805f9b34fb");
[all …]
DBleEncryptedServerService.java67 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
69 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
71 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
74 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
76 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
78 UUID.fromString("00009994-0000-1000-8000-00805f9b34fb");
80 UUID.fromString("00009993-0000-1000-8000-00805f9b34fb");
83 UUID.fromString("00002222-0000-1000-8000-00805f9b34fb");
DBleAdvertiserService.java79 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
81 UUID.fromString("00008888-0000-1000-8000-00805f9b34fb");
83 UUID.fromString("00007777-0000-1000-8000-00805f9b34fb");
85 UUID.fromString("00006666-0000-1000-8000-00805f9b34fb");
87 UUID.fromString("00005555-0000-1000-8000-00805f9b34fb");
DBleEncryptedClientService.java97 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
99 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
101 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
103 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
105 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
107 UUID.fromString("00009994-0000-1000-8000-00805f9b34fb");
109 UUID.fromString("00009993-0000-1000-8000-00805f9b34fb");
DBluetoothChatService.java53 UUID.fromString("8591d757-18ee-45e1-9b12-92875d06ba23");
55 UUID.fromString("301c214f-91a2-43bf-a795-09d1198a81a7");
57 UUID.fromString("0000111F-0000-1000-8000-00805F9B34FB");
DBleConnectionPriorityServerService.java59 UUID.fromString("00002222-0000-1000-8000-00805f9b34fb");
DBleCocClientService.java125 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
131 UUID.fromString("2d410339-82b6-42aa-b34e-e2e01df8cc1a");
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java89 configBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSpecifier()
93 MacAddress bssidMask = MacAddress.fromString("ff:ff:ff:ff:ff:00"); in createNetworkSpecifier()
96 configBuilder.setBssidPattern(MacAddress.fromString(scanResult.BSSID), bssidMask); in createNetworkSpecifier()
100 MacAddress bssid = MacAddress.fromString(UNAVAILABLE_BSSID); in createNetworkSpecifier()
DNetworkSuggestionTestCase.java85 builder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSuggestion()
/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/
DWifiP2pConfigTest.java36 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForPersist()
52 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForNonPersist()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesValidConfigTest.java68 static Change fromString(String line) { in fromString() method in CompatChangesValidConfigTest.Change
173 .map(Change::fromString) in getOnDeviceCompatConfig()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DRandomizedWifiMacAddressTest.java73 .isNotEqualTo((MacAddress.fromString(DEFAULT_MAC_ADDRESS))); in testGetRandomizedMacAddress()
/cts/tests/tests/security/src/android/security/cts/
DVisualizerEffectTest.java51 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) == 0) { in testVisualizer_MalformedConstructor()
DAudioSecurityTest.java376 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) != 0) { in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/media/src/android/media/cts/
DVisualizerTest.java304 UUID.fromString(BUNDLE_VOLUME_EFFECT_UUID), in test4_1MeasurePeakRms()
377 UUID.fromString(BUNDLE_VOLUME_EFFECT_UUID), in test4_2MeasurePeakRmsLongMP3()
DLoudnessEnhancerTest.java155 UUID.fromString(BUNDLE_VOLUME_EFFECT_UUID), in test3_0MeasureGainChange()
/cts/tests/media/src/android/mediav2/cts/
DExtractorUnitTest.java684 TestMediaDataSource.fromString(mInpPrefix + mInpMedia, true, false); in testIfInvalidDataSourceIsRejectedBySetDataSource()
693 dataSource = TestMediaDataSource.fromString(mInpPrefix + mInpMedia, false, true); in testIfInvalidDataSourceIsRejectedBySetDataSource()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java716 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathOpenOutOfBandFail()
749 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathPassphraseOutOfBandFail()

12