Home
last modified time | relevance | path

Searched refs:tmp_file_ (Results 1 – 3 of 3) sorted by relevance

/aosp12/system/extras/memory_replay/tests/
H A DNativeInfoTest.cpp29 tmp_file_ = new TemporaryFile(); in SetUp()
30 ASSERT_TRUE(tmp_file_->fd != -1); in SetUp()
34 delete tmp_file_; in TearDown()
37 TemporaryFile* tmp_file_ = nullptr; member in NativeInfoTest
60 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F()
64 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F()
121 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F()
125 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F()
182 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F()
186 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F()
[all …]
/aosp12/art/libartbase/base/
H A Dflags_test.cc34 tmp_file_.reset(tmp_file); in TestFlag()
36 std::string tmp_name = tmp_file_->GetFilename(); in TestFlag()
91 std::unique_ptr<ScratchFile> tmp_file_; member in art::TestFlag
/aosp12/system/core/libcutils/
H A Dtrace-dev_test.cpp32 lseek(tmp_file_.fd, 0, SEEK_SET); in SetUp()
33 atrace_marker_fd = tmp_file_.fd; in SetUp()
40 TemporaryFile tmp_file_; member in TraceDevTest