Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h51 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
DAudioSystem.h218 static audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h89 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
/frameworks/base/media/java/android/media/
DAudioManager.java1801 if (AudioSystem.getDeviceConnectionState(DEVICE_OUT_BLUETOOTH_A2DP,"") in isBluetoothA2dpOn()
1804 } else if (AudioSystem.getDeviceConnectionState(DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES,"") in isBluetoothA2dpOn()
1807 } else if (AudioSystem.getDeviceConnectionState(DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER,"") in isBluetoothA2dpOn()
1834 if (AudioSystem.getDeviceConnectionState(DEVICE_OUT_WIRED_HEADSET,"") in isWiredHeadsetOn()
1836 AudioSystem.getDeviceConnectionState(DEVICE_OUT_WIRED_HEADPHONE,"") in isWiredHeadsetOn()
1838 AudioSystem.getDeviceConnectionState(DEVICE_OUT_USB_HEADSET, "") in isWiredHeadsetOn()
DAudioSystem.java1137 public static native int getDeviceConnectionState(int device, String device_address); in getDeviceConnectionState() method in AudioSystem
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java835 AudioSystem.getDeviceConnectionState(AudioSystem.DEVICE_IN_USB_HEADSET, "") in sendDeviceConnectionIntent()
839 if (AudioSystem.getDeviceConnectionState(AudioSystem.DEVICE_OUT_USB_HEADSET, "") in sendDeviceConnectionIntent()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1091 ASSERT_EQ(AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE, mManager->getDeviceConnectionState( in TEST_F()
1095 ASSERT_EQ(AUDIO_POLICY_DEVICE_STATE_AVAILABLE, mManager->getDeviceConnectionState( in TEST_F()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp63 audio_policy_dev_state_t AudioPolicyService::getDeviceConnectionState( in getDeviceConnectionState() function in android::AudioPolicyService
71 return mAudioPolicyManager->getDeviceConnectionState(device, in getDeviceConnectionState()
DAudioPolicyService.h69 virtual audio_policy_dev_state_t getDeviceConnectionState(
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h101 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
DAudioPolicyManager.cpp382 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState() function in android::AudioPolicyManager
2977 if (getDeviceConnectionState(device, address.string()) == in unregisterPolicyMixes()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp815 audio_policy_dev_state_t AudioSystem::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState() function in android::AudioSystem
821 return aps->getDeviceConnectionState(device, device_address); in getDeviceConnectionState()
DIAudioPolicyService.cpp142 virtual audio_policy_dev_state_t getDeviceConnectionState( in getDeviceConnectionState() function in android::BpAudioPolicyService
1462 reply->writeInt32(static_cast<uint32_t> (getDeviceConnectionState(device, in onTransact()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp512 …int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(… in android_media_AudioSystem_getDeviceConnectionState()