Home
last modified time | relevance | path

Searched refs:getInternalType (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DUuidUtils.java48 if (!AudioSystem.isBluetoothA2dpOutDevice(device.getInternalType()) in uuidFromAudioDeviceAttributes()
49 && !AudioSystem.isBluetoothLeOutDevice(device.getInternalType())) { in uuidFromAudioDeviceAttributes()
DSpatializerHelper.java373 if (isBluetoothDevice(currentDevice.getInternalType())) { in onRoutingUpdated()
562 ada.getInternalType()); in addCompatibleAudioDevice()
568 updatedDevice = new AdiDeviceState(canonicalDeviceType, ada.getInternalType(), in addCompatibleAudioDevice()
658 getCanonicalDeviceType(ada.getType(), ada.getInternalType())); in findSACompatibleDeviceStateForAudioDeviceAttributes()
717 ada.getInternalType()); in addWirelessDeviceIfNew()
724 new AdiDeviceState(canonicalDeviceType, ada.getInternalType(), in addWirelessDeviceIfNew()
1660 new AudioDeviceAttributes(currentDevice.getInternalType(), address)); in getHeadSensorHandleUpdateTracker()
1667 if (isBluetoothLeDevice(currentDevice.getInternalType())) { in getHeadSensorHandleUpdateTracker()
DLoudnessCodecHelper.java459 getCodecBundle_l(deviceInfo.getInternalType(), in addLoudnessCodecInfo()
502 return getCodecBundle_l(audioDeviceAttribute.getInternalType(), in getLoudnessParams()
625 getCodecBundle_l(deviceInfo.getInternalType(), in updateCodecParametersForConfiguration()
DAudioServiceEvents.java122 Integer.toHexString(mState.mAttributes.getInternalType())) in eventToString()
124 mState.mAttributes.getInternalType()) ? "source" : "sink").append(") ") in eventToString()
189 mDeviceNativeType = "0x" + Integer.toHexString(device.getInternalType()); in DeviceVolumeEvent()
DAudioDeviceInventory.java451 final boolean isWireless = isBluetoothDevice(ada.getInternalType()); in findDeviceStateForAudioDeviceAttributes()
1106 int type = wdcs.mAttributes.getInternalType(); in onSetWiredDeviceConnectionState()
1121 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
1124 if (deviceInfo.getInternalType() == wdcs.mAttributes.getInternalType()) { in onSetWiredDeviceConnectionState()
1156 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
1684 .filter(d -> d.getInternalType() == ada.getInternalType())
1685 .filter(d -> (!isBluetoothDevice(d.getInternalType())
1716 final String key = DeviceInfo.makeDeviceListKey(device.getInternalType(),
1735 int device = attributes.getInternalType();
2022 attributes.getInternalType(), state, AudioSystem.DEVICE_NONE);
[all …]
DAudioService.java4193 final boolean skipping = (currDev == ada.getInternalType()); in setDeviceVolume()
4732 : ada.getInternalType(); in setStreamVolume()
5312 if (isFixedVolumeDevice(ada.getInternalType())) { in getDeviceVolume()
5315 index = (mStreamStates[streamType].getIndex(ada.getInternalType()) + 5) / 10; in getDeviceVolume()
6324 if (device.getInternalType() == AudioSystem.DEVICE_OUT_TELEPHONY_TX) { in isPstnCallAudioInterceptable()
6326 } else if (device.getInternalType() == AudioSystem.DEVICE_IN_TELEPHONY_RX) { in isPstnCallAudioInterceptable()
7593 int deviceOut = device.getInternalType(); in registerDeviceVolumeDispatcherForAbsoluteVolume()
7654 + AudioSystem.getOutputDeviceName(device.getInternalType()) + " addr:" in setDeviceVolumeBehavior()
7668 persistDeviceVolumeBehavior(device.getInternalType(), deviceVolumeBehavior); in setDeviceVolumeBehavior()
7673 int audioSystemDeviceOut = device.getInternalType(); in setDeviceVolumeBehaviorInternal()
[all …]
DSoundDoseHelper.java1323 nativeDeviceType = ada.getInternalType(); in onLowerVolumeToRs1()
DAudioDeviceBroker.java439 final int leAudioVolIndex = getVssVolumeForDevice(streamType, device.getInternalType()); in setCommunicationRouteForClient()
521 AudioDeviceInfo.convertInternalDeviceToDeviceType(device.getInternalType()))) { in postCheckCommunicationDeviceRemoval()
DPlaybackActivityMonitor.java649 && device.getInternalType() == AudioSystem.DEVICE_OUT_REMOTE_SUBMIX in hasActiveMediaPlaybackOnSubmixWithAddress()
/frameworks/base/media/java/android/media/
DAudioDeviceAttributes.java107 mNativeType = deviceInfo.getInternalType(); in AudioDeviceAttributes()
199 mNativeType = ada.getInternalType(); in AudioDeviceAttributes()
258 public int getInternalType() { in getInternalType() method in AudioDeviceAttributes
DAudioSystem.java2156 types[i] = devices.get(i).getInternalType(); in setDevicesRoleForStrategy()
2190 types[i] = devices.get(i).getInternalType(); in removeDevicesRoleForStrategy()
2236 types[i] = devices.get(i).getInternalType(); in populateInputDevicesTypeAndAddress()
2543 deviceTypes.add(device.getInternalType()); in generateAudioDeviceTypesSet()
DAudioDeviceInfo.java425 public int getInternalType() { in getInternalType() method in AudioDeviceInfo
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java545 api2aidl_NativeType_AudioDeviceDescription(attributes.getInternalType()); in api2aidl_AudioDeviceAttributes_AudioPort()