Home
last modified time | relevance | path

Searched refs:createAudioPatch (Results 1 – 25 of 58) sorted by relevance

123

/aosp12/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp70 status_t AudioFlinger::createAudioPatch(const struct audio_patch *patch, in createAudioPatch() function in android::AudioFlinger
79 return mPatchPanel.createAudioPatch(patch, handle); in createAudioPatch()
135 status_t AudioFlinger::PatchPanel::createAudioPatch(const struct audio_patch *patch, in createAudioPatch() function in android::AudioFlinger::PatchPanel
366 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch()
445 mAudioFlinger.mDeviceEffectManager.createAudioPatch(*handle, newPatch); in createAudioPatch()
465 status_t status = panel->createAudioPatch( in createConnections()
477 status = panel->createAudioPatch( in createConnections()
H A DDeviceEffectManager.h42 void createAudioPatch(audio_patch_handle_t handle, const PatchPanel::Patch& patch);
H A DPatchPanel.h58 status_t createAudioPatch(const struct audio_patch *patch,
/aosp12/packages/services/Car/car-lib/src/android/car/media/
H A DICarAudio.aidl39 CarAudioPatchHandle createAudioPatch(in String sourceAddress, int usage, int gainInMillibels); in createAudioPatch() method
H A DCarAudioManager.java399 public CarAudioPatchHandle createAudioPatch(String sourceAddress, in createAudioPatch() method in CarAudioManager
402 return mService.createAudioPatch(sourceAddress, usage, gainInMillibels); in createAudioPatch()
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudiopolicymanager_tests.cpp318 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(nullptr, &handle, 0)); in TEST_F()
319 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, nullptr, 0)); in TEST_F()
320 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
323 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
326 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
329 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
335 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
341 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
355 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F()
628 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_P()
H A DAudioPolicyTestClient.h67 status_t createAudioPatch(const struct audio_patch* /*patch*/, in createAudioPatch() function
H A DAudioPolicyManagerTestClient.h76 status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch() function
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/
H A DFakeCarAudioService.java71 public CarAudioPatchHandle createAudioPatch(String sourceAddress, int usage, in createAudioPatch() method in FakeCarAudioService
/aosp12/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DDeviceHalInterface.h96 virtual status_t createAudioPatch(
/aosp12/frameworks/av/media/libaudiohal/impl/
H A DDeviceHalLocal.h90 virtual status_t createAudioPatch(
H A DDeviceHalHidl.h97 virtual status_t createAudioPatch(
H A DDeviceHalHidl.cpp302 status_t DeviceHalHidl::createAudioPatch( in createAudioPatch() function in android::CPP_VERSION::DeviceHalHidl
327 ret = mDevice->createAudioPatch( in createAudioPatch()
H A DDeviceHalLocal.cpp157 status_t DeviceHalLocal::createAudioPatch( in createAudioPatch() function in android::CPP_VERSION::DeviceHalLocal
/aosp12/hardware/interfaces/audio/core/all-versions/default/
H A DPrimaryDevice.cpp116 Return<void> PrimaryDevice::createAudioPatch(const hidl_vec<AudioPortConfig>& sources, in createAudioPatch() function in android::hardware::audio::CPP_VERSION::implementation::PrimaryDevice
119 return mDevice->createAudioPatch(sources, sinks, _hidl_cb); in createAudioPatch()
/aosp12/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h237 virtual status_t createAudioPatch(const struct audio_patch *patch,
465 virtual status_t createAudioPatch(const struct audio_patch *patch,
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DIAudioFlingerService.aidl184 int /* audio_patch_handle_t */ createAudioPatch(in AudioPatch patch); in createAudioPatch() method
H A DIAudioPolicyService.aidl224 int /* audio_patch_handle_t */ createAudioPatch(in AudioPatch patch, int handle); in createAudioPatch() method
/aosp12/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareInterface.h285 virtual int createAudioPatch(unsigned int num_sources,
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
H A DAudioPrimaryHidlHalTest.cpp147 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{validSource}, in TEST_P()
158 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{invalidSource}, in TEST_P()
544 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{source}, in createPatchIfNeeded()
717 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{source}, in createPatchIfNeeded()
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h314 virtual status_t createAudioPatch(const struct audio_patch *patch,
430 status_t createAudioPatch(const struct audio_patch* patch,
626 Status createAudioPatch(const media::AudioPatch& patch, int32_t* _aidl_return) override;
/aosp12/hardware/interfaces/audio/core/all-versions/default/include/core/default/
H A DDevice.h101 Return<void> createAudioPatch(const hidl_vec<AudioPortConfig>& sources,
H A DPrimaryDevice.h82 Return<void> createAudioPatch(const hidl_vec<AudioPortConfig>& sources,
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
H A DCarAudioZoneInputFragment.java202 mAudioPatch = mCarAudioManager.createAudioPatch(mActiveInputAddress, in startAudioLocked()
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
H A DCarAudioManagerPermissionTest.java142 () -> mCarAudioManager.createAudioPatch("address", USAGE_MEDIA, 0)); in createAudioPatchPermission()

123