/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/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/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 307 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1000-1999"); in testUidPredicate_singleRange() 320 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1234-1234"); in testUidPredicate_singleUid() 331 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_uidAndRange() 346 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_multiple() 366 KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("0-0"); in testUidPredicate_zero() 378 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("")); in testUidPredicate_emptyRangeString() 385 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("1000")); in testUidPredicate_singleNumber() 392 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString( in testUidPredicate_lettersInRange() 400 () -> KernelCpuThreadReaderSettingsObserver.UidPredicate.fromString("abc")); in testUidPredicate_onlyLetters() 407 () -> 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 | 55 public static ParcelUuid fromString(String uuid) { in fromString() method in ParcelUuid 56 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 | 115 UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), 100, 100, in testUpdateExifAttributes_timeZoneUTC() 130 UUID requestId = UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"); in testImageExport() 196 UUID requestId = UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"); in testImageExport_customizedFileName() 239 exporter.export(DIRECT_EXECUTOR, UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), in testSetUser()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationManagerStub.java | 91 return mService.setDomainVerificationStatus(UUID.fromString(domainSetId), in setDomainVerificationStatus() 113 return mService.setDomainVerificationUserSelection(UUID.fromString(domainSetId), in setDomainVerificationUserSelection()
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | BluetoothDeviceProcessor.java | 86 final MacAddress macAddress = MacAddress.fromString(device.getAddress()); in onDeviceConnected() 103 final MacAddress macAddress = MacAddress.fromString(device.getAddress()); in onDeviceDisconnected()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ModemResponse.java | 262 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_RF_HARDWARE_ISSUE_UUID), in setRadioPowerResponse() 266 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_NO_RF_CALIBRATION_UUID), in setRadioPowerResponse() 271 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_BUGREPORT_UUID), in setRadioPowerResponse()
|
D | NetworkIndication.java | 86 reportAnomaly(UUID.fromString("645b16bb-c930-4c1c-9c5d-568696542e05"), in barringInfoChanged() 194 reportAnomaly(UUID.fromString("918f0970-9aa9-4bcd-a28e-e49a83fe77d5"), in currentPhysicalChannelConfigs() 283 reportAnomaly(UUID.fromString("fc7c56d4-485d-475a-aaff-394203c6cdfc"), in nitzTimeReceived() 330 reportAnomaly(UUID.fromString("f16e5703-6105-4341-9eb3-e68189156eb5"), 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/services/core/java/com/android/server/om/ |
D | DumpState.java | 44 final OverlayIdentifier overlay = OverlayIdentifier.fromString(overlayIdentifier); in setOverlyIdentifier()
|
/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/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceShellCommand.java | 106 final MacAddress macAddress = MacAddress.fromString(address); in onCommand() 168 userId, ParcelUuid.fromString(uuid), packageName, in onCommand() 182 uuid.equals("null") ? null : ParcelUuid.fromString(uuid); in onCommand() 206 ParcelUuid parcelUuid = ParcelUuid.fromString(uuid); in onCommand() 225 ParcelUuid parcelUuid = ParcelUuid.fromString(uuid); in onCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | Position.java | 44 public static Position fromString(String positionString) { in fromString() method in Position
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 65 private static final UUID MIDI_SERVICE = UUID.fromString( 68 private static final UUID MIDI_CHARACTERISTIC = UUID.fromString( 71 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = UUID.fromString(
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ |
D | ComponentKey.java | 68 public static ComponentKey fromString(@NonNull String str) { in fromString() method in ComponentKey
|
/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);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/ |
D | SingleV2RequestWorker.kt | 58 val domainSetId = params.inputData.getString(DOMAIN_SET_ID_KEY)!!.let(UUID::fromString) in <lambda>()
|