Searched refs:serviceHandle (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/nfc/tech/ |
D | Ndef.java | 273 int serviceHandle = mTag.getServiceHandle(); in getNdefMessage() local 274 if (tagService.isNdef(serviceHandle)) { in getNdefMessage() 275 NdefMessage msg = tagService.ndefRead(serviceHandle); in getNdefMessage() 276 if (msg == null && !tagService.isPresent(serviceHandle)) { in getNdefMessage() 280 } else if (!tagService.isPresent(serviceHandle)) { in getNdefMessage() 313 int serviceHandle = mTag.getServiceHandle(); in writeNdefMessage() local 314 if (tagService.isNdef(serviceHandle)) { in writeNdefMessage() 315 int errorCode = tagService.ndefWrite(serviceHandle, msg); in writeNdefMessage()
|
D | NdefFormatable.java | 124 int serviceHandle = mTag.getServiceHandle(); in format() local 126 int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); in format() 139 if (!tagService.isNdef(serviceHandle)) { in format() 145 errorCode = tagService.ndefWrite(serviceHandle, firstMessage); in format() 161 errorCode = tagService.ndefMakeReadOnly(serviceHandle); in format()
|
/frameworks/base/core/java/android/nfc/ |
D | Tag.java | 126 public Tag(byte[] id, int[] techList, Bundle[] techListExtras, int serviceHandle, in Tag() argument 136 mServiceHandle = serviceHandle; in Tag() 431 int serviceHandle = in.readInt(); 440 return new Tag(id, techList, techExtras, serviceHandle, tagService);
|