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 502 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 506 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F() 534 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local 537 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 542 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F() 564 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local 565 unique_fd screenshot_fd2(dup(screenshot_fd.get())); in TEST_F() 569 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F() 574 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 90 android::base::unique_fd screenshot_fd, in startBugreport() argument 127 screenshot_fd, is_screenshot_requested); in startBugreport() 129 if (bugreport_fd.get() == -1 || (options->do_screenshot && screenshot_fd.get() == -1)) { in startBugreport()
|
D | DumpstateService.h | 43 android::base::unique_fd screenshot_fd, int bugreport_mode,
|
D | dumpstate.h | 416 android::base::unique_fd screenshot_fd; member 432 const android::base::unique_fd& screenshot_fd,
|
D | dumpstate.cpp | 741 if (!ds.options_->do_screenshot || ds.options_->screenshot_fd.get() == -1 || in onReportApproved() 747 ds.options_->screenshot_fd.get()); in onReportApproved() 2627 screenshot_fd.reset(dup(screenshot_fd_in.get())); in Initialize() 3193 options_->screenshot_fd.get() != -1 && in CopyBugreportIfUserConsented() 3196 options_->screenshot_fd.get()); in CopyBugreportIfUserConsented()
|