Loading android/app/src/com/android/bluetooth/hid/HidDeviceService.java +26 −3 Original line number Original line Diff line number Diff line Loading @@ -497,9 +497,32 @@ public class HidDeviceService extends ProfileService { mUserUid = callingUid; mUserUid = callingUid; mCallback = callback; mCallback = callback; return mHidDeviceNativeInterface.registerApp(sdp.name, sdp.description, sdp.provider, return mHidDeviceNativeInterface.registerApp( sdp.subclass, sdp.descriptors, inQos == null ? null : inQos.toArray(), sdp.getName(), outQos == null ? null : outQos.toArray()); sdp.getDescription(), sdp.getProvider(), sdp.getSubclass(), sdp.getDescriptors(), inQos == null ? null : new int[] { inQos.getServiceType(), inQos.getTokenRate(), inQos.getTokenBucketSize(), inQos.getPeakBandwidth(), inQos.getLatency(), inQos.getDelayVariation() }, outQos == null ? null : new int[] { outQos.getServiceType(), outQos.getTokenRate(), outQos.getTokenBucketSize(), outQos.getPeakBandwidth(), outQos.getLatency(), outQos.getDelayVariation() }); } } synchronized boolean unregisterApp() { synchronized boolean unregisterApp() { Loading Loading
android/app/src/com/android/bluetooth/hid/HidDeviceService.java +26 −3 Original line number Original line Diff line number Diff line Loading @@ -497,9 +497,32 @@ public class HidDeviceService extends ProfileService { mUserUid = callingUid; mUserUid = callingUid; mCallback = callback; mCallback = callback; return mHidDeviceNativeInterface.registerApp(sdp.name, sdp.description, sdp.provider, return mHidDeviceNativeInterface.registerApp( sdp.subclass, sdp.descriptors, inQos == null ? null : inQos.toArray(), sdp.getName(), outQos == null ? null : outQos.toArray()); sdp.getDescription(), sdp.getProvider(), sdp.getSubclass(), sdp.getDescriptors(), inQos == null ? null : new int[] { inQos.getServiceType(), inQos.getTokenRate(), inQos.getTokenBucketSize(), inQos.getPeakBandwidth(), inQos.getLatency(), inQos.getDelayVariation() }, outQos == null ? null : new int[] { outQos.getServiceType(), outQos.getTokenRate(), outQos.getTokenBucketSize(), outQos.getPeakBandwidth(), outQos.getLatency(), outQos.getDelayVariation() }); } } synchronized boolean unregisterApp() { synchronized boolean unregisterApp() { Loading