/frameworks/base/tests/net/java/android/net/ |
D | MacAddressTest.java | 89 assertEquals(expected, MacAddress.fromString(mac).toOuiString()); in testToOuiString() 103 assertEquals(mac, MacAddress.fromString(mac).toString()); in testHexPaddingWhenPrinting() 113 MacAddress.fromString("07:00:d3:56:8a:c4"), in testIsMulticastAddress() 114 MacAddress.fromString("33:33:aa:bb:cc:dd"), in testIsMulticastAddress() 118 MacAddress.fromString("00:01:44:55:66:77"), in testIsMulticastAddress() 119 MacAddress.fromString("08:00:22:33:44:55"), in testIsMulticastAddress() 120 MacAddress.fromString("06:00:00:00:00:00"), in testIsMulticastAddress() 136 MacAddress.fromString("06:00:00:00:00:00"), in testIsLocallyAssignedAddress() 137 MacAddress.fromString("07:00:d3:56:8a:c4"), in testIsLocallyAssignedAddress() 138 MacAddress.fromString("33:33:aa:bb:cc:dd"), in testIsLocallyAssignedAddress() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothUuidTest.java | 36 assertEquals(ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 41 assertEquals(ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"), in testUuidParser() 47 assertEquals(ParcelUuid.fromString("FF0F0E0D-0C0B-0A09-0807-0060504030201"), in testUuidParser() 54 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 56 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 59 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 61 ParcelUuid.fromString("FE33110B-0000-1000-8000-00805F9B34FB"))); in testUuidType() 63 ParcelUuid.fromString("FE33110B-1000-1000-8000-00805F9B34FB"))); in testUuidType()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskUtilTest.java | 51 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid() 53 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); in testIsValid() 56 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload,nonexist"))); in testIsValid() 63 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("payload"))); in testIsValid() 66 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("nonexist"))); in testIsValid() 97 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() 99 mask = FieldMaskUtil.fromString("foo"); in testFromString() 102 mask = FieldMaskUtil.fromString("foo,bar.baz"); in testFromString() 108 mask = FieldMaskUtil.fromString(",foo,,bar,"); in testFromString() 114 mask = FieldMaskUtil.fromString(NestedTestAllTypes.class, ",payload"); in testFromString() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 44 ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); 46 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); 49 ParcelUuid.fromString("0000110D-0000-1000-8000-00805F9B34FB"); 52 ParcelUuid.fromString("00001108-0000-1000-8000-00805F9B34FB"); 54 ParcelUuid.fromString("00001112-0000-1000-8000-00805F9B34FB"); 57 ParcelUuid.fromString("0000111E-0000-1000-8000-00805F9B34FB"); 59 ParcelUuid.fromString("0000111F-0000-1000-8000-00805F9B34FB"); 61 ParcelUuid.fromString("0000110E-0000-1000-8000-00805F9B34FB"); 63 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"); 66 ParcelUuid.fromString("00001105-0000-1000-8000-00805f9b34fb"); [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkSpecifierTest.java | 82 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 83 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 92 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 94 assertEquals(MacAddress.fromString(TEST_BSSID_OUI_MASK), in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 115 .setBssid(MacAddress.fromString(TEST_BSSID)) in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 125 assertEquals(MacAddress.fromString(TEST_BSSID), in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 279 .setBssidPattern(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 280 MacAddress.fromString(TEST_BSSID_OUI_MASK)) in testWifiNetworkSpecifierBuilderWithBssidMatchPatternForHiddenNetwork() 365 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkSpecifierParcel() 366 MacAddress.fromString(TEST_BSSID_OUI_MASK)), in testWifiNetworkSpecifierParcel() [all …]
|
D | WifiNetworkAgentSpecifierTest.java | 239 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 240 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 268 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 269 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 335 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 336 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 369 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern() 370 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern() 398 Pair.create(MacAddress.fromString(TEST_BSSID_OUI_BASE_ADDRESS), in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentKeyMgmt() 399 MacAddress.fromString(TEST_BSSID_OUI_MASK)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentKeyMgmt() [all …]
|
D | WifiSsidTest.java | 55 WifiSsid fromString = WifiSsid.createFromAsciiEncoded(TEST_SSID); in testEquals() local 57 assertTrue(fromString != null); in testEquals() 58 assertEquals(fromBytes, fromString); in testEquals()
|
D | WifiConfigurationTest.java | 198 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_SavesAndReturnsSameAddress() 211 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress() 225 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress() 227 MacAddress macAddressMulticast = MacAddress.fromString("03:ff:ff:ff:ff:ff"); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress() 228 MacAddress macAddressGlobal = MacAddress.fromString("fc:ff:ff:ff:ff:ff"); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress() 254 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanFilterTest.java | 82 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter() 86 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter() 90 .setServiceUuid(ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), in testsetServiceUuidFilter() 91 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")) in testsetServiceUuidFilter() 100 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testsetServiceDataFilter() 166 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); in testReadWriteParcel() 170 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB"), in testReadWriteParcel() 171 ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF")).build(); in testReadWriteParcel() 177 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testReadWriteParcel()
|
D | AdvertiseDataTest.java | 80 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData() 95 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid() 96 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testServiceUuid() 111 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() 112 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testManufacturerData() 132 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData()
|
D | ScanRecordTest.java | 48 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser() 49 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParser()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 300 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1000-1999"); in testUidPredicate_singleRange() 313 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1234-1234"); in testUidPredicate_singleUid() 324 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_uidAndRange() 339 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_multiple() 359 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("0-0"); in testUidPredicate_zero() 371 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("")); in testUidPredicate_emptyRangeString() 378 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1000")); in testUidPredicate_singleNumber() 385 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_lettersInRange() 393 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("abc")); in testUidPredicate_onlyLetters() 400 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("20-10")); in testUidPredicate_backwardsRange() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 86 .fromString("c2e5d5f0-94bd-4763-9cac-4e234d06839e"); 91 .fromString("47382d60-ddd8-11db-bf3a-0002a5d5c51b"); 96 .fromString("0bed4300-ddd6-11db-8f34-0002a5d5c51b"); 101 .fromString("0634f220-ddd4-11db-a0fc-0002a5d5c51b"); 106 .fromString("37cc2c00-dddd-11db-8577-0002a5d5c51b"); 115 .fromString("0a8abfe0-654c-11e0-ba26-0002a5d5c51b"); 121 .fromString("7b491460-8d4d-11e0-bd61-0002a5d5c51b"); 127 .fromString("58b4b260-8e06-11e0-aa8e-0002a5d5c51b"); 133 .fromString("fe3199be-aed0-413f-87bb-11260eb63cf1"); 139 .fromString("7261676f-6d75-7369-6364-28e2fd3ac39e"); [all …]
|
/frameworks/base/core/java/android/net/ |
D | MacAddress.java | 82 private static final long LOCALLY_ASSIGNED_MASK = MacAddress.fromString("2:0:0:0:0:0").mAddr; 83 private static final long MULTICAST_MASK = MacAddress.fromString("1:0:0:0:0:0").mAddr; 84 private static final long OUI_MASK = MacAddress.fromString("ff:ff:ff:0:0:0").mAddr; 85 private static final long NIC_MASK = MacAddress.fromString("0:0:0:ff:ff:ff").mAddr; 86 private static final MacAddress BASE_GOOGLE_MAC = MacAddress.fromString("da:a1:19:0:0:0"); 322 public static @NonNull MacAddress fromString(@NonNull String addr) { in fromString() method in MacAddress
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 151 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 160 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 168 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 176 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 186 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 197 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 207 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 217 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 226 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() 235 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 71 MacAddress mac1 = MacAddress.fromString("08:09:08:07:06:05"); in getDummyRangingRequest() 146 MacAddress.fromString("10:01:02:03:04:05"), rangeCmBase++, in getDummyRangingResults() 150 MacAddress.fromString("1A:0B:0C:0D:0E:0F"), rangeCmBase++, in getDummyRangingResults() 154 MacAddress.fromString("08:09:08:07:06:05"), rangeCmBase++, in getDummyRangingResults()
|
D | RttNativeTest.java | 142 equalTo(MacAddress.fromString("00:01:02:03:04:00").toByteArray())); in testRangeRequest() 150 equalTo(MacAddress.fromString("0A:0B:0C:0D:0E:00").toByteArray())); in testRangeRequest() 158 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequest() 192 equalTo(MacAddress.fromString("00:01:02:03:04:00").toByteArray())); in testRangeRequestNotPrivilegedNo80211mcSupportMixed() 200 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequestNotPrivilegedNo80211mcSupportMixed() 245 equalTo(MacAddress.fromString("00:01:02:03:04:00").toByteArray())); in testRangeRequestWithLimitedCapabilities() 257 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequestWithLimitedCapabilities() 299 equalTo(MacAddress.fromString("08:09:08:07:06:05").toByteArray())); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 423 equalTo(MacAddress.fromString("05:06:07:08:09:0A").toByteArray())); in testRangeResults()
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 53 public static ParcelUuid fromString(String uuid) { in fromString() method in ParcelUuid 54 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReaderSettingsObserver.java | 95 NUM_BUCKETS_DEFAULT, UidPredicate.fromString(COLLECTED_UIDS_DEFAULT)); in KernelCpuThreadReaderSettingsObserver() 126 UidPredicate.fromString( in updateReader() 164 public static UidPredicate fromString(String predicateString) throws NumberFormatException { in fromString() method in KernelCpuThreadReaderSettingsObserver.UidPredicate
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 140 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestParcel() 174 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestAtLimit() 199 MacAddress mac1 = MacAddress.fromString("00:01:02:03:04:05"); in testRangingRequestPastLimit() 233 final MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testRangingResultsParcel() 283 final MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testRangingResultsEqualityLciLcr() 308 ResponderConfig config = new ResponderConfig(MacAddress.fromString("00:01:02:03:04:05"), in testResponderConfigParcel()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | arith.js | 289 jspb.arith.UInt64.fromString = function(s) { function in jspb.arith.UInt64 400 jspb.arith.Int64.fromString = function(s) { function in jspb.arith.Int64 405 var num = jspb.arith.UInt64.fromString(s);
|
/frameworks/av/media/libmedia/ |
D | TypeConverter.cpp | 416 return InputDeviceConverter::fromString(literalDevice, device) || in deviceFromString() 417 OutputDeviceConverter::fromString(literalDevice, device); in deviceFromString() 442 FormatConverter::fromString(literalFormat, format); in formatFromString() 449 if (!OutputChannelConverter::fromString(literalChannels, channels) && in channelMaskFromString() 450 !InputChannelConverter::fromString(literalChannels, channels)) { in channelMaskFromString()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 56 private static final UUID MIDI_SERVICE = UUID.fromString( 59 private static final UUID MIDI_CHARACTERISTIC = UUID.fromString( 62 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = UUID.fromString(
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
D | Stream.cpp | 34 if (not android::StreamTypeConverter::fromString(name, mId)) { in Stream() member in Stream::Stream::android::StreamTypeConverter
|
D | InputSource.cpp | 39 if(not android::SourceTypeConverter::fromString(name, mId)) { in InputSource() member in InputSource::InputSource::android::SourceTypeConverter
|