Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManagerTest.java158 manager.mActiveServiceName = null; in testOnHostEmulationDataWithNullDataAndNoActiveService_ReturnsEarly()
170 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithDisabledResolvedServiceFromActiveService_ReturnsEarly()
183 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithEnabledResolvedServiceFromCache_BindToService()
200 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithValidExistingService_BindToService()
219 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithInvalidExistingService_WaitingForNewService()
232 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithXFERState_SendRegularPacketData()
246 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithW4ServiceState_DoNothing()
265 assertThat(manager.mActiveServiceName).isNull(); in testOnHostEmulationDeactivated()
280 assertThat(manager.mActiveServiceName).isNull(); in testOnNfcDisabled()
295 assertThat(manager.mActiveServiceName).isNull(); in testOnUserSwitched()
DHostEmulationManagerTest.java716 mHostEmulationManager.mActiveServiceName = WALLET_PAYMENT_SERVICE; in testOnHostEmulationData_stateW4Select_noDefaultService_matchingActiveService()
762 mHostEmulationManager.mActiveServiceName = WALLET_PAYMENT_SERVICE; in testOnHostEmulationData_stateW4Select_noDefaultService_noBoundActiveService()
824 mHostEmulationManager.mActiveServiceName = WALLET_PAYMENT_SERVICE; in testOnHostEmulationData_stateXfer_nullAid_activeService()
860 mHostEmulationManager.mActiveServiceName = WALLET_PAYMENT_SERVICE; in testOnHostEmulationData_stateXfer_selectAid_activeService()
901 mHostEmulationManager.mActiveServiceName = WALLET_PAYMENT_SERVICE; in testOnHostEmulationData_stateXfer_selectAid_noActiveService()
951 Assert.assertNull(mHostEmulationManager.mActiveServiceName); in testOnHostEmulationDeactivated_activeService_enableObserveModeAfterTransaction()
988 Assert.assertNull(mHostEmulationManager.mActiveServiceName); in testOnHostEmulationDeactivated_noActiveService()
1014 Assert.assertNull(mHostEmulationManager.mActiveServiceName); in testOnOffHostAidSelected_noActiveService_stateXfer()
1037 Assert.assertNull(mHostEmulationManager.mActiveServiceName); in testOnOffHostAidSelected_activeServiceBound_stateXfer()
1065 Assert.assertNull(mHostEmulationManager.mActiveServiceName); in testOnOffHostAidSelected_activeServiceBound_stateNonXfer()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManager.java82 ComponentName mActiveServiceName; field in HostNfcFEmulationManager
129 if (mActiveServiceName == null) { in onHostEmulationData()
132 resolvedServiceName = mActiveServiceName; in onHostEmulationData()
194 mActiveServiceName = null; in onHostEmulationDeactivated()
209 mActiveServiceName = null; in onNfcDisabled()
220 mActiveServiceName = null; in onUserSwitched()
237 mActiveServiceName = mServiceName; in sendDataToServiceLocked()
DHostEmulationManager.java154 ComponentName mActiveServiceName; field in HostEmulationManager
725 } else if (mActiveServiceName != null) { in onHostEmulationData()
727 if (mActiveServiceName.equals(serviceInfo.getComponent())) { in onHostEmulationData()
728 resolvedService = mActiveServiceName; in onHostEmulationData()
935 mActiveServiceName = mPaymentServiceName; in sendDataToServiceLocked()
938 mActiveServiceName = mServiceName; in sendDataToServiceLocked()
950 Log.e(TAG, "Remote service " + mActiveServiceName + " has died, dropping APDU", e); in sendDataToServiceLocked()
960 mActiveServiceName = mPaymentServiceName; in sendPollingFramesToServiceLocked()
963 mActiveServiceName = mServiceName; in sendPollingFramesToServiceLocked()
979 Log.e(TAG, "Remote service " + mActiveServiceName + " has died, dropping frames", e); in sendPollingFramesToServiceLocked()
[all …]