/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 178 FilePath test_file() { in test_file() function in base::__anond354078d0111::FilePathWatcherTest 231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F() 233 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 240 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 244 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F() 247 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F() 259 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F() 262 ASSERT_TRUE(base::Move(source_file, test_file())); in TEST_F() 268 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 272 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F() [all …]
|
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
D | audio_SeekAudioFeedback.py | 25 def run_once(self, test_file, test_duration): argument 42 self.rms_test(tab, test_file, noiseprof_file.name, test_duration) 46 def rms_test(self, tab, test_file, noiseprof_file, test_duration): argument 47 logging.info('rms test on media file %s.', test_file) 54 self.play_media(tab, test_file, x) 75 self._rms_values['%s_rms_value' % test_file.replace('.', '_')]=rms 85 def play_media(self, tab, test_file, value): argument 91 tab.EvaluateJavaScript('play("%s")' % test_file)
|
/external/google-breakpad/src/common/linux/ |
D | memory_mapped_file_unittest.cc | 86 string test_file = temp_dir.path() + "/empty_file"; in TEST_F() local 87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0)); in TEST_F() 90 MemoryMappedFile mapped_file(test_file.c_str(), 0); in TEST_F() 95 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); in TEST_F() 108 string test_file = temp_dir.path() + "/test_file"; in TEST_F() local 109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); in TEST_F() 112 MemoryMappedFile mapped_file(test_file.c_str(), 0); in TEST_F() 120 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); in TEST_F()
|
/external/autotest/server/site_tests/android_ACTS/ |
D | android_ACTS.py | 53 test_case=None, test_file=None): argument 72 if test_file: 73 self.fetch_file(test_file, TEST_CAMPAIGN_FILE_FOLDER) 80 elif test_file: 82 os.path.join(self.ts_tempfolder, os.path.basename(test_file)))
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | wpd_tree_unittest.cc | 126 rtc::scoped_ptr<FileWrapper> test_file(FileWrapper::Create()); in TEST() local 128 test_file->OpenFile(test_file_name.c_str(), in TEST() 133 bool file_opened = test_file->Open(); in TEST() 146 size_t file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), in TEST() 188 file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), in TEST() 199 test_file->CloseFile(); in TEST()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser_unittest.cpp | 250 std::string test_file; in TEST() local 252 &test_file)); in TEST() 253 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file; in TEST() 266 std::string test_file; in TEST() local 268 "parser_rebuildxref_error_notrailer.pdf", &test_file)); in TEST() 269 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file; in TEST()
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
D | mountns-enter.py | 16 test_file = os.path.join(tmpdir, "test") variable 17 with open(test_file, "w") as t: 22 sys.executable, child_path, test_file])
|
D | mountns-enter-child.py | 9 test_file = sys.argv[1] variable 12 if os.access(test_file, os.F_OK):
|
/external/autotest/client/site_tests/login_Cryptohome/ |
D | login_Cryptohome.py | 38 test_file = os.path.join(cryptohome.user_path(TEST_USER), 'hello') 39 open(test_file, 'w').close() 46 if os.path.exists(test_file):
|
/external/autotest/client/site_tests/audio_CrasSanity/ |
D | audio_CrasSanity.py | 61 for test_file in self._audio: 62 url = _DOWNLOAD_BASE + 'audio_test/' + test_file 67 for test_file in self._video: 68 url = _DOWNLOAD_BASE + 'traffic/' + test_file
|
/external/autotest/client/common_lib/ |
D | base_utils_unittest.py | 62 test_file = StringIO.StringIO(contents) 63 base_utils.open.expect_call("filename", "r").and_return(test_file) 114 test_file = mock.SaveDataAfterCloseStringIO() 115 base_utils.open.expect_call("filename", "w").and_return(test_file) 118 return test_file.final_data 153 test_file = mock.SaveDataAfterCloseStringIO() 154 base_utils.open.expect_call("filename", "w").and_return(test_file) 157 self.assertEqual(data, test_file.final_data) 173 test_file = StringIO.StringIO(contents) 175 base_utils.open.expect_call(filename).and_return(test_file) [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/tools/ |
D | video_quality_measurement.cc | 156 FILE* test_file; in HandleCommandLineFlags() local 157 test_file = fopen(FLAGS_input_filename.c_str(), "rb"); in HandleCommandLineFlags() 158 if (test_file == NULL) { in HandleCommandLineFlags() 163 fclose(test_file); in HandleCommandLineFlags() 196 test_file = fopen(config->output_filename.c_str(), "wb"); in HandleCommandLineFlags() 197 if (test_file == NULL) { in HandleCommandLineFlags() 202 fclose(test_file); in HandleCommandLineFlags()
|
/external/autotest/client/site_tests/audio_PlaybackPower/ |
D | audio_PlaybackPower.py | 80 def run_once(self, test_file, checksum): argument 81 local_path = os.path.join(self.bindir, '%s' % test_file) 82 file_utils.download_file(_DOWNLOAD_BASE + test_file, local_path)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
D | test_resumable_uploads.py | 384 test_file = self.build_input_file(test_file_size)[1] 385 harness = CallbackTestHarness(fp_to_change=test_file, 391 test_file, cb=harness.call, 411 test_file, cb=harness.call, 417 test_file.seek(0, os.SEEK_END) 418 self.assertEqual(test_file_size, test_file.tell()) 444 test_file = self.build_input_file(test_file_size)[1] 447 fp_to_change=test_file,
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | not_strict_test.py | 66 for test_file in test_files: 67 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
|
D | full_test.py | 112 for test_file in test_files: 113 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | common_unittest_utils.py | 44 with open(filepath) as test_file: 45 return mtb.MtbParser().parse(test_file)
|
/external/autotest/server/site_tests/audio_MediaBasicVerification/ |
D | control.test_wav | 25 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 31 audio_test_file=test_file)
|
D | control.test_m4a | 25 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 31 audio_test_file=test_file)
|
D | control.test_mp3 | 25 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 31 audio_test_file=test_file)
|
/external/autotest/client/bin/ |
D | fsinfo_unittest.py | 20 test_file = StringIO.StringIO(contents) 21 fsinfo.open.expect_call(filename, 'r').and_return(test_file)
|
/external/autotest/server/site_tests/audio_AudioQualityAfterSuspend/ |
D | control.headphone_mp3 | 29 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 37 test_playback_file=test_file,
|
D | control.internal_speaker_mp3 | 30 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 38 test_playback_file=test_file,
|
D | control.internal_speaker_wav | 30 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 38 test_playback_file=test_file,
|
D | control.internal_speaker_m4a | 30 test_file = ('http://commondatastorage.googleapis.com/chromiumos-test-assets-' 38 test_playback_file=test_file,
|