Searched refs:mForegroundComponent (Results 1 – 2 of 2) sorted by relevance
50 ComponentName mForegroundComponent = null; // The computed enabled foreground component field in EnabledNfcFServices90 (mForegroundComponent == null || in computeEnabledForegroundService()91 !mForegroundRequested.equals(mForegroundComponent))) { in computeEnabledForegroundService()92 mForegroundComponent = mForegroundRequested; in computeEnabledForegroundService()94 } else if (mForegroundRequested == null && mForegroundComponent != null) { in computeEnabledForegroundService()95 mForegroundComponent = mForegroundRequested; in computeEnabledForegroundService()111 if (mForegroundComponent != null) { in onServicesUpdated()218 mForegroundComponent = null; in onNfcDisabled()228 mForegroundComponent = null; in onUserSwitched()250 if (mForegroundComponent != null) { in dumpDebug()[all …]
164 ComponentName mForegroundComponent = mock(ComponentName.class); in testDumpDebug() local169 fieldForegroundComp.set(mEnabledNfcFServices, mForegroundComponent); in testDumpDebug()186 ComponentName mForegroundComponent = mock(ComponentName.class); in testUnRegisterForegroundService() local196 fieldForegroundComp.set(mEnabledNfcFServices, mForegroundComponent); in testUnRegisterForegroundService()215 ComponentName mForegroundComponent = mock(ComponentName.class); in testUnregisteredEnabledForegroundService() local225 fieldForegroundComp.set(mEnabledNfcFServices, mForegroundComponent); in testUnregisteredEnabledForegroundService()251 ComponentName mForegroundComponent = mock(ComponentName.class); in testOnServiceUpdate() local257 fieldForegroundComp.set(mEnabledNfcFServices, mForegroundComponent); in testOnServiceUpdate()