/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUuid.java | 51 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 60 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 70 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 80 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 90 ParcelUuid.fromString("00001112-0000-1000-8000-00805F9B34FB"); 100 ParcelUuid.fromString("0000111E-0000-1000-8000-00805F9B34FB"); 110 ParcelUuid.fromString("0000111F-0000-1000-8000-00805F9B34FB"); 120 ParcelUuid.fromString("0000110E-0000-1000-8000-00805F9B34FB"); 130 ParcelUuid.fromString("0000110F-0000-1000-8000-00805F9B34FB"); 140 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"); [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | MacAddressTest.java | 95 assertEquals(expected, MacAddress.fromString(mac).toOuiString()); in testToOuiString() 109 assertEquals(mac, MacAddress.fromString(mac).toString()); in testHexPaddingWhenPrinting() 119 MacAddress.fromString("07:00:d3:56:8a:c4"), in testIsMulticastAddress() 120 MacAddress.fromString("33:33:aa:bb:cc:dd"), in testIsMulticastAddress() 124 MacAddress.fromString("00:01:44:55:66:77"), in testIsMulticastAddress() 125 MacAddress.fromString("08:00:22:33:44:55"), in testIsMulticastAddress() 126 MacAddress.fromString("06:00:00:00:00:00"), in testIsMulticastAddress() 142 MacAddress.fromString("06:00:00:00:00:00"), in testIsLocallyAssignedAddress() 143 MacAddress.fromString("07:00:d3:56:8a:c4"), in testIsLocallyAssignedAddress() 144 MacAddress.fromString("33:33:aa:bb:cc:dd"), in testIsLocallyAssignedAddress() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MacAddressTest.java | 92 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 …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkSpecifierTest.java | 88 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 89 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 98 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 100 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_MASK), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 121 .setBssid(MacAddress.fromString(TEST_BSSID)) in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 131 assertEquals(MacAddress.fromString(TEST_BSSID), in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 566 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 567 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 654 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierParcel() 655 MacAddress.fromString(TEST_BSSID_OUI_MASK)), in testWifiNetworkSpecifierParcel() [all …]
|
D | WifiSsidTest.java | 126 WifiSsid wifiSsidUtf8 = WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED); in testFromString() 132 WifiSsid wifiSsidUtf8Hex = WifiSsid.fromString(TEST_SSID_UTF_8_HEX); in testFromString() 138 WifiSsid wifiSsidNonUtf8 = WifiSsid.fromString(TEST_SSID_NON_UTF_8_HEX); in testFromString() 157 WifiSsid.fromString("\"This is an SSID that is much longer than 32 bytes\""); in testFromString() 164 WifiSsid.fromString( in testFromString() 172 WifiSsid.fromString("0123456"); in testFromString() 189 WifiSsid fromStringUtf8 = WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED); in testEquals() 198 WifiSsid fromStringNonUtf8 = WifiSsid.fromString(TEST_SSID_NON_UTF_8_HEX); in testEquals() 215 WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED), in testParcelable() 216 WifiSsid.fromString(TEST_SSID_UTF_8_HEX), in testParcelable() [all …]
|
D | WifiNetworkAgentSpecifierTest.java | 218 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 219 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 247 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 248 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 308 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierBandMatching() 309 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierBandMatching() 353 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierLocalOnlyMatching() 354 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierLocalOnlyMatching() 419 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 420 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() [all …]
|
D | SoftApConfigurationTest.java | 97 MacAddress testBssid = MacAddress.fromString(TEST_BSSID); in testBasicSettings() 200 MacAddress testRandomizedMacAddress = MacAddress.fromString(TEST_BSSID); in testWpa2WithAllFieldCustomized() 203 testBlockedClientList.add(MacAddress.fromString("11:22:33:44:55:66")); in testWpa2WithAllFieldCustomized() 204 testAllowedClientList.add(MacAddress.fromString("aa:bb:cc:dd:ee:ff")); in testWpa2WithAllFieldCustomized() 398 .setBssid(MacAddress.fromString("01:aa:bb:cc:dd:ee")) in testInvalidMulticastBssid() 427 final MacAddress testMacAddress_1 = MacAddress.fromString("22:33:44:55:66:77"); in testSetClientListExceptionWhenExistMacAddressInBothList() 428 final MacAddress testMacAddress_2 = MacAddress.fromString("aa:bb:cc:dd:ee:ff"); in testSetClientListExceptionWhenExistMacAddressInBothList() 689 MacAddress testBssid = MacAddress.fromString(TEST_BSSID); in testThrowsExceptionWhenBssidSetButMacRandomizationSettingIsPersistent() 700 MacAddress testBssid = MacAddress.fromString(TEST_BSSID); in testThrowsExceptionWhenBssidSetButMacRandomizationSettingIsNonPersistent() 711 MacAddress testBssid = MacAddress.fromString(TEST_BSSID); in testSetBssidSucceededWWithDisableMacRandomizationSetting()
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | BluetoothUuidTest.java | 33 assertEquals(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 38 assertEquals(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 44 assertEquals(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-0060504030201"), in testUuidParser() 51 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 53 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 56 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 58 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 60 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB"))); in testUuidType()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassConstants.java | 29 ParcelUuid.fromString("00001852-0000-1000-8000-00805F9B34FB"); 31 UUID.fromString("0000184F-0000-1000-8000-00805F9B34FB"); 33 UUID.fromString("00002BC7-0000-1000-8000-00805F9B34FB"); 35 UUID.fromString("00002BC8-0000-1000-8000-00805F9B34FB"); 37 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); 39 ParcelUuid.fromString("00001851-0000-1000-8000-00805F9B34FB");
|
/packages/modules/GeoTZ/common/src/test/java/com/android/timezone/location/common/ |
D | PiiLoggablesTest.java | 44 PiiLoggable piiLoggable = PiiLoggables.fromString(null); in fromString_null() 47 assertEquals(piiLoggable, PiiLoggables.fromString(null)); in fromString_null() 48 assertNotEquals(piiLoggable, PiiLoggables.fromString("Hello")); in fromString_null() 52 public void fromString() { in fromString() method in PiiLoggablesTest 55 PiiLoggable piiLoggable = PiiLoggables.fromString(string1); in fromString() 58 assertEquals(piiLoggable, PiiLoggables.fromString(string1)); in fromString() 59 assertNotEquals(piiLoggable, PiiLoggables.fromString(string2)); in fromString()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | MacAddress.java | 85 private static final long LOCALLY_ASSIGNED_MASK = MacAddress.fromString("2:0:0:0:0:0").mAddr; 86 private static final long MULTICAST_MASK = MacAddress.fromString("1:0:0:0:0:0").mAddr; 87 private static final long OUI_MASK = MacAddress.fromString("ff:ff:ff:0:0:0").mAddr; 88 private static final long NIC_MASK = MacAddress.fromString("0:0:0:ff:ff:ff").mAddr; 89 private static final MacAddress BASE_GOOGLE_MAC = MacAddress.fromString("da:a1:19:0:0:0"); 92 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); 315 public static @NonNull MacAddress fromString(@NonNull String addr) { in fromString() method in MacAddress
|
/packages/apps/Dialer/java/com/android/dialer/common/database/ |
D | Selection.java | 113 public static Selection fromString(@Nullable String selection, @Nullable String... args) { in fromString() method in Selection 119 public static Selection fromString(@Nullable String selection, Collection<String> args) { in fromString() method in Selection 127 return fromString("NOT " + selection.getSelection(), selection.getSelectionArgs()); in not() 151 return fromString(column + " " + Assert.isNotNull(operator) + " ?", value.toString()); in is() 160 return fromString(column + " " + Assert.isNotNull(condition)); in is() 168 return fromString( in in()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/ |
D | SignedLongLongTest.java | 116 assertThrows(NullPointerException.class, () -> SignedLongLong.fromString(null)); in fromString_whenStringIsNull_throwsNPE() 121 assertThrows(NumberFormatException.class, () -> SignedLongLong.fromString("")); in fromString_whenLengthIsInvalid_throwsNumberFormatException() 128 assertThat(SignedLongLong.fromString(strValue)) in fromString_whenLengthIsNotGreaterThan16() 136 assertThat(SignedLongLong.fromString(strValue)) in fromString_whenLengthIsGreaterThan16()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttNativeTest.java | 152 equalTo(MacAddress.fromString("00:01:02:03:04:00").toByteArray())); in testRangeRequest() 162 equalTo(MacAddress.fromString("0A:0B:0C:0D:0E:00").toByteArray())); in testRangeRequest() 172 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequest() 220 equalTo(MacAddress.fromString("00:01:02:03:04:00").toByteArray())); in testRangeRequestWithLimitedCapabilities() 232 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequestWithLimitedCapabilities() 274 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 380 equalTo(MacAddress.fromString("05:06:07:08:09:0A").toByteArray())); in testRangeResults() 433 MacAddress.fromString("08:09:08:07:06:88"), ResponderConfig.RESPONDER_AP, true, in testRangingWithInvalidParameterCombination() 435 ResponderConfig config = new ResponderConfig(MacAddress.fromString("08:09:08:07:06:89"), in testRangingWithInvalidParameterCombination()
|
D | RttTestUtils.java | 69 MacAddress mac1 = MacAddress.fromString("08:09:08:07:06:05"); in getDummyRangingRequest() 148 MacAddress.fromString("10:01:02:03:04:05"), rangeCmBase++, in getDummyRangingResults() 152 MacAddress.fromString("1A:0B:0C:0D:0E:0F"), rangeCmBase++, in getDummyRangingResults() 156 MacAddress.fromString("08:09:08:07:06:05"), rangeCmBase++, in getDummyRangingResults()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/ble/ |
D | BleFilterTest.java | 45 ParcelUuid.fromString("0000FEAA-0000-1000-8000-00805F9B34FB"); 55 mServiceDataUuid = ParcelUuid.fromString("000000E0-0000-1000-8000-00805F9B34FB"); in setUp() 112 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB")) in setServiceUuidFilter() 118 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")) in setServiceUuidFilter() 125 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), in setServiceUuidFilter() 126 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")) in setServiceUuidFilter() 134 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in setServiceDataFilter()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ExternalPnoScanRequestManagerTest.java | 70 WifiSsid.fromString(TEST_SSID_1), 71 WifiSsid.fromString(TEST_SSID_2)); 187 scanResult1.setWifiSsid(WifiSsid.fromString("\"RANDOM_SSID_123\"")); in testRemoveRequest_afterDelivery() 189 scanResult2.setWifiSsid(WifiSsid.fromString(TEST_SSID_1)); in testRemoveRequest_afterDelivery() 191 scanResult3.setWifiSsid(WifiSsid.fromString(TEST_SSID_2)); in testRemoveRequest_afterDelivery() 225 scanResult1.setWifiSsid(WifiSsid.fromString("\"RANDOM_SSID_123\"")); in testRemoveRequest_noDeliveryIfNoMatch()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlGattService.java | 85 UUID.fromString("00002b93-0000-1000-8000-00805f9b34fb"); 87 UUID.fromString("00002b94-0000-1000-8000-00805f9b34fb"); 89 UUID.fromString("00002b95-0000-1000-8000-00805f9b34fb"); 91 UUID.fromString("00002b96-0000-1000-8000-00805f9b34fb"); 93 UUID.fromString("00002b97-0000-1000-8000-00805f9b34fb"); 95 UUID.fromString("00002b98-0000-1000-8000-00805f9b34fb"); 97 UUID.fromString("00002b99-0000-1000-8000-00805f9b34fb"); 99 UUID.fromString("00002b9a-0000-1000-8000-00805f9b34fb"); 101 UUID.fromString("00002b9b-0000-1000-8000-00805f9b34fb"); 103 UUID.fromString("00002b9c-0000-1000-8000-00805f9b34fb"); [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | 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)};
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | DadProxyTest.java | 157 final MacAddress srcMac = MacAddress.fromString("33:33:ff:66:77:88"); in createDadPacket() 159 final MacAddress dstMac = MacAddress.fromString("01:02:03:04:05:06"); in createDadPacket() 196 byte[] ll_target = MacAddress.fromString("01:02:03:04:05:06").toByteArray(); in createDadPacket() 289 updateDstMac(out, MacAddress.fromString("33:33:00:00:00:01")); in testNaForwardingFromUpstreamToTether() 301 updateDstMac(out, MacAddress.fromString("33:33:00:00:00:01")); in testNaForwardingFromTetherToUpstream()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 115 private static final MacAddress TEST_MAC = MacAddress.fromString("00:00:5E:00:53:01"); 770 MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidOnSOrAbove() 774 assertEquals(bssid, MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidOnSOrAbove() 781 MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidOnSOrAbove_NullScanReqsultInfo() 784 assertEquals(bssid, MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidOnSOrAbove_NullScanReqsultInfo() 811 MacAddress.fromString(TEST_BSSID2)); in testGetInitialBssidBeforeS() 815 assertEquals(bssid, MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidBeforeS() 824 assertEquals(bssid, MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidBeforeS_NullLayer2Info() 840 MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidBeforeS_BrokenInitialBssidFallback() 844 assertEquals(bssid, MacAddress.fromString(TEST_BSSID)); in testGetInitialBssidBeforeS_BrokenInitialBssidFallback() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | ProvisioningConfigurationTest.java | 113 MacAddress.fromString("00:01:02:03:04:05")); in makeTestProvisioningConfiguration() 144 MacAddress.fromString("00:01:02:03:04:05")); in makeTestProvisioningConfigurationParcelable() 269 "some cluster", MacAddress.fromString("00:01:02:03:04:05"))); in testEquals() 271 "another cluster", MacAddress.fromString("00:01:02:03:04:05"))); in testEquals() 273 "some cluster", MacAddress.fromString("01:02:03:04:05:06"))); in testEquals()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 149 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestParcel() 287 .setMacAddress(MacAddress.fromString(scanResult2.BSSID)) in testRangingRequestAtLimit() 308 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestAtLimit() 403 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestPastLimit() 437 final MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testRangingResultsParcel() 488 final MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testRangingResultsEqualityLciLcr() 515 ResponderConfig config = new ResponderConfig(MacAddress.fromString("00:01:02:03:04:05"), in testResponderConfigParcel()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/ |
D | BluetoothConsts.java | 36 UUID.fromString("00000100-0af3-11e5-a6c0-1697f925ec7b"); 42 UUID.fromString("00002A05-0af3-11e5-a6c0-1697f925ec7b");
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalSource.java | 145 return Path.fromString("/local/image").getChild(id); in getAlbumPath() 147 return Path.fromString("/local/video").getChild(id); in getAlbumPath() 149 return Path.fromString("/local/all").getChild(id); in getAlbumPath() 185 return Path.fromString("/local/all").getChild( in getDefaultSetOf()
|