Lines Matching refs:transport
1032 GetCurrentLocationTransport transport = new GetCurrentLocationTransport(executor, consumer, in getCurrentLocation() local
1038 locationRequest, transport, mContext.getPackageName(), in getCurrentLocation()
1585 LocationListenerTransport transport = reference != null ? reference.get() : null; in requestLocationUpdates() local
1586 if (transport == null) { in requestLocationUpdates()
1587 transport = new LocationListenerTransport(listener, executor); in requestLocationUpdates()
1589 Preconditions.checkState(transport.isRegistered()); in requestLocationUpdates()
1590 transport.setExecutor(executor); in requestLocationUpdates()
1593 mService.registerLocationListener(provider, locationRequest, transport, in requestLocationUpdates()
1597 sLocationListeners.put(listener, new WeakReference<>(transport)); in requestLocationUpdates()
1705 LocationListenerTransport transport = ref != null ? ref.get() : null; in requestFlush() local
1707 Preconditions.checkArgument(transport != null, in requestFlush()
1711 mService.requestListenerFlush(provider, transport, requestCode); in requestFlush()
1765 LocationListenerTransport transport = ref != null ? ref.get() : null; in removeUpdates() local
1766 if (transport != null) { in removeUpdates()
1767 transport.unregister(); in removeUpdates()
1768 mService.unregisterLocationListener(transport); in removeUpdates()
3099 protected void registerTransport(GnssStatusTransport transport) in registerTransport() argument
3101 getService().registerGnssStatusCallback(transport, transport.getPackage(), in registerTransport()
3102 transport.getAttributionTag(), in registerTransport()
3103 AppOpsManager.toReceiverId(transport.getListener())); in registerTransport()
3107 protected void unregisterTransport(GnssStatusTransport transport) in unregisterTransport() argument
3109 getService().unregisterGnssStatusCallback(transport); in unregisterTransport()
3121 protected void registerTransport(GnssNmeaTransport transport) in registerTransport() argument
3123 getService().registerGnssNmeaCallback(transport, transport.getPackage(), in registerTransport()
3124 transport.getAttributionTag(), in registerTransport()
3125 AppOpsManager.toReceiverId(transport.getListener())); in registerTransport()
3129 protected void unregisterTransport(GnssNmeaTransport transport) in unregisterTransport() argument
3131 getService().unregisterGnssNmeaCallback(transport); in unregisterTransport()
3143 protected void registerTransport(GnssMeasurementsTransport transport) in registerTransport() argument
3145 getService().addGnssMeasurementsListener(transport.getRequest(), transport, in registerTransport() local
3146 transport.getPackage(), transport.getAttributionTag(), in registerTransport()
3147 AppOpsManager.toReceiverId(transport.getListener())); in registerTransport()
3151 protected void unregisterTransport(GnssMeasurementsTransport transport) in unregisterTransport() argument
3153 getService().removeGnssMeasurementsListener(transport); in unregisterTransport()
3165 protected void registerTransport(GnssAntennaInfoTransport transport) in registerTransport() argument
3167 getService().addGnssAntennaInfoListener(transport, transport.getPackage(), in registerTransport()
3168 transport.getAttributionTag(), in registerTransport()
3169 AppOpsManager.toReceiverId(transport.getListener())); in registerTransport()
3173 protected void unregisterTransport(GnssAntennaInfoTransport transport) in unregisterTransport() argument
3175 getService().removeGnssAntennaInfoListener(transport); in unregisterTransport()
3187 protected void registerTransport(GnssNavigationTransport transport) in registerTransport() argument
3189 getService().addGnssNavigationMessageListener(transport, in registerTransport()
3190 transport.getPackage(), transport.getAttributionTag(), in registerTransport()
3191 AppOpsManager.toReceiverId(transport.getListener())); in registerTransport()
3195 protected void unregisterTransport(GnssNavigationTransport transport) in unregisterTransport() argument
3197 getService().removeGnssNavigationMessageListener(transport); in unregisterTransport()
3209 protected void registerTransport(ProviderRequestTransport transport) in registerTransport() argument
3211 getService().addProviderRequestListener(transport); in registerTransport()
3215 protected void unregisterTransport(ProviderRequestTransport transport) in unregisterTransport() argument
3217 getService().removeProviderRequestListener(transport); in unregisterTransport()