Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java454 int bluetoothProfile = 0; in onReceive() local
456 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
458 bluetoothProfile = BluetoothProfile.HEADSET; in onReceive()
460 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive()
465 dispatchActiveDeviceChanged(activeDevice, bluetoothProfile); in onReceive()
470 int bluetoothProfile) { in dispatchActiveDeviceChanged() argument
471 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
474 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
502 int bluetoothProfile) { in dispatchProfileConnectionStateChanged() argument
505 callback.onProfileConnectionStateChanged(device, state, bluetoothProfile); in dispatchProfileConnectionStateChanged()
[all …]
DBluetoothCallback.java31 void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile); in onActiveDeviceChanged() argument
34 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument
DCachedBluetoothDeviceManager.java312 int bluetoothProfile) { in onActiveDeviceChanged() argument
315 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in onActiveDeviceChanged()
401 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument
402 if (bluetoothProfile == BluetoothProfile.HEARING_AID in onProfileConnectionStateChanged()
DCachedBluetoothDevice.java517 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() argument
519 switch (bluetoothProfile) { in onActiveDeviceChanged()
533 Log.w(TAG, "onActiveDeviceChanged: unknown profile " + bluetoothProfile + in onActiveDeviceChanged()
555 public boolean isActiveDevice(int bluetoothProfile) { in isActiveDevice() argument
556 switch (bluetoothProfile) { in isActiveDevice()
564 Log.w(TAG, "getActiveDevice: unknown profile " + bluetoothProfile); in isActiveDevice()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1027 public boolean bindBluetoothProfileService(int bluetoothProfile, in bindBluetoothProfileService() argument
1031 Slog.d(TAG, "Trying to bind to profile: " + bluetoothProfile in bindBluetoothProfileService()
1037 ProfileServiceConnections psc = mProfileServices.get(new Integer(bluetoothProfile)); in bindBluetoothProfileService()
1041 + bluetoothProfile); in bindBluetoothProfileService()
1044 if (bluetoothProfile != BluetoothProfile.HEADSET) { in bindBluetoothProfileService()
1054 mProfileServices.put(new Integer(bluetoothProfile), psc); in bindBluetoothProfileService()
1060 addProxyMsg.arg1 = bluetoothProfile; in bindBluetoothProfileService()
1067 public void unbindBluetoothProfileService(int bluetoothProfile, in unbindBluetoothProfileService() argument
1070 ProfileServiceConnections psc = mProfileServices.get(new Integer(bluetoothProfile)); in unbindBluetoothProfileService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java281 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java613 int bluetoothProfile) { } in onActiveDeviceChanged() argument