/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerTest.java | 251 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEADSET)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 253 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEADSET)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 258 .dispatchActiveDeviceChanged(mCachedDevice2, BluetoothProfile.HEADSET); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 260 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEADSET)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 262 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEADSET)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 266 .dispatchActiveDeviceChanged(mCachedDevice1, BluetoothProfile.HEADSET); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 268 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEADSET)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 270 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEADSET)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 275 .dispatchActiveDeviceChanged(mCachedDevice2, BluetoothProfile.HEADSET); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 277 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEADSET)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() [all …]
|
D | CachedBluetoothDeviceTest.java | 282 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testSingleProfileActiveDeviceHfp() 297 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testSingleProfileActiveDeviceHfp() 324 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testHeadsetWithoutInCall_returnNull() 338 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testHeadsetBatteryWithoutInCall_returnBattery() 432 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testMultipleProfilesActiveDevice() 447 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEADSET); in getConnectionSummary_testMultipleProfilesActiveDevice() 460 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testMultipleProfilesActiveDevice() 625 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getCarConnectionSummary_singleProfileActiveDeviceHfp() 641 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getCarConnectionSummary_singleProfileActiveDeviceHfp() 676 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getCarConnectionSummary_multipleProfilesActiveDevice() [all …]
|
D | HearingAidProfileTest.java | 69 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
|
D | LocalBluetoothProfileManagerTest.java | 176 new int[] {BluetoothProfile.HEADSET})); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback() 187 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEADSET); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
|
D | HeadsetProfileTest.java | 54 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothStressTest.java | 229 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.HEADSET, null); in testConnectHeadset() 233 mTestUtils.connectProfile(mAdapter, device, BluetoothProfile.HEADSET, in testConnectHeadset() 235 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.HEADSET, in testConnectHeadset() 347 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.HEADSET, null); in testStartStopSco() 348 mTestUtils.connectProfile(mAdapter, device, BluetoothProfile.HEADSET, null); in testStartStopSco() 359 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.HEADSET, null); in testStartStopSco()
|
D | BluetoothTestUtils.java | 231 case BluetoothProfile.HEADSET: in ConnectProfileReceiver() 357 case BluetoothProfile.HEADSET: 380 case BluetoothProfile.HEADSET: 985 } else if (profile == BluetoothProfile.HEADSET) { in connectProfile() 1062 } else if (profile == BluetoothProfile.HEADSET) { in disconnectProfile() 1588 case BluetoothProfile.HEADSET: in connectProxy() 1618 case BluetoothProfile.HEADSET: in connectProxy()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HeadsetProfile.java | 97 return BluetoothProfile.HEADSET; in getProfileId() 106 BluetoothProfile.HEADSET); in HeadsetProfile() 232 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET, in finalize()
|
D | CachedBluetoothDevice.java | 121 case BluetoothProfile.HEADSET: 253 case BluetoothProfile.HEADSET: in setProfileConnectedStatus() 568 case BluetoothProfile.HEADSET: in onActiveDeviceChanged() 603 case BluetoothProfile.HEADSET: in isActiveDevice()
|
D | BluetoothEventManager.java | 440 bluetoothProfile = BluetoothProfile.HEADSET; in onReceive()
|
D | LocalBluetoothProfileManager.java | 146 if (mHeadsetProfile == null && supportedList.contains(BluetoothProfile.HEADSET)) { in updateLocalProfiles()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothProfile.java | 80 int HEADSET = 1; field 383 case HEADSET: in getProfileName()
|
D | BluetoothHeadset.java | 401 BluetoothProfile.HEADSET, mConnection); in doBind() 416 BluetoothProfile.HEADSET, mConnection); in doUnbind() 1422 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, 1429 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
|
D | BluetoothAdapter.java | 3016 if (profile == BluetoothProfile.HEADSET) { in getProfileProxy() 3093 case BluetoothProfile.HEADSET: in closeProfileProxy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 220 when(device.isActiveDevice(BluetoothProfile.HEADSET)).thenReturn(true); in testOnActiveDeviceChanged_updatesAudioActive() 225 when(profile.getProfileId()).thenReturn(BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_updatesAudioActive() 231 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_updatesAudioActive()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 646 case BluetoothProfile.HEADSET: 673 case BluetoothProfile.HEADSET: 861 mBluetoothProfileServiceListener, BluetoothProfile.HEADSET); in getBluetoothHeadset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 286 isActive |= device.isActiveDevice(BluetoothProfile.HEADSET) in updateActive() 305 if (profileId == BluetoothProfile.HEADSET in updateAudioProfile()
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 159 BluetoothProfile.HEADSET); in onCreate() 174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1351 if (bluetoothProfile != BluetoothProfile.HEADSET) { in bindBluetoothProfileService()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 2178 // The profile that is connected. Eg. GATT, A2DP, HEADSET. 2273 // The profile whose active device has changed. Eg. A2DP, HEADSET, HEARING_AID
|
/frameworks/base/core/api/ |
D | current.txt | 9452 field public static final int HEADSET = 1; // 0x1
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 6486 field public static final int HEADSET = 1; // 0x1
|