Searched refs:locationToken (Results 1 – 8 of 8) sorted by relevance
88 SatelliteOnDeviceAccessController.LocationToken locationToken = in testSatelliteAccessControl() local91 boolean isAllowed = accessController.isSatCommunicationAllowedAtLocation(locationToken); in testSatelliteAccessControl()100 locationToken = SatelliteOnDeviceAccessController.createLocationTokenForLatLng( in testSatelliteAccessControl()102 isAllowed = accessController.isSatCommunicationAllowedAtLocation(locationToken); in testSatelliteAccessControl()109 locationToken = SatelliteOnDeviceAccessController.createLocationTokenForLatLng( in testSatelliteAccessControl()111 isAllowed = accessController.isSatCommunicationAllowedAtLocation(locationToken); in testSatelliteAccessControl()118 locationToken = SatelliteOnDeviceAccessController.createLocationTokenForLatLng( in testSatelliteAccessControl()120 isAllowed = accessController.isSatCommunicationAllowedAtLocation(locationToken); in testSatelliteAccessControl()127 locationToken = SatelliteOnDeviceAccessController.createLocationTokenForLatLng( in testSatelliteAccessControl()129 isAllowed = accessController.isSatCommunicationAllowedAtLocation(locationToken); in testSatelliteAccessControl()[all …]
72 public boolean isSatCommunicationAllowedAtLocation(LocationToken locationToken) in isSatCommunicationAllowedAtLocation() argument74 if (!(locationToken instanceof LocationTokenImpl)) { in isSatCommunicationAllowedAtLocation()75 throw new IllegalArgumentException("Unknown locationToken=" + locationToken); in isSatCommunicationAllowedAtLocation()77 LocationTokenImpl locationTokenImpl = (LocationTokenImpl) locationToken; in isSatCommunicationAllowedAtLocation()
61 public abstract boolean isSatCommunicationAllowedAtLocation(LocationToken locationToken) in isSatCommunicationAllowedAtLocation() argument
1136 SatelliteOnDeviceAccessController.LocationToken locationToken = in checkSatelliteAccessRestrictionForLocation() local1141 if (mCachedAccessRestrictionMap.containsKey(locationToken)) { in checkSatelliteAccessRestrictionForLocation()1142 satelliteAllowed = mCachedAccessRestrictionMap.get(locationToken); in checkSatelliteAccessRestrictionForLocation()1153 .isSatCommunicationAllowedAtLocation(locationToken); in checkSatelliteAccessRestrictionForLocation()1154 updateCachedAccessRestrictionMap(locationToken, satelliteAllowed); in checkSatelliteAccessRestrictionForLocation()1184 @NonNull SatelliteOnDeviceAccessController.LocationToken locationToken, in updateCachedAccessRestrictionMap()1187 mCachedAccessRestrictionMap.put(locationToken, satelliteAllowed); in updateCachedAccessRestrictionMap()
75 public List<String> findTimeZonesForLocationToken(LocationToken locationToken) in findTimeZonesForLocationToken() argument77 if (!(locationToken instanceof LocationTokenImpl)) { in findTimeZonesForLocationToken()78 throw new IllegalArgumentException("Unknown locationToken=" + locationToken); in findTimeZonesForLocationToken()80 LocationTokenImpl locationTokenImpl = (LocationTokenImpl) locationToken; in findTimeZonesForLocationToken()
82 public abstract List<String> findTimeZonesForLocationToken(LocationToken locationToken) in findTimeZonesForLocationToken() argument
451 LocationToken locationToken = geoTimeZonesFinder.createLocationTokenForLatLng( in sendTimeZoneCertainResultIfNeeded() local456 if (locationToken.equals(mLastLocationToken)) { in sendTimeZoneCertainResultIfNeeded()460 geoTimeZonesFinder.findTimeZonesForLocationToken(locationToken); in sendTimeZoneCertainResultIfNeeded()461 logDebug("tzIds found for locationToken=" + locationToken + ", tzIds=" + tzIds); in sendTimeZoneCertainResultIfNeeded()473 reportTimeZoneProviderResultInternal(result, locationToken); in sendTimeZoneCertainResultIfNeeded()509 @Nullable LocationToken locationToken) { in reportTimeZoneProviderResultInternal() argument511 mLastLocationToken = locationToken; in reportTimeZoneProviderResultInternal()
625 public List<String> findTimeZonesForLocationToken(LocationToken locationToken)628 return mTimeZoneLookup.get(locationToken);