/frameworks/av/media/libmediahelper/tests/ |
D | typeconverter_tests.cpp | 48 EXPECT_TRUE(InputChannelConverter::fromString(stringVal, channelMask)) in TEST() 54 EXPECT_TRUE(InputChannelConverter::fromString(stringValBack, channelMaskBack)) in TEST() 58 EXPECT_TRUE(OutputChannelConverter::fromString(stringVal, channelMask)) in TEST() 62 EXPECT_TRUE(OutputChannelConverter::fromString(stringValBack, channelMaskBack)) in TEST() 66 EXPECT_TRUE(ChannelIndexConverter::fromString(stringVal, channelMask)) in TEST() 72 EXPECT_FALSE(InputChannelConverter::fromString(stringVal, channelMask)) in TEST() 74 EXPECT_FALSE(OutputChannelConverter::fromString(stringVal, channelMask)) in TEST() 76 EXPECT_FALSE(ChannelIndexConverter::fromString(stringVal, channelMask)) in TEST() 100 EXPECT_TRUE(AudioContentTypeConverter::fromString(stringVal, contentType)) in TEST() 111 EXPECT_TRUE(DeviceConverter::fromString(stringVal, device)) in TEST() [all …]
|
/frameworks/libs/net/common/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()
|
/frameworks/base/core/tests/coretests/src/android/net/sntp/ |
D | Timestamp64Test.java | 76 expectIllegalArgumentException(() -> Timestamp64.fromString("")); in testStringForm() 77 expectIllegalArgumentException(() -> Timestamp64.fromString(".")); in testStringForm() 78 expectIllegalArgumentException(() -> Timestamp64.fromString("1234567812345678")); in testStringForm() 79 expectIllegalArgumentException(() -> Timestamp64.fromString("12345678?12345678")); in testStringForm() 80 expectIllegalArgumentException(() -> Timestamp64.fromString("12345678..12345678")); in testStringForm() 81 expectIllegalArgumentException(() -> Timestamp64.fromString("1.12345678")); in testStringForm() 82 expectIllegalArgumentException(() -> Timestamp64.fromString("12.12345678")); in testStringForm() 83 expectIllegalArgumentException(() -> Timestamp64.fromString("123456.12345678")); in testStringForm() 84 expectIllegalArgumentException(() -> Timestamp64.fromString("1234567.12345678")); in testStringForm() 85 expectIllegalArgumentException(() -> Timestamp64.fromString("12345678.1")); in testStringForm() [all …]
|
/frameworks/base/core/tests/companiontests/src/android/companion/ |
D | BluetoothDeviceFilterUtilsTest.java | 26 ParcelUuid.fromString("F0FFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 28 ParcelUuid.fromString("FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 30 ParcelUuid.fromString("F0FFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 32 ParcelUuid.fromString("FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); 34 ParcelUuid.fromString("F0FFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF");
|
/frameworks/libs/net/common/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");
|
/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 | 95 .fromString("c2e5d5f0-94bd-4763-9cac-4e234d06839e"); 100 .fromString("47382d60-ddd8-11db-bf3a-0002a5d5c51b"); 105 .fromString("0bed4300-ddd6-11db-8f34-0002a5d5c51b"); 110 .fromString("0634f220-ddd4-11db-a0fc-0002a5d5c51b"); 115 .fromString("37cc2c00-dddd-11db-8577-0002a5d5c51b"); 124 .fromString("0a8abfe0-654c-11e0-ba26-0002a5d5c51b"); 130 .fromString("7b491460-8d4d-11e0-bd61-0002a5d5c51b"); 136 .fromString("58b4b260-8e06-11e0-aa8e-0002a5d5c51b"); 142 .fromString("fe3199be-aed0-413f-87bb-11260eb63cf1"); 148 .fromString("7261676f-6d75-7369-6364-28e2fd3ac39e"); [all …]
|
D | HapticGenerator.java | 88 UUID.fromString("119341a0-8469-11df-81f9-0002a5d5c51b"), in HapticGenerator()
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 356 if (!TypeConverter<Traits>::fromString(flag, value)) { in int32FromFlags() 371 if (!TypeConverter<Traits>::fromString(flag, value)) { in stringFromFlags() 445 if (!TypeConverter<AudioContentTraits>::fromString(contentType, value)) { in lookup() 455 if (!TypeConverter<AudioContentTraits>::fromString(contentType, value)) { in lookup() 465 if (!TypeConverter<FormatTraits>::fromString(encoding, value)) { in lookup() 475 if (!TypeConverter<FormatTraits>::fromString(encoding, value)) { in lookup() 509 if (!TypeConverter<SourceTraits>::fromString(sourceType, value)) { in lookup() 519 if (!TypeConverter<SourceTraits>::fromString(sourceType, value)) { in lookup() 529 if (!TypeConverter<StreamTraits>::fromString(streamType, value)) { in lookup() 539 if (!TypeConverter<StreamTraits>::fromString(streamType, value)) { in lookup() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | PositionTest.java | 41 final Position position = Position.fromString(correctStringFormat); in fromString_correctFormat_expectedValues() 52 Position.fromString(incorrectStringFormat); in fromString_incorrectFormat_throwsException()
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 54 public static ParcelUuid fromString(String uuid) { in fromString() method in ParcelUuid 55 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReaderSettingsObserver.java | 96 NUM_BUCKETS_DEFAULT, UidPredicate.fromString(COLLECTED_UIDS_DEFAULT)); in KernelCpuThreadReaderSettingsObserver() 129 UidPredicate.fromString( in updateReader() 167 public static UidPredicate fromString(String predicateString) throws NumberFormatException { in fromString() method in KernelCpuThreadReaderSettingsObserver.UidPredicate
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 100 UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), 100, 100, in testUpdateExifAttributes_timeZoneUTC() 116 UUID requestId = UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"); in testImageExport() 201 exporter.export(DIRECT_EXECUTOR, UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), in testSetUser() 221 exporter.export(DIRECT_EXECUTOR, UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), in testSetUser_noWorkProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationManagerStub.java | 69 return mService.setDomainVerificationStatus(UUID.fromString(domainSetId), in setDomainVerificationStatus() 91 return mService.setDomainVerificationUserSelection(UUID.fromString(domainSetId), in setDomainVerificationUserSelection()
|
/frameworks/base/services/companion/java/com/android/server/companion/presence/ |
D | BluetoothCompanionDeviceConnectionListener.java | 78 final MacAddress macAddress = MacAddress.fromString(device.getAddress()); in onDeviceConnected() 100 final MacAddress macAddress = MacAddress.fromString(device.getAddress()); in onDeviceDisconnected()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ModemResponse.java | 245 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_RF_HARDWARE_ISSUE_UUID), in setRadioPowerResponse() 249 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_NO_RF_CALIBRATION_UUID), in setRadioPowerResponse() 254 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_BUGREPORT_UUID), in setRadioPowerResponse()
|
D | NetworkIndication.java | 78 reportAnomaly(UUID.fromString("645b16bb-c930-4c1c-9c5d-568696542e05"), in barringInfoChanged() 176 reportAnomaly(UUID.fromString("918f0970-9aa9-4bcd-a28e-e49a83fe77d5"), in currentPhysicalChannelConfigs() 266 reportAnomaly(UUID.fromString("fc7c56d4-485d-475a-aaff-394203c6cdfc"), in nitzTimeReceived() 313 reportAnomaly(UUID.fromString("f16e5703-6105-4341-9eb3-e68189156eb4"), in registrationFailed()
|
/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
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 57 private static final UUID MIDI_SERVICE = UUID.fromString( 60 private static final UUID MIDI_CHARACTERISTIC = UUID.fromString( 63 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = UUID.fromString(
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 98 Timestamp64.fromString("d9ca9451.938a3771").toInstant(0); 134 Timestamp64.fromString("1db2d251.938a3771").toInstant(1); 503 Timestamp64 receiveTimestamp = Timestamp64.fromString(receiveTimestampString); in calculateIdealServerTime() 504 Timestamp64 transmitTimestamp = Timestamp64.fromString(transmitTimestampString); in calculateIdealServerTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | Position.java | 43 public static Position fromString(String positionString) { in fromString() method in Position
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | DumpState.java | 44 final OverlayIdentifier overlay = OverlayIdentifier.fromString(overlayIdentifier); in setOverlyIdentifier()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 296 String fromString = styledAttributes.getString(valueFromId); in getPVH() local 298 PathParser.PathData nodesFrom = fromString == null in getPVH() 299 ? null : new PathParser.PathData(fromString); in getPVH() 308 throw new InflateException(" Can't morph from " + fromString + " to " + in getPVH() 456 String fromString = arrayAnimator.getString(R.styleable.Animator_valueFrom); in setupAnimatorForPath() local 458 PathParser.PathData pathDataFrom = fromString == null in setupAnimatorForPath() 459 ? null : new PathParser.PathData(fromString); in setupAnimatorForPath() 468 + " Can't morph from " + fromString + " to " + toString); in setupAnimatorForPath()
|
/frameworks/av/media/libmediahelper/include/media/ |
D | convert.h | 108 static inline bool fromString(const std::string &str, T &result) 169 return fromString<dstType>(str, result);
|