Searched refs:tagEndpoint (Results 1 – 2 of 2) sorted by relevance
741 DeviceHost.TagEndpoint tagEndpoint = mock(DeviceHost.TagEndpoint.class); in testMSG_NDEF_TAG() local742 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testMSG_NDEF_TAG()744 when(tagEndpoint.findAndReadNdef()).thenReturn(ndefMessage); in testMSG_NDEF_TAG()745 msg.obj = tagEndpoint; in testMSG_NDEF_TAG()747 verify(tagEndpoint, atLeastOnce()).startPresenceChecking(anyInt(), any()); in testMSG_NDEF_TAG()756 DeviceHost.TagEndpoint tagEndpoint = mock(DeviceHost.TagEndpoint.class); in testMsg_Ndef_Tag_Wlc_Enabled() local757 when(tagEndpoint.getConnectedTechnology()).thenReturn(TagTechnology.NDEF); in testMsg_Ndef_Tag_Wlc_Enabled()758 when(tagEndpoint.getUid()).thenReturn(NfcService in testMsg_Ndef_Tag_Wlc_Enabled()760 when(tagEndpoint.getTechList()).thenReturn(new int[]{Ndef.NDEF}); in testMsg_Ndef_Tag_Wlc_Enabled()761 when(tagEndpoint.getTechExtras()).thenReturn(new Bundle[]{}); in testMsg_Ndef_Tag_Wlc_Enabled()[all …]
5632 private void dispatchTagEndpoint(TagEndpoint tagEndpoint, ReaderModeParams readerParams) { in dispatchTagEndpoint() argument5641 Tag tag = new Tag(tagEndpoint.getUid(), tagEndpoint.getTechList(), in dispatchTagEndpoint()5642 tagEndpoint.getTechExtras(), tagEndpoint.getHandle(), in dispatchTagEndpoint()5644 registerTagObject(tagEndpoint); in dispatchTagEndpoint()5679 unregisterObject(tagEndpoint.getHandle()); in dispatchTagEndpoint()5682 tagEndpoint.stopPresenceChecking(); in dispatchTagEndpoint()