Searched refs:screenshot_fd (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 499 unique_fd screenshot_fd(OpenForWrite("/bugreports/tmp.png")); in TEST_F() local 503 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 508 std::move(screenshot_fd), in TEST_F() 537 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local 541 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 547 std::move(screenshot_fd), 2000, // invalid bugreport mode in TEST_F() 568 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local 569 unique_fd screenshot_fd2(dup(screenshot_fd.get())); in TEST_F() 574 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 580 std::move(screenshot_fd), in TEST_F()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 117 android::base::unique_fd screenshot_fd, in startBugreport() argument 157 bugreport_fd, screenshot_fd, is_screenshot_requested, skip_user_consent); in startBugreport() 159 if (bugreport_fd.get() == -1 || (options->do_screenshot && screenshot_fd.get() == -1)) { in startBugreport()
|
D | DumpstateService.h | 45 android::base::unique_fd screenshot_fd, int bugreport_mode,
|
D | dumpstate.h | 434 android::base::unique_fd screenshot_fd; member 451 const android::base::unique_fd& screenshot_fd,
|
D | dumpstate.cpp | 760 if (!ds.options_->do_screenshot || ds.options_->screenshot_fd.get() == -1 || in onReportApproved() 766 ds.options_->screenshot_fd.get()); in onReportApproved() 2990 screenshot_fd.reset(fcntl(screenshot_fd_in.get(), F_DUPFD_CLOEXEC, 0)); in Initialize() 3718 options_->screenshot_fd.get() != -1 && in CopyBugreportIfUserConsented() 3721 options_->screenshot_fd.get()); in CopyBugreportIfUserConsented()
|