Home
last modified time | relevance | path

Searched refs:golden_data (Results 1 – 18 of 18) 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.py679 def get_one_channel_correlation(test_data, golden_data): argument
706 to_float(golden_data),
756 def compare_one_channel_correlation(test_data, golden_data, parameters): argument
777 test_data, golden_data)
817 golden_data = audio_data.AudioRawData(
831 golden_data_one_channel = golden_data.channel_data[golden_channel]
/external/swiftshader/third_party/llvm-7.0/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/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, argument
194 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_speaker35 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic35 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.external_mic36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.headphone36 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.internal_speaker.plug38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_speaker39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.external_mic.unplug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
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.internal_mic40 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),