Home
last modified time | relevance | path

Searched refs:protocolMode (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceBinderTest.java144 int protocolMode = 1; in setProtocolMode_callsServiceMethod() local
145 mBinder.setProtocolMode(mRemoteDevice, protocolMode, null); in setProtocolMode_callsServiceMethod()
147 verify(mService).setProtocolMode(mRemoteDevice, protocolMode); in setProtocolMode_callsServiceMethod()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostNativeInterface.java78 boolean setProtocolMode(byte[] address, int addressType, int transport, byte protocolMode) { in setProtocolMode() argument
79 return setProtocolModeNative(address, addressType, transport, protocolMode); in setProtocolMode()
190 byte[] btAddress, int addressType, int transport, byte protocolMode); in setProtocolModeNative() argument
DHidHostService.java589 byte protocolMode = (byte) msg.arg1; in handleMessageSetProtocolMode()
590 Log.d(TAG, "sending set protocol mode(" + protocolMode + ")"); in handleMessageSetProtocolMode()
595 protocolMode)) { in handleMessageSetProtocolMode()
611 int protocolMode = msg.arg2; in handleMessageOnGetProtocolMode() local
617 broadcastProtocolMode(device, protocolMode); in handleMessageOnGetProtocolMode()
931 BluetoothDevice device, int protocolMode, AttributionSource source) { in setProtocolMode() argument
936 return service.setProtocolMode(device, protocolMode); in setProtocolMode()
1182 boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode() argument
1190 msg.arg1 = protocolMode; in setProtocolMode()
1430 private void broadcastProtocolMode(BluetoothDevice device, int protocolMode) { in broadcastProtocolMode() argument
[all …]
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hid_host.cpp334 bthh_protocol_mode_t protocolMode = BTHH_UNSUPPORTED_MODE; in getProtocolModeNative() local
337 (bthh_protocol_mode_t)protocolMode); in getProtocolModeNative()
372 jint transport, jint protocolMode) { in setProtocolModeNative() argument
375 log::debug("protocolMode = {}", protocolMode); in setProtocolModeNative()
384 switch (protocolMode) { in setProtocolModeNative()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hh.h213 bthh_protocol_mode_t protocolMode);
218 bthh_protocol_mode_t protocolMode);
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHidHost.aidl52 …boolean setProtocolMode(in BluetoothDevice device, int protocolMode, in AttributionSource attribut… in setProtocolMode() argument
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hh.cc1891 bthh_protocol_mode_t protocolMode) { in set_protocol() argument
1894 uint8_t proto_mode = protocolMode; in set_protocol()
1901 log::verbose("mode: {}", protocolMode); in set_protocol()
1909 } else if (protocolMode != BTA_HH_PROTO_RPT_MODE && in set_protocol()
1910 protocolMode != BTA_HH_PROTO_BOOT_MODE) { in set_protocol()
1914 BTA_HhSetProtoMode(p_dev->dev_handle, protocolMode); in set_protocol()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHidHost.java667 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode() argument
675 return service.setProtocolMode(device, protocolMode, mAttributionSource); in setProtocolMode()