blob: dd260bc6f2f6508c76f65c7ae57c8fa76c105996 [file] [log] [blame]
Daniel Tomas90245642010-11-17 10:07:52 +01001/*
Nick Pelly367f41f2011-03-08 11:43:30 -08002 * Copyright (C) 2011 The Android Open Source Project
Daniel Tomas90245642010-11-17 10:07:52 +01003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.nfc;
18
Nick Pelly367f41f2011-03-08 11:43:30 -080019import android.os.Bundle;
20
Jason parksab8f48c2011-03-31 13:15:18 -050021
Daniel Tomas90245642010-11-17 10:07:52 +010022/**
23 * {@hide}
24 */
Nick Pelly367f41f2011-03-08 11:43:30 -080025interface INfcAdapterExtras {
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000026 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060027 Bundle open(in String pkg, IBinder b);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000028 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060029 Bundle close(in String pkg, IBinder b);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000030 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060031 Bundle transceive(in String pkg, in byte[] data_in);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000032 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060033 int getCardEmulationRoute(in String pkg);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000034 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060035 void setCardEmulationRoute(in String pkg, int route);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000036 @UnsupportedAppUsage
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060037 void authenticate(in String pkg, in byte[] token);
Andrei Onea9a8b6bf2019-02-25 13:25:32 +000038 @UnsupportedAppUsage
mike wakerlyf74df472012-10-03 13:45:00 -070039 String getDriverName(in String pkg);
Nick Pelly367f41f2011-03-08 11:43:30 -080040}