Home
last modified time | relevance | path

Searched refs:zones (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java144 SparseArray<CarAudioZone> zones = cazh.loadAudioZones(); in loadAudioZones_parsesAllZones() local
146 assertThat(zones.size()).isEqualTo(2); in loadAudioZones_parsesAllZones()
156 SparseArray<CarAudioZone> zones = cazh.loadAudioZones(); in loadAudioZones_versionOneParsesAllZones() local
158 assertThat(zones.size()).isEqualTo(2); in loadAudioZones_versionOneParsesAllZones()
167 SparseArray<CarAudioZone> zones = cazh.loadAudioZones(); in loadAudioZones_parsesAudioZoneId() local
170 List<Integer> zoneIds = getListOfZoneIds(zones); in loadAudioZones_parsesAudioZoneId()
171 assertThat(zones.size()).isEqualTo(2); in loadAudioZones_parsesAudioZoneId()
172 assertThat(zones.contains(CarAudioManager.PRIMARY_AUDIO_ZONE)).isTrue(); in loadAudioZones_parsesAudioZoneId()
173 assertThat(zones.contains(SECONDARY_ZONE_ID)).isTrue(); in loadAudioZones_parsesAudioZoneId()
181 SparseArray<CarAudioZone> zones = cazh.loadAudioZones(); in loadAudioZones_parsesOccupantZoneId() local
[all …]
DCarAudioZonesValidatorTest.java48 SparseArray<CarAudioZone> zones = generateAudioZonesWithPrimary(); in validate_volumeGroupsForEachZone() local
53 zones.put(zoneOne.getId(), zoneOne); in validate_volumeGroupsForEachZone()
58 CarAudioZonesValidator.validate(zones); in validate_volumeGroupsForEachZone()
76 SparseArray<CarAudioZone> zones = new SparseArray<>(); in validate_eachAddressAppearsInOnlyOneZone() local
77 zones.put(primaryZone.getId(), primaryZone); in validate_eachAddressAppearsInOnlyOneZone()
78 zones.put(secondaryZone.getId(), secondaryZone); in validate_eachAddressAppearsInOnlyOneZone()
85 CarAudioZonesValidator.validate(zones); in validate_eachAddressAppearsInOnlyOneZone()
90 SparseArray<CarAudioZone> zones = generateAudioZonesWithPrimary(); in validate_passesWithoutExceptionForValidZoneConfiguration() local
92 CarAudioZonesValidator.validate(zones); in validate_passesWithoutExceptionForValidZoneConfiguration()
97 SparseArray<CarAudioZone> zones = new SparseArray<>(); in generateAudioZonesWithPrimary() local
[all …]
DCarAudioZonesHelperLegacyTest.java94 SparseArray<CarAudioZone> zones = helper.loadAudioZones(); in loadAudioZones_succeeds() local
96 assertThat(zones.size()).isEqualTo(1); in loadAudioZones_succeeds()
108 SparseArray<CarAudioZone> zones = helper.loadAudioZones(); in loadAudioZones_parsesAllVolumeGroups() local
109 CarVolumeGroup[] volumeGroups = zones.get(0).getVolumeGroups(); in loadAudioZones_parsesAllVolumeGroups()
123 SparseArray<CarAudioZone> zones = helper.loadAudioZones(); in loadAudioZones_associatesLegacyContextsWithCorrectBuses() local
125 CarVolumeGroup[] volumeGroups = zones.get(0).getVolumeGroups(); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
150 SparseArray<CarAudioZone> zones = helper.loadAudioZones(); in loadAudioZones_associatesNonLegacyContextsWithMediaBus() local
152 CarVolumeGroup[] volumeGroups = zones.get(0).getVolumeGroups(); in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
DCarZonesAudioFocusTest.java330 SparseArray<CarAudioZone> zones = new SparseArray<>(); in generateAudioZones() local
331 zones.put(PRIMARY_ZONE_ID, new CarAudioZone(PRIMARY_ZONE_ID, "Primary zone")); in generateAudioZones()
332 zones.put(SECONDARY_ZONE_ID, new CarAudioZone(SECONDARY_ZONE_ID, "Secondary zone")); in generateAudioZones()
333 return zones; in generateAudioZones()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceController.java75 List<Map<String, Object>> zones = ZoneGetter.getZonesList(getContext()); in constructTimeZoneList() local
76 setZonesList(zones); in constructTimeZoneList()
80 void setZonesList(List<Map<String, Object>> zones) { in setZonesList() argument
81 Collections.sort(zones, new TimeZonesComparator()); in setZonesList()
83 for (Map<String, Object> zone : zones) { in setZonesList()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingTest.java185 SparseArray<CarAudioZone> zones = new SparseArray<>(); in generateZoneMocks() local
190 zones.append(PRIMARY_ZONE_ID, primaryZone); in generateZoneMocks()
194 zones.append(PASSENGER_ZONE_ID, passengerZone); in generateZoneMocks()
199 zones.append(REAR_ZONE_ID, rearZone); in generateZoneMocks()
201 return zones; in generateZoneMocks()
DCarZonesAudioFocusUnitTest.java234 SparseArray<CarAudioZone> zones = new SparseArray<>(); in generateAudioZones() local
235 zones.put(PRIMARY_ZONE_ID, new CarAudioZone(PRIMARY_ZONE_ID, "Primary zone")); in generateAudioZones()
236 zones.put(SECONDARY_ZONE_ID, new CarAudioZone(SECONDARY_ZONE_ID, "Secondary zone")); in generateAudioZones()
237 return zones; in generateAudioZones()
DCarVolumeGroupMutingTest.java513 private SparseArray<CarAudioZone> getAudioZones(CarAudioZone... zones) { in getAudioZones() argument
515 for (CarAudioZone zone : zones) { in getAudioZones()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterDisplayProvider.java86 List<OccupantZoneInfo> zones = mOccupantZoneManager.getAllOccupantZones(); in getClusterDisplay() local
87 int zones_size = zones.size(); in getClusterDisplay()
89 OccupantZoneInfo zone = zones.get(i); in getClusterDisplay()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java94 int zones = value.getAreaId();
141 if ((zones & mZoneForFanSpeed) == mZoneForFanSpeed) {
147 if ((zones & mZoneForSetTempD) == mZoneForSetTempD) {
151 if ((zones & mZoneForSetTempP) == mZoneForSetTempP) {
160 if ((zones & VehicleAreaWindow.FRONT_WINDSHIELD)
164 if ((zones & VehicleAreaWindow.REAR_WINDSHIELD)
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt177 val zones: MutableSet<TimeZone> = ArraySet(selectedCities.size + 2) in <lambda>() constant
178 zones.add(TimeZone.getDefault()) in <lambda>()
180 zones.add(dm.homeCity.timeZone) in <lambda>()
183 zones.add(city.timeZone) in <lambda>()
185 val nextDay = Utils.getNextDay(Date(), zones) in <lambda>()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java244 private void verifyOnlyOnePrimaryZone(CarAudioZone newZone, SparseArray<CarAudioZone> zones) { in verifyOnlyOnePrimaryZone() argument
245 if (newZone.getId() == PRIMARY_AUDIO_ZONE && zones.contains(PRIMARY_AUDIO_ZONE)) { in verifyOnlyOnePrimaryZone()
251 private void verifyPrimaryZonePresent(SparseArray<CarAudioZone> zones) { in verifyPrimaryZonePresent() argument
252 if (!zones.contains(PRIMARY_AUDIO_ZONE)) { in verifyPrimaryZonePresent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java476 ArrayList<String> zones = new ArrayList<>(); in getZones() local
489 zones.add(builder.toString()); in getZones()
491 return zones; in getZones()
/packages/modules/GeoTZ/geotz_lookup/
DAndroid.bp15 // A library for use on device or host to lookup time zones for a location.
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.kt442 fun getNextDay(time: Date, zones: Collection<TimeZone>): Date { in getNextDay()
444 for (tz in zones) { in getNextDay()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java279 List<OccupantZoneInfo> zones = new ArrayList<OccupantZoneInfo>(); in init()
282 zones.add(ozi); in init()
285 return zones; in init()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...