Home
last modified time | relevance | path

Searched refs:screenshot_fd (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp445 unique_fd screenshot_fd(OpenForWrite("/bugreports/tmp.png")); in TEST_F() local
448 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F()
452 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F()
480 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local
483 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F()
488 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F()
510 unique_fd screenshot_fd(OpenForWrite("/data/local/tmp/tmp.png")); in TEST_F() local
511 unique_fd screenshot_fd2(dup(screenshot_fd.get())); in TEST_F()
515 EXPECT_NE(screenshot_fd.get(), -1); in TEST_F()
520 …binder->startBugreport(123, "com.dummy.package", std::move(bugreport_fd), std::move(screenshot_fd), in TEST_F()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp119 android::base::unique_fd screenshot_fd, in startBugreport() argument
156 screenshot_fd); in startBugreport()
158 if (bugreport_fd.get() == -1 || (options->do_fb && screenshot_fd.get() == -1)) { in startBugreport()
DDumpstateService.h47 android::base::unique_fd screenshot_fd, int bugreport_mode,
Ddumpstate.h368 android::base::unique_fd screenshot_fd; member
383 const android::base::unique_fd& screenshot_fd);
Ddumpstate.cpp2437 screenshot_fd.reset(dup(screenshot_fd_in.get())); in Initialize()
2793 if (options_->do_fb && options_->screenshot_fd.get() != -1) { in RunInternal()
2795 options_->screenshot_fd.get()); in RunInternal()