Home
last modified time | relevance | path

Searched refs:golden_data (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py111 golden_data = test_util.GoldenFileData(
114 golden_data = test_util.GoldenFileData('golden_message_proto3')
117 golden_message.ParseFromString(golden_data)
120 self.assertEqual(golden_data, golden_message.SerializeToString())
122 self.assertEqual(golden_data, golden_copy.SerializeToString())
125 golden_data = test_util.GoldenFileData('golden_packed_fields_message')
127 golden_message.ParseFromString(golden_data)
131 self.assertEqual(golden_data, all_set.SerializeToString())
133 self.assertEqual(golden_data, golden_copy.SerializeToString())
136 golden_data = test_util.GoldenFileData('golden_message')
[all …]
/external/autotest/client/cros/audio/
Daudio_helper.py687 def get_one_channel_correlation(test_data, golden_data): argument
714 to_float(golden_data),
764 def compare_one_channel_correlation(test_data, golden_data, parameters): argument
785 test_data, golden_data)
825 golden_data = audio_data.AudioRawData(
839 golden_data_one_channel = golden_data.channel_data[golden_channel]
/external/llvm/unittests/ADT/
DHashingTest.cpp210 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local
321 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST()
322 StringRef str = golden_data[i].s; in TEST()
329 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()
/external/autotest/server/site_tests/audio_AudioAfterReboot/
Daudio_AudioAfterReboot.py160 def run_once(self, host, golden_data, audio_nodes, bind_from=None, bind_to=None, argument
189 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.external_mic31 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.headphone31 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.internal_speaker31 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic31 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
/external/autotest/server/site_tests/audio_AudioAfterSuspend/
Daudio_AudioAfterSuspend.py172 def run_once(self, host, audio_nodes, golden_data, argument
212 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.internal_mic36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.headphone36 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.internal_speaker35 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.external_mic36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_speaker.plug38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic.plug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.headphone.unplug39 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.external_mic.unplug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),