Loading android/app/jni/com_android_bluetooth_gatt.cpp +0 −16 Original line number Original line Diff line number Diff line Loading @@ -1362,19 +1362,6 @@ static void gattClientScanFilterAddNative( address, addr_type, data, mask); address, addr_type, data, mask); } } static void gattClientScanFilterDeleteNative( JNIEnv* env, jobject object, jint client_if, jint filt_type, jint filt_index, jint company_id, jint company_id_mask, jlong uuid_lsb, jlong uuid_msb, jlong uuid_mask_lsb, jlong uuid_mask_msb, jstring name, jstring address, jbyte addr_type, jbyteArray data, jbyteArray mask) { if (!sGattIf) return; int action = 1; gattClientScanFilterAddRemoveNative( env, object, client_if, action, filt_type, filt_index, company_id, company_id_mask, uuid_lsb, uuid_msb, uuid_mask_lsb, uuid_mask_msb, name, address, addr_type, data, mask); } static void gattClientScanFilterClearNative(JNIEnv* env, jobject object, static void gattClientScanFilterClearNative(JNIEnv* env, jobject object, jint client_if, jint filt_index) { jint client_if, jint filt_index) { if (!sGattIf) return; if (!sGattIf) return; Loading Loading @@ -2120,9 +2107,6 @@ static JNINativeMethod sScanMethods[] = { {"gattClientScanFilterAddNative", {"gattClientScanFilterAddNative", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", (void*)gattClientScanFilterAddNative}, (void*)gattClientScanFilterAddNative}, {"gattClientScanFilterDeleteNative", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", (void*)gattClientScanFilterDeleteNative}, {"gattClientScanFilterClearNative", "(II)V", {"gattClientScanFilterClearNative", "(II)V", (void*)gattClientScanFilterClearNative}, (void*)gattClientScanFilterClearNative}, {"gattClientScanFilterEnableNative", "(IZ)V", {"gattClientScanFilterEnableNative", "(IZ)V", Loading android/app/src/com/android/bluetooth/gatt/ScanManager.java +0 −6 Original line number Original line Diff line number Diff line Loading @@ -1224,12 +1224,6 @@ public class ScanManager { long uuid_mask_lsb, long uuid_mask_msb, String name, long uuid_mask_lsb, long uuid_mask_msb, String name, String address, byte addr_type, byte[] data, byte[] mask); String address, byte addr_type, byte[] data, byte[] mask); private native void gattClientScanFilterDeleteNative(int client_if, int filter_type, int filter_index, int company_id, int company_id_mask, long uuid_lsb, long uuid_msb, long uuid_mask_lsb, long uuid_mask_msb, String name, String address, byte addr_type, byte[] data, byte[] mask); private native void gattClientScanFilterParamAddNative(FilterParams FiltValue); private native void gattClientScanFilterParamAddNative(FilterParams FiltValue); // Note this effectively remove scan filters for ALL clients. // Note this effectively remove scan filters for ALL clients. Loading Loading
android/app/jni/com_android_bluetooth_gatt.cpp +0 −16 Original line number Original line Diff line number Diff line Loading @@ -1362,19 +1362,6 @@ static void gattClientScanFilterAddNative( address, addr_type, data, mask); address, addr_type, data, mask); } } static void gattClientScanFilterDeleteNative( JNIEnv* env, jobject object, jint client_if, jint filt_type, jint filt_index, jint company_id, jint company_id_mask, jlong uuid_lsb, jlong uuid_msb, jlong uuid_mask_lsb, jlong uuid_mask_msb, jstring name, jstring address, jbyte addr_type, jbyteArray data, jbyteArray mask) { if (!sGattIf) return; int action = 1; gattClientScanFilterAddRemoveNative( env, object, client_if, action, filt_type, filt_index, company_id, company_id_mask, uuid_lsb, uuid_msb, uuid_mask_lsb, uuid_mask_msb, name, address, addr_type, data, mask); } static void gattClientScanFilterClearNative(JNIEnv* env, jobject object, static void gattClientScanFilterClearNative(JNIEnv* env, jobject object, jint client_if, jint filt_index) { jint client_if, jint filt_index) { if (!sGattIf) return; if (!sGattIf) return; Loading Loading @@ -2120,9 +2107,6 @@ static JNINativeMethod sScanMethods[] = { {"gattClientScanFilterAddNative", {"gattClientScanFilterAddNative", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", (void*)gattClientScanFilterAddNative}, (void*)gattClientScanFilterAddNative}, {"gattClientScanFilterDeleteNative", "(IIIIIJJJJLjava/lang/String;Ljava/lang/String;B[B[B)V", (void*)gattClientScanFilterDeleteNative}, {"gattClientScanFilterClearNative", "(II)V", {"gattClientScanFilterClearNative", "(II)V", (void*)gattClientScanFilterClearNative}, (void*)gattClientScanFilterClearNative}, {"gattClientScanFilterEnableNative", "(IZ)V", {"gattClientScanFilterEnableNative", "(IZ)V", Loading
android/app/src/com/android/bluetooth/gatt/ScanManager.java +0 −6 Original line number Original line Diff line number Diff line Loading @@ -1224,12 +1224,6 @@ public class ScanManager { long uuid_mask_lsb, long uuid_mask_msb, String name, long uuid_mask_lsb, long uuid_mask_msb, String name, String address, byte addr_type, byte[] data, byte[] mask); String address, byte addr_type, byte[] data, byte[] mask); private native void gattClientScanFilterDeleteNative(int client_if, int filter_type, int filter_index, int company_id, int company_id_mask, long uuid_lsb, long uuid_msb, long uuid_mask_lsb, long uuid_mask_msb, String name, String address, byte addr_type, byte[] data, byte[] mask); private native void gattClientScanFilterParamAddNative(FilterParams FiltValue); private native void gattClientScanFilterParamAddNative(FilterParams FiltValue); // Note this effectively remove scan filters for ALL clients. // Note this effectively remove scan filters for ALL clients. Loading