| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_android.h" | 5 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_android.h" |
| 6 | 6 |
| 7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "jni/ChromeBluetoothRemoteGattCharacteristic_jni.h" | 10 #include "jni/ChromeBluetoothRemoteGattCharacteristic_jni.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 BluetoothGattService* BluetoothRemoteGattCharacteristicAndroid::GetService() | 61 BluetoothGattService* BluetoothRemoteGattCharacteristicAndroid::GetService() |
| 62 const { | 62 const { |
| 63 NOTIMPLEMENTED(); | 63 NOTIMPLEMENTED(); |
| 64 return nullptr; | 64 return nullptr; |
| 65 } | 65 } |
| 66 | 66 |
| 67 BluetoothGattCharacteristic::Properties | 67 BluetoothGattCharacteristic::Properties |
| 68 BluetoothRemoteGattCharacteristicAndroid::GetProperties() const { | 68 BluetoothRemoteGattCharacteristicAndroid::GetProperties() const { |
| 69 NOTIMPLEMENTED(); | 69 return Java_ChromeBluetoothRemoteGattCharacteristic_getProperties( |
| 70 return 0; | 70 AttachCurrentThread(), j_characteristic_.obj()); |
| 71 } | 71 } |
| 72 | 72 |
| 73 BluetoothGattCharacteristic::Permissions | 73 BluetoothGattCharacteristic::Permissions |
| 74 BluetoothRemoteGattCharacteristicAndroid::GetPermissions() const { | 74 BluetoothRemoteGattCharacteristicAndroid::GetPermissions() const { |
| 75 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
| 76 return 0; | 76 return 0; |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool BluetoothRemoteGattCharacteristicAndroid::IsNotifying() const { | 79 bool BluetoothRemoteGattCharacteristicAndroid::IsNotifying() const { |
| 80 NOTIMPLEMENTED(); | 80 NOTIMPLEMENTED(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 const base::Closure& callback, | 123 const base::Closure& callback, |
| 124 const ErrorCallback& error_callback) { | 124 const ErrorCallback& error_callback) { |
| 125 NOTIMPLEMENTED(); | 125 NOTIMPLEMENTED(); |
| 126 } | 126 } |
| 127 | 127 |
| 128 BluetoothRemoteGattCharacteristicAndroid:: | 128 BluetoothRemoteGattCharacteristicAndroid:: |
| 129 BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId) | 129 BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId) |
| 130 : instanceId_(instanceId) {} | 130 : instanceId_(instanceId) {} |
| 131 | 131 |
| 132 } // namespace device | 132 } // namespace device |
| OLD | NEW |