Home
last modified time | relevance | path

Searched refs:locationToken (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/
DS2RangeSatelliteOnDeviceAccessControllerTest.java88 SatelliteOnDeviceAccessController.LocationToken locationToken = in testSatelliteAccessControl() local
91 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 …]
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DS2RangeSatelliteOnDeviceAccessController.java72 public boolean isSatCommunicationAllowedAtLocation(LocationToken locationToken) in isSatCommunicationAllowedAtLocation() argument
74 if (!(locationToken instanceof LocationTokenImpl)) { in isSatCommunicationAllowedAtLocation()
75 throw new IllegalArgumentException("Unknown locationToken=" + locationToken); in isSatCommunicationAllowedAtLocation()
77 LocationTokenImpl locationTokenImpl = (LocationTokenImpl) locationToken; in isSatCommunicationAllowedAtLocation()
DSatelliteOnDeviceAccessController.java61 public abstract boolean isSatCommunicationAllowedAtLocation(LocationToken locationToken) in isSatCommunicationAllowedAtLocation() argument
DSatelliteAccessController.java1136 SatelliteOnDeviceAccessController.LocationToken locationToken = in checkSatelliteAccessRestrictionForLocation() local
1141 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()
/packages/modules/GeoTZ/geotz_lookup/src/main/java/com/android/timezone/location/lookup/
DS2RangeFileBasedGeoTimeZonesFinder.java75 public List<String> findTimeZonesForLocationToken(LocationToken locationToken) in findTimeZonesForLocationToken() argument
77 if (!(locationToken instanceof LocationTokenImpl)) { in findTimeZonesForLocationToken()
78 throw new IllegalArgumentException("Unknown locationToken=" + locationToken); in findTimeZonesForLocationToken()
80 LocationTokenImpl locationTokenImpl = (LocationTokenImpl) locationToken; in findTimeZonesForLocationToken()
DGeoTimeZonesFinder.java82 public abstract List<String> findTimeZonesForLocationToken(LocationToken locationToken) in findTimeZonesForLocationToken() argument
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegate.java451 LocationToken locationToken = geoTimeZonesFinder.createLocationTokenForLatLng( in sendTimeZoneCertainResultIfNeeded() local
456 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() argument
511 mLastLocationToken = locationToken; in reportTimeZoneProviderResultInternal()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java625 public List<String> findTimeZonesForLocationToken(LocationToken locationToken)
628 return mTimeZoneLookup.get(locationToken);