Home
last modified time | relevance | path

Searched refs:infoWithSameContent (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioZoneConfigInfoUnitTest.java172 CarAudioZoneConfigInfo infoWithSameContent = new CarAudioZoneConfigInfo(TEST_CONFIG_NAME, in equals_forSameContent() local
176 .that(infoWithSameContent).isEqualTo(TEST_ZONE_CONFIG_INFO); in equals_forSameContent()
182 CarAudioZoneConfigInfo infoWithSameContent = new CarAudioZoneConfigInfo(TEST_CONFIG_NAME, in equals_forSameContent_withDynamicFlagEnabled() local
187 .that(infoWithSameContent).isEqualTo(TEST_ZONE_CONFIG_INFO); in equals_forSameContent_withDynamicFlagEnabled()
193 CarAudioZoneConfigInfo infoWithSameContent = new CarAudioZoneConfigInfo(TEST_CONFIG_NAME, in equals_forDifferentContent_withDynamicFlagEnabled() local
198 .that(infoWithSameContent).isNotEqualTo(TEST_ZONE_CONFIG_INFO); in equals_forDifferentContent_withDynamicFlagEnabled()
210 CarAudioZoneConfigInfo infoWithSameContent = new CarAudioZoneConfigInfo(TEST_CONFIG_NAME, in hasSameConfigInfo_forSameContent() local
214 .that(infoWithSameContent.hasSameConfigInfo(TEST_ZONE_CONFIG_INFO)).isTrue(); in hasSameConfigInfo_forSameContent()
220 CarAudioZoneConfigInfo infoWithSameContent = new CarAudioZoneConfigInfo(TEST_CONFIG_NAME, in hasSameConfigInfo_withNullInfo() local
224 () -> infoWithSameContent.hasSameConfigInfo(null)); in hasSameConfigInfo_withNullInfo()
[all …]
DCarVolumeGroupInfoUnitTest.java434 CarVolumeGroupInfo infoWithSameContent = in equals_forSameContent() local
443 .that(infoWithSameContent).isEqualTo(TEST_VOLUME_INFO); in equals_forSameContent()
478 CarVolumeGroupInfo infoWithSameContent = new CarVolumeGroupInfo.Builder(TEST_VOLUME_INFO) in hashCode_forSameContent_forAllFlagsDisabled() local
486 .that(infoWithSameContent.hashCode()).isEqualTo(TEST_VOLUME_INFO.hashCode()); in hashCode_forSameContent_forAllFlagsDisabled()
503 CarVolumeGroupInfo infoWithSameContent = in hashCode_forSameContent_forAllFlagsEnabled() local
507 .that(infoWithSameContent.hashCode()).isEqualTo(originalInfo.hashCode()); in hashCode_forSameContent_forAllFlagsEnabled()