Home
last modified time | relevance | path

Searched full:logpath (Results 1 – 25 of 121) sorted by relevance

12345

/aosp_15_r20/external/toybox/mkroot/
H A Drecord-commands6 [ -z "$LOGPATH" ] && export LOGPATH="$PWD"/log.txt
8 if [ ! -x "$WRAPDIR/logpath" ]
10 LOG="$(which logpath)"
12 [ -e "$LOG" ] && cp -H "$LOG" "$WRAPDIR/logpath" || { cd "$(dirname $0)/.." &&
13 PREFIX="$WRAPDIR/" scripts/single.sh logpath >/dev/null &&
14 LOG="$PWD/logpath" || exit 1; }
17 while read FILE; do ln -s logpath "$WRAPDIR/$FILE" 2>/dev/null; done
22 rm -f "$LOGPATH"
33 echo export LOGPATH=${LOGPATH@Q} PATH=${WRAPDIR@Q}:${PATH@Q}
/aosp_15_r20/external/toybox/toys/example/
H A Dlogpath.c1 /* logpath.c - Record commands called out of $PATH to a log
7 USE_LOGPATH(NEWTOY(logpath, 0, TOYFLAG_NOHELP|TOYFLAG_USR|TOYFLAG_BIN))
9 config LOGPATH
10 bool "logpath"
13 usage: logpath ...
15 Append command line to $LOGPATH, then call second instance
28 char *log = getenv("LOGPATH"), *omnom = basename(*toys.argv), *s, *ss, *sss; in logpath_main()
33 if (!log) error_exit("no $LOGPATH"); in logpath_main()
76 **toys.argv == '/' ? *toys.argv : "logpath", getenv("PATH")); in logpath_main()
/aosp_15_r20/external/rust/android-crates-io/crates/libfuzzer-sys/libfuzzer/
DFuzzerFork.cpp38 static Stats ParseFinalStatsFromLog(const std::string &LogPath) { in ParseFinalStatsFromLog() argument
39 std::ifstream In(LogPath); in ParseFinalStatsFromLog()
69 std::string LogPath; member
81 RemoveFile(LogPath); in ~FuzzJob()
172 Job->LogPath = DirPlusFile(TempDir, std::to_string(JobId) + ".log"); in CreateNewJob()
187 Cmd.setOutputFile(Job->LogPath); in CreateNewJob()
200 auto Stats = ParseFinalStatsFromLog(Job->LogPath); in RunOneMergeJob()
445 std::ifstream In(Job->LogPath); in FuzzWithFork()
454 FileToString(Job->LogPath).c_str()); in FuzzWithFork()
/aosp_15_r20/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
H A DLogcatCollectorTest.java337 String logPath = null; in testRetrievingLogcat() local
340 logPath = check.getString(key); in testRetrievingLogcat()
343 assertTrue(logPath != null); in testRetrievingLogcat()
352 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testRetrievingLogcat()
407 String logPath = null; in testLogcatTimespan() local
410 logPath = check.getString(key); in testLogcatTimespan()
413 assertTrue(logPath != null); in testLogcatTimespan()
420 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testLogcatTimespan()
/aosp_15_r20/external/swiftshader/tests/regres/deqp/
H A Ddeqp.go312 logPath := "/dev/null" // TODO(bclayton): Try "nul" on windows.
313 if !util.IsFile(logPath) {
314 logPath = filepath.Join(c.TempDir, fmt.Sprintf("%v.log", goroutineIndex))
321 c.PerformTests(exe, env, coverageFile, logPath, testNames, supportsCoverage, results)
327 c.PerformTests(exe, env, coverageFile, logPath, testNames, supportsCoverage, results)
331 func (c *Config) PerformTests(exe string, env []string, coverageFile string, logPath string, testNa…
355 "--deqp-log-filename="+logPath,
394 c.PerformTests(exe, env, coverageFile, logPath, singleTest, supportsCoverage, results)
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
H A DLogBufferEulogizer.kt50 private val logPath: Path, in <lambda>() constant in com.android.systemui.dump.LogBufferEulogizer
81 val millisSinceLastWrite = getMillisSinceLastWrite(logPath) in <lambda>()
88 val writer = files.newBufferedWriter(logPath, CREATE, TRUNCATE_EXISTING) in <lambda>()
114 val millisSinceLastWrite = getMillisSinceLastWrite(logPath) in <lambda>()
125 files.lines(logPath).use { s -> in <lambda>()
/aosp_15_r20/external/openscreen/tools/cddl/
H A Dcddl.py25 logPath = os.path.join(args.gen_dir, args.log)
26 log = open(logPath, "w")
28 log = open(logPath, "a")
31 print("Logging to %s" % logPath)
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/
Dtest_fuzz_mutator.txt41 logPath = flag.String("log", "", "path to log file")
48 logFile, err = os.OpenFile(*logPath, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0666)
50 *logPath += ".worker"
51 logFile, err = os.OpenFile(*logPath, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0666)
/aosp_15_r20/frameworks/av/services/audioflinger/afutils/
H A DBufLog.cpp120 char logPath[BUFLOG_MAX_PATH_SIZE]; in BufLogStream() local
121 snprintf(logPath, BUFLOG_MAX_PATH_SIZE, "%s/%s_%d_%s_%d_%d_%d.raw", BUFLOG_BASE_PATH, timeStr, in BufLogStream()
123 ALOGV("data output: %s", logPath); in BufLogStream()
125 mFile = fopen(logPath, "wb"); in BufLogStream()
/aosp_15_r20/platform_testing/host_runners/utils/src/com/android/runner/utils/
H A DNohupCommandHelper.java46 String logPath = in executeAdbNohupCommand() local
49 File out = new File(logPath); in executeAdbNohupCommand()
62 builder.append(String.format(">> %s", logPath)); in executeAdbNohupCommand()
/aosp_15_r20/build/soong/ui/build/
H A Dninja.go290 logPath: filepath.Join(config.OutDir(), ninjaLogFileName),
309 logPath string member
317 info, err := os.Stat(c.logPath)
325 …ctx.Verbosef("ninja may be stuck; last update to %v was %v. dumping process tree...", c.logPath, n…
/aosp_15_r20/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dos_utils.py107 def read_crash_snippet_and_log_tail(logpath): argument
122 with open(logpath) as f:
139 logging.error("Cannot open backing log file at {}".format(logpath))
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/dump/
DLogBufferEulogizer.java27 …systemui/util/time/SystemClock;Lcom/android/systemui/util/io/Files;)V", "logPath", "Ljava/nio/file…
36 private final java.nio.file.Path logPath = null; field in LogBufferEulogizer
44 java.nio.file.Path logPath, long minWriteGap, long maxLogAgeToDump) { in LogBufferEulogizer()
/aosp_15_r20/external/google-breakpad/src/client/mac/sender/
H A Duploader.mm276 NSString *logPath;
292 logPath = [parameters_ objectForKey:logFileKey];
297 if (!logPath) {
301 NSData *entireLogFile = [[NSData alloc] initWithContentsOfFile:logPath];
322 [[logPath lastPathComponent] fileSystemRepresentation]);
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/am/am/android_common/repackaged-jarjar/javac/
Dam.jar ... boolean rawMode public boolean captureLogcat boolean protoStd boolean protoFile String logPath public boolean noWindowAnimation public boolean disableHiddenApiChecks public boolean disableTestApiChecks public ...
/aosp_15_r20/tools/test/connectivity/acts/framework/acts/bin/
Dact.py150 '--logpath',
201 if args.logpath:
202 test_run_config.log_path = args.logpath
/aosp_15_r20/tools/asuite/atest/test_runners/
H A Dmobly_test_runner_unittest.py220 'LogPath': 'atest_results/sample_test/mobly_logs',
243 'LogPath': 'atest_results/sample_test/mobly_logs',
267 'LogPath': 'atest_results/sample_test/mobly_logs',
305 'LogPath': 'atest_results/sample_test/mobly_logs',
/aosp_15_r20/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
H A Dminimal-secure-streams.c560 char cxname[16], logpath[128]; in main() local
597 lws_snprintf(logpath, sizeof(logpath), "/tmp/%s.log", cxname); in main()
598 my_log_cx.opaque = (void *)logpath; in main()
/aosp_15_r20/external/bazelbuild-rules_go/tests/core/go_test/
H A Dtest_fail_fast_test.go62 logPath := filepath.FromSlash("bazel-testlogs/fail_fast_test/test.log")
63 logData, err := ioutil.ReadFile(logPath)
/aosp_15_r20/external/lzma/CPP/7zip/UI/Common/
H A DEnumDirItems.cpp1302 const UString logPath = GetLogPath(i); in FillFixedReparse() local
1303 if (logPath.Len() >= fullPath.Len()) in FillFixedReparse()
1305 if (CompareFileNames(logPath, fullPath.RightPtr(logPath.Len())) != 0) in FillFixedReparse()
1308 const UString prefix = fullPath.Left(fullPath.Len() - logPath.Len()); in FillFixedReparse()
/aosp_15_r20/external/deqp/external/openglcts/modules/runner/
H A DglcAndroidTestActivity.hpp45 …const std::string &waiverPath, const std::string &logPath, glu::ApiType runType, uint32_t runFlags…
82 …GetTestParamThread(tcu::Android::NativeActivity &nativeActivity, const std::string &logPath, glu::…
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/am/am/android_common/javac/
Dam.jar ... boolean rawMode public boolean captureLogcat boolean protoStd boolean protoFile String logPath public boolean noWindowAnimation public boolean disableHiddenApiChecks public boolean disableTestApiChecks public ...
/aosp_15_r20/frameworks/base/cmds/am/src/com/android/commands/am/
H A DInstrument.java91 String logPath = null; field in Instrument
233 if (logPath == null) { in ProtoStatusReporter()
247 mLog = new File(Environment.getLegacyExternalStorageDirectory(), logPath); in ProtoStatusReporter()
/aosp_15_r20/tools/test/connectivity/acts/
DREADME.md117 "logpath": "/tmp/logs",
122 The ***testpaths*** and ***logpath*** keys may alternately be supplied via the
/aosp_15_r20/external/intel-media-driver/media_driver/linux/ult/ult_app/
H A Dmemory_leak_detector.cpp67 void MemoryLeakDetectorIpl::Detect(const string &logPath) in Detect() argument
72 ifstream log(logPath); in Detect()

12345