Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java97 private static final String MOCK_AID = "A000000476416E64726F6964484340"; field in HostEmulationManagerTest
516 byte[] mockAidData = createSelectAidData(MOCK_AID); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
518 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(null); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
522 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
531 byte[] mockAidData = createSelectAidData(MOCK_AID); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
535 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
539 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
548 byte[] mockAidData = createSelectAidData(MOCK_AID); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
560 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
568 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
[all …]