Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DSpatialAudioWiredHeadphonesController.java37 final AudioDeviceAttributes mWiredHeadphones = new AudioDeviceAttributes( field in SpatialAudioWiredHeadphonesController
49 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSpatialAudioWiredHeadphonesPreferenceControllerTest.java64 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()