Lines Matching refs:adapter
76 private static void initService(NfcAdapter adapter) {
77 final INfcAdapterExtras service = adapter.getNfcAdapterExtrasInterface();
90 * @param adapter a {@link NfcAdapter}, must not be null
93 public static NfcAdapterExtras get(NfcAdapter adapter) {
94 Context context = adapter.getContext();
102 initService(adapter);
104 NfcAdapterExtras extras = sNfcExtras.get(adapter);
106 extras = new NfcAdapterExtras(adapter);
107 sNfcExtras.put(adapter, extras);
113 private NfcAdapterExtras(NfcAdapter adapter) {
114 mAdapter = adapter;
115 mPackageName = adapter.getContext().getPackageName();
239 * Returns the name of this adapter's driver.