Home | History | Annotate | Download | only in test
      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 {
     20   void OnAdvertiseData(in AdvertiseData advertise_data);
     21   void OnAdvertiseSettings(in AdvertiseSettings advertise_settings);
     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);
     26   void OnDescripor(in BluetoothGattDescriptor descriptor);
     27   void OnCharacteristic(in BluetoothGattCharacteristic characteristic);
     28   void OnIncludedService(in BluetoothGattIncludedService service);
     29   void OnService(in BluetoothGattService service);
     30 }
     31