Home
last modified time | relevance | path

Searched refs:bluetoothProfile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/
DBluetoothProfileMonitor.java63 BluetoothProfile bluetoothProfile; in isProfileSupported() local
68 bluetoothProfile = mA2dpProfile; in isProfileSupported()
71 bluetoothProfile = mLeAudioProfile; in isProfileSupported()
74 bluetoothProfile = mHearingAidProfile; in isProfileSupported()
82 if (bluetoothProfile == null) { in isProfileSupported()
86 return bluetoothProfile.getConnectedDevices().contains(device); in isProfileSupported()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemInteractor.kt70 bluetoothProfile: Int in <lambda>()
72 super.onActiveDeviceChanged(activeDevice, bluetoothProfile) in <lambda>()
73 logger.logActiveDeviceChanged(activeDevice?.address, bluetoothProfile) in <lambda>()
80 bluetoothProfile: Int in <lambda>()
85 bluetoothProfile in <lambda>()
90 bluetoothProfile in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java220 @NonNull CachedBluetoothDevice device, int state, int bluetoothProfile) { in dispatchProfileConnectionStateChanged() argument
222 callback.onProfileConnectionStateChanged(device, state, bluetoothProfile); in dispatchProfileConnectionStateChanged()
227 if (bluetoothProfile == BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT in dispatchProfileConnectionStateChanged()
259 @Nullable CachedBluetoothDevice activeDevice, int bluetoothProfile) { in dispatchActiveDeviceChanged() argument
277 cachedDevice.onActiveDeviceChanged(isActiveDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
282 callback.onActiveDeviceChanged(targetDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
509 int bluetoothProfile = 0; in onReceive() local
511 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
513 bluetoothProfile = BluetoothProfile.HEADSET; in onReceive()
515 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive()
[all …]
DBluetoothCallback.java124 @Nullable CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() argument
150 int bluetoothProfile) { in onProfileConnectionStateChanged() argument
DCachedBluetoothDevice.java794 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() argument
797 + "profile " + BluetoothProfile.getProfileName(bluetoothProfile) in onActiveDeviceChanged()
802 switch (bluetoothProfile) { in onActiveDeviceChanged()
820 Log.w(TAG, "onActiveDeviceChanged: unknown profile " + bluetoothProfile + in onActiveDeviceChanged()
850 public boolean isActiveDevice(int bluetoothProfile) { in isActiveDevice() argument
851 switch (bluetoothProfile) { in isActiveDevice()
861 Log.w(TAG, "getActiveDevice: unknown profile " + bluetoothProfile); in isActiveDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java390 int bluetoothProfile) { in onProfileConnectionStateChanged() argument
392 cachedDevice.getAddress(), connectionStateToString(state), bluetoothProfile); in onProfileConnectionStateChanged() local
399 @Nullable CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() argument
400 mLogger.logActiveDeviceChanged(getAddressOrNull(activeDevice), bluetoothProfile); in onActiveDeviceChanged() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogDelegate.java213 int bluetoothProfile) { in onActiveDeviceChanged() argument
236 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument