Jakub Pawlowski | 9bceebb | 2016-02-15 20:18:19 -0800 | [diff] [blame] | 1 | package test; |
| 2 | |
| 3 | /* This file is just a test to make sure all parcelables |
| 4 | * are correct. It will be removed once they're used in |
| 5 | * real AIDL files. |
| 6 | */ |
| 7 | |
| 8 | import android.bluetooth.AdvertiseData; |
| 9 | import android.bluetooth.AdvertiseSettings; |
Jakub Pawlowski | e39e5ae | 2016-05-24 12:42:45 -0700 | [diff] [blame] | 10 | import android.bluetooth.BluetoothGattCharacteristic; |
| 11 | import android.bluetooth.BluetoothGattDescriptor; |
| 12 | import android.bluetooth.BluetoothGattIncludedService; |
| 13 | import android.bluetooth.BluetoothGattService; |
Jakub Pawlowski | 9bceebb | 2016-02-15 20:18:19 -0800 | [diff] [blame] | 14 | import android.bluetooth.ScanFilter; |
| 15 | import android.bluetooth.ScanResult; |
| 16 | import android.bluetooth.ScanSettings; |
| 17 | import android.bluetooth.UUID; |
| 18 | |
| 19 | interface ParcelableTest { |
| 20 | void OnAdvertiseData(in AdvertiseData advertise_data); |
| 21 | void OnAdvertiseSettings(in AdvertiseSettings advertise_settings); |
Jakub Pawlowski | 9bceebb | 2016-02-15 20:18:19 -0800 | [diff] [blame] | 22 | void OnScanFilter(in ScanFilter scan_filter); |
| 23 | void OnScanResult(in ScanResult scan_result); |
| 24 | void OnScanSettings(in ScanSettings scan_settings); |
| 25 | void OnUUID(in UUID uuid); |
Jakub Pawlowski | e39e5ae | 2016-05-24 12:42:45 -0700 | [diff] [blame] | 26 | void OnDescripor(in BluetoothGattDescriptor descriptor); |
| 27 | void OnCharacteristic(in BluetoothGattCharacteristic characteristic); |
| 28 | void OnIncludedService(in BluetoothGattIncludedService service); |
| 29 | void OnService(in BluetoothGattService service); |
Marie Janssen | d19e078 | 2016-07-15 12:48:27 -0700 | [diff] [blame] | 30 | } |