/system/connectivity/shill/ |
json_store_unittest.cc | 63 test_file_ = temp_dir_.path().Append("test-json-store"); 64 store_.reset(new JsonStore(test_file_)); 80 FilePath test_file_; member in class:shill::JsonStoreTest 91 base::WriteFile(test_file_, data.data(), data.size())); [all...] |
key_file_store_unittest.cc | 57 test_file_ = temp_dir_.path().Append("test-key-file-store"); 58 store_.reset(new KeyFileStore(test_file_)); 70 FilePath test_file_; member in class:shill::KeyFileStoreTest 76 EXPECT_TRUE(base::ReadFileToString(test_file_, &data)); 82 base::WriteFile(test_file_, data.data(), data.size())); 99 EXPECT_EQ(test_file_.value(), file_enumerator.Next().value()); 113 ASSERT_TRUE(base::DeleteFile(test_file_, false)); 114 ASSERT_TRUE(base::CreateDirectory(test_file_)); 130 EXPECT_TRUE(base::PathExists(test_file_)); 133 EXPECT_FALSE(base::PathExists(test_file_)); [all...] |
/system/extras/tests/fstest/ |
recovery_test.cpp | 52 strncpy(test_file_, file_name, FILENAME_MAX); 56 int write_fd = open(test_file_, O_CREAT | O_WRONLY, 0666); 64 int read_fd = open(test_file_, O_RDONLY); 72 unlink(test_file_); 76 char test_file_[FILENAME_MAX]; member in class:android::DataFileVerifier
|
/external/webrtc/webrtc/base/ |
optionsfile_unittest.cc | 41 test_file_ = Filesystem::TempFilename(dir, ".testfile"); 47 store_.reset(new OptionsFile(test_file_)); 53 std::string test_file_; member in class:rtc::OptionsFileTest
|