Home
last modified time | relevance | path

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

123

/cts/tests/tests/companion/common/src/android/companion/cts/common/
DConstants.kt49 val MAC_ADDRESS_A = MacAddress.fromString("00:00:00:00:00:AA")
50 val MAC_ADDRESS_B = MacAddress.fromString("00:00:00:00:00:BB")
51 val MAC_ADDRESS_C = MacAddress.fromString("00:00:00:00:00:CC")
53 val UUID_A: ParcelUuid = ParcelUuid.fromString("bc4990b9-698c-473d-8498-2a5c4119f73d")
54 val UUID_B: ParcelUuid = ParcelUuid.fromString("ba6d2f1e-9adc-11ee-b9d1-0242ac120002")
/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/
DWifiP2pConfigTest.java54 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigCopyConstructor()
75 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForPersist()
89 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForNonPersist()
103 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeDefault()
117 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeIpv4Dhcp()
132 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeIpv6LinkLocal()
145 .setDeviceAddress(MacAddress.fromString("aa:bb:cc:dd:ee:ff")) in testWifiP2pConfigBuilderForIpv6LinkLocalNotSupportedBelowTiramisu()
153 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderWithJoinExistingGroupSet()
168 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderWithVendorData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java126 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
128 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
130 UUID.fromString("00009974-0000-1000-8000-00805f9b34fb");
132 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
134 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
136 UUID.fromString("00003333-0000-1000-8000-00805f9b34fb");
139 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
141 UUID.fromString("00009994-0000-1000-8000-00805f9b34fb");
143 UUID.fromString("00009993-0000-1000-8000-00805f9b34fb");
147 UUID.fromString("00009984-0000-1000-8000-00805f9b34fb");
[all …]
DBleClientService.java237 UUID.fromString("00009999-0000-1000-8000-00805f9b34fb");
239 UUID.fromString("00009998-0000-1000-8000-00805f9b34fb");
241 UUID.fromString("00009974-0000-1000-8000-00805f9b34fb");
243 UUID.fromString("00009997-0000-1000-8000-00805f9b34fb");
245 UUID.fromString("00009996-0000-1000-8000-00805f9b34fb");
248 UUID.fromString("00009995-0000-1000-8000-00805f9b34fb");
252 UUID.fromString("00009984-0000-1000-8000-00805f9b34fb");
254 UUID.fromString("00009983-0000-1000-8000-00805f9b34fb");
256 UUID.fromString("00009982-0000-1000-8000-00805f9b34fb");
258 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.java56 UUID.fromString("8591d757-18ee-45e1-9b12-92875d06ba23");
58 UUID.fromString("301c214f-91a2-43bf-a795-09d1198a81a7");
60 UUID.fromString("0000111F-0000-1000-8000-00805F9B34FB");
/cts/tests/tests/os/src/android/os/cts/
DParcelUuidTest.java35 UUID uuid = UUID.fromString(TEST_UUID); in testTypical()
37 assertEquals(uuid, ParcelUuid.fromString(TEST_UUID).getUuid()); in testTypical()
42 UUID uuid = UUID.fromString(TEST_UUID); in testSymmetry()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java143 ParcelUuid.fromString(UUID1)).build(); in setServiceUuidFilter()
148 ParcelUuid.fromString(UUID3)).build(); in setServiceUuidFilter()
152 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in setServiceUuidFilter()
154 .setServiceUuid(ParcelUuid.fromString(UUID3), in setServiceUuidFilter()
165 ParcelUuid.fromString(UUID1)).build(); in setServiceSolicitationUuidFilter()
170 ParcelUuid.fromString(UUID2)).build(); in setServiceSolicitationUuidFilter()
174 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in setServiceSolicitationUuidFilter()
176 .setServiceSolicitationUuid(ParcelUuid.fromString(UUID3), mask) in setServiceSolicitationUuidFilter()
187 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID2); in setServiceDataFilter()
283 ParcelUuid.fromString(UUID3)).build(); in readWriteParcel()
[all …]
DAdvertiseDataTest.java117 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in emptyServiceData()
135 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in serviceUuid()
136 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in serviceUuid()
158 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in serviceSolicitationUuids()
159 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in serviceSolicitationUuids()
178 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in manufacturerData()
179 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in manufacturerData()
203 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in serviceData()
222 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in transportDiscoveryData()
DScanRecordTest.java73 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in parser()
74 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in parser()
75 ParcelUuid uuid3 = ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"); in parser()
76 ParcelUuid uuid4 = ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); in parser()
DBluetoothGattServiceTest.java38 private UUID TEST_UUID = UUID.fromString("0000110a-0000-1000-8000-00805f9b34fb");
DBluetoothGattCharacteristicTest.java39 private final UUID TEST_UUID = UUID.fromString("0000110a-0000-1000-8000-00805f9b34fb");
/cts/hostsidetests/multidevices/bluetooth/snippet/
DBluetoothGattMultiDevicesServer.java52 var service = new BluetoothGattService(UUID.fromString(uuid), SERVICE_TYPE_PRIMARY); in createGattServer()
64 .addServiceUuid(new ParcelUuid(UUID.fromString(uuid))) in createAndAdvertiseServer()
83 .addServiceUuid(new ParcelUuid(UUID.fromString(uuid))) in createAndAdvertiseIsolatedServer()
DBluetoothGattMultiDevicesClient.java88 && uuids.contains(new ParcelUuid(UUID.fromString(uuid)))) { in connect()
136 return mBluetoothGatt.getService(UUID.fromString(uuid)) != null; in containsService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java94 configBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSpecifier()
105 MacAddress bssidMask = MacAddress.fromString("ff:ff:ff:ff:ff:00"); in createNetworkSpecifier()
108 configBuilder.setBssidPattern(MacAddress.fromString(scanResult.BSSID), bssidMask); in createNetworkSpecifier()
119 MacAddress bssid = MacAddress.fromString(UNAVAILABLE_BSSID); in createNetworkSpecifier()
137 configBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSpecifier()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DConst.java26 public static final ParcelUuid PARCEL_UUID = new ParcelUuid(UUID.fromString(UUID_STRING));
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/
DPowerManagerStatsTests.java101 final TestDescription desc = TestDescription.fromString( in testThermalHeadroomCalledIsPushed()
130 final TestDescription desc = TestDescription.fromString( in testThermalStatusCalledIsPushed()
156 final TestDescription desc = TestDescription.fromString( in testThermalHeadroomThresholdsCalledIsPushed()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSpecifierTest.java382 .setBssidPattern(MacAddress.fromString(sTestNetwork.BSSID), in testConnectionWithBssidPattern()
383 MacAddress.fromString("ff:ff:ff:00:00:00")) in testConnectionWithBssidPattern()
575 .setBssidPattern(MacAddress.fromString(sTestNetwork.BSSID), in testRedact()
576 MacAddress.fromString("ff:ff:ff:00:00:00")) in testRedact()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java121 final TestDescription desc = TestDescription.fromString( in testCreateHintSessionStatsdApp()
171 final TestDescription desc = TestDescription.fromString( in testCreateHintSessionStatsdGame()
240 final TestDescription desc = TestDescription.fromString( in testAdpfHintSessionTidCleanupIsPushed()
/cts/tests/tests/security/src/android/security/cts/
DVisualizerEffectTest.java53 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) == 0) { in testVisualizer_MalformedConstructor()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DBluetoothConnector.kt36 private val SERVICE_UUID = UUID.fromString("435fe1d9-56c5-455d-a516-d5e6b22c52f9")
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/
DMediaProjectionAtomsTests.java113 TestDescription.fromString(TEST_PKG + testClass + "#" + testMethod); in testMediaProjectionStateChanged_stoppedCapture()
158 TestDescription.fromString(TEST_PKG + testClass + "#" + testMethod); in testMediaProjectionTargetChanged_stoppedCapture()

123