/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | HeadsetProfileTest.java | 10 import android.bluetooth.BluetoothHeadset; 35 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 | 27 import android.bluetooth.BluetoothHeadset; 100 mIntent = new Intent(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in intentWithExtraState_audioStateChangedShouldDispatchToRegisterCallback()
|
D | LocalBluetoothProfileManagerTest.java | 31 import android.bluetooth.BluetoothHeadset; 179 mIntent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 26 import android.bluetooth.BluetoothHeadset; 64 private @Nullable BluetoothHeadset mBluetoothHeadset; 246 if (action.equals(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED)) { in receiveBtEvent() 249 } else if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) { in receiveBtEvent() 262 case BluetoothHeadset.STATE_AUDIO_CONNECTED: in receiveBtEvent() 270 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in receiveBtEvent() 287 case BluetoothHeadset.STATE_AUDIO_CONNECTING: in receiveBtEvent() 316 != BluetoothHeadset.STATE_AUDIO_CONNECTED)) { in isBluetoothScoOn() 479 /*package*/ synchronized void onHeadsetProfileConnected(BluetoothHeadset headset) { in onHeadsetProfileConnected() 610 mDeviceBroker.postBtHeasetProfileConnected((BluetoothHeadset) proxy); [all …]
|
D | AudioDeviceBroker.java | 24 import android.bluetooth.BluetoothHeadset; 479 /*package*/ void postBtHeasetProfileConnected(BluetoothHeadset headsetProfile) { in postBtHeasetProfileConnected() 822 mBtHelper.onHeadsetProfileConnected((BluetoothHeadset) msg.obj); in handleMessage()
|
D | AudioService.java | 43 import android.bluetooth.BluetoothHeadset; 793 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in AudioService() 794 intentFilter.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); in AudioService() 5649 } else if (action.equals(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED) in onReceive() 5650 || action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) { in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HeadsetProfile.java | 22 import android.bluetooth.BluetoothHeadset; 40 private BluetoothHeadset mService; 61 mService = (BluetoothHeadset) proxy; in onServiceConnected() 159 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
|
D | BluetoothEventManager.java | 22 import android.bluetooth.BluetoothHeadset; 112 addHandler(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED, new ActiveDeviceChangedHandler()); in BluetoothEventManager() 117 addHandler(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in BluetoothEventManager() 462 } else if (Objects.equals(action, BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
|
D | LocalBluetoothProfileManager.java | 23 import android.bluetooth.BluetoothHeadset; 148 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in updateLocalProfiles() 149 BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in updateLocalProfiles() 150 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 | 53 public final class BluetoothHeadset implements BluetoothProfile { class 350 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { in BluetoothHeadset() method in BluetoothHeadset 738 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState() 1200 BluetoothHeadset.this);
|
D | BluetoothAdapter.java | 2512 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() 2578 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; 943 assertTrue(((BluetoothHeadset)proxy).connect(device)); in connectProfile() 1018 assertTrue(((BluetoothHeadset)proxy).disconnect(device)); in disconnectProfile() 1412 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in getConnectProfileReceiver()
|
/frameworks/base/config/ |
D | preloaded-classes | 676 android.bluetooth.BluetoothHeadset$1 677 android.bluetooth.BluetoothHeadset$2 678 android.bluetooth.BluetoothHeadset$3 679 android.bluetooth.BluetoothHeadset
|
D | boot-image-profile.txt | 3197 HSPLandroid/bluetooth/BluetoothHeadset$1;->onBluetoothStateChange(Z)V 3198 HSPLandroid/bluetooth/BluetoothHeadset$2;->onServiceConnected(Landroid/content/ComponentName;Landro… 3199 HSPLandroid/bluetooth/BluetoothHeadset$2;->onServiceDisconnected(Landroid/content/ComponentName;)V 3200 HSPLandroid/bluetooth/BluetoothHeadset$3;->handleMessage(Landroid/os/Message;)V 3201 HSPLandroid/bluetooth/BluetoothHeadset;-><init>(Landroid/content/Context;Landroid/bluetooth/Bluetoo… 3202 HSPLandroid/bluetooth/BluetoothHeadset;->doBind()Z 3203 HSPLandroid/bluetooth/BluetoothHeadset;->doUnbind()V 3204 HSPLandroid/bluetooth/BluetoothHeadset;->getActiveDevice()Landroid/bluetooth/BluetoothDevice; 3205 HSPLandroid/bluetooth/BluetoothHeadset;->getConnectedDevices()Ljava/util/List; 3206 HSPLandroid/bluetooth/BluetoothHeadset;->phoneStateChanged(IIILjava/lang/String;ILjava/lang/String;… [all …]
|
D | hiddenapi-greylist-max-o.txt | 10942 Landroid/bluetooth/BluetoothHeadset;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothP… 10943 Landroid/bluetooth/BluetoothHeadset;->ACTION_HF_INDICATORS_VALUE_CHANGED:Ljava/lang/String; 10944 Landroid/bluetooth/BluetoothHeadset;->clccResponse(IIIIZLjava/lang/String;I)V 10945 Landroid/bluetooth/BluetoothHeadset;->DBG:Z 10946 Landroid/bluetooth/BluetoothHeadset;->doBind()Z 10947 Landroid/bluetooth/BluetoothHeadset;->doUnbind()V 10948 Landroid/bluetooth/BluetoothHeadset;->EXTRA_HF_INDICATORS_IND_ID:Ljava/lang/String; 10949 Landroid/bluetooth/BluetoothHeadset;->EXTRA_HF_INDICATORS_IND_VALUE:Ljava/lang/String; 10950 Landroid/bluetooth/BluetoothHeadset;->getAudioRouteAllowed()Z 10951 Landroid/bluetooth/BluetoothHeadset;->isAudioOn()Z [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 1288 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
D | current.txt | 8595 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
/frameworks/base/services/ |
D | art-profile | 4378 …om/android/server/audio/BtHelper;->onHeadsetProfileConnected(Landroid/bluetooth/BluetoothHeadset;)V
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 6405 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|