Searched refs:protocolMode (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 210 int protocolMode = msg.arg1; 211 broadcastProtocolMode(device, protocolMode); 225 byte protocolMode = (byte) msg.arg1; 226 log("sending set protocol mode(" + protocolMode + ")"); 227 if(!setProtocolModeNative(Utils.getByteAddress(device), protocolMode)) { 372 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode() argument 375 return service.setProtocolMode(device, protocolMode); in setProtocolMode() 490 boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode() argument 499 msg.arg1 = protocolMode; in setProtocolMode() 629 private void broadcastProtocolMode(BluetoothDevice device, int protocolMode) { in broadcastProtocolMode() argument [all …]
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_hid.cpp | 344 bthh_protocol_mode_t protocolMode; in getProtocolModeNative() local 353 …sBluetoothHidInterface->get_protocol((bt_bdaddr_t *) addr, (bthh_protocol_mode_t) protocolMode)) != in getProtocolModeNative() 385 …boolean setProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address, jint protocolMode) { in setProtocolModeNative() argument 391 ALOGD("%s: protocolMode = %d", __FUNCTION__, protocolMode); in setProtocolModeNative() 400 switch(protocolMode){ in setProtocolModeNative()
|