Home
last modified time | relevance | path

Searched refs:getConnectedTechnology (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Nfc/framework/tests/src/android/nfc/
DTagTest.java277 assertEquals(5, mTag.getConnectedTechnology()); in testSetConnectedTechnologySuccess()
286 assertEquals(5, mTag.getConnectedTechnology()); in testSetConnectedTechnology_FailureWhenAlreadySet()
291 int connectedTechnology = mTag.getConnectedTechnology(); in testGetConnectedTechnologyDefaultValue()
300 assertEquals(-1, mTag.getConnectedTechnology()); in testSetTechnologyDisconnected()
/packages/modules/Nfc/framework/java/android/nfc/tech/
DBasicTagTechnology.java50 if ((mTag.getConnectedTechnology() != mSelectedTechnology) || in checkConnected()
51 (mTag.getConnectedTechnology() == -1)) { in checkConnected()
/packages/modules/Nfc/NfcNci/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java511 public int getConnectedTechnology() { in getConnectedTechnology() method in NativeNfcTag
907 getConnectedTechnology(), in findAndReadNdef()
925 getConnectedTechnology(), in findAndReadNdef()
976 getConnectedTechnology(), in findNdef()
/packages/modules/Nfc/framework/java/android/nfc/
DTag.java323 if (getConnectedTechnology() != -1) { in rediscover()
496 public int getConnectedTechnology() { in getConnectedTechnology() method in Tag
/packages/modules/Nfc/framework/tests/src/android/nfc/tech/
DNfcBTest.java99 when(mMockTag.getConnectedTechnology()).thenReturn(TagTechnology.NFC_B); in testTransceive()
DNfcVTest.java99 when(mMockTag.getConnectedTechnology()).thenReturn(TagTechnology.NFC_V); in testTransceive()
DNfcATest.java95 when(mMockTag.getConnectedTechnology()).thenReturn(TagTechnology.NFC_A); in testTransceive()
DNfcFTest.java102 when(mMockTag.getConnectedTechnology()).thenReturn(TagTechnology.NFC_F); in testTransceive()
/packages/modules/Nfc/NfcNci/src/com/android/nfc/
DDeviceHost.java109 int getConnectedTechnology(); in getConnectedTechnology() method
DNfcService.java3859 if (data.length > getMaxTransceiveLength(tag.getConnectedTechnology())) { in transceive()
5072 if (tag.getConnectedTechnology() == TagTechnology.NFC_BARCODE) { in handleMessage()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/
DNfcServiceTest.java742 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testMSG_NDEF_TAG()
757 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testMsg_Ndef_Tag_Wlc_Enabled()
868 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testAllowOemOnTagDispatchCallback()
914 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testAllowOemOnNdefReadCallback()
1919 when(tagEndpoint.getConnectedTechnology()).thenReturn(Ndef.NDEF); in testTransceive()
2210 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testPollingDelay()
2226 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testOnTagDisconnected()
/packages/modules/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt514 Landroid/nfc/Tag;->getConnectedTechnology()I