Searched refs:serviceHandle (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/nfc/java/android/nfc/tech/ |
D | Ndef.java | 274 int serviceHandle = mTag.getServiceHandle(); in getNdefMessage() local 275 if (tagService.isNdef(serviceHandle)) { in getNdefMessage() 276 NdefMessage msg = tagService.ndefRead(serviceHandle); in getNdefMessage() 277 if (msg == null && !tagService.isPresent(serviceHandle)) { in getNdefMessage() 281 } else if (!tagService.isPresent(serviceHandle)) { in getNdefMessage() 315 int serviceHandle = mTag.getServiceHandle(); in writeNdefMessage() local 316 if (tagService.isNdef(serviceHandle)) { in writeNdefMessage() 317 int errorCode = tagService.ndefWrite(serviceHandle, msg); in writeNdefMessage()
|
D | NdefFormatable.java | 125 int serviceHandle = mTag.getServiceHandle(); in format() local 130 int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); in format() 143 if (!tagService.isNdef(serviceHandle)) { in format() 149 errorCode = tagService.ndefWrite(serviceHandle, firstMessage); in format() 165 errorCode = tagService.ndefMakeReadOnly(serviceHandle); in format()
|
/frameworks/base/nfc/java/android/nfc/ |
D | Tag.java | 130 public Tag(byte[] id, int[] techList, Bundle[] techListExtras, int serviceHandle, in Tag() argument 140 mServiceHandle = serviceHandle; in Tag() 459 int serviceHandle = in.readInt(); 469 return new Tag(id, techList, techExtras, serviceHandle, cookie, tagService);
|