Home
last modified time | relevance | path

Searched refs:maybeSourceAddress (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
H A DAudioPrimaryHidlHalTest.cpp693 auto maybeSourceAddress = getCachedPolicyConfig().getSourceDeviceForMixPort( in canQueryCapturePosition() local
697 return !maybeSourceAddress.has_value() || in canQueryCapturePosition()
698 !xsd::isTelephonyDevice(maybeSourceAddress.value().deviceType); in canQueryCapturePosition()
702 auto maybeSourceAddress = getCachedPolicyConfig().getSourceDeviceForMixPort( in createPatchIfNeeded() local
704 ASSERT_TRUE(maybeSourceAddress.has_value()) in createPatchIfNeeded()
709 source.ext.device(maybeSourceAddress.value()); in createPatchIfNeeded()
722 EXPECT_OK(stream->setDevices({maybeSourceAddress.value()})); in createPatchIfNeeded()
863 auto maybeSourceAddress = in TEST_P() local
865 ASSERT_TRUE(maybeSourceAddress.has_value()) in TEST_P()
870 if (microphone.deviceAddress == maybeSourceAddress.value()) { in TEST_P()
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/
H A DAudioPrimaryHidlHalTest.h1197 auto maybeSourceAddress = getCachedPolicyConfig().getSourceDeviceForMixPort( in SetUp() local
1199 if (maybeSourceAddress.has_value() && in SetUp()
1200 !xsd::isTelephonyDevice(maybeSourceAddress.value().deviceType)) { in SetUp()
1201 address = maybeSourceAddress.value(); in SetUp()