Searched refs:oldProvider (Results 1 – 2 of 2) sorted by relevance
138 AbstractLocationProvider oldProvider = mProvider; in setProviderLocked() local141 if (oldProvider != null) { in setProviderLocked()144 oldProvider.getController().setListener(null); in setProviderLocked()145 if (oldProvider.getController().isStarted()) { in setProviderLocked()146 oldProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in setProviderLocked()147 oldProvider.getController().stop(); in setProviderLocked()
2997 MediaRoute2Provider oldProvider = in onSessionCreatedOnHandler() local2999 if (oldProvider != null) { in onSessionCreatedOnHandler()3000 oldProvider.prepareReleaseSession(matchingRequest.mOldSession.getId()); in onSessionCreatedOnHandler()