Home
last modified time | relevance | path

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

/system/media/tests/
Dsystemaudio_tests.cpp650 ASSERT_TRUE(audio_port_configs_are_equal(&lhs, &rhs)); in TEST_P()
653 &lhs, &rhs, audio_port_configs_are_equal); in TEST_P()
655 &lhs, &rhs, audio_port_configs_are_equal); in TEST_P()
658 &lhs, &rhs, AUDIO_PORT_CONFIG_SAMPLE_RATE, audio_port_configs_are_equal); in TEST_P()
660 &lhs, &rhs, AUDIO_PORT_CONFIG_CHANNEL_MASK, audio_port_configs_are_equal); in TEST_P()
662 &lhs, &rhs, AUDIO_PORT_CONFIG_FORMAT, audio_port_configs_are_equal); in TEST_P()
664 ASSERT_FALSE(audio_port_configs_are_equal(&lhs, &rhs)); in TEST_P()
667 ASSERT_TRUE(audio_port_configs_are_equal(&lhs, &rhs)); in TEST_P()
672 ASSERT_TRUE(audio_port_configs_are_equal(&lhs, &rhs)); in TEST_P()
678 ASSERT_FALSE(audio_port_configs_are_equal(&lhs, &rhs)); in TEST_P()
[all …]
/system/media/audio/include/system/
Daudio.h846 static inline bool audio_port_configs_are_equal( in audio_port_configs_are_equal() function
976 return audio_port_configs_are_equal(&lhs->active_config, &rhs->active_config); in audio_ports_base_are_equal()
1978 if (!audio_port_configs_are_equal(&lhs->sources[i], &rhs->sources[i])) return false; in audio_patches_are_equal()
1981 if (!audio_port_configs_are_equal(&lhs->sinks[i], &rhs->sinks[i])) return false; in audio_patches_are_equal()