/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | HeadsetProfileTest.java | 12 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()
|
D | BluetoothEventManagerTest.java | 22 import android.bluetooth.BluetoothHeadset; 68 mIntent = new Intent(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in intentWithExtraState_audioStateChangedShouldDispatchToRegisterCallback()
|
D | LocalBluetoothProfileManagerTest.java | 31 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/ |
D | HeadsetProfile.java | 22 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()
|
D | BluetoothEventManager.java | 23 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()
|
D | LocalBluetoothProfileManager.java | 22 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/ |
D | ScoAudioTest.java | 22 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/ |
D | BluetoothHeadset.java | 52 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);
|
D | BluetoothAdapter.java | 2272 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() 2336 BluetoothHeadset headset = (BluetoothHeadset) proxy; in closeProfileProxy()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 228 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/ |
D | AudioService.java | 44 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/ |
D | hiddenapi-light-greylist.txt | 1178 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 …]
|
D | preloaded-classes | 592 android.bluetooth.BluetoothHeadset 593 android.bluetooth.BluetoothHeadset$1 594 android.bluetooth.BluetoothHeadset$2 595 android.bluetooth.BluetoothHeadset$3
|
D | hiddenapi-vendor-list.txt | 64 Landroid/bluetooth/BluetoothHeadset;->phoneStateChanged(IIILjava/lang/String;I)V
|
D | hiddenapi-public-dex.txt | 5659 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 …]
|
D | boot-image-profile.txt | 1276 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/ |
D | system-current.txt | 794 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
D | current.txt | 8309 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 6405 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|