/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/s2/ |
D | S2LevelRangeTest.java | 56 S2LevelRange range2 = new S2LevelRange(cellId(12, 1, 3), cellId(12, 1, 1)); in contains() local 57 assertTrue(range2.contains(cellId(12, 1, 0))); in contains() 58 assertFalse(range2.contains(cellId(12, 1, 1))); in contains() 59 assertFalse(range2.contains(cellId(12, 1, 2))); in contains() 60 assertTrue(range2.contains(cellId(12, 1, 3))); in contains() 61 assertTrue(range2.contains(cellId(12, 1, 4))); in contains() 88 S2LevelRange range2 = new S2LevelRange(cellId(12, 1, 3), cellId(12, 1, 1)); in overlaps() local 89 assertTrue(range2.overlaps(range2)); in overlaps() 91 assertTrue(range2.overlaps(new S2LevelRange(cellId(12, 1, 0), cellId(12, 1, 1)))); in overlaps() 92 assertTrue(range2.overlaps(new S2LevelRange(cellId(12, 1, 0), cellId(12, 1, 2)))); in overlaps() [all …]
|
D | SortedS2RangesTest.java | 49 S2LevelRange range2 = new S2LevelRange(cellId(s2Level, 1, 1002), in testCreateFromSorted() local 53 List<S2LevelRange> sortedRanges = Arrays.asList(range0, range1, range2, range3); in testCreateFromSorted()
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdkRangeTest.java | 230 private void expectEquals(Range range1, Range range2) { in expectEquals() argument 231 expect.withMessage("%s.equals(%s)", range1, range2).that(range1).isEqualTo(range2); in expectEquals() 232 expect.withMessage("%s.equals(%s)", range2, range1).that(range2).isEqualTo(range1); in expectEquals() 233 expect.withMessage("hashcode of %s and %s", range1, range2) in expectEquals() 235 .isEqualTo(range2.hashCode()); in expectEquals() 239 for (Range range2 : otherRanges) { in expectNotEquals() 240 expect.withMessage("%s.equals(%s)", range1, range2).that(range1).isNotEqualTo(range2); in expectNotEquals() 241 expect.withMessage("%s.equals(%s)", range2, range1).that(range2).isNotEqualTo(range1); in expectNotEquals() 242 if (range2 != null) { in expectNotEquals() 243 expect.withMessage("hashcode of %s and %s", range1, range2) in expectNotEquals() [all …]
|
D | RequiredRangeTest.java | 42 var range2 = Range.forExactly(42); in testEqualsHashCode() local 47 expectNotEquals(new RequiredRange(range1, REASON), new RequiredRange(range2, REASON)); in testEqualsHashCode() 48 expectNotEquals(new RequiredRange(range1, REASON), new RequiredRange(range2, NULL_REASON)); in testEqualsHashCode()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | UidRangeUtils.java | 118 for (UidRange range2 : uidRangeSet2) { in doesRangeSetOverlap() 119 if (range1.contains(range2.start) || range1.contains(range2.stop) in doesRangeSetOverlap() 120 || range2.contains(range1.start) || range2.contains(range1.stop)) { in doesRangeSetOverlap() 188 private static int compare(UidRange range1, UidRange range2) { in compare() argument 189 return range1.start - range2.start; in compare()
|
/packages/modules/GeoTZ/tzs2storage/src/test/java/com/android/timezone/location/storage/tzs2range/ |
D | TzS2RangeFileTest.java | 40 TzS2Range range1, range2, range3; in findEntryByCellId() local 50 range2 = new TzS2Range( in findEntryByCellId() 59 tzS2RangeFileWriter.processRanges(listOf(range1, range2, range3).iterator()); in findEntryByCellId() 69 assertEquals(range2, entry2.getTzS2Range()); in findEntryByCellId()
|
D | SuffixTableExtraInfoTest.java | 58 SuffixTableRange range2 = new SuffixTableRange( in create_nonEmptyBlock() local 66 suffixTableWriter.addRange(range2); in create_nonEmptyBlock()
|
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/ |
D | CreateTestSatS2File.java | 48 S2LevelRange range2 = new S2LevelRange( in main() local 56 List<S2LevelRange> allRanges = listOf(range1, range2, range3); in main()
|
/packages/modules/GeoTZ/tzs2storage/tools/src/java/com/android/timezone/location/tools/tzs2/ |
D | CreateTestTzS2File.java | 48 TzS2Range range2 = new TzS2Range( in main() local 58 List<TzS2Range> allRanges = listOf(range1, range2, range3); in main()
|
/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/ |
D | SatS2RangeFileReaderTest.java | 72 S2LevelRange range2 = satS2RangeFileReader.findEntryByCellId( in findEntryByCellId() local 74 assertEquals(expectedRange2, range2); in findEntryByCellId()
|
D | SuffixTableExtraInfoTest.java | 60 S2LevelRange range2 = new S2LevelRange( in create_nonEmptyBlock() local 68 suffixTableWriter.addRange(range2); in create_nonEmptyBlock()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | S2RangeSatelliteOnDeviceAccessControllerTest.java | 169 S2LevelRange range1, range2, range3; in createSatS2File() local 178 range2 = new S2LevelRange( in createSatS2File() 188 ranges.add(range2); in createSatS2File()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalAidlImpl.java | 1464 FreqRange range2 = new FreqRange(); in setOperatingChannel() local 1465 range2.min = freq + 5; in setOperatingChannel() 1466 range2.max = 6000; in setOperatingChannel() 1468 ranges.add(range2); in setOperatingChannel()
|
D | SupplicantP2pIfaceHalHidlImpl.java | 1571 ISupplicantP2pIface.FreqRange range2 = new ISupplicantP2pIface.FreqRange(); in setOperatingChannel() local 1572 range2.min = freq + 5; in setOperatingChannel() 1573 range2.max = 6000; in setOperatingChannel() 1575 ranges.add(range2); in setOperatingChannel()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalAidlImplTest.java | 1635 FreqRange range2 = new FreqRange(); in testSetOperatingChannel_success() local 1636 range2.min = 5820; in testSetOperatingChannel_success() 1637 range2.max = 6000; in testSetOperatingChannel_success() 1638 FreqRange[] ranges = {range1, range2}; in testSetOperatingChannel_success()
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 1693 ISupplicantP2pIface.FreqRange range2 = new ISupplicantP2pIface.FreqRange(); in testSetOperatingChannel_success() local 1694 range2.min = 5820; in testSetOperatingChannel_success() 1695 range2.max = 6000; in testSetOperatingChannel_success() 1698 ranges.add(range2); in testSetOperatingChannel_success()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 1000 final UidRange range2 = new UidRange(MOCK_UID13, MOCK_UID14); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAddAndOverlap() local 1001 final UidRange[] lockdownRange2 = {range2}; in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAddAndOverlap()
|