/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; 252 if (action.equals(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED)) { in receiveBtEvent() 255 } else if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) { in receiveBtEvent() 268 case BluetoothHeadset.STATE_AUDIO_CONNECTED: in receiveBtEvent() 276 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in receiveBtEvent() 293 case BluetoothHeadset.STATE_AUDIO_CONNECTING: in receiveBtEvent() 323 != BluetoothHeadset.STATE_AUDIO_CONNECTED)) { in isBluetoothScoOn() 486 /*package*/ synchronized void onHeadsetProfileConnected(BluetoothHeadset headset) { in onHeadsetProfileConnected() 617 mDeviceBroker.postBtHeasetProfileConnected((BluetoothHeadset) proxy); [all …]
|
D | AudioDeviceBroker.java | 21 import android.bluetooth.BluetoothHeadset; 523 /*package*/ void postBtHeasetProfileConnected(BluetoothHeadset headsetProfile) { in postBtHeasetProfileConnected() 859 mBtHelper.onHeadsetProfileConnected((BluetoothHeadset) msg.obj); in handleMessage()
|
D | AudioService.java | 43 import android.bluetooth.BluetoothHeadset; 790 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in AudioService() 791 intentFilter.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); in AudioService() 5769 } else if (action.equals(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED) in onReceive() 5770 || action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) { in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HeadsetProfile.java | 26 import android.bluetooth.BluetoothHeadset; 44 private BluetoothHeadset mService; 66 mService = (BluetoothHeadset) proxy; in onServiceConnected() 150 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
|
D | BluetoothEventManager.java | 22 import android.bluetooth.BluetoothHeadset; 114 addHandler(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED, new ActiveDeviceChangedHandler()); in BluetoothEventManager() 119 addHandler(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in BluetoothEventManager() 435 } else if (Objects.equals(action, BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
|
D | LocalBluetoothProfileManager.java | 23 import android.bluetooth.BluetoothHeadset; 149 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in updateLocalProfiles() 150 BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, in updateLocalProfiles() 151 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 | 54 public final class BluetoothHeadset implements BluetoothProfile { class 350 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { in BluetoothHeadset() method in BluetoothHeadset 799 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState() 1259 BluetoothHeadset.this);
|
D | BluetoothAdapter.java | 2733 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() 2802 BluetoothHeadset headset = (BluetoothHeadset) proxy; in closeProfileProxy()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 232 mConnectionAction = BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED; in ConnectProfileReceiver() 358 mHeadset = (BluetoothHeadset) proxy; 405 private BluetoothHeadset mHeadset = null; 986 assertTrue(((BluetoothHeadset)proxy).connect(device)); in connectProfile() 1063 assertTrue(((BluetoothHeadset)proxy).disconnect(device)); in disconnectProfile() 1542 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, in getConnectProfileReceiver()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 675 RequiresPermission: android.bluetooth.BluetoothHeadset#isAudioConnected(android.bluetooth.Bluetooth… 677 RequiresPermission: android.bluetooth.BluetoothHeadset#sendVendorSpecificResultCode(android.bluetoo… 679 RequiresPermission: android.bluetooth.BluetoothHeadset#startVoiceRecognition(android.bluetooth.Blue… 681 RequiresPermission: android.bluetooth.BluetoothHeadset#stopVoiceRecognition(android.bluetooth.Bluet…
|
D | system-current.txt | 1358 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
D | current.txt | 8600 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
/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 | 10257 Landroid/bluetooth/BluetoothHeadset;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothP… 10258 Landroid/bluetooth/BluetoothHeadset;->ACTION_HF_INDICATORS_VALUE_CHANGED:Ljava/lang/String; 10259 Landroid/bluetooth/BluetoothHeadset;->clccResponse(IIIIZLjava/lang/String;I)V 10260 Landroid/bluetooth/BluetoothHeadset;->DBG:Z 10261 Landroid/bluetooth/BluetoothHeadset;->doBind()Z 10262 Landroid/bluetooth/BluetoothHeadset;->doUnbind()V 10263 Landroid/bluetooth/BluetoothHeadset;->EXTRA_HF_INDICATORS_IND_ID:Ljava/lang/String; 10264 Landroid/bluetooth/BluetoothHeadset;->EXTRA_HF_INDICATORS_IND_VALUE:Ljava/lang/String; 10265 Landroid/bluetooth/BluetoothHeadset;->getAudioRouteAllowed()Z 10266 Landroid/bluetooth/BluetoothHeadset;->isAudioOn()Z [all …]
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1358 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
|
D | current.txt | 8600 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 {
|