Searched refs:duckingInfo (Results 1 – 7 of 7) sorted by relevance
82 CarDuckingInfo duckingInfo = getCarDuckingInfo(); in constructor_validInputs_succeeds() local84 assertThat(duckingInfo.mZoneId).isEqualTo(ZONE_ID); in constructor_validInputs_succeeds()85 assertThat(duckingInfo.mAddressesToDuck).containsExactlyElementsIn(ADDRESSES_TO_DUCK); in constructor_validInputs_succeeds()86 assertThat(duckingInfo.mAddressesToUnduck).containsExactlyElementsIn(ADDRESSES_TO_UNDUCK); in constructor_validInputs_succeeds()87 assertThat(duckingInfo.mPlaybackMetaDataHoldingFocus) in constructor_validInputs_succeeds()90 assertThat(duckingInfo.getZoneId()).isEqualTo(ZONE_ID); in constructor_validInputs_succeeds()91 assertThat(duckingInfo.getAddressesToDuck()).containsExactlyElementsIn(ADDRESSES_TO_DUCK); in constructor_validInputs_succeeds()92 assertThat(duckingInfo.getAddressesToUnduck()) in constructor_validInputs_succeeds()94 assertThat(duckingInfo.getPlaybackMetaDataHoldingFocus()) in constructor_validInputs_succeeds()102 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(carDuckingInfo); in generateDuckingInfo_includesSameAddressesToDuck() local[all …]
141 CarDuckingInfo duckingInfo = in generateDuckingInfo_succeed() local145 assertThat(duckingInfo.getZoneId()).isEqualTo(ZONE_ID); in generateDuckingInfo_succeed()146 assertThat(duckingInfo.getAddressesToDuck()) in generateDuckingInfo_succeed()148 assertThat(duckingInfo.getAddressesToUnduck()).isEmpty(); in generateDuckingInfo_succeed()149 assertThat(duckingInfo.getPlaybackMetaDataHoldingFocus()) in generateDuckingInfo_succeed()160 CarDuckingUtils.generateDuckingInfo(duckingInfo, attributesToDuck, in generateDuckingInfo_succeed()
136 CarDuckingInfo duckingInfo = currentDuckingInfo.get(zoneId); in constructor_initializesEmptyDuckingInfoForZones() local138 .that(duckingInfo).isNotNull(); in constructor_initializesEmptyDuckingInfoForZones()140 .that(duckingInfo.mPlaybackMetaDataHoldingFocus).isEmpty(); in constructor_initializesEmptyDuckingInfoForZones()142 .that(duckingInfo.mAddressesToDuck).isEmpty(); in constructor_initializesEmptyDuckingInfoForZones()144 .that(duckingInfo.mAddressesToUnduck).isEmpty(); in constructor_initializesEmptyDuckingInfoForZones()
121 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(getCarDuckingInfo()); in generateDuckingInfo_succeeds() local124 .that(duckingInfo.zoneId).isEqualTo(ZONE_ID); in generateDuckingInfo_succeeds()126 .that(duckingInfo.deviceAddressesToDuck) in generateDuckingInfo_succeeds()130 .that(duckingInfo.deviceAddressesToUnduck) in generateDuckingInfo_succeeds()134 .that(duckingInfo.playbackMetaDataHoldingFocus) in generateDuckingInfo_succeeds()
6766 CarDuckingInfo duckingInfo = carDuckingInfosCaptor.getValue().get(0); in verifyMediaDuckingInfoInZone() local6768 .that(duckingInfo.mZoneId).isEqualTo(zoneId); in verifyMediaDuckingInfoInZone()6770 .that(CarHalAudioUtils.metadataToAudioAttributes(duckingInfo in verifyMediaDuckingInfoInZone()
50 DuckingInfo duckingInfo = new DuckingInfo(); in generateDuckingInfo() local51 duckingInfo.zoneId = carDuckingInfo.getZoneId(); in generateDuckingInfo()52 duckingInfo.deviceAddressesToDuck = in generateDuckingInfo()54 duckingInfo.deviceAddressesToUnduck = in generateDuckingInfo()58 duckingInfo.playbackMetaDataHoldingFocus = in generateDuckingInfo()60 duckingInfo.usagesHoldingFocus = metadatasToUsageStrings(playbackTrackMetadataList); in generateDuckingInfo()61 return duckingInfo; in generateDuckingInfo()
391 DuckingInfo duckingInfo = captor.getValue()[0]; in onDevicesToDuckChange_convertsUsagesToXsdStrings() local392 assertThat(duckingInfo.usagesHoldingFocus).asList() in onDevicesToDuckChange_convertsUsagesToXsdStrings()412 DuckingInfo duckingInfo = captor.getValue()[0]; in onDevicesToDuckChange_passesAlongAddressesToDuck() local413 assertThat(duckingInfo.deviceAddressesToDuck).asList() in onDevicesToDuckChange_passesAlongAddressesToDuck()432 DuckingInfo duckingInfo = captor.getValue()[0]; in onDevicesToDuckChange_passesAlongAddressesToUnduck() local433 assertThat(duckingInfo.deviceAddressesToUnduck).asList() in onDevicesToDuckChange_passesAlongAddressesToUnduck()447 DuckingInfo duckingInfo = captor.getValue()[0]; in onDevicesToDuckChange_passesAlongZoneId() local448 assertThat(duckingInfo.zoneId).isEqualTo(ZONE_ID); in onDevicesToDuckChange_passesAlongZoneId()