19024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas/* 2367f41f8f61126c2ab34a34cc676756a9fc23ac2Nick Pelly * Copyright (C) 2011 The Android Open Source Project 39024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * 49024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * Licensed under the Apache License, Version 2.0 (the "License"); 59024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * you may not use this file except in compliance with the License. 69024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * You may obtain a copy of the License at 79024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * 89024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * http://www.apache.org/licenses/LICENSE-2.0 99024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * 109024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * Unless required by applicable law or agreed to in writing, software 119024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * distributed under the License is distributed on an "AS IS" BASIS, 129024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * See the License for the specific language governing permissions and 149024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * limitations under the License. 159024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas */ 169024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas 179024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomaspackage android.nfc; 189024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas 19367f41f8f61126c2ab34a34cc676756a9fc23ac2Nick Pellyimport android.os.Bundle; 20367f41f8f61126c2ab34a34cc676756a9fc23ac2Nick Pelly 21ab8f48c2ee524f67e5c3cab5846119e6c8a645b5Jason parks 229024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas/** 239024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas * {@hide} 249024564107b58955f7bd257cab6fc6dfcb2e5ec2Daniel Tomas */ 25367f41f8f61126c2ab34a34cc676756a9fc23ac2Nick Pellyinterface INfcAdapterExtras { 26bb951c893973691554f49d2e725985125f866b27Jeff Hamilton Bundle open(in String pkg, IBinder b); 27bb951c893973691554f49d2e725985125f866b27Jeff Hamilton Bundle close(in String pkg, IBinder b); 28bb951c893973691554f49d2e725985125f866b27Jeff Hamilton Bundle transceive(in String pkg, in byte[] data_in); 29bb951c893973691554f49d2e725985125f866b27Jeff Hamilton int getCardEmulationRoute(in String pkg); 30bb951c893973691554f49d2e725985125f866b27Jeff Hamilton void setCardEmulationRoute(in String pkg, int route); 31bb951c893973691554f49d2e725985125f866b27Jeff Hamilton void authenticate(in String pkg, in byte[] token); 32f74df47fc9aee3a274db006db5024892972a0c8amike wakerly String getDriverName(in String pkg); 33367f41f8f61126c2ab34a34cc676756a9fc23ac2Nick Pelly} 34