Searched refs:mActiveService (Results 1 – 5 of 5) sorted by relevance
81 Messenger mActiveService; field in HostNfcFEmulationManager183 sendDataToServiceLocked(mActiveService, data); in onHostEmulationData()193 mActiveService = null; in onHostEmulationDeactivated()208 mActiveService = null; in onNfcDisabled()219 mActiveService = null; in onUserSwitched()232 (mActiveService != null ? mActiveService.toString() : "null")); in sendDataToServiceLocked()234 if (service != mActiveService) { in sendDataToServiceLocked()236 mActiveService = service; in sendDataToServiceLocked()247 mActiveService.send(msg); in sendDataToServiceLocked()255 if (mActiveService == null) return; in sendDeactivateToActiveServiceLocked()[all …]
153 Messenger mActiveService; field in HostEmulationManager805 } else if (mActiveService != null) { in onHostEmulationData()807 sendDataToServiceLocked(mActiveService, data); in onHostEmulationData()859 if (mState != STATE_XFER || mActiveService == null) { in onOffHostAidSelected()931 if (service != mActiveService) { in sendDataToServiceLocked()933 mActiveService = service; in sendDataToServiceLocked()948 mActiveService.send(msg); in sendDataToServiceLocked()956 if (!Objects.equals(service, mActiveService)) { in sendPollingFramesToServiceLocked()958 mActiveService = service; in sendPollingFramesToServiceLocked()977 mActiveService.send(msg); in sendPollingFramesToServiceLocked()[all …]
138 manager.mActiveService = mockActiveService; in testOnEnabledForegroundNfcFServiceChangedWithNullService()235 manager.mActiveService = mockActiveService; in testOnHostEmulationDataWithXFERState_SendRegularPacketData()259 manager.mActiveService = mockActiveService; in testOnHostEmulationDeactivated()264 assertThat(manager.mActiveService).isNull(); in testOnHostEmulationDeactivated()273 manager.mActiveService = mockActiveService; in testOnNfcDisabled()279 assertThat(manager.mActiveService).isNull(); in testOnNfcDisabled()288 manager.mActiveService = mockActiveService; in testOnUserSwitched()294 assertThat(manager.mActiveService).isNull(); in testOnUserSwitched()317 manager.mActiveService = mockActiveService; in testSendDataToServiceLockedWithExistingService()342 manager.mActiveService = mockActiveService; in testDeactivateToActiveServiceLockedWithNonNullActiveService()[all …]
301 mHostEmulationManager.mActiveService = mMessanger; in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()717 mHostEmulationManager.mActiveService = mMessanger; in testOnHostEmulationData_stateW4Select_noDefaultService_matchingActiveService()825 mHostEmulationManager.mActiveService = mMessanger; in testOnHostEmulationData_stateXfer_nullAid_activeService()861 mHostEmulationManager.mActiveService = mMessanger; in testOnHostEmulationData_stateXfer_selectAid_activeService()941 mHostEmulationManager.mActiveService = mMessanger; in testOnHostEmulationDeactivated_activeService_enableObserveModeAfterTransaction()950 Assert.assertNull(mHostEmulationManager.mActiveService); in testOnHostEmulationDeactivated_activeService_enableObserveModeAfterTransaction()980 mHostEmulationManager.mActiveService = null; in testOnHostEmulationDeactivated_noActiveService()987 Assert.assertNull(mHostEmulationManager.mActiveService); in testOnHostEmulationDeactivated_noActiveService()1007 mHostEmulationManager.mActiveService = null; in testOnOffHostAidSelected_noActiveService_stateXfer()1013 Assert.assertNull(mHostEmulationManager.mActiveService); in testOnOffHostAidSelected_noActiveService_stateXfer()[all …]
240 IBinder mActiveService = mHostEmulation.getMessenger(); in testOnPollingLoopDetectedServiceBound() local241 Assert.assertNotNull(mActiveService); in testOnPollingLoopDetectedServiceBound()242 Assert.assertEquals(iBinder, mActiveService); in testOnPollingLoopDetectedServiceBound()