/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalTest.cpp | 44 ASSERT_OK(getDevice()->getMicrophones(returnIn(res, microphones))); in TEST_P() 71 return getDevice()->openInputStream(handle, microphone.deviceAddress, in TEST_P() 126 auto ret = getDevice()->setConnectedState(address, state); in TEST_P() 184 TEST_IO_STREAM(GetHwAvSync, "Get hardware sync can not fail", checkGetHwAVSync(getDevice().get())); 254 ASSERT_RESULT(Result::INVALID_ARGUMENTS, getDevice()->setMode(AudioMode(mode))) in TEST_P() 260 ASSERT_OK(getDevice()->setMode(mode)) << "mode=" << toString(mode); in TEST_P() 264 ASSERT_RESULT(okOrNotSupportedOrInvalidArgs, getDevice()->setMode(AudioMode::CALL_SCREEN)); in TEST_P() 273 ASSERT_RESULT(okOrNotSupportedOrInvalidArgs, getDevice()->setBtHfpSampleRate(samplingRate)); in TEST_P() 281 auto ret = getDevice()->setBtHfpVolume(0.0); in TEST_P() 287 testUnitaryGain([this](float volume) { return getDevice()->setBtHfpVolume(volume); }); in TEST_P() [all …]
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalTest.cpp | 23 auto ret = stream->getDevice(); in testGetDevice() 64 ASSERT_IS_OK(getDevice()->getHwAvSync())); 71 ASSERT_RESULT(Result::INVALID_ARGUMENTS, getDevice()->setMode(mode)); in TEST_P() 77 ASSERT_OK(getDevice()->setMode(mode)); in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
D | AudioPrimaryHidlHalTest.cpp | 102 return getDevice()->openOutputStream(handle, address, config, flags, initMetadata, in TEST_P() 106 ASSERT_RESULT(Result::INVALID_STATE, getDevice()->close()); in TEST_P() 108 ASSERT_OK(getDevice()->close()); in TEST_P() 127 return getDevice()->openInputStream(handle, address, config, flags, initMetadata, in TEST_P() 131 ASSERT_RESULT(Result::INVALID_STATE, getDevice()->close()); in TEST_P() 133 ASSERT_OK(getDevice()->close()); in TEST_P() 140 ASSERT_OK(getDevice()->updateAudioPatch( in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | AudioPrimaryHidlHalTest.h | 114 sp<IDevice> getDevice() const { in getDevice() function 129 bool areAudioPatchesSupported() { return extract(getDevice()->supportsAudioPatches()); } in areAudioPatchesSupported() 379 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 389 ASSERT_OK(getDevice()->initCheck()); in TEST_P() 404 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 409 sp<IPrimaryDevice> getDevice() const { in getDevice() function 489 testAccessors<optionality>(&BaseTestClass::getDevice, propertyName, expectedInitial, 625 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 667 ASSERT_OK(getDevice()->getInputBufferSize(audioConfig, returnIn(res, bufferSize))); in inputBufferSizeTest() 733 ASSERT_RESULT(okOrNotSupported, getDevice()->setScreenState(turnedOn)); in TEST_P() [all …]
|
D | ConfigHelper.h | 40 return devs.getDevice(AUDIO_DEVICE_IN_BUILTIN_MIC, {}, AUDIO_FORMAT_DEFAULT); in primaryHasMic()
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | StreamIn.h | 77 Return<AudioDevice> getDevice() override;
|
D | StreamOut.h | 77 Return<AudioDevice> getDevice() override;
|
D | Stream.h | 80 Return<AudioDevice> getDevice() override;
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 251 Return<AudioDevice> StreamIn::getDevice() { in getDevice() function in android::hardware::audio::CPP_VERSION::implementation::StreamIn 252 return mStreamCommon->getDevice(); in getDevice()
|
D | StreamOut.cpp | 256 Return<AudioDevice> StreamOut::getDevice() { in getDevice() function in android::hardware::audio::CPP_VERSION::implementation::StreamOut 257 return mStreamCommon->getDevice(); in getDevice()
|
D | Stream.cpp | 234 Return<AudioDevice> Stream::getDevice() { in getDevice() function in android::hardware::audio::CPP_VERSION::implementation::Stream
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 194 HWC2On1Adapter& getDevice() const { return mDevice; } in getDevice() function 576 !mDisplay.getDevice().supportsBackgroundColor()); in hasUnsupportedBackgroundColor()
|
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
D | Gralloc1On0Adapter.h | 42 gralloc1_device_t* getDevice() { in getDevice() function
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 1947 auto hwc1Device = mDisplay.getDevice().getHwc1Device(); in setCursorPosition() 1954 if (mDisplay.getDevice().mHwc1MinorVersion < 5) { in setSurfaceDamage() 2126 auto minorVersion = mDisplay.getDevice().getHwc1MinorVersion(); in applyCommonState() 2217 if (mDisplay.getDevice().getHwc1MinorVersion() >= 4) { in applyCompositionType() 2222 if (mDisplay.getDevice().getHwc1MinorVersion() < 4) { in applyCompositionType()
|
/hardware/interfaces/audio/2.0/ |
D | IStream.hal | 165 getDevice() generates (AudioDevice device);
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.cpp | 2022 auto hwc1Device = mDisplay.getDevice().getHwc1Device(); in setCursorPosition() 2206 auto minorVersion = mDisplay.getDevice().getHwc1MinorVersion(); in applyCommonState() 2320 if (mDisplay.getDevice().getHwc1MinorVersion() >= 4) { in applyCompositionType() 2325 if (mDisplay.getDevice().getHwc1MinorVersion() < 4) { in applyCompositionType()
|
D | HWC2On1Adapter.h | 177 HWC2On1Adapter& getDevice() const { return mDevice; } in getDevice() function
|