/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/ |
D | SatS2RangeFileFormatTest.java | 40 boolean isAllowedList = true; in accessors() 43 isAllowedList); in accessors() 60 assertTrue(satS2RangeFileFormat.isAllowedList()); in accessors() 70 boolean isAllowedList = false; in calculateRangeLength() 73 isAllowedList); in calculateRangeLength() 84 assertFalse(satS2RangeFileFormat.isAllowedList()); in calculateRangeLength() 94 boolean isAllowedList = true; in createCellId() 97 isAllowedList); in createCellId() 119 assertTrue(satS2RangeFileFormat.isAllowedList()); in createCellId() 129 boolean isAllowedList = true; in extractFaceIdFromPrefix() [all …]
|
D | SatS2RangeFileReaderTest.java | 40 boolean isAllowedList = true; in findEntryByCellId() 43 file, TestUtils.createS2RangeFileFormat(isAllowedList))) { in findEntryByCellId() argument 66 assertEquals(isAllowedList, satS2RangeFileReader.isAllowedList()); in findEntryByCellId()
|
/packages/services/Telephony/utils/satellite/tools/src/test/java/com/android/telephony/tools/sats2/ |
D | CreateSatS2FileTest.java | 64 boolean isAllowedList = true; in testCreateSatS2FileWithInvalidInput() 74 SatS2RangeFileFormat fileFormat = FileFormats.getFileFormatForLevel(s2Level, isAllowedList); in testCreateSatS2FileWithInvalidInput() 81 "--is-allowed-list", isAllowedList ? "true" : "false", in testCreateSatS2FileWithInvalidInput() 95 private void testCreateSatS2FileWithValidInput(boolean isAllowedList) throws Exception { in testCreateSatS2FileWithValidInput() argument 111 SatS2RangeFileFormat fileFormat = FileFormats.getFileFormatForLevel(s2Level, isAllowedList); in testCreateSatS2FileWithValidInput() 118 "--is-allowed-list", isAllowedList ? "true" : "false", in testCreateSatS2FileWithValidInput() 133 if (isAllowedList != satS2RangeFileReader.isAllowedList()) { in testCreateSatS2FileWithValidInput() 135 + satS2RangeFileReader.isAllowedList() + " does not match the input " in testCreateSatS2FileWithValidInput() 136 + "argument=" + isAllowedList); in testCreateSatS2FileWithValidInput()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | S2RangeSatelliteOnDeviceAccessControllerTest.java | 71 private void testSatelliteAccessControl(boolean isAllowedList) throws Exception { in testSatelliteAccessControl() argument 74 fileFormat = createSatS2File(mFile, isAllowedList); in testSatelliteAccessControl() 92 assertTrue(isAllowed != isAllowedList); in testSatelliteAccessControl() 103 assertTrue(isAllowed == isAllowedList); in testSatelliteAccessControl() 112 assertTrue(isAllowed != isAllowedList); in testSatelliteAccessControl() 121 assertTrue(isAllowed == isAllowedList); in testSatelliteAccessControl() 130 assertTrue(isAllowed != isAllowedList); in testSatelliteAccessControl() 138 assertTrue(isAllowed != isAllowedList); in testSatelliteAccessControl() 147 assertTrue(isAllowed == isAllowedList); in testSatelliteAccessControl() 156 assertTrue(isAllowed != isAllowedList); in testSatelliteAccessControl() [all …]
|
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/ |
D | FileFormats.java | 46 public static SatS2RangeFileFormat getFileFormatForLevel(int s2Level, boolean isAllowedList) { in getFileFormatForLevel() argument 49 return isAllowedList ? FILE_FORMAT_12_ALLOWED_LIST : FILE_FORMAT_12_DISALLOWED_LIST; in getFileFormatForLevel() 51 return isAllowedList ? FILE_FORMAT_14_ALLOWED_LIST : FILE_FORMAT_14_DISALLOWED_LIST; in getFileFormatForLevel() 53 return isAllowedList ? FILE_FORMAT_16_ALLOWED_LIST : FILE_FORMAT_16_DISALLOWED_LIST; in getFileFormatForLevel() 56 + ", isAllowedList=" + isAllowedList + " not mapped"); in getFileFormatForLevel()
|
D | CreateSatS2File.java | 39 boolean isAllowedList = Arguments.getBooleanValue(arguments.isAllowedList); in main() 40 SatS2FileCreator.create(inputFile, s2Level, isAllowedList, outputFile); in main() 57 public String isAllowedList; field in CreateSatS2File.Arguments
|
D | SatS2FileCreator.java | 54 public static void create(String inputFile, int s2Level, boolean isAllowedList, in create() argument 73 FileFormats.getFileFormatForLevel(s2Level, isAllowedList); in create() 91 if (isAllowedList != satS2RangeFileReader.isAllowedList()) { in create() 93 + satS2RangeFileReader.isAllowedList() + " does not match the input " in create() 94 + "argument=" + isAllowedList); in create()
|
/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/ |
D | HeaderBlock.java | 43 boolean isAllowedList = (blockData.getUnsignedByte(offset) == TRUE); in HeaderBlock() 46 suffixRecordBitCount, isAllowedList); in HeaderBlock()
|
D | SatS2RangeFileFormat.java | 94 int suffixTableBlockIdOffset, int tableEntryBitCount, boolean isAllowedList) { in SatS2RangeFileFormat() argument 182 mIsAllowedList = isAllowedList; in SatS2RangeFileFormat() 259 public boolean isAllowedList() { in isAllowedList() method in SatS2RangeFileFormat
|
D | SatS2RangeFileReader.java | 215 public boolean isAllowedList() { in isAllowedList() method in SatS2RangeFileReader 216 return mFileFormat.isAllowedList(); in isAllowedList()
|
/packages/services/Telephony/utils/satellite/s2storage/src/testutils/java/com/android/telephony/sats2range/testutils/ |
D | TestUtils.java | 40 public static SatS2RangeFileFormat createS2RangeFileFormat(boolean isAllowedList) { in createS2RangeFileFormat() argument 51 suffixTableBlockIdOffset, suffixTableEntryBitCount, isAllowedList); in createS2RangeFileFormat()
|
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/ |
D | HeaderBlockWriter.java | 64 tos.writeUnsignedByte(mFileFormat.isAllowedList() in close()
|
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/ |
D | S2RangeSatelliteOnDeviceAccessController.java | 88 if (mSatS2RangeFileReader.isAllowedList()) { in isSatCommunicationAllowedAtLocation()
|