Home
last modified time | relevance | path

Searched refs:getS2Level (Results 1 – 23 of 23) sorted by relevance

/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/s2/
DS2SupportTest.java200 public void getS2Level() { in getS2Level() method in S2SupportTest
201 assertEquals(30, S2Support.getS2Level(0b00000001L)); in getS2Level()
202 assertThrows(IllegalArgumentException.class, () -> S2Support.getS2Level(0b00000010L)); in getS2Level()
203 assertEquals(29, S2Support.getS2Level(0b00000100L)); in getS2Level()
205 assertEquals(1, S2Support.getS2Level(0b00000100L << 56)); in getS2Level()
206 assertThrows(IllegalArgumentException.class, () -> S2Support.getS2Level(0b00001000L << 56)); in getS2Level()
207 assertEquals(0, S2Support.getS2Level(0b00010000L << 56)); in getS2Level()
DSortedS2RangesTest.java57 assertEquals(s2Level, ranges.getS2Level()); in testCreateFromSorted()
/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/
DSuffixTableBlock.java20 import static com.android.storage.s2.S2Support.getS2Level;
127 if (getS2Level(cellId) != mFileFormat.getS2Level()) { in findEntryByCellId()
130 + mFileFormat.getS2Level()); in findEntryByCellId()
DSatS2RangeFileReader.java153 int dataS2Level = mFileFormat.getS2Level(); in findEntryByCellId()
154 int searchS2Level = S2Support.getS2Level(cellId); in findEntryByCellId()
206 public int getS2Level() throws IOException { in getS2Level() method in SatS2RangeFileReader
208 return mHeaderBlock.getFileFormat().getS2Level(); in getS2Level()
DSatS2RangeFileFormat.java186 public int getS2Level() { in getS2Level() method in SatS2RangeFileFormat
396 if (S2Support.getS2Level(cellId) != mDataS2Level) { in checkS2Level()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DSuffixTableBlock.java20 import static com.android.storage.s2.S2Support.getS2Level;
143 if (getS2Level(cellId) != mFileFormat.getS2Level()) { in findEntryByCellId()
146 + mFileFormat.getS2Level()); in findEntryByCellId()
DTzS2RangeFileReader.java158 int dataS2Level = mFileFormat.getS2Level(); in findEntryByCellId()
159 int searchS2Level = S2Support.getS2Level(cellId); in findEntryByCellId()
211 public int getS2Level() throws IOException { in getS2Level() method in TzS2RangeFileReader
213 return mHeaderBlock.getFileFormat().getS2Level(); in getS2Level()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/s2/
DS2LevelRange.java75 int startS2Level = S2Support.getS2Level(startCellId); in S2LevelRange()
76 int endS2Level = S2Support.getS2Level(endCellId); in S2LevelRange()
100 public int getS2Level() { in getS2Level() method in S2LevelRange
119 long level = S2Support.getS2Level(s2CellId); in contains()
DS2Support.java57 int level = getS2Level(cellId); in cellIdToString()
166 int level = getS2Level(cellId); in offsetCellId()
232 public static int getS2Level(long cellId) { in getS2Level() method in S2Support
DSortedS2Ranges.java68 int currentRangeLevel = currentRange.getS2Level(); in createFromSorted()
92 public int getS2Level() { in getS2Level() method in SortedS2Ranges
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DSatS2RangeFileWriter.java98 if (mFileFormat.getS2Level() != S2Support.getS2Level(startCellId)) { in collectSamePrefixRanges()
115 if (mFileFormat.getS2Level() != S2Support.getS2Level(endCellId)) { in collectSamePrefixRanges()
DHeaderBlockWriter.java59 tos.writeUnsignedByte(mFileFormat.getS2Level()); in close()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DTzS2RangeFileWriter.java103 if (mFileFormat.getS2Level() != S2Support.getS2Level(startCellId)) { in collectSamePrefixRanges()
120 if (mFileFormat.getS2Level() != S2Support.getS2Level(endCellId)) { in collectSamePrefixRanges()
DHeaderBlockWriter.java72 tos.writeUnsignedByte(mFileFormat.getS2Level()); in close()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DS2RangeSatelliteOnDeviceAccessController.java62 int s2Level = reader.getS2Level(); in create()
82 public int getS2Level() { in getS2Level() method in S2RangeSatelliteOnDeviceAccessController
DSatelliteOnDeviceAccessController.java67 public abstract int getS2Level(); in getS2Level() method in SatelliteOnDeviceAccessController
DSatelliteAccessController.java541 int s2Level = satelliteOnDeviceAccessController.getS2Level(); in isS2CellFileValid()
1339 mS2Level = mSatelliteOnDeviceAccessController.getS2Level(); in initSatelliteOnDeviceAccessController()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/
DTzS2RangeFileFormat.java188 public int getS2Level() { in getS2Level() method in TzS2RangeFileFormat
417 if (S2Support.getS2Level(cellId) != mDataS2Level) { in checkS2Level()
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/
DSatS2LocationLookup.java43 satS2RangeFileReader.getS2Level()); in main()
/packages/modules/GeoTZ/geotz_lookup/src/main/java/com/android/timezone/location/lookup/
DS2RangeFileBasedGeoTimeZonesFinder.java55 int s2Level = reader.getS2Level(); in create()
/packages/modules/GeoTZ/tzs2storage/src/test/java/com/android/timezone/location/storage/tzs2range/
DTzS2RangeFileFormatTest.java41 assertEquals(s2Level, tzS2RangeFileFormat.getS2Level()); in accessors()
/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/
DSatS2RangeFileFormatTest.java45 assertEquals(s2Level, satS2RangeFileFormat.getS2Level()); in accessors()
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/
DS2RangeSatelliteOnDeviceAccessControllerTest.java83 int s2Level = accessController.getS2Level(); in testSatelliteAccessControl()