OSDN Git Service

Change Bluetooth HID Profile Name (1/11)
authorHansong Zhang <hsz@google.com>
Fri, 20 Oct 2017 22:55:59 +0000 (15:55 -0700)
committerHansong Zhang <hsz@google.com>
Mon, 23 Oct 2017 16:37:38 +0000 (09:37 -0700)
commitc26c76c63d933f8057f795d05624f91b811c8c71
treee54efe442211ef5e89b1d17f846a4cc687b50bc3
parent9b874662672b4fccdcdb82c963bcc0c7028806f8
Change Bluetooth HID Profile Name (1/11)

Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
12 files changed:
Android.mk
config/compiled-classes-phone
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothHidDevice.java [moved from core/java/android/bluetooth/BluetoothInputHost.java with 94% similarity]
core/java/android/bluetooth/BluetoothHidHost.java [moved from core/java/android/bluetooth/BluetoothInputDevice.java with 91% similarity]
core/java/android/bluetooth/BluetoothProfile.java
core/java/android/provider/Settings.java
core/res/AndroidManifest.xml
core/tests/bluetoothtests/src/android/bluetooth/BluetoothStressTest.java
core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java
packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java
packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothProfileManager.java