/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUuid.java | 53 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 62 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 71 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 80 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 89 ParcelUuid.fromString("00001112-0000-1000-8000-00805F9B34FB"); 98 ParcelUuid.fromString("0000111E-0000-1000-8000-00805F9B34FB"); 107 ParcelUuid.fromString("0000111F-0000-1000-8000-00805F9B34FB"); 116 ParcelUuid.fromString("0000110E-0000-1000-8000-00805F9B34FB"); 125 ParcelUuid.fromString("0000110F-0000-1000-8000-00805F9B34FB"); 134 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/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdSelectionSignalsTest.java | 45 AdSelectionSignals identicalId = AdSelectionSignals.fromString(SIGNALS_STRING); in testAdSelectionSignalsGetSizeInBytes() 60 AdSelectionSignals preParcel = AdSelectionSignals.fromString(SIGNALS_STRING); in testAdSelectionSignalsParceling() 72 AdSelectionSignals.fromString(SIGNALS_STRING).describeContents()); in testAdSelectionSignalsDescribeContents() 77 AdSelectionSignals validSignals = AdSelectionSignals.fromString(SIGNALS_STRING); in testBuildValidAdSelectionSignalsSuccess() 83 AdSelectionSignals validSignals = AdSelectionSignals.fromString(SIGNALS_STRING, false); in testBuildValidAdSelectionSignalsSuccessNoValidation() 89 AdSelectionSignals.fromString(null); in testBuildAdSelectionSignalsNull() 94 AdSelectionSignals identicalId1 = AdSelectionSignals.fromString(SIGNALS_STRING); in testAdSelectionSignalsEquality() 95 AdSelectionSignals identicalId2 = AdSelectionSignals.fromString(SIGNALS_STRING); in testAdSelectionSignalsEquality() 96 AdSelectionSignals differentId = AdSelectionSignals.fromString(DIFFERENT_SIGNALS_STRING); in testAdSelectionSignalsEquality() 104 AdSelectionSignals identicalId1 = AdSelectionSignals.fromString(SIGNALS_STRING); in testAdSelectionSignalsHashCode() [all …]
|
D | AdTechIdentifierTest.java | 49 AdTechIdentifier preParcel = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierParceling() 61 AdTechIdentifier.fromString(AD_TECH_ID_STRING).describeContents()); in testAdTechIdentifierDescribeContents() 66 AdTechIdentifier validAdTechId = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testBuildValidAdTechIdentifierSuccess() 72 AdTechIdentifier.fromString(null); in testBuildAdTechIdentifierNull() 77 AdTechIdentifier validAdTechId = AdTechIdentifier.fromString(AD_TECH_ID_STRING, false); in testBuildValidAdTechIdentifierSuccessNoValidation() 83 AdTechIdentifier identicalId1 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierEquality() 84 AdTechIdentifier identicalId2 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierEquality() 85 AdTechIdentifier differentId = AdTechIdentifier.fromString(DIFFERENT_AD_TECH_ID_STRING); in testAdTechIdentifierEquality() 93 AdTechIdentifier identicalId1 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierHashCode() 94 AdTechIdentifier identicalId2 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierHashCode() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | AdSelectionConfigFixture.java | 32 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com"); 33 public static final AdTechIdentifier SELLER_1 = AdTechIdentifier.fromString("test2.com"); 42 public static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer.example.com"); 45 public static final AdTechIdentifier BUYER_3 = AdTechIdentifier.fromString("test3.com"); 52 AdSelectionSignals.fromString("{\"ad_selection_signals\":1}"); 55 AdSelectionSignals.fromString("{\"test_seller_signals\":1}"); 60 AdSelectionSignals.fromString("{\"buyer_signals\":1}"), 62 AdSelectionSignals.fromString("{\"buyer_signals\":2}"), 64 AdSelectionSignals.fromString("{\"buyer_signals\":3}"), 66 AdSelectionSignals.fromString("{\"buyer_signals\":0}"));
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceFixture.java | 116 .setBuyer(AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudience() 126 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudience() 129 AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudience() 133 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudience() 141 .setBuyer(AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudienceWithAdRenderId() 151 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudienceWithAdRenderId() 154 AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudienceWithAdRenderId() 158 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudienceWithAdRenderId() 167 .setBuyer(AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags() 177 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | MacAddressUtilsTest.java | 35 MacAddress.fromString("02:00:00:00:00:00"); 41 MacAddress.fromString("ff:ff:ff:ff:ff:ff"), in testIsMulticastAddress() 42 MacAddress.fromString("07:00:d3:56:8a:c4"), in testIsMulticastAddress() 43 MacAddress.fromString("33:33:aa:bb:cc:dd"), in testIsMulticastAddress() 47 MacAddress.fromString("00:00:00:00:00:00"), in testIsMulticastAddress() 48 MacAddress.fromString("00:01:44:55:66:77"), in testIsMulticastAddress() 49 MacAddress.fromString("08:00:22:33:44:55"), in testIsMulticastAddress() 50 MacAddress.fromString("06:00:00:00:00:00"), in testIsMulticastAddress()
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | BluetoothUuidTest.java | 40 .isEqualTo(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB")); in testUuid16Parser() 47 .isEqualTo(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB")); in testUuid32Parser() 72 .isEqualTo(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-060504030201")); in testUuid128Parser() 79 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 83 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 87 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 91 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))) in testUuidType() 95 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB"))) in testUuidType()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceInfoTest.java | 76 List.of(MdnsServiceInfo.TextEntry.fromString("vn=Google Inc."), in constructor_createWithOnlyTextEntries_correctAttributes() 77 MdnsServiceInfo.TextEntry.fromString("mn=Google Nest Hub Max")), in constructor_createWithOnlyTextEntries_correctAttributes() 97 MdnsServiceInfo.TextEntry.fromString("vn=Google Inc."), in constructor_createWithBothTextStringsAndTextEntries_acceptsOnlyTextEntries() 98 MdnsServiceInfo.TextEntry.fromString("mn=Google Nest Hub Max")), in constructor_createWithBothTextStringsAndTextEntries_acceptsOnlyTextEntries() 117 List.of(MdnsServiceInfo.TextEntry.fromString("vn=Google Inc."), in constructor_createWithDuplicateKeys_acceptsTheFirstOne() 118 MdnsServiceInfo.TextEntry.fromString("mn=Google Nest Hub Max"), in constructor_createWithDuplicateKeys_acceptsTheFirstOne() 119 MdnsServiceInfo.TextEntry.fromString("mn=Google WiFi Router")), in constructor_createWithDuplicateKeys_acceptsTheFirstOne() 233 MdnsServiceInfo.TextEntry.fromString("vn=Google Inc."), in parcelable_canBeParceledAndUnparceled() 234 MdnsServiceInfo.TextEntry.fromString("mn=Google Nest Hub Max"), in parcelable_canBeParceledAndUnparceled() 235 MdnsServiceInfo.TextEntry.fromString("test=")), in parcelable_canBeParceledAndUnparceled() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassConstants.java | 26 ParcelUuid.fromString("00001852-0000-1000-8000-00805F9B34FB"); 27 public static final UUID BASS_UUID = UUID.fromString("0000184F-0000-1000-8000-00805F9B34FB"); 29 UUID.fromString("00002BC7-0000-1000-8000-00805F9B34FB"); 31 UUID.fromString("00002BC8-0000-1000-8000-00805F9B34FB"); 33 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); 35 ParcelUuid.fromString("00001851-0000-1000-8000-00805F9B34FB"); 37 ParcelUuid.fromString("00001856-0000-1000-8000-00805F9B34FB");
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkSpecifierTest.java | 91 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 92 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 101 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 103 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_MASK), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 124 .setBssid(MacAddress.fromString(TEST_BSSID)) in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 134 assertEquals(MacAddress.fromString(TEST_BSSID), in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 569 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 570 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 657 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierParcel() 658 MacAddress.fromString(TEST_BSSID_OUI_MASK)), in testWifiNetworkSpecifierParcel() [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() 354 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierDual5GHZBandMatching() 355 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierDual5GHZBandMatching() 424 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierLocalOnlyMatching() 425 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierLocalOnlyMatching() [all …]
|
D | WifiSsidTest.java | 112 WifiSsid wifiSsidUtf8 = WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED); in testFromString() 118 WifiSsid wifiSsidUtf8Hex = WifiSsid.fromString(TEST_SSID_UTF_8_HEX); in testFromString() 124 WifiSsid wifiSsidNonUtf8 = WifiSsid.fromString(TEST_SSID_NON_UTF_8_HEX); in testFromString() 143 WifiSsid.fromString("0123456"); in testFromString() 160 WifiSsid fromStringUtf8 = WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED); in testEquals() 169 WifiSsid fromStringNonUtf8 = WifiSsid.fromString(TEST_SSID_NON_UTF_8_HEX); in testEquals() 186 WifiSsid.fromString(TEST_SSID_UTF_8_QUOTED), in testParcelable() 187 WifiSsid.fromString(TEST_SSID_UTF_8_HEX), in testParcelable() 188 WifiSsid.fromString(TEST_SSID_NON_UTF_8_HEX)); in testParcelable()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | GetAdSelectionDataLatency.java | 118 .setSeller(AdTechIdentifier.fromString(SELLER)) in warmup() 138 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1() 165 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_10() 192 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_100() 220 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_500() 249 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1000() 277 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_1() 304 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_10() 331 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_100() 359 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_500() [all …]
|
D | AdSelectionDataE2ETest.java | 179 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner() 203 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner() 231 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner() 255 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner() 284 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner() 308 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner() 334 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError() 335 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError() 359 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError() 389 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_baReturnsIsChaffTrue_noAdReturnedByPpapi() [all …]
|
D | AbstractPerfTest.java | 75 AdSelectionSignals.fromString("{'valid': 'yep', 'opaque': 'definitely'}"); 79 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("localhost"); 86 public static final AdTechIdentifier BUYER_1 = AdTechIdentifier.fromString("localhost"); 90 AdSelectionSignals.fromString("{\"ad_selection_signals\":1}"); 92 AdSelectionSignals.fromString("{\"test_seller_signals\":1}"); 94 Map.of(BUYER_1, AdSelectionSignals.fromString("{\"buyer_signals\":1}")); 133 AdSelectionSignals.fromString( 139 AdSelectionSignals.fromString(
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/ |
D | PermissionsAppOptOutTest.java | 93 .setBuyer(AdTechIdentifier.fromString("buyer.example.com")) in testNoEnrollment_fledgeJoinCustomAudience() 139 .setBuyer(AdTechIdentifier.fromString("test.com")) in testWithEnrollment_fledgeJoinCustomAudience() 163 AdTechIdentifier.fromString("buyer.example.com"), in testNoEnrollment_fledgeLeaveCustomAudience() 182 AdTechIdentifier.fromString("test.com"), "exampleCustomAudience") in testWithEnrollment_fledgeLeaveCustomAudience() 191 AdTechIdentifier.fromString("seller.example.com")); in testNoEnrollment_selectAds_adSelectionConfig() 212 AdTechIdentifier.fromString("test.com")); in testWithEnrollment_selectAds_adSelectionConfig() 234 AdTechIdentifier.fromString("unauthorized.seller.com")); in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig() 254 AdTechIdentifier.fromString("test.com")); in testWithEnrollment_selectAds_adSelectionFromOutcomesConfig() 275 AdTechIdentifier.fromString("seller.example.com")); in testNoEnrollment_reportImpression() 301 AdTechIdentifier.fromString("test.com")); in testWithEnrollment_reportImpression() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionConfigArgumentUtilTest.java | 46 public static final AdTechIdentifier BUYER_1 = AdTechIdentifier.fromString("buyer1"); 47 public static final AdTechIdentifier BUYER_2 = AdTechIdentifier.fromString("buyer2"); 50 .setSeller(AdTechIdentifier.fromString("seller")) 52 AdSelectionSignals.fromString("{\"ad_selection_signals\":1}")) 55 .setSellerSignals(AdSelectionSignals.fromString("{\"seller_signals\":1}")) 60 AdSelectionSignals.fromString("{\"buyer_signals\":1}"), 62 AdSelectionSignals.fromString("{\"buyer_signals\":2}")))
|
/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/staticlibs/framework/com/android/net/module/util/ |
D | MacAddressUtils.java | 36 MacAddress.fromString("2:0:0:0:0:0").toByteArray()); 38 MacAddress.fromString("1:0:0:0:0:0").toByteArray()); 40 MacAddress.fromString("ff:ff:ff:0:0:0").toByteArray()); 42 MacAddress.fromString("0:0:0:ff:ff:ff").toByteArray()); 45 MacAddress.fromString("02:00:00:00:00:00");
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/ |
D | WifiP2pConfigTest.java | 149 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)).build(); in testBuildDefaultConfig() 157 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildNonPersistentConfig() 167 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeDefault() 179 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeIpv4Dhcp() 192 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeIpv6LinkLocal() 244 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithJoinExistingGroupDefault() 254 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithJoinExistingGroupSet()
|
/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/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeScanningTest.java | 91 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeAllMatches() 99 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withCallbackTypeAllMatches() 101 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withCallbackTypeAllMatches() 135 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeFirstMatchSilentlyFails() 157 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withCallbackTypeMatchLostSilentlyFails() 183 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 216 .isEqualTo(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 218 .containsExactly(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 234 .setServiceUuid(ParcelUuid.fromString(TEST_UUID_STRING)) in startBleScan_withPendingIntentAndStaticReceiverAndCallbackTypeAllMatches() 252 .containsExactly(ParcelUuid.fromString(TEST_UUID_STRING)); in startBleScan_withPendingIntentAndStaticReceiverAndCallbackTypeAllMatches() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | SignalsMaintenanceTasksWorkerTest.java | 111 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncoderLogic() 112 AdTechIdentifier buyer2 = AdTechIdentifier.fromString("buyer2"); in testClearInvalidEncoderLogic() 113 AdTechIdentifier buyer3 = AdTechIdentifier.fromString("buyer3"); in testClearInvalidEncoderLogic() 133 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncoderLogicEnrollmentDisabled() 148 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncodedPayloads() 149 AdTechIdentifier buyer2 = AdTechIdentifier.fromString("buyer2"); in testClearInvalidEncodedPayloads()
|