Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DUuidUtils.java48 if (!AudioSystem.isBluetoothA2dpOutDevice(device.getInternalType()) in uuidFromAudioDeviceAttributes()
49 && !AudioSystem.isBluetoothLeOutDevice(device.getInternalType())) { in uuidFromAudioDeviceAttributes()
H A DAudioDeviceInventory.java129 if (!AudioSystem.isBluetoothOutDevice(ada.getInternalType())) { in addAudioDeviceInInventoryIfNeeded()
137 ada.getType(), ada.getInternalType(), ada.getAddress()); in addAudioDeviceInInventoryIfNeeded()
192 final boolean isWireless = isBluetoothDevice(ada.getInternalType()); in findDeviceStateForAudioDeviceAttributes()
750 int type = wdcs.mAttributes.getInternalType(); in onSetWiredDeviceConnectionState()
765 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
768 if (deviceInfo.getInternalType() == wdcs.mAttributes.getInternalType()) { in onSetWiredDeviceConnectionState()
800 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
1328 .filter(d -> d.getInternalType() == ada.getInternalType())
1329 .filter(d -> (!isBluetoothDevice(d.getInternalType())
1360 final String key = DeviceInfo.makeDeviceListKey(device.getInternalType(),
[all …]
H A DSpatializerHelper.java369 if (isBluetoothDevice(currentDevice.getInternalType())) { in onRoutingUpdated()
555 ada.getInternalType()); in addCompatibleAudioDevice()
561 updatedDevice = new AdiDeviceState(canonicalDeviceType, ada.getInternalType(), in addCompatibleAudioDevice()
650 getCanonicalDeviceType(ada.getType(), ada.getInternalType())); in findSACompatibleDeviceStateForAudioDeviceAttributes()
710 ada.getInternalType()); in addWirelessDeviceIfNew()
717 new AdiDeviceState(canonicalDeviceType, ada.getInternalType(), in addWirelessDeviceIfNew()
H A DAudioServiceEvents.java122 Integer.toHexString(mState.mAttributes.getInternalType())) in eventToString()
184 mDeviceNativeType = "0x" + Integer.toHexString(device.getInternalType()); in DeviceVolumeEvent()
H A DAudioService.java4022 final boolean skipping = (currDev == ada.getInternalType()); in setDeviceVolume()
4495 : ada.getInternalType(); in setStreamVolume()
5046 if (isFixedVolumeDevice(ada.getInternalType())) { in getDeviceVolume()
7293 int deviceOut = device.getInternalType(); in registerDeviceVolumeDispatcherForAbsoluteVolume()
7375 int audioSystemDeviceOut = device.getInternalType(); in setDeviceVolumeBehaviorInternal()
7448 final int audioSystemDeviceOut = device.getInternalType(); in getDeviceVolumeBehaviorInt()
7529 AudioSystem.getDeviceName(attributes.getInternalType())) in setWiredDeviceConnectionState()
7539 if (attributes.getInternalType() == AudioSystem.DEVICE_IN_HDMI_ARC) { in setWiredDeviceConnectionState()
10357 if (AudioSystem.isBluetoothDevice(ada.getInternalType())) { in retrieveBluetoothAddressUncheked()
10405 if (!AudioSystem.isBluetoothDevice(ada.getInternalType())) { in anonymizeAudioDeviceAttributesUnchecked()
[all …]
H A DAudioDeviceBroker.java434 final int leAudioVolIndex = getVssVolumeForDevice(streamType, device.getInternalType()); in setCommunicationRouteForClient()
515 AudioDeviceInfo.convertInternalDeviceToDeviceType(device.getInternalType()))) { in postCheckCommunicationDeviceRemoval()
H A DPlaybackActivityMonitor.java608 && device.getInternalType() == AudioSystem.DEVICE_OUT_REMOTE_SUBMIX in hasActiveMediaPlaybackOnSubmixWithAddress()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioDeviceAttributes.java107 mNativeType = deviceInfo.getInternalType(); in AudioDeviceAttributes()
199 mNativeType = ada.getInternalType(); in AudioDeviceAttributes()
258 public int getInternalType() { in getInternalType() method in AudioDeviceAttributes
H A DAudioSystem.java2111 types[i] = devices.get(i).getInternalType(); in setDevicesRoleForStrategy()
2145 types[i] = devices.get(i).getInternalType(); in removeDevicesRoleForStrategy()
2191 types[i] = devices.get(i).getInternalType(); in populateInputDevicesTypeAndAddress()
2495 deviceTypes.add(device.getInternalType()); in generateAudioDeviceTypesSet()
H A DAudioDeviceInfo.java421 public int getInternalType() { in getInternalType() method in AudioDeviceInfo
/aosp14/frameworks/base/media/java/android/media/audio/common/
H A DAidlConversion.java545 api2aidl_NativeType_AudioDeviceDescription(attributes.getInternalType()); in api2aidl_AudioDeviceAttributes_AudioPort()