• Home
  • Raw
  • Download

Lines Matching refs:devDesc

493     sp<DeviceDescriptor> devDesc =  in getDeviceConnectionState()  local
498 if (devDesc == 0) { in getDeviceConnectionState()
537 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange() local
549 if (availablePrimaryOutputDevices().contains(devDesc) && in handleDeviceConfigChange()
564 devDesc->setEncodedFormat(encodedFormat); in handleDeviceConfigChange()
600 devDesc->getEncodedFormat()); in handleDeviceConfigChange()
791 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() argument
795 .indexOf(devDesc) != NAME_NOT_FOUND in isDeviceOfModule()
797 .indexOf(devDesc) != NAME_NOT_FOUND; in isDeviceOfModule()
4100 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in areAllDevicesSupported() local
4103 if (devDesc == nullptr || (predicate != nullptr && !predicate(devices[i].mType))) { in areAllDevicesSupported()
5214 sp<DeviceDescriptor> devDesc = in createAudioPatchInternal() local
5216 if (devDesc == 0) { in createAudioPatchInternal()
5222 DeviceVector(devDesc), in createAudioPatchInternal()
5230 ALOGV("%s profile not supported for device %08x", __func__, devDesc->type()); in createAudioPatchInternal()
5233 devices.add(devDesc); in createAudioPatchInternal()
8508 const sp<DeviceDescriptor>& devDesc, FormatVector *formatsPtr) { in modifySurroundFormats() argument
8510 devDesc->encodedFormats().begin(), devDesc->encodedFormats().end()); in modifySurroundFormats()
8596 void AudioPolicyManager::updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, in updateAudioProfiles() argument
8604 devDesc->toAudioPort(&devicePort); in updateAudioProfiles()
8621 mReportedFormatsMap[devDesc] = formats; in updateAudioProfiles()
8623 if (devDesc->type() == AUDIO_DEVICE_OUT_HDMI || in updateAudioProfiles()
8624 isDeviceOfModule(devDesc,AUDIO_HARDWARE_MODULE_ID_MSD)) { in updateAudioProfiles()
8625 modifySurroundFormats(devDesc, &formats); in updateAudioProfiles()