Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHeadsetProfileTest.java12 import android.bluetooth.BluetoothHeadset;
34 private BluetoothHeadset mService;
69 thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testHeadsetProfile_shouldReturnAudioState()
71 isEqualTo(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testHeadsetProfile_shouldReturnAudioState()
74 thenReturn(BluetoothHeadset.STATE_AUDIO_CONNECTED); in testHeadsetProfile_shouldReturnAudioState()
76 isEqualTo(BluetoothHeadset.STATE_AUDIO_CONNECTED); in testHeadsetProfile_shouldReturnAudioState()
DBluetoothEventManagerTest.java22 import android.bluetooth.BluetoothHeadset;
68 mIntent = new Intent(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in intentWithExtraState_audioStateChangedShouldDispatchToRegisterCallback()
DLocalBluetoothProfileManagerTest.java31 import android.bluetooth.BluetoothHeadset;
165 mIntent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHeadsetProfile.java22 import android.bluetooth.BluetoothHeadset;
41 private BluetoothHeadset mService;
64 mService = (BluetoothHeadset) proxy; in onServiceConnected()
177 if (mService == null) return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
DBluetoothEventManager.java23 import android.bluetooth.BluetoothHeadset;
118 addHandler(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED, in BluetoothEventManager()
124 addHandler(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in BluetoothEventManager()
457 } else if (Objects.equals(action, BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
DLocalBluetoothProfileManager.java22 import android.bluetooth.BluetoothHeadset;
212 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in updateLocalProfiles()
213 BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in updateLocalProfiles()
214 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in updateLocalProfiles()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java22 import android.bluetooth.BluetoothHeadset;
82 private BluetoothHeadset mBluetoothHeadset;
104 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in onCreate()
659 mBluetoothHeadset = (BluetoothHeadset) proxy;
688 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) { in onReceive()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadset.java52 public final class BluetoothHeadset implements BluetoothProfile { class
358 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { in BluetoothHeadset() method in BluetoothHeadset
735 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
1189 BluetoothHeadset.this);
DBluetoothAdapter.java2272 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy()
2336 BluetoothHeadset headset = (BluetoothHeadset) proxy; in closeProfileProxy()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java228 mConnectionAction = BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED; in ConnectProfileReceiver()
323 mHeadset = (BluetoothHeadset) proxy;
364 private BluetoothHeadset mHeadset = null;
937 assertTrue(((BluetoothHeadset)proxy).connect(device)); in connectProfile()
1012 assertTrue(((BluetoothHeadset)proxy).disconnect(device)); in disconnectProfile()
1406 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in getConnectProfileReceiver()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java44 import android.bluetooth.BluetoothHeadset;
517 private BluetoothHeadset mBluetoothHeadset;
845 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in AudioService()
846 intentFilter.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); in AudioService()
3275 != BluetoothHeadset.STATE_AUDIO_CONNECTED)) { in setBluetoothScoOnInt()
3400 requestScoState(BluetoothHeadset.STATE_AUDIO_CONNECTED, scoAudioMode); in incCount()
3426 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, 0); in decCount()
3442 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, 0); in clearCount()
3477 if (state == BluetoothHeadset.STATE_AUDIO_CONNECTED) { in requestScoState()
3550 } else if (state == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in requestScoState()
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt1178 Landroid/bluetooth/BluetoothHeadset;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String;
1179 Landroid/bluetooth/BluetoothHeadset;->close()V
1180 Landroid/bluetooth/BluetoothHeadset;->connectAudio()Z
1181 Landroid/bluetooth/BluetoothHeadset;->disconnectAudio()Z
1182 Landroid/bluetooth/BluetoothHeadset;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;
1183 Landroid/bluetooth/BluetoothHeadset;->getAudioState(Landroid/bluetooth/BluetoothDevice;)I
1184 Landroid/bluetooth/BluetoothHeadset;->getPriority(Landroid/bluetooth/BluetoothDevice;)I
1185 Landroid/bluetooth/BluetoothHeadset;->isEnabled()Z
1186 Landroid/bluetooth/BluetoothHeadset;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z
1187 Landroid/bluetooth/BluetoothHeadset;->startScoUsingVirtualVoiceCall()Z
[all …]
Dpreloaded-classes592 android.bluetooth.BluetoothHeadset
593 android.bluetooth.BluetoothHeadset$1
594 android.bluetooth.BluetoothHeadset$2
595 android.bluetooth.BluetoothHeadset$3
Dhiddenapi-vendor-list.txt64 Landroid/bluetooth/BluetoothHeadset;->phoneStateChanged(IIILjava/lang/String;I)V
Dhiddenapi-public-dex.txt5659 Landroid/bluetooth/BluetoothHeadset;
5660 Landroid/bluetooth/BluetoothHeadset;->ACTION_AUDIO_STATE_CHANGED:Ljava/lang/String;
5661 Landroid/bluetooth/BluetoothHeadset;->ACTION_CONNECTION_STATE_CHANGED:Ljava/lang/String;
5662 Landroid/bluetooth/BluetoothHeadset;->ACTION_VENDOR_SPECIFIC_HEADSET_EVENT:Ljava/lang/String;
5663 Landroid/bluetooth/BluetoothHeadset;->AT_CMD_TYPE_ACTION:I
5664 Landroid/bluetooth/BluetoothHeadset;->AT_CMD_TYPE_BASIC:I
5665 Landroid/bluetooth/BluetoothHeadset;->AT_CMD_TYPE_READ:I
5666 Landroid/bluetooth/BluetoothHeadset;->AT_CMD_TYPE_SET:I
5667 Landroid/bluetooth/BluetoothHeadset;->AT_CMD_TYPE_TEST:I
5668 Landroid/bluetooth/BluetoothHeadset;->connect(Landroid/bluetooth/BluetoothDevice;)Z
[all …]
Dboot-image-profile.txt1276 HPLandroid/bluetooth/BluetoothHeadset$2;->onServiceDisconnected(Landroid/content/ComponentName;)V
1277 HPLandroid/bluetooth/BluetoothHeadset;->close()V
1278 HPLandroid/bluetooth/BluetoothHeadset;->connect(Landroid/bluetooth/BluetoothDevice;)Z
1279 HPLandroid/bluetooth/BluetoothHeadset;->doUnbind()V
1280 HPLandroid/bluetooth/BluetoothHeadset;->getPriority(Landroid/bluetooth/BluetoothDevice;)I
16495 HSPLandroid/bluetooth/BluetoothHeadset$1;->onBluetoothStateChange(Z)V
16496 HSPLandroid/bluetooth/BluetoothHeadset$2;->onServiceConnected(Landroid/content/ComponentName;Landro…
16497 HSPLandroid/bluetooth/BluetoothHeadset$3;->handleMessage(Landroid/os/Message;)V
16498 HSPLandroid/bluetooth/BluetoothHeadset;-><init>(Landroid/content/Context;Landroid/bluetooth/Bluetoo…
16499 HSPLandroid/bluetooth/BluetoothHeadset;->doBind()Z
[all …]
/frameworks/base/api/
Dsystem-current.txt794 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
Dcurrent.txt8309 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6405 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {