Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 230) sorted by relevance

12345678910

/tools/treble/hacksaw/workspace/
Dworkspace.go42 func (w Workspace) Create(workspaceName string, codebaseName string) (string, error) {
52 workspaceDir, err := w.GetDir(workspaceName)
64 if _, err = w.composer.Compose(codebaseDir, workspaceDir); err != nil {
71 func (w Workspace) Recreate(workspaceName string) (string, error) {
77 workspaceDir, err := w.GetDir(workspaceName)
85 if _, err = w.composer.Compose(codebaseDir, workspaceDir); err != nil {
92 func (w Workspace) GetDir(workspaceName string) (string, error) {
98 dir := filepath.Join(w.topDir, workspaceName)
103 func (w Workspace) GetCodebase(workspaceName string) (string, error) {
113 func (w *Workspace) SetTopDir(dir string) {
[all …]
/tools/treble/build/treble_build/cmd/
Dmain.go42 PrintText(w io.Writer, rsp *response, verbose bool)
273 w := bufio.NewWriter(file)
274 printTextReport(w, subcommand, rsp, *verbosePtr)
275 w.Flush()
285 func printTextReport(w io.Writer, subcommand tool, rsp *response, verbose bool) {
286 fmt.Fprintln(w, "Metric Report")
288 subcommand.PrintText(w, rsp, verbose)
292 fmt.Fprintln(w, "")
293 fmt.Fprintln(w, " Commit Results")
295 fmt.Fprintf(w, " %-120s : %s\n", c.Project.Project, c.Project.Revision)
[all …]
Dhost.go41 func (h *hostReport) PrintText(w io.Writer, rsp *response, verbose bool) {
61 fmt.Fprintln(w, " Host Tools")
62 fmt.Fprintf(w, " %-20s : %s\n", "Directory", rsp.Host.Path)
63 fmt.Fprintf(w, " %-20s : %d\n", "Tools", len(rsp.Host.Targets))
64 fmt.Fprintf(w, " %-20s : %d\n", "Prebuilts", rsp.Host.SymLinks)
65 fmt.Fprintf(w, " %-20s : %d\n", "Inputs", len(hostSourceFileMap))
66 fmt.Fprintf(w, " %-20s : %d\n", "Projects", len(hostSourceProjectMap))
70 fmt.Fprintf(w, " %s\n", proj)
Dpaths.go54 func (h *pathsReport) PrintText(w io.Writer, rsp *response, verbose bool) {
56 fmt.Fprintln(w, " Paths")
61 fmt.Fprintf(w, " %s..(%d)..%-s\n", p.Target, len(p.Paths)-2, p.Dependency)
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClient.java74 CLog.w("Key Store is null"); in containsKey()
83 CLog.w("null key passed"); in fetchKey()
87 CLog.w("null keystore"); in fetchKey()
116 CLog.w("null key passed"); in setKey()
120 CLog.w("null keystore"); in setKey()
/tools/tradefederation/contrib/src/com/android/monkey/
DAnrReportGenerator.java102 CLog.w( in setBugReportInfo()
117 CLog.w( in setMonkeyLogInfo()
127 CLog.w("Cannot generate report: bugreport or monkey log not populated yet."); in genereateAnrReport()
137 CLog.w( in genereateAnrReport()
144 CLog.w( in genereateAnrReport()
187 CLog.w(cr.getStderr()); in genereateAnrReport()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/
DTelephonyTokenProvider.java59 CLog.w( in hasToken()
67 CLog.w( in hasToken()
81 CLog.w( in hasToken()
91 CLog.w( in hasToken()
96 CLog.w("Token '%s' doesn't match any TelephonyTokenProvider tokens.", token); in hasToken()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestEnvironment.java269 CLog.w("env_vars is null"); in fromJson()
277 CLog.w("jvm_options is null"); in fromJson()
286 CLog.w("java_properties is null"); in fromJson()
294 CLog.w("setup_scripts is null"); in fromJson()
302 CLog.w("output_file_patterns is null"); in fromJson()
308 CLog.w("output_file_upload_url is null"); in fromJson()
320 CLog.w("extra_context_files is null"); in fromJson()
335 CLog.w("exclude_files_in_java_classpath is null"); in fromJson()
/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java141 public static void w(String message) { in w() method in LogUtil.CLog
143 Log.w(getClassName(2), message); in w()
152 public static void w(Throwable t) { in w() method in LogUtil.CLog
154 Log.w(getClassName(2), getStackTraceString(t)); in w()
164 public static void w(String format, Object... args) { in w() method in LogUtil.CLog
166 Log.w(getClassName(2), String.format(format, args)); in w()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java89 CLog.w("Directory, %s, does not exist.", path); in tearDown()
95 CLog.w("File, %s, is not a directory.", path); in tearDown()
101 CLog.w("Skipping empty directory, %s.", path); in tearDown()
109 CLog.w("Failed to pull directory %s from device %s", in tearDown()
DCpuThrottlingWaiter.java89 CLog.w("cores still throttled after %ds", maxWaitMs); in setUp()
92 CLog.w("Current CPU frequencies:\n%s", result); in setUp()
133 CLog.w("Unable to determine max frequency available for CPU: %s", cpu); in getCpuMaxFreqs()
/tools/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java156 CLog.w("Directory %s in classPath is not readable, skipping", dir.getAbsolutePath()); in getEntriesFromDir()
206 CLog.w( in getClassPathEntries()
211 CLog.w( in getClassPathEntries()
231 CLog.w( in getClassPathEntriesFromJar()
236 CLog.w( in getClassPathEntriesFromJar()
DSubprocessExceptionParser.java52 CLog.w("Could not parse the stderr as a particular exception."); in getPathFromStderr()
55 CLog.w("'%s' doesn't match pattern '%s'", line, patternString); in getPathFromStderr()
84 CLog.w( in handleStderrException()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java274 CLog.w("Stop collecting meminfo since meminfo log file not found."); in start()
311 CLog.w("Failed to create meminfo log file %s:", mOutputFile.getAbsolutePath()); in createOutputFile()
327 CLog.w("Failed to dump meminfo:"); in dumpMeminfo()
379 CLog.w("Failed to print meminfo to %s:", outputFile.getAbsolutePath()); in printMeminfo()
422 CLog.w("Stop collecting thread counts since log file not found."); in start()
455 CLog.w("Failed to create processes and threads file %s:", in createOutputFile()
469 CLog.w("Failed to get pid %s:", processName); in getPid()
483 CLog.w("Failed to get valid uptime %s: %s", uptime, e); in getUptime()
485 CLog.w("Failed to get valid uptime: %s", e); in getUptime()
505 CLog.w("Failed to dump thread count:"); in dumpThreadCount()
[all …]
DCamera2StressTest.java127 CLog.w("Could not pull screenshot: %s", remoteFile.getFullPath()); in postScreenshotOnFailure()
178 CLog.w("Failed to start stress tests. test setup configured incorrectly?"); in parseLog()
184 CLog.w("Couldn't parse the output log file:"); in parseLog()
187 CLog.w("Could not pull file: %s, error:", RESULT_FILE); in parseLog()
190 CLog.w("Could not find the key in file: %s, error:", KEY_NUM_ATTEMPTS); in parseLog()
DCamera2FrameworkStressTest.java148 CLog.w("Failed to start stress tests. test setup configured incorrectly?"); in parseLog()
157 CLog.w("Couldn't parse the output log file"); in parseLog()
160 CLog.w("Could not pull file: %s, error:", RESULT_DIR); in parseLog()
163 CLog.w("Could not find the key in file: %s, error:", KEY_NUM_ATTEMPTS); in parseLog()
185 CLog.w("No camera ID is found in %s. The resultToFile instrumentation argument is set" in getCameraIdList()
DAudioLoopbackImageAnalyzer.java138 CLog.w(err); in analyzeImage()
148 CLog.w(err); in analyzeImage()
351 CLog.w(err); in analyzeAmplitude()
369 CLog.w(err); in analyzeAmplitude()
482 CLog.w(err); in handleError()
489 CLog.w(err); in handleError()
496 CLog.w(err); in handleError()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java243 CLog.w("Device %s shell is unresponsive", getSerialNumber()); in waitForDeviceShell()
352 CLog.w( in waitForBootComplete()
399 CLog.w("Failed to get external store mount point for %s", getSerialNumber()); in waitForStoreMount()
406 CLog.w("Failed to get the fileSystem of '%s'", externalStore); in waitForStoreMount()
410 CLog.w( in waitForStoreMount()
443 CLog.w( in waitForStoreMount()
464 CLog.w("Device %s external storage is not mounted after %d ms", in waitForStoreMount()
551 CLog.w("wait for device bootloader state update interrupted"); in waitForDeviceBootloaderStateUpdate()
552 CLog.w(e); in waitForDeviceBootloaderStateUpdate()
577 CLog.w("wait for device state interrupted"); in waitForDeviceState()
[all …]
DWaitDeviceRecovery.java452 CLog.w( in rebootDevice()
456 CLog.w("failed to reboot %s: timeout", device.getSerialNumber()); in rebootDevice()
458 CLog.w( in rebootDevice()
537 CLog.w("Problem initializing USB helper, skipping USB reset and disabling it."); in attemptDeviceUnavailableRecovery()
538 CLog.w(e); in attemptDeviceUnavailableRecovery()
541 CLog.w("Problem initializing USB helper, skipping USB reset."); in attemptDeviceUnavailableRecovery()
542 CLog.w(e); in attemptDeviceUnavailableRecovery()
570 CLog.w("USB reset recovery was unsuccessful"); in attemptDeviceUnavailableRecovery()
DNativeDevice.java323 CLog.w("Command exited with status: %s", result.getStatus().toString()); in logExceptionAndOutput()
324 CLog.w("Command stdout:\n%s\n", result.getStdout()); in logExceptionAndOutput()
325 CLog.w("Command stderr:\n%s\n", result.getStderr()); in logExceptionAndOutput()
634 CLog.w( in getPropertyWithRecovery()
638 CLog.w( in getPropertyWithRecovery()
711 CLog.w( in batchPrefetchStartupBuildProps()
940 CLog.w("Could not get device %s build id.", getSerialNumber()); in getBuildId()
958 CLog.w("Could not get device %s build flavor.", getSerialNumber()); in getBuildFlavor()
1321 CLog.w( in isRuntimePermissionSupported()
1448 CLog.w("Encountered IOException while trying to pull '%s':", remoteFilePath); in pullFile()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerFileDescriptorChecker.java66 CLog.w(message); in postExecutionCheck()
77 CLog.w("no shell output for command: " + command); in getIntegerFromCommand()
84 CLog.w("unable to parse result of '" + command + "' : " + output); in getIntegerFromCommand()
DTimeStatusChecker.java42 CLog.w(message); in postExecutionCheck()
51 CLog.w("TimeStatusChecker is still failing on %s", device.getSerialNumber()); in postExecutionCheck()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceCleaner.java81 CLog.w("Skipping device clean up due to device unavailable."); in tearDown()
85 CLog.w("Skipping device clean up due to boot failure."); in tearDown()
145 CLog.w(String.format("screen still on after %d retries", retries)); in turnScreenOff()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFileSystemLogSaver.java94 CLog.w( in invocationEnded()
171 CLog.w(String.format("Failed to set dir %s to be group accessible.", logReportDir)); in createLogReportDir()
223 CLog.w(msg); in createBuildDir()
232 CLog.w(msg); in createBuildDir()
270 CLog.w("Cannot create URL. getAbsolutePath() returned %s which ends with %s", in getUrl()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java179 CLog.w( in run()
182 CLog.w(due); in run()
183 CLog.w("Proceeding to the next test."); in run()
187 CLog.w( in run()
190 CLog.w(e); in run()
246 CLog.w("RemoteDynamicPool should only use ITestSuite, but found IRemoteTest."); in handleDeviceNotAvailable()

12345678910