Home
last modified time | relevance | path

Searched refs:convBack (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/audioaidlconversion/tests/
Daudio_aidl_ndk_conversion_tests.cpp56 auto convBack = legacy2aidl_playback_track_metadata_v7_PlaybackTrackMetadata(conv.value()); in TEST() local
57 ASSERT_TRUE(convBack.ok()); in TEST()
58 EXPECT_EQ(initial, convBack.value()); in TEST()
67 auto convBack = legacy2aidl_playback_track_metadata_v7_PlaybackTrackMetadata(conv.value()); in TEST() local
68 ASSERT_TRUE(convBack.ok()); in TEST()
69 ASSERT_EQ(1, convBack.value().tags.size()); in TEST()
70 EXPECT_EQ(initial.tags[1], convBack.value().tags[0]); in TEST()
77 auto convBack = legacy2aidl_record_track_metadata_v7_RecordTrackMetadata(conv.value()); in TEST() local
78 ASSERT_TRUE(convBack.ok()); in TEST()
79 EXPECT_EQ(initial, convBack.value()); in TEST()
[all …]
Daudio_aidl_ndk_cpp_conversion_tests.cpp121 auto convBack = cpp2ndk_AudioFormatDescription(conv.value()); in TEST_P() local
122 ASSERT_TRUE(convBack.ok()); in TEST_P()
123 EXPECT_EQ(initial, convBack.value()); in TEST_P()
133 auto convBack = cpp2ndk_AudioPort(conv.value()); in TEST() local
134 ASSERT_TRUE(convBack.ok()); in TEST()
135 EXPECT_EQ(initial, convBack.value()); in TEST()
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp313 auto convBack = legacy2aidl_audio_channel_mask_t_AudioChannelLayout(conv.value(), isInput); in TEST_P() local
314 ASSERT_TRUE(convBack.ok()); in TEST_P()
315 EXPECT_EQ(initial, convBack.value()); in TEST_P()
435 auto convBack = legacy2aidl_audio_devices_t_AudioDeviceDescription(conv.value()); in TEST_P() local
436 ASSERT_TRUE(convBack.ok()); in TEST_P()
437 EXPECT_EQ(initial, convBack.value()); in TEST_P()
451 auto convBack = legacy2aidl_audio_device_AudioDevice(legacyType, legacyAddress); in TEST_P() local
452 ASSERT_TRUE(convBack.ok()); in TEST_P()
453 EXPECT_EQ(initial, convBack.value()); in TEST_P()
492 auto convBack = legacy2aidl_audio_format_t_AudioFormatDescription(conv.value()); in TEST_P() local
[all …]
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp82 auto convBack = aidl2legacy_AudioProfile(conv.value(), false /*isInput*/); in TEST() local
83 ASSERT_TRUE(convBack.ok()); in TEST()
84 ASSERT_TRUE(profile->equals(convBack.value())); in TEST()
91 auto convBack = aidl2legacy_AudioProfileVector(conv.value(), false /*isInput*/); in TEST() local
92 ASSERT_TRUE(convBack.ok()); in TEST()
93 ASSERT_TRUE(profiles.equals(convBack.value())); in TEST()
100 auto convBack = aidl2legacy_AudioGain(conv.value()); in TEST() local
101 ASSERT_TRUE(convBack.ok()); in TEST()
102 ASSERT_TRUE(audioGain->equals(convBack.value())); in TEST()
109 auto convBack = aidl2legacy_AudioGains(conv.value()); in TEST() local
[all …]