commit | 40525d4256b8fd1a05085fa90e17e0d9bacab3ef | [log] [tgz] |
---|---|---|
author | Thomas Nguyen <tnd@google.com> | Fri Aug 09 12:52:15 2024 -0700 |
committer | Thomas Nguyen <tnd@google.com> | Fri Aug 09 12:52:33 2024 -0700 |
tree | b6344fd37c2c88f4f073a82b392c7f3ce7dddd30 | |
parent | 05e97aec3cfd784e1cb9e949d1f8d1ca3012c058 [diff] |
Print out S2 cell token in the lookup tool Bug: 357888681 Test: Manually run the tools Flag: TEST_ONLY Change-Id: I7c4674e627b33aab8f02e51ca8776d39a91866d8
diff --git a/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/SatS2LocationLookup.java b/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/SatS2LocationLookup.java index 444ff8d..713cca8 100644 --- a/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/SatS2LocationLookup.java +++ b/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/SatS2LocationLookup.java
@@ -41,7 +41,8 @@ SatS2RangeFileReader.open(new File(arguments.inputFile))) { S2CellId s2CellId = getS2CellId(arguments.latDegrees, arguments.lngDegrees, satS2RangeFileReader.getS2Level()); - System.out.println("s2CellId=" + Long.toUnsignedString(s2CellId.id())); + System.out.println("s2CellId=" + Long.toUnsignedString(s2CellId.id()) + + ", token=" + s2CellId.toToken()); if (satS2RangeFileReader.findEntryByCellId(s2CellId.id()) == null) { System.out.println("The input file does not contain the input location"); } else {