/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 156 (oldPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE && in createAudioPatch() 157 (patch->sinks[0].type != AUDIO_PORT_TYPE_DEVICE || in createAudioPatch() 158 oldPatch.sinks[0].ext.device.hw_module != in createAudioPatch() 159 patch->sinks[0].ext.device.hw_module))) { in createAudioPatch() 165 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch() 189 if ((patch->sinks[i].type == AUDIO_PORT_TYPE_MIX || in createAudioPatch() 190 (patch->sinks[i].type == AUDIO_PORT_TYPE_DEVICE && in createAudioPatch() 191 patch->sinks[i].ext.device.hw_module != srcModule)) && in createAudioPatch() 198 if (patch->sinks[i].type != patch->sinks[0].type) { in createAudioPatch() 211 ((patch->sinks[0].type == AUDIO_PORT_TYPE_DEVICE) && in createAudioPatch() [all …]
|
D | DeviceEffectManager.cpp | 38 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch() 47 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch()
|
D | Threads.cpp | 4074 LOG_ALWAYS_FATAL_IF(popcount(patch->sinks[i].ext.device.type) > 1 in createAudioPatch_l() 4078 patch->sinks[i].ext.device.type); in createAudioPatch_l() 4079 type |= patch->sinks[i].ext.device.type; in createAudioPatch_l() 4080 deviceTypeAddrs.push_back(AudioDeviceTypeAddr(patch->sinks[i].ext.device.type, in createAudioPatch_l() 4081 patch->sinks[i].ext.device.address)); in createAudioPatch_l() 4084 audio_port_handle_t sinkPortId = patch->sinks[0].id; in createAudioPatch_l() 4113 (mPatch.sinks[0].id != sinkPortId); in createAudioPatch_l() 4122 patch->sinks, in createAudioPatch_l() 4126 if (strcmp(patch->sinks[0].ext.device.address, "") != 0) { in createAudioPatch_l() 4129 patch->sinks[0].ext.device.type, in createAudioPatch_l() [all …]
|
D | Effects.cpp | 2976 status = checkPort(patch, &patch.mAudioPatch.sinks[i], &handle); in onCreatePatch()
|
/frameworks/base/media/java/android/media/ |
D | AudioPatch.java | 40 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() argument 43 mSinks = sinks; in AudioPatch() 58 public AudioPortConfig[] sinks() { in sinks() method in AudioPatch
|
D | AudioManager.java | 4662 AudioPortConfig[] sinks) { in createAudioPatch() argument 4663 return AudioSystem.createAudioPatch(patch, sources, sinks); in createAudioPatch() 4811 for (int j = 0; j < newPatches.get(i).sinks().length; j++) { in updateAudioPortCache() 4812 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sinks()[j], in updateAudioPortCache() 4814 newPatches.get(i).sinks()[j] = portCfg; in updateAudioPortCache() 4826 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()
|
D | AudioSystem.java | 1243 AudioPortConfig[] sources, AudioPortConfig[] sinks); in createAudioPatch() argument
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 44 sinks().add(std::forward<T>(t), std::forward<S>(s)...); in addSink() 50 sinks().add(std::forward<T>(t), update); in addSink() 95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks() function
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 55 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump() 71 patch->mPatch.sources[0].id, patch->mPatch.sinks[0].id); in addAudioPatch() 115 if (patch->mPatch.sinks[sinkIndex].type == AUDIO_PORT_TYPE_DEVICE && in listAudioPatches() 116 patch->mPatch.sinks[sinkIndex].ext.device.type == AUDIO_DEVICE_OUT_STUB) { in listAudioPatches()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProvider.java | 108 Collection<Sink> sinks; in onActivityChanged() local 113 sinks = new ArrayList<>(mSinkSet); in onActivityChanged() 128 for (Sink sink : sinks) { in onActivityChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | PanProfile.java | 114 final List<BluetoothDevice> sinks = mService.getConnectedDevices(); in setEnabled() local 115 if (sinks != null) { in setEnabled() 116 for (BluetoothDevice sink : sinks) { in setEnabled()
|
D | A2dpProfile.java | 211 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in isA2dpPlaying() 212 for (BluetoothDevice device : sinks) { in isA2dpPlaying()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 53 return mPatch.sinks[0].id; in getDeviceId()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalLocal.cpp | 161 const struct audio_port_config *sinks, in createAudioPatch() argument 165 mDev, num_sources, sources, num_sinks, sinks, patch); in createAudioPatch()
|
D | DeviceHalLocal.h | 94 const struct audio_port_config *sinks,
|
D | DeviceHalHidl.h | 101 const struct audio_port_config *sinks,
|
D | DeviceHalHidl.cpp | 320 const struct audio_port_config *sinks, in createAudioPatch() argument 325 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 100 const struct audio_port_config *sinks,
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1187 const struct audio_port_config *sink = &patch->mPatch.sinks[j]; in getOutputForDevices() 1371 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch() 3392 if (patch->sinks[i].role != AUDIO_PORT_ROLE_SINK) { in createAudioPatchInternal() 3405 ALOGV("%s sink %zu: id %d role %d type %d", __func__ ,i, patch->sinks[i].id, in createAudioPatchInternal() 3406 patch->sinks[i].role, in createAudioPatchInternal() 3407 patch->sinks[i].type); in createAudioPatchInternal() 3441 if (patch->sinks[i].type != AUDIO_PORT_TYPE_DEVICE) { in createAudioPatchInternal() 3446 mAvailableOutputDevices.getDeviceFromId(patch->sinks[i].id); in createAudioPatchInternal() 3448 ALOGV("%s out device not found for id %d", __func__, patch->sinks[i].id); in createAudioPatchInternal() 3486 if (patch->sinks[0].type == AUDIO_PORT_TYPE_MIX) { in createAudioPatchInternal() [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 243 return patch->sinks[0].id; in getDeviceIdFromPatch() 280 patch.sinks[0].role = AUDIO_PORT_ROLE_SINK; in TEST_F() 286 patch.sinks[0].role = AUDIO_PORT_ROLE_SOURCE; in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 792 private void findAudioSinkFromAudioPolicy(List<AudioDevicePort> sinks) { in findAudioSinkFromAudioPolicy() argument 793 sinks.clear(); in findAudioSinkFromAudioPolicy() 802 sinks.add(port); in findAudioSinkFromAudioPolicy()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1497 jStatus = convertAudioPortConfigToNative(env, &nPatch.sinks[i], jSink, false); in android_media_AudioSystem_createAudioPatch() 1689 &nPatches[i].sinks[j]); in android_media_AudioSystem_listAudioPatches() 1699 nPatches[i].sinks[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix", in android_media_AudioSystem_listAudioPatches() 1700 nPatches[i].sinks[j].id); in android_media_AudioSystem_listAudioPatches()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 9356 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
|