Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java347 String audioDeviceAddress = in parseInputAudioDevices() local
349 validateInputAudioDeviceAddress(audioDeviceAddress); in parseInputAudioDevices()
350 AudioDeviceInfo info = mAddressToInputAudioDeviceInfo.get(audioDeviceAddress); in parseInputAudioDevices()
354 ATTR_DEVICE_ADDRESS, audioDeviceAddress, TAG_INPUT_DEVICE); in parseInputAudioDevices()
361 private void validateInputAudioDeviceAddress(String audioDeviceAddress) { in validateInputAudioDeviceAddress() argument
362 Objects.requireNonNull(audioDeviceAddress, () -> in validateInputAudioDeviceAddress()
364 Preconditions.checkArgument(!audioDeviceAddress.isEmpty(), in validateInputAudioDeviceAddress()
367 if (mInputAudioDevices.contains(audioDeviceAddress)) { in validateInputAudioDeviceAddress()
368 throw new IllegalArgumentException(TAG_INPUT_DEVICE + " " + audioDeviceAddress in validateInputAudioDeviceAddress()
371 mInputAudioDevices.add(audioDeviceAddress); in validateInputAudioDeviceAddress()