/system/extras/memory_replay/tests/ |
NativeInfoTest.cpp | 29 tmp_file_ = new TemporaryFile(); 30 ASSERT_TRUE(tmp_file_->fd != -1); 34 delete tmp_file_; 37 TemporaryFile* tmp_file_ = nullptr; member in class:NativeInfoTest 59 write(tmp_file_->fd, smaps_data.c_str(), smaps_data.size())) != -1); 60 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); 64 GetNativeInfo(tmp_file_->fd, &pss_bytes, &va_bytes); 120 write(tmp_file_->fd, smaps_data.c_str(), smaps_data.size())) != -1); 121 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); 125 GetNativeInfo(tmp_file_->fd, &pss_bytes, &va_bytes) [all...] |
LineBufferTest.cpp | 28 tmp_file_ = new TemporaryFile(); 29 ASSERT_TRUE(tmp_file_->fd != -1); 33 delete tmp_file_; 36 TemporaryFile* tmp_file_ = nullptr; member in class:LineBufferTest 43 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1); 44 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); 47 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); 62 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1); 63 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); 66 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)) [all...] |
/system/core/libcutils/tests/ |
trace-dev_test.cpp | 33 lseek(tmp_file_.fd, 0, SEEK_SET); 34 atrace_marker_fd = tmp_file_.fd; 41 TemporaryFile tmp_file_; member in class:TraceDevTest
|