/external/googletest/googlemock/test/ |
D | gmock_output_test.py | 159 golden_file = open(GOLDEN_PATH, 'rb') 160 golden = golden_file.read().decode('utf-8') 161 golden_file.close() 176 golden_file = open(GOLDEN_PATH, 'wb') variable 177 golden_file.write(output) 178 golden_file.close()
|
/external/autotest/server/site_tests/audio_AudioBasicUSBPlaybackRecord/ |
D | audio_AudioBasicUSBPlaybackRecord.py | 37 golden_file = audio_test_data.GenerateAudioTestData( 76 playback_source.set_playback_data(golden_file) 77 record_source.set_playback_data(golden_file) 110 golden_file.path) 112 logging.info('Start playing %s on Chameleon', golden_file.path) 147 audio_test_utils.check_recorded_frequency(golden_file, 149 audio_test_utils.check_recorded_frequency(golden_file, record_recorder)
|
/external/autotest/server/site_tests/audio_AudioArtifacts/ |
D | audio_AudioArtifacts.py | 32 golden_file, switch_hsp=False, argument 94 if golden_file.duration_secs: 95 record_secs = golden_file.duration_secs 101 file_url = getattr(golden_file, 'url', None) 120 source.set_playback_data(golden_file) 127 golden_file.path) 182 golden_file, recorder,
|
D | control.usb | 31 golden_file=audio_test_data.FREQUENCY_TEST_FILE,
|
/external/googletest/googletest/test/ |
D | googletest-output-test.py | 284 golden_file = open(GOLDEN_PATH, 'rb') 289 golden = ToUnixLineEnding(golden_file.read().decode()) 290 golden_file.close() 333 golden_file = open(GOLDEN_PATH, 'wb') variable 334 golden_file.write(output.encode()) 335 golden_file.close()
|
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/ |
D | audio_AudioBasicInternalSpeaker.py | 32 golden_file = audio_test_data.GenerateAudioTestData( 54 source.set_playback_data(golden_file) 58 logging.info('Start playing %s on Cros device', golden_file.path) 98 golden_file,
|
/external/autotest/server/site_tests/audio_AudioBasicUSBPlayback/ |
D | audio_AudioBasicUSBPlayback.py | 34 golden_file = audio_test_data.GenerateAudioTestData( 61 source.set_playback_data(golden_file) 79 logging.info('Start playing %s on Cros device', golden_file.path) 97 audio_test_utils.check_recorded_frequency(golden_file, recorder)
|
/external/autotest/server/site_tests/audio_AudioWebRTCLoopback/ |
D | audio_AudioWebRTCLoopback.py | 65 golden_file = audio_test_data.GenerateAudioTestData( 121 usb_out.set_playback_data(golden_file) 132 golden_file.path) 148 golden_file.delete() 165 golden_file, linein, check_artifacts=check_quality)
|
/external/autotest/server/site_tests/audio_AudioPinnedStream/ |
D | audio_AudioPinnedStream.py | 36 golden_file = audio_test_data.GenerateAudioTestData( 83 source.set_playback_data(golden_file) 86 logging.info('Start playing %s', golden_file.path) 130 audio_test_utils.check_recorded_frequency(golden_file, recorder) 136 golden_file, recorder, second_peak_ratio=0.3)
|
/external/autotest/server/site_tests/audio_AudioBasicInternalMicrophone/ |
D | audio_AudioBasicInternalMicrophone.py | 35 golden_file = audio_test_data.GenerateAudioTestData( 63 source.set_playback_data(golden_file) 68 logging.info('Start playing %s from Chameleon', golden_file.path) 115 golden_file, recorder, second_peak_ratio=0.2)
|
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/ |
D | audio_AudioBasicHeadphone.py | 44 golden_file = audio_test_data.GenerateAudioTestData( 67 source.set_playback_data(golden_file) 71 logging.info('Start playing %s on Cros device', golden_file.path) 113 golden_file, recorder, check_artifacts=check_quality)
|
/external/autotest/server/site_tests/audio_AudioBasicExternalMicrophone/ |
D | audio_AudioBasicExternalMicrophone.py | 42 golden_file = audio_test_data.GenerateAudioTestData( 66 source.set_playback_data(golden_file) 71 logging.info('Start playing %s from Chameleon', golden_file.path) 109 golden_file,
|
/external/autotest/server/site_tests/audio_AudioBasicUSBRecord/ |
D | audio_AudioBasicUSBRecord.py | 34 golden_file = audio_test_data.GenerateAudioTestData( 60 source.set_playback_data(golden_file) 85 golden_file.path) 106 audio_test_utils.check_recorded_frequency(golden_file, recorder)
|
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlaybackRecord/ |
D | audio_AudioBasicBluetoothPlaybackRecord.py | 118 golden_file = audio_test_data.SIMPLE_FREQUENCY_TEST_FILE 189 playback_source.set_playback_data(golden_file) 190 record_source.set_playback_data(golden_file) 235 golden_file.path) 238 golden_file.path) 317 golden_file, playback_recorder, check_anomaly=check_quality, 324 golden_file, record_recorder, check_anomaly=check_quality,
|
/external/autotest/server/site_tests/audio_AudioBasicHDMI/ |
D | audio_AudioBasicHDMI.py | 78 golden_file = audio_test_data.GenerateAudioTestData( 115 source.set_playback_data(golden_file) 122 logging.info('Start playing %s on Cros device', golden_file.path) 142 golden_file, recorder, check_artifacts=check_quality)
|
/external/autotest/server/site_tests/audio_AudioVolume/ |
D | audio_AudioVolume.py | 86 golden_file = get_golden_file(source_id) 122 source.set_playback_data(golden_file) 138 golden_file.path) 166 golden_file, 174 golden_file,
|
/external/autotest/server/site_tests/audio_AudioBasicHotwording/ |
D | audio_AudioBasicHotwording.py | 51 golden_file = audio_test_data.GenerateAudioTestData( 102 remote_golden_file_path = source.set_playback_data(golden_file) 108 logging.info('Start playing %s from Chameleon', golden_file.path) 163 golden_file, listener, second_peak_ratio=0.2)
|
/external/autotest/server/site_tests/audio_AudioAfterReboot/ |
D | audio_AudioAfterReboot.py | 43 source_widget.set_playback_data(self.golden_file) 44 logging.debug('Start playing %s', self.golden_file.path) 89 self.golden_file, 190 self.golden_file, self.low_pass_freq = golden_data
|
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlayback/ |
D | audio_AudioBasicBluetoothPlayback.py | 106 golden_file = audio_test_data.FREQUENCY_TEST_FILE 147 source.set_playback_data(golden_file) 187 golden_file.path) 227 golden_file, recorder, check_anomaly=check_quality)
|
/external/autotest/server/site_tests/audio_AudioBasicBluetoothRecord/ |
D | audio_AudioBasicBluetoothRecord.py | 108 golden_file = audio_test_data.SIMPLE_FREQUENCY_TEST_FILE 164 source.set_playback_data(golden_file) 202 golden_file.path) 241 golden_file, recorder, check_anomaly=check_quality,
|
/external/grpc-grpc/test/cpp/codegen/ |
D | golden_file_test.cc | 41 const std::basic_string<char>& golden_file) { in run_test() argument 43 std::ifstream golden(golden_file); in run_test()
|
/external/autotest/server/site_tests/audio_AudioAfterSuspend/ |
D | audio_AudioAfterSuspend.py | 122 source_widget.set_playback_data(self.golden_file) 123 logging.debug('Start playing %s', self.golden_file.path) 172 self.golden_file, recorder_widget, 232 self.golden_file, self.low_pass_freq = golden_data
|
/external/libchrome/base/android/jni_generator/ |
D | jni_generator_tests.py | 98 def _ReadGoldenFile(self, golden_file): argument 99 if not os.path.exists(golden_file): 101 with file(golden_file, 'r') as f: 111 golden_file = os.path.join(script_dir, '%s%s.golden' % (caller, suffix)) 112 golden_text = self._ReadGoldenFile(golden_file) 115 with file(golden_file, 'w') as f: 879 golden_file = os.path.join(script_dir, 'SampleForTests_jni.golden') 880 golden_content = file(golden_file).read() 887 with file(golden_file, 'w') as f:
|
/external/autotest/client/cros/chameleon/ |
D | audio_test_utils.py | 463 golden_file, argument 545 golden_frequency = golden_file.frequencies[golden_channel] 786 def compare_recorded_correlation(golden_file, recorder, parameters=None): argument 798 golden_file.path) 800 golden_file.get_binary(), golden_file.data_format,
|
/external/tensorflow/tensorflow/lite/testing/model_coverage/ |
D | model_coverage_lib.py | 569 golden_file = get_golden_filepath(golden_name) 572 logging.warning("Updating golden values in file %s.", golden_file) 573 if not os.path.exists(golden_file): 575 golden_file, _resource_loader.get_root_dir_with_all_resources()) 580 with open(golden_file, "wb") as f: 583 golden_data = np.load(golden_file, allow_pickle=False)
|