Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 28) sorted by relevance

12

/system/testing/gtest_extras/gtest_isolated/tests/
DOptionsTest.cpp56 CapturedStdout capture; in TEST_F() local
60 capture.Stop(); in TEST_F()
62 EXPECT_EQ("Unknown argument: --unknown_arg\n", capture.str()); in TEST_F()
66 CapturedStdout capture; in TEST_F() local
70 capture.Stop(); in TEST_F()
72 EXPECT_EQ("Unknown argument: -unknown_arg\n", capture.str()); in TEST_F()
76 CapturedStdout capture; in TEST_F() local
80 capture.Stop(); in TEST_F()
82 EXPECT_EQ("Unexpected argument 'extra'\n", capture.str()); in TEST_F()
114 CapturedStdout capture; in TEST_F() local
[all …]
/system/extras/simpleperf/
Dcmd_debug_unwind_test.cpp41 CaptureStdout capture; in TEST() local
43 ASSERT_TRUE(capture.Start()); in TEST()
45 ASSERT_NE(capture.Finish().find("sample_time: 1516379654300997"), std::string::npos); in TEST()
51 CaptureStdout capture; in TEST() local
53 ASSERT_TRUE(capture.Start()); in TEST()
57 std::string output = capture.Finish(); in TEST()
78 CaptureStdout capture; in TEST() local
79 ASSERT_TRUE(capture.Start()); in TEST()
82 ASSERT_NE(capture.Finish().find( in TEST()
89 CaptureStdout capture; in TEST() local
[all …]
Dkallsyms_test.cpp106 CapturedStderr capture; in TEST() local
111 capture.Stop(); in TEST()
112 ASSERT_NE(capture.str().find(warning_msg), std::string::npos); in TEST()
114 capture.Reset(); in TEST()
115 capture.Start(); in TEST()
119 capture.Stop(); in TEST()
120 ASSERT_NE(capture.str().find(warning_msg), std::string::npos); in TEST()
122 capture.Reset(); in TEST()
123 capture.Start(); in TEST()
126 capture.Stop(); in TEST()
[all …]
Dcmd_dumprecord_test.cpp51 CaptureStdout capture; in TEST() local
52 ASSERT_TRUE(capture.Start()); in TEST()
54 std::string data = capture.Finish(); in TEST()
61 CaptureStdout capture; in TEST() local
62 ASSERT_TRUE(capture.Start()); in TEST()
64 std::string data = capture.Finish(); in TEST()
68 ASSERT_TRUE(capture.Start()); in TEST()
70 data = capture.Finish(); in TEST()
77 CaptureStdout capture; in TEST() local
78 ASSERT_TRUE(capture.Start()); in TEST()
[all …]
Dcmd_trace_sched_test.cpp53 CaptureStdout capture; in TEST() local
54 ASSERT_TRUE(capture.Start()); in TEST()
57 std::string data = capture.Finish(); in TEST()
Ddso_test.cpp150 CapturedStderr capture; in TEST() local
153 capture.Stop(); in TEST()
154 std::string stderr_output = capture.str(); in TEST()
345 CapturedStderr capture; in TEST() local
347 ASSERT_EQ(capture.str().find("build id mismatch"), std::string::npos); in TEST()
349 ASSERT_NE(capture.str().find("build id mismatch"), std::string::npos); in TEST()
350 capture.Stop(); in TEST()
358 CapturedStderr capture; in TEST() local
360 ASSERT_EQ(capture.str().find("failed to read symbols"), std::string::npos); in TEST()
365 CapturedStderr capture; in TEST() local
[all …]
Dcmd_inject_test.cpp192 CapturedStderr capture; in TEST() local
216 capture.Stop(); in TEST()
218 ASSERT_NE(capture.str().find(WARNING_MSG), std::string::npos); in TEST()
221 capture.Reset(); in TEST()
222 capture.Start(); in TEST()
225 capture.Stop(); in TEST()
226 ASSERT_NE(capture.str().find(WARNING_MSG), std::string::npos); in TEST()
Dcmd_monitor_test.cpp53 CaptureStdout capture; in RunMonitorCmd() local
54 if (!capture.Start()) { in RunMonitorCmd()
58 output.append(capture.Finish()); in RunMonitorCmd()
Dlibsimpleperf_report_fuzzer.cpp48 CaptureStdout capture; in TestDumpCmd() local
49 capture.Start(); in TestDumpCmd()
Dcmd_stat_test.cpp271 CaptureStdout capture; in TEST() local
272 ASSERT_TRUE(capture.Start()); in TEST()
274 std::string output = capture.Finish(); in TEST()
427 CaptureStdout capture; in TEST() local
428 ASSERT_TRUE(capture.Start()); in TEST()
431 std::string output = capture.Finish(); in TEST()
Dcmd_record_test.cpp1267 CaptureStdout capture; in TEST() local
1268 ASSERT_TRUE(capture.Start()); in TEST()
1270 std::string data = capture.Finish(); in TEST()
1350 CapturedStderr capture; in TEST() local
1356 capture.Stop(); in TEST()
1357 ASSERT_EQ(capture.str().find(warning_msg), std::string::npos); in TEST()
1360 capture.Reset(); in TEST()
1361 capture.Start(); in TEST()
1364 capture.Stop(); in TEST()
1365 std::string output = capture.str(); in TEST()
Dcmd_report_test.cpp696 CapturedStderr capture; in TEST_F() local
698 capture.Stop(); in TEST_F()
699 ASSERT_NE(capture.str().find("doesn't match clock used in time filter"), std::string::npos); in TEST_F()
/system/chre/host/common/
Dbt_snoop_log_parser.cc98 capture(message->packet, static_cast<size_t>(message->packetSize), in log()
104 void BtSnoopLogParser::capture(const uint8_t *packet, size_t packetSize, in capture() function in android::chre::BtSnoopLogParser
/system/chre/host/common/include/chre_host/
Dbt_snoop_log_parser.h82 void capture(const uint8_t *packet, size_t packetSize,
/system/sepolicy/microdroid/system/private/
Datrace.te9 # This is used by Perfetto to capture atrace stdout/stderr.
/system/sepolicy/private/
De2fs.te9 # Vold needs to capture mkfs.ext4's output
Datrace.te16 # This is used by Perfetto to capture atrace stdout/stderr.
Daudioserver.te23 # used for TEE sink - pcm capture for debug.
Dstatsd.te6 # stdint through a pipe. It allows statsd to capture traces and hand them
Ddumpstate.te489 # use /dev/ion for screen capture
Dsystem_server.te561 # dumpstate during bugreport capture and incidentd during incident collection.
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java794 mCaptureSession.capture(mPreviewRequestBuilder.build(), mCaptureCallback, in lockFocus()
812 mCaptureSession.capture(mPreviewRequestBuilder.build(), mCaptureCallback, in runPrecaptureSequence()
856 mCaptureSession.capture(captureBuilder.build(), CaptureCallback, null); in captureStillPicture()
886 mCaptureSession.capture(mPreviewRequestBuilder.build(), mCaptureCallback, in unlockFocus()
/system/nfc/src/fuzzers/
Dfuzz.sh141 …ge --base-directory $ANDROID_BUILD_TOP --gcov-tool $(pwd)/../llvm-gcov --capture -o ./coverage/cov…
/system/logging/logd/
DREADME.replay.md7 It stores messages in memory until that file is accessible, in order to capture all messages since
/system/extras/ioblame/
DREADME116 ^Csignal INT received, killing streaming trace capture

12