Home
last modified time | relevance | path

Searched refs:areaIds (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarPropertyConfigTest.java246 int[] areaIds = cfg.getAreaIds(); in testGetAreaIds() local
247 Assert.assertNotNull(areaIds); in testGetAreaIds()
248 assertThat(areaIds).isNotEmpty(); in testGetAreaIds()
249 Assert.assertTrue(areaIdCheck(areaIds)); in testGetAreaIds()
250 assertThat(areaIds.length).isEqualTo(cfg.getAreaIdConfigs().size()); in testGetAreaIds()
251 for (int areaId : areaIds) { in testGetAreaIds()
353 private boolean areaIdCheck(int[] areaIds) { in areaIdCheck() argument
354 for (int i = 0; i < areaIds.length - 1; i++) { in areaIdCheck()
355 for (int j = i + 1; j < areaIds.length; j++) { in areaIdCheck()
356 if ((areaIds[i] & areaIds[j]) != 0) { in areaIdCheck()
DCarPropertyManagerTest.java1282 int[] areaIds = cfg.getAreaIds(); in testGetAreaId() local
1285 for (int areaIdInConfig : areaIds) { in testGetAreaId()
2853 areaIds ->
2859 .that(areaIds)
5426 int[] areaIds = carPropertyConfig.getAreaIds();
5441 Arrays.stream(areaIds)
5451 for (int areaId : areaIds) {
5492 int[] areaIds = carPropertyConfig.getAreaIds();
5507 Arrays.stream(areaIds)
5517 for (int areaId : areaIds) {
[all …]
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java1435 int[] areaIds = carPropertyConfig.getAreaIds(); in verifyCarPropertyConfig() local
1437 .that(areaIds.length).isAtLeast(1); in verifyCarPropertyConfig()
1439 areaIds)).that(ImmutableSet.copyOf(Arrays.stream( in verifyCarPropertyConfig()
1440 areaIds).boxed().collect(Collectors.toList())).size() in verifyCarPropertyConfig()
1441 == areaIds.length).isTrue(); in verifyCarPropertyConfig()
1448 .that(areaIds) in verifyCarPropertyConfig()
1475 ImmutableSet.copyOf(Arrays.stream(areaIds).boxed().collect(Collectors.toSet())); in verifyCarPropertyConfig()
1480 mAreaIdsVerifier.get().verify(areaIds); in verifyCarPropertyConfig()
1517 for (int areaId : areaIds) { in verifyCarPropertyConfig()
1943 ImmutableSet<Integer> areaIds = ImmutableSet.copyOf(Arrays.stream( in verifyNoAreaOverlapInAreaIds() local
[all …]