/packages/modules/GeoTZ/validation/geonames/known_diffs/ |
D | known_diffs1000.prototxt | 3 s2CellId: 3939725057416232960 18 s2CellId: 1504148290218754048 33 s2CellId: 1504147363579559936 48 s2CellId: 1504137498576551936 63 s2CellId: 1504146244740579328 78 s2CellId: 1506189304848711680 93 s2CellId: 10332556238339964928 108 s2CellId: 873983272751726592 123 s2CellId: 9684222879461277696 138 s2CellId: 9683963968095256576 [all …]
|
D | known_diffs15000.prototxt | 3 s2CellId: 10008839181846970368 16 s2CellId: 1504136330345447424 31 s2CellId: 879456458024943616 46 s2CellId: 9684243634353864704 61 s2CellId: 9684266929719607296 76 s2CellId: 9683990368722354176 93 s2CellId: 9724767458245476352 108 s2CellId: 9520970146580004864 123 s2CellId: 1514099845944573952 138 s2CellId: 1514099833596542976 [all …]
|
D | known_diffs5000.prototxt | 3 s2CellId: 1504138485882159104 18 s2CellId: 1503634935863312384 33 s2CellId: 1506270495299862528 48 s2CellId: 3979576377476120576 63 s2CellId: 878731753160704000 78 s2CellId: 9683960664191664128 93 s2CellId: 9684281293700857856 110 s2CellId: 9683967764309475328 125 s2CellId: 9683978736340303872 140 s2CellId: 9724756775588069376 [all …]
|
D | known_diffs500.prototxt | 3 s2CellId: 3939746278849642496 18 s2CellId: 3939723961125830656 33 s2CellId: 3939724892596862976 48 s2CellId: 4004621555307905024 63 s2CellId: 3989027993103106048 78 s2CellId: 1506224176225058816 93 s2CellId: 10332626568966307840 108 s2CellId: 9684253037647888384 123 s2CellId: 9683986355612286976 140 s2CellId: 9684231314777047040 [all …]
|
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/ |
D | SatS2FileCreator.java | 98 for (S2CellId s2CellId : sortedS2CellIds) { in create() 99 if (satS2RangeFileReader.findEntryByCellId(s2CellId.id()) == null) { in create() 100 throw new IllegalStateException("s2CellId=" + s2CellId in create() 162 S2CellId s2CellId = new S2CellId(s2CellNumber); in denormalize() local 163 if (s2CellId.level() == s2Level) { in denormalize() 164 if (!result.contains(s2CellId)) { in denormalize() 165 result.add(s2CellId); in denormalize() 167 } else if (s2CellId.level() < s2Level) { in denormalize() 168 S2CellId childEnd = s2CellId.childEnd(s2Level); in denormalize() 169 for (s2CellId = s2CellId.childBegin(s2Level); !s2CellId.equals(childEnd); in denormalize() [all …]
|
D | SatS2LocationLookup.java | 42 S2CellId s2CellId = getS2CellId(arguments.latDegrees, arguments.lngDegrees, in main() local 44 System.out.println("s2CellId=" + Long.toUnsignedString(s2CellId.id())); in main() 45 if (satS2RangeFileReader.findEntryByCellId(s2CellId.id()) == null) { in main()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | S2RangeSatelliteOnDeviceAccessControllerTest.java | 86 S2CellId s2CellId = new S2CellId(TestUtils.createCellId(fileFormat, 1, 1000, 999)); in testSatelliteAccessControl() local 87 S2LatLng s2LatLng = s2CellId.toLatLng(); in testSatelliteAccessControl() 96 s2CellId = new S2CellId(TestUtils.createCellId(fileFormat, 1, 1000, suffix)); in testSatelliteAccessControl() 97 s2LatLng = s2CellId.toLatLng(); in testSatelliteAccessControl() 107 s2CellId = new S2CellId(TestUtils.createCellId(fileFormat, 1, 1000, 2000)); in testSatelliteAccessControl() 108 s2LatLng = s2CellId.toLatLng(); in testSatelliteAccessControl() 116 s2CellId = new S2CellId(TestUtils.createCellId(fileFormat, 1, 1000, suffix)); in testSatelliteAccessControl() 117 s2LatLng = s2CellId.toLatLng(); in testSatelliteAccessControl() 125 s2CellId = new S2CellId(TestUtils.createCellId(fileFormat, 1, 1000, 3000)); in testSatelliteAccessControl() 126 s2LatLng = s2CellId.toLatLng(); in testSatelliteAccessControl() [all …]
|
/packages/services/Telephony/utils/satellite/tools/src/test/java/com/android/telephony/tools/sats2/ |
D | CreateSatS2FileTest.java | 140 long s2CellId = fileFormat.createCellId(0b100_11111111, 100); in testCreateSatS2FileWithValidInput() local 141 assertNull(satS2RangeFileReader.findEntryByCellId(s2CellId)); in testCreateSatS2FileWithValidInput() 144 s2CellId = fileFormat.createCellId(0b100_11111111, 2000); in testCreateSatS2FileWithValidInput() 145 assertNull(satS2RangeFileReader.findEntryByCellId(s2CellId)); in testCreateSatS2FileWithValidInput() 148 s2CellId = fileFormat.createCellId(0b100_11111111, 4000); in testCreateSatS2FileWithValidInput() 149 assertNull(satS2RangeFileReader.findEntryByCellId(s2CellId)); in testCreateSatS2FileWithValidInput() 152 s2CellId = fileFormat.createCellId(0b101_11111111, 500); in testCreateSatS2FileWithValidInput() 153 assertNull(satS2RangeFileReader.findEntryByCellId(s2CellId)); in testCreateSatS2FileWithValidInput() 156 s2CellId = fileFormat.createCellId(0b101_11111111, 2500); in testCreateSatS2FileWithValidInput() 157 assertNull(satS2RangeFileReader.findEntryByCellId(s2CellId)); in testCreateSatS2FileWithValidInput() [all …]
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/s2/ |
D | S2LevelRange.java | 118 public boolean contains(long s2CellId) { in contains() argument 119 long level = S2Support.getS2Level(s2CellId); in contains() 121 throw new IllegalArgumentException(s2CellId + "(" in contains() 122 + S2Support.cellIdToString(s2CellId) + " is not at level " + mS2Level); in contains() 124 long s2CellIdNumeric = S2CellOrdering.asUnsignedNumeric(s2CellId); in contains()
|
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/ |
D | S2RangeSatelliteOnDeviceAccessController.java | 86 private boolean isSatCommunicationAllowedAtLocation(long s2CellId) throws IOException { in isSatCommunicationAllowedAtLocation() argument 87 S2LevelRange entry = mSatS2RangeFileReader.findEntryByCellId(s2CellId); in isSatCommunicationAllowedAtLocation() 124 private LocationTokenImpl(long s2CellId) { in LocationTokenImpl() argument 125 this.mS2CellId = s2CellId; in LocationTokenImpl()
|
/packages/modules/GeoTZ/geotz_lookup/src/main/java/com/android/timezone/location/lookup/ |
D | S2RangeFileBasedGeoTimeZonesFinder.java | 85 private List<String> findTimeZonesForS2CellId(long s2CellId) throws IOException { in findTimeZonesForS2CellId() argument 86 TzS2RangeFileReader.Entry entry = mTzS2RangeFileReader.findEntryByCellId(s2CellId); in findTimeZonesForS2CellId() 108 private LocationTokenImpl(long s2CellId) { in LocationTokenImpl() argument 109 this.mS2CellId = s2CellId; in LocationTokenImpl()
|
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/ |
D | TzS2CellUnionsToTzS2Ranges.java | 218 S2CellId s2CellId, int s2Level) { in createRangeStartAndEnd() argument 219 S2CellId firstS2CellRangeStart = s2CellId.childBegin(s2Level); in createRangeStartAndEnd() 220 S2CellId firstS2CellRangeEnd = s2CellId.childEnd(s2Level); in createRangeStartAndEnd() 225 throw new IllegalStateException("firstS2CellId=" + s2CellId in createRangeStartAndEnd()
|
/packages/modules/GeoTZ/validation/geonames/src/main/proto/ |
D | validation_protos.proto | 32 required uint64 s2CellId = 2; field
|
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/ |
D | GeonamesComparison.java | 135 S2CellId s2CellId = S2CellId.fromLatLng(latLng); in main() local 136 S2CellId knownDifferencesCellId = s2CellId.parent(KNOWN_DIFFERENCE_S2_LEVEL); in main()
|