/packages/apps/Nfc/src/com/android/nfc/ |
NfcDispatcher.java | 24 import com.android.nfc.handover.HandoverDataParser; 25 import com.android.nfc.handover.PeripheralHandoverService; 276 if (DBG) Log.i(TAG, "matched BT HANDOVER"); 590 HandoverDataParser.BluetoothHandoverData handover = mHandoverDataParser.parseBluetooth(m); local 591 if (handover == null || !handover.valid) return false; 600 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_DEVICE, handover.device); 601 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_NAME, handover.name); 602 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_TRANSPORT, handover.transport); 603 if (handover.oobData != null) [all...] |
P2pLinkManager.java | 28 import com.android.nfc.handover.HandoverClient; 29 import com.android.nfc.handover.HandoverDataParser; 30 import com.android.nfc.handover.HandoverServer; 113 * Called to indicate the remote device does not support connection handover 118 * Called to indicate the device is busy with another handover transfer 759 // Remote device may not support handover service, 811 if (DBG) Log.d(TAG, "Trying handover request"); [all...] |
NfcService.java | 81 import com.android.nfc.handover.HandoverDataParser; [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
ConfirmConnectActivity.java | 17 package com.android.nfc.handover;
|
HandoverClient.java | 16 package com.android.nfc.handover; 77 throw new IOException("Could not connect to handover service"); 123 // Now, try to read back the handover response 142 if (DBG) Log.d(TAG, "couldn't connect to handover service");
|
HandoverServer.java | 16 package com.android.nfc.handover; 39 static final String HANDOVER_SERVICE_NAME = "urn:nfc:sn:handover"; 196 // 1) Try to parse a handover request message from bytes received so far 211 // 2) convert to handover response 215 Log.e(TAG, "Failed to create handover response"); 219 // 3) send handover response 235 // We can process another handover transfer
|
PeripheralHandoverService.java | 17 package com.android.nfc.handover; 115 if (DBG) Log.e(TAG, "Intent is null, can't do peripheral handover."); 151 Log.d(TAG, "Ignoring pairing request, existing handover in progress.");
|
BluetoothPeripheralHandover.java | 17 package com.android.nfc.handover; 57 static final String ACTION_ALLOW_CONNECT = "com.android.nfc.handover.action.ALLOW_CONNECT"; 58 static final String ACTION_DENY_CONNECT = "com.android.nfc.handover.action.DENY_CONNECT"; 513 Log.i(TAG, "Timeout completing BT handover");
|
HandoverDataParser.java | 17 package com.android.nfc.handover; 39 * Manages handover of NFC to other technologies. 166 payload.put((byte)0x12); // connection handover v1.2 186 payload.put((byte) 0x12); // connection handover v1.2 197 * Returns null if message is not a Handover Request, 215 // we have a handover request, look for BT OOB record 249 // return BT OOB record so they can perform handover 331 // Check for Handover Select, followed by a BT OOB record
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamManager.java | 18 import com.android.nfc.handover.HandoverDataParser;
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wps-nfc.py | 19 import nfc.handover namespace 138 class HandoverServer(nfc.handover.HandoverServer): 146 # due to new WSC handover format 148 summary("received handover request {}".format(request.type)) 151 summary("not a handover request") 159 summary("send handover response {}".format(response.type)) 166 print "Parsed handover request: " + request.pretty() 178 summary("Could not get handover select carrier record from wpa_supplicant") 180 print "Handover select carrier record from wpa_supplicant:" 184 success_report("Handover reported successfully (responder)" [all...] |
p2p-nfc.py | 19 import nfc.handover namespace 161 summary("Could not get handover request carrier record from wpa_supplicant") 163 print "Handover request carrier record from wpa_supplicant: " + data.encode("hex") 169 print "Handover request (pre-WPS):" 181 print "Handover request:" 188 client = nfc.handover.HandoverClient(llc) 190 summary("Trying to initiate NFC connection handover") 192 summary("Connected for handover") 194 summary("Handover connection refused") 202 summary("Sending handover request" [all...] |
/external/wpa_supplicant_8/hostapd/ |
wps-ap-nfc.py | 17 import nfc.handover namespace 110 class HandoverServer(nfc.handover.HandoverServer): 117 # due to new WSC handover format 119 summary("received handover request {}".format(request.type)) 122 summary("not a handover request") 130 summary("send handover response {}".format(response.type)) 136 print "Parsed handover request: " + request.pretty() 149 summary("Could not get handover select carrier record from hostapd") 151 print "Handover select carrier record from hostapd:" 154 success_report("Handover reported successfully" [all...] |