Searched refs:mWiredHeadphones (Results 1 – 2 of 2) sorted by relevance
37 final AudioDeviceAttributes mWiredHeadphones = new AudioDeviceAttributes( field in SpatialAudioWiredHeadphonesController49 return mSpatializer.isAvailableForDevice(mWiredHeadphones) ? AVAILABLE in getAvailabilityStatus()55 return mSpatializer.getCompatibleAudioDevices().contains(mWiredHeadphones); in isChecked()61 mSpatializer.addCompatibleAudioDevice(mWiredHeadphones); in setChecked()63 mSpatializer.removeCompatibleAudioDevice(mWiredHeadphones); in setChecked()
64 when(mSpatializer.isAvailableForDevice(mController.mWiredHeadphones)).thenReturn(false); in getAvailabilityStatus_unavailable_shouldReturnUnavailable()71 when(mSpatializer.isAvailableForDevice(mController.mWiredHeadphones)).thenReturn(true); in getAvailabilityStatus_available_shouldReturnAvailable()80 verify(mSpatializer).addCompatibleAudioDevice(mController.mWiredHeadphones); in setChecked_withTrue_enablesDeviceSpatializer()87 verify(mSpatializer).removeCompatibleAudioDevice(mController.mWiredHeadphones); in setChecked_withFalse_disablesDeviceSpatializer()