• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2021 The Android Open Source Project
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //      http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 package android.nearby.aidl;
16 
17 import android.nearby.aidl.FastPairAntispoofKeyDeviceMetadataRequestParcel;
18 import android.nearby.aidl.IFastPairAntispoofKeyDeviceMetadataCallback;
19 import android.nearby.aidl.FastPairAccountDevicesMetadataRequestParcel;
20 import android.nearby.aidl.IFastPairAccountDevicesMetadataCallback;
21 import android.nearby.aidl.FastPairEligibleAccountsRequestParcel;
22 import android.nearby.aidl.IFastPairEligibleAccountsCallback;
23 import android.nearby.aidl.FastPairManageAccountRequestParcel;
24 import android.nearby.aidl.IFastPairManageAccountCallback;
25 import android.nearby.aidl.FastPairManageAccountDeviceRequestParcel;
26 import android.nearby.aidl.IFastPairManageAccountDeviceCallback;
27 
28 /**
29  * Interface for communicating with the fast pair providers.
30  *
31  * {@hide}
32  */
33 oneway interface IFastPairDataProvider {
loadFastPairAntispoofKeyDeviceMetadata(in FastPairAntispoofKeyDeviceMetadataRequestParcel request, in IFastPairAntispoofKeyDeviceMetadataCallback callback)34     void loadFastPairAntispoofKeyDeviceMetadata(in FastPairAntispoofKeyDeviceMetadataRequestParcel request,
35         in IFastPairAntispoofKeyDeviceMetadataCallback callback);
loadFastPairAccountDevicesMetadata(in FastPairAccountDevicesMetadataRequestParcel request, in IFastPairAccountDevicesMetadataCallback callback)36     void loadFastPairAccountDevicesMetadata(in FastPairAccountDevicesMetadataRequestParcel request,
37         in IFastPairAccountDevicesMetadataCallback callback);
loadFastPairEligibleAccounts(in FastPairEligibleAccountsRequestParcel request, in IFastPairEligibleAccountsCallback callback)38     void loadFastPairEligibleAccounts(in FastPairEligibleAccountsRequestParcel request,
39         in IFastPairEligibleAccountsCallback callback);
manageFastPairAccount(in FastPairManageAccountRequestParcel request, in IFastPairManageAccountCallback callback)40     void manageFastPairAccount(in FastPairManageAccountRequestParcel request,
41         in IFastPairManageAccountCallback callback);
manageFastPairAccountDevice(in FastPairManageAccountDeviceRequestParcel request, in IFastPairManageAccountDeviceCallback callback)42     void manageFastPairAccountDevice(in FastPairManageAccountDeviceRequestParcel request,
43         in IFastPairManageAccountDeviceCallback callback);
44 }
45