Home
last modified time | relevance | path

Searched refs:isAllowedList (Results 1 – 13 of 13) sorted by relevance

/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/
DSatS2RangeFileFormatTest.java40 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 …]
DSatS2RangeFileReaderTest.java40 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/
DCreateSatS2FileTest.java64 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/
DS2RangeSatelliteOnDeviceAccessControllerTest.java71 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/
DFileFormats.java46 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()
DCreateSatS2File.java39 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
DSatS2FileCreator.java54 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/
DHeaderBlock.java43 boolean isAllowedList = (blockData.getUnsignedByte(offset) == TRUE); in HeaderBlock()
46 suffixRecordBitCount, isAllowedList); in HeaderBlock()
DSatS2RangeFileFormat.java94 int suffixTableBlockIdOffset, int tableEntryBitCount, boolean isAllowedList) { in SatS2RangeFileFormat() argument
182 mIsAllowedList = isAllowedList; in SatS2RangeFileFormat()
259 public boolean isAllowedList() { in isAllowedList() method in SatS2RangeFileFormat
DSatS2RangeFileReader.java215 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/
DTestUtils.java40 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/
DHeaderBlockWriter.java64 tos.writeUnsignedByte(mFileFormat.isAllowedList() in close()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DS2RangeSatelliteOnDeviceAccessController.java88 if (mSatS2RangeFileReader.isAllowedList()) { in isSatCommunicationAllowedAtLocation()