• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
10 import android.bluetooth.BluetoothGattCharacteristic;
11 import android.bluetooth.BluetoothGattDescriptor;
12 import android.bluetooth.BluetoothGattIncludedService;
13 import android.bluetooth.BluetoothGattService;
14 import android.bluetooth.ScanFilter;
15 import android.bluetooth.ScanResult;
16 import android.bluetooth.ScanSettings;
17 import android.bluetooth.UUID;
18 
19 interface ParcelableTest {
OnAdvertiseData(in AdvertiseData advertise_data)20   void OnAdvertiseData(in AdvertiseData advertise_data);
OnAdvertiseSettings(in AdvertiseSettings advertise_settings)21   void OnAdvertiseSettings(in AdvertiseSettings advertise_settings);
OnScanFilter(in ScanFilter scan_filter)22   void OnScanFilter(in ScanFilter scan_filter);
OnScanResult(in ScanResult scan_result)23   void OnScanResult(in ScanResult scan_result);
OnScanSettings(in ScanSettings scan_settings)24   void OnScanSettings(in ScanSettings scan_settings);
OnUUID(in UUID uuid)25   void OnUUID(in UUID uuid);
OnDescripor(in BluetoothGattDescriptor descriptor)26   void OnDescripor(in BluetoothGattDescriptor descriptor);
OnCharacteristic(in BluetoothGattCharacteristic characteristic)27   void OnCharacteristic(in BluetoothGattCharacteristic characteristic);
OnIncludedService(in BluetoothGattIncludedService service)28   void OnIncludedService(in BluetoothGattIncludedService service);
OnService(in BluetoothGattService service)29   void OnService(in BluetoothGattService service);
30 }
31