Daniel Tomas | 9024564 | 2010-11-17 10:07:52 +0100 | [diff] [blame] | 1 | /* |
Nick Pelly | 367f41f | 2011-03-08 11:43:30 -0800 | [diff] [blame] | 2 | * Copyright (C) 2011 The Android Open Source Project |
Daniel Tomas | 9024564 | 2010-11-17 10:07:52 +0100 | [diff] [blame] | 3 | * |
| 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 | |
| 17 | package android.nfc; |
| 18 | |
Nick Pelly | 367f41f | 2011-03-08 11:43:30 -0800 | [diff] [blame] | 19 | import android.os.Bundle; |
| 20 | |
Jason parks | ab8f48c | 2011-03-31 13:15:18 -0500 | [diff] [blame] | 21 | |
Daniel Tomas | 9024564 | 2010-11-17 10:07:52 +0100 | [diff] [blame] | 22 | /** |
| 23 | * {@hide} |
| 24 | */ |
Nick Pelly | 367f41f | 2011-03-08 11:43:30 -0800 | [diff] [blame] | 25 | interface INfcAdapterExtras { |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 26 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 27 | Bundle open(in String pkg, IBinder b); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 28 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 29 | Bundle close(in String pkg, IBinder b); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 30 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 31 | Bundle transceive(in String pkg, in byte[] data_in); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 32 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 33 | int getCardEmulationRoute(in String pkg); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 34 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 35 | void setCardEmulationRoute(in String pkg, int route); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 36 | @UnsupportedAppUsage |
Jeff Hamilton | bb951c8 | 2011-11-08 16:55:13 -0600 | [diff] [blame] | 37 | void authenticate(in String pkg, in byte[] token); |
Andrei Onea | 9a8b6bf | 2019-02-25 13:25:32 +0000 | [diff] [blame] | 38 | @UnsupportedAppUsage |
mike wakerly | f74df47 | 2012-10-03 13:45:00 -0700 | [diff] [blame] | 39 | String getDriverName(in String pkg); |
Nick Pelly | 367f41f | 2011-03-08 11:43:30 -0800 | [diff] [blame] | 40 | } |