Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 45) sorted by relevance

12

/build/soong/ui/terminal/
Dstatus_test.go30 calls func(stat status.StatusOutput)
132 counts status.Counts
133 stat status.StatusOutput
136 func newRunner(stat status.StatusOutput, totalActions int) *runner {
138 counts: status.Counts{TotalActions: totalActions},
143 func (r *runner) startAction(action *status.Action) {
149 func (r *runner) finishAction(result status.ActionResult) {
155 func (r *runner) finishAndStartAction(result status.ActionResult, action *status.Action) {
164 action1 = &status.Action{Description: "action1"}
165 result1 = status.ActionResult{Action: action1}
[all …]
Dsimple_status.go32 func NewSimpleStatusOutput(w io.Writer, formatter formatter) status.StatusOutput {
39 func (s *simpleStatusOutput) Message(level status.MsgLevel, message string) {
40 if level >= status.StatusLvl {
45 func (s *simpleStatusOutput) StartAction(action *status.Action, counts status.Counts) {
48 func (s *simpleStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
Dformat.go43 func (s formatter) message(level status.MsgLevel, message string) string {
44 if level >= status.ErrorLvl {
46 } else if level > status.StatusLvl {
48 } else if level == status.StatusLvl {
54 func (s formatter) progress(counts status.Counts) string {
105 func (s formatter) result(result status.ActionResult) string {
Dsmart_status.go34 action *status.Action
61 func NewSmartStatusOutput(w io.Writer, formatter formatter) status.StatusOutput {
105 func (s *smartStatusOutput) Message(level status.MsgLevel, message string) {
106 if level < status.StatusLvl {
115 if level > status.StatusLvl {
122 func (s *smartStatusOutput) StartAction(action *status.Action, counts status.Counts) {
143 func (s *smartStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
DAndroid.bp18 deps: ["soong-ui-status"],
23 "status.go",
Dstatus.go29 func NewStatusOutput(w io.Writer, statusFormat string, forceSimpleOutput, quietBuild bool) status.S…
/build/soong/ui/status/
Dninja.go15 package status package
33 func NewNinjaReader(ctx logger.Logger, status ToolStatus, fifo string) *NinjaReader {
42 status: status,
54 status ToolStatus member
73 …n.status.Error(fmt.Sprintf("ninja fifo didn't finish after %s", NINJA_READER_CLOSE_TIMEOUT.String(…
88 n.status.Error(fmt.Sprintf("Failed to open fifo: %v", err))
114 n.status.Error(fmt.Sprintf("Got error reading from ninja: %s", err))
123 n.status.Print(fmt.Sprintf("Missing message of size %d from ninja\n", size))
125 n.status.Error(fmt.Sprintf("Got error reading from ninja: %s", err))
133 n.status.Print(fmt.Sprintf("Error reading message from ninja: %v", err))
[all …]
Dstatus_test.go15 package status package
56 status := &Status{}
58 status.AddOutput(counts)
59 s := status.StartTool()
104 status := &Status{}
106 status.AddOutput(counts)
107 s := status.StartTool()
116 s = status.StartTool()
132 status := &Status{}
134 status.AddOutput(counts)
[all …]
DAndroid.bp16 name: "soong-ui-status",
17 pkgPath: "android/soong/ui/status",
21 "soong-ui-status-ninja_frontend",
22 "soong-ui-status-build_error_proto",
23 "soong-ui-status-build_progress_proto",
30 "status.go",
41 name: "soong-ui-status-ninja_frontend",
42 pkgPath: "android/soong/ui/status/ninja_frontend",
50 name: "soong-ui-status-build_error_proto",
51 pkgPath: "android/soong/ui/status/build_error_proto",
[all …]
Dkati_test.go15 package status package
46 status := &Status{}
48 status.AddOutput(output)
51 st: status.StartTool(),
113 status := &Status{}
115 status.AddOutput(output)
118 st: status.StartTool(),
159 status := &Status{}
161 status.AddOutput(output)
164 st: status.StartTool(),
Dstatus.go18 package status package
214 status: s,
275 status *Status member
295 d.status.updateTotalActions(diff)
313 d.status.updateTotalActions(totalDiff)
315 d.status.startAction(action)
324 d.status.finishAction(result)
328 d.status.message(VerboseLvl, msg)
331 d.status.message(StatusLvl, msg)
334 d.status.message(PrintLvl, msg)
[all …]
Dninja_test.go15 package status package
/build/soong/ui/tracer/
Dstatus.go22 func (t *tracerImpl) StatusTracer() status.StatusOutput {
26 running: map[*status.Action]actionStatus{},
39 running map[*status.Action]actionStatus
42 func (s *statusOutput) StartAction(action *status.Action, counts status.Counts) {
63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
87 func (s *statusOutput) Message(level status.MsgLevel, message string) {}
DAndroid.bp20 "soong-ui-status",
24 "status.go",
/build/blueprint/gotestrunner/
Dgotestrunner.go93 if status, ok := e.Sys().(syscall.WaitStatus); ok && status.Exited() {
94 os.Exit(status.ExitStatus())
95 } else if status.Signaled() {
96 fmt.Fprintf(os.Stderr, "test got signal %s\n", status.Signal())
/build/soong/scripts/
Djar-args.sh57 status=0
60 status=1
68 exit $status
/build/soong/cmd/multiproduct_kati/
Dmain.go142 Status status.ToolStatus
167 stat := &status.Status{}
391 action := &status.Action{
397 mpctx.Status.FinishAction(status.ActionResult{
410 Status: &status.Status{},
466 mpctx.Status.FinishAction(status.ActionResult{
473 func (f *failureCount) StartAction(action *status.Action, counts status.Counts) {}
475 func (f *failureCount) FinishAction(result status.ActionResult, counts status.Counts) {
481 func (f *failureCount) Message(level status.MsgLevel, message string) {
482 if level >= status.ErrorLvl {
/build/soong/cuj/
Dcuj.go63 stat := &status.Status{}
93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log")))
94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log")))
95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error")))
96 stat.AddOutput(status.NewCriticalPath(log))
/build/make/tools/zipalign/
DZipAlign.cpp73 status_t status; in copyAndAlign() local
92 status = pZout->addRecompress(pZin, pEntry, &pNewEntry); in copyAndAlign()
95 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
111 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
114 if (status != OK) in copyAndAlign()
/build/soong/cmd/path_interposer/
Dmain.go137 if status, ok := exitErr.Sys().(syscall.WaitStatus); ok {
138 if status.Exited() {
139 return status.ExitStatus(), nil
140 } else if status.Signaled() {
141 exitCode := 128 + int(status.Signal())
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go100 if status, ok := exitErr.Sys().(syscall.WaitStatus); ok {
101 if status.Exited() {
102 return status.ExitStatus(), nil
103 } else if status.Signaled() {
104 exitCode := 128 + int(status.Signal())
/build/soong/ui/build/
Dtest_build.go45 action := &status.Action{
129 ts.FinishAction(status.ActionResult{
136 ts.FinishAction(status.ActionResult{Action: action})
/build/make/tools/atree/
Dfs.cpp207 int status; in strip_file() local
208 waitpid(pid, &status, 0); in strip_file()
209 return status; in strip_file()
/build/make/core/
Dchecktree55 status = fd.close()
56 if status:
/build/soong/cmd/soong_ui/
Dmain.go143 stat := &status.Status{}
180 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log")))
181 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log")))
182 stat.AddOutput(status.NewProtoErrorLog(log, buildErrorFile))
183 stat.AddOutput(status.NewCriticalPath(log))
184 …stat.AddOutput(status.NewBuildProgressLog(log, filepath.Join(logsDir, c.logsPrefix+"build_progress…

12