/system/testing/gtest_extras/gtest_isolated/tests/ |
D | OptionsTest.cpp | 56 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/ |
D | cmd_debug_unwind_test.cpp | 41 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 …]
|
D | kallsyms_test.cpp | 106 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 …]
|
D | cmd_dumprecord_test.cpp | 51 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 …]
|
D | cmd_trace_sched_test.cpp | 53 CaptureStdout capture; in TEST() local 54 ASSERT_TRUE(capture.Start()); in TEST() 57 std::string data = capture.Finish(); in TEST()
|
D | dso_test.cpp | 150 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 …]
|
D | cmd_inject_test.cpp | 192 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()
|
D | cmd_monitor_test.cpp | 53 CaptureStdout capture; in RunMonitorCmd() local 54 if (!capture.Start()) { in RunMonitorCmd() 58 output.append(capture.Finish()); in RunMonitorCmd()
|
D | libsimpleperf_report_fuzzer.cpp | 48 CaptureStdout capture; in TestDumpCmd() local 49 capture.Start(); in TestDumpCmd()
|
D | cmd_stat_test.cpp | 271 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()
|
D | cmd_record_test.cpp | 1267 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()
|
D | cmd_report_test.cpp | 696 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/ |
D | bt_snoop_log_parser.cc | 98 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/ |
D | bt_snoop_log_parser.h | 82 void capture(const uint8_t *packet, size_t packetSize,
|
/system/sepolicy/microdroid/system/private/ |
D | atrace.te | 9 # This is used by Perfetto to capture atrace stdout/stderr.
|
/system/sepolicy/private/ |
D | e2fs.te | 9 # Vold needs to capture mkfs.ext4's output
|
D | atrace.te | 16 # This is used by Perfetto to capture atrace stdout/stderr.
|
D | audioserver.te | 23 # used for TEE sink - pcm capture for debug.
|
D | statsd.te | 6 # stdint through a pipe. It allows statsd to capture traces and hand them
|
D | dumpstate.te | 489 # use /dev/ion for screen capture
|
D | system_server.te | 561 # dumpstate during bugreport capture and incidentd during incident collection.
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraAvgFragment.java | 794 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/ |
D | fuzz.sh | 141 …ge --base-directory $ANDROID_BUILD_TOP --gcov-tool $(pwd)/../llvm-gcov --capture -o ./coverage/cov…
|
/system/logging/logd/ |
D | README.replay.md | 7 It stores messages in memory until that file is accessible, in order to capture all messages since
|
/system/extras/ioblame/ |
D | README | 116 ^Csignal INT received, killing streaming trace capture
|