Home
last modified time | relevance | path

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

1234

/art/test/099-vmdebug/
Dexpected-stdout.txt2 status=0
3 status=1
4 status=0
6 status=2
7 status=0
9 status=1
10 status=1
12 status=0
13 status=0
/art/cmdline/
Dcmdline_result.h53 explicit CmdlineResult(Status status) : status_(status) {} in CmdlineResult()
56 CmdlineResult(Status status, const std::string& message) in CmdlineResult()
57 : status_(status), message_(message) { in CmdlineResult()
58 assert(status != kSuccess); in CmdlineResult()
62 CmdlineResult(Status status, std::string&& message) in CmdlineResult()
63 : status_(status), message_(message) { in CmdlineResult()
64 assert(status != kSuccess); in CmdlineResult()
78 static inline std::ostream& operator<<(std::ostream& stream, CmdlineResult::Status status) {
79 switch (status) {
/art/odrefresh/
Dodr_metrics_record.h49 int32_t status; member
53 explicit Dex2OatExecResult(int32_t status, int32_t exit_code, int32_t signal) in Dex2OatExecResult()
54 : status(status), exit_code(exit_code), signal(signal) {} in Dex2OatExecResult()
57 : status(result.status), exit_code(result.exit_code), signal(result.signal) {} in Dex2OatExecResult()
59 Dex2OatExecResult() : status(kExecResultNotRun), exit_code(-1), signal(0) {} in Dex2OatExecResult()
66 int32_t status; member
Dodr_metrics_test.cc104 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
110 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, ExecResult::Status::kExited); in TEST_F()
117 EXPECT_EQ(record.secondary_bcp_dex2oat_result.status, kExecResultNotRun); in TEST_F()
122 EXPECT_EQ(record.system_server_dex2oat_result.status, kExecResultNotRun); in TEST_F()
129 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, kExecResultNotRun); in TEST_F()
139 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
145 ExecResult{.status = ExecResult::Status::kTimedOut, .exit_code = 3, .signal = 0}); in TEST_F()
151 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, ExecResult::Status::kExited); in TEST_F()
158 EXPECT_EQ(record.secondary_bcp_dex2oat_result.status, ExecResult::Status::kTimedOut); in TEST_F()
165 EXPECT_EQ(record.system_server_dex2oat_result.status, kExecResultNotRun); in TEST_F()
[all …]
Dodr_statslog_android.cc67 record.status, in UploadStatsIfAvailable()
76 record.primary_bcp_dex2oat_result.status, in UploadStatsIfAvailable()
79 record.secondary_bcp_dex2oat_result.status, in UploadStatsIfAvailable()
82 record.system_server_dex2oat_result.status, in UploadStatsIfAvailable()
Dodr_metrics_record_test.cc85 expected.status = 0x21222324; in TEST_F()
106 ASSERT_EQ(expected.status, actual.status); in TEST_F()
112 ASSERT_EQ(expected.primary_bcp_dex2oat_result.status, actual.primary_bcp_dex2oat_result.status); in TEST_F()
116 ASSERT_EQ(expected.secondary_bcp_dex2oat_result.status, in TEST_F()
117 actual.secondary_bcp_dex2oat_result.status); in TEST_F()
122 ASSERT_EQ(expected.system_server_dex2oat_result.status, in TEST_F()
123 actual.system_server_dex2oat_result.status); in TEST_F()
Dodrefresh.h70 OdrMetrics::Status status = OdrMetrics::Status::kOK; member
81 static CompilationResult Error(OdrMetrics::Status status, const std::string& error_msg) { in Error()
82 return {.status = status, .error_msg = error_msg}; in Error()
88 return {.status = OdrMetrics::Status::kDex2OatError, in Dex2oatError()
94 bool IsOk() { return status == OdrMetrics::Status::kOK; } in IsOk()
101 if (status == OdrMetrics::Status::kOK) { in Merge()
102 status = other.status; in Merge()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiffedFieldValue.java50 public final Status status; field in DiffedFieldValue
109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() argument
114 this.status = status; in DiffedFieldValue()
118 return Objects.hash(name, type, current, baseline, status); in hashCode()
129 && Objects.equals(status, other.status); in equals()
136 switch (status) { in toString()
/art/libartbase/base/
Dmem_map_fuchsia.cc62 zx_status_t status; in TargetMMap() local
96 status = zx_object_get_info((mmap_lower ? fuchsia_lowmem_vmar : zx_vmar_root_self()), in TargetMMap()
102 if (status < 0 || reinterpret_cast<uintptr_t>(start) < vmarinfo.base) { in TargetMMap()
118 status = zx_vmar_map(fuchsia_lowmem_vmar, vmaroffset, vmo, fd_off, len, vmarflags, &mem); in TargetMMap()
120 status = zx_vmar_map(zx_vmar_root_self(), vmaroffset, vmo, fd_off, len, vmarflags, &mem); in TargetMMap()
123 if (status != ZX_OK) { in TargetMMap()
136 zx_status_t status = zx_vmar_unmap(alloc_vmar, addr, len); in TargetMUnmap() local
137 if (status < 0) { in TargetMUnmap()
/art/runtime/jit/
Djit_memory_region_test.cc195 int status; in TestUnmapWritableAfterFork() local
196 CHECK_EQ(waitpid(pid, &status, 0), pid); in TestUnmapWritableAfterFork()
197 CHECK(WIFEXITED(status)) << strerror(errno); in TestUnmapWritableAfterFork()
198 CHECK_EQ(WEXITSTATUS(status), kReturnFromFault); in TestUnmapWritableAfterFork()
284 int status; in TestMadviseDontFork() local
285 CHECK_EQ(waitpid(pid, &status, 0), pid); in TestMadviseDontFork()
286 CHECK(WIFEXITED(status)) << strerror(errno); in TestMadviseDontFork()
287 CHECK_EQ(WEXITSTATUS(status), kReturnFromFault); in TestMadviseDontFork()
350 int status; in TestFromSharedToPrivate() local
351 CHECK_EQ(waitpid(pid, &status, 0), pid); in TestFromSharedToPrivate()
[all …]
/art/libartservice/service/java/com/android/server/art/prereboot/
DPreRebootStatsReporter.java159 Status status; in recordJobEnded() local
170 status = Status.STATUS_FINISHED; in recordJobEnded()
172 status = Status.STATUS_CANCELLED; in recordJobEnded()
176 status = Status.STATUS_ABORTED_SYSTEM_REQUIREMENTS; in recordJobEnded()
178 status = Status.STATUS_FAILED; in recordJobEnded()
182 statsBuilder.setStatus(status).setJobRuns(jobRuns.size() - 1, runBuilder); in recordJobEnded()
221 .filter(status -> hasUsablePreRebootArtifacts(status)) in report()
256 private int getStatusForStatsd(@NonNull Status status) { in getStatusForStatsd() argument
257 switch (status) { in getStatusForStatsd()
280 throw new IllegalStateException("Unknown status: " + status.getNumber()); in getStatusForStatsd()
[all …]
/art/runtime/
Dexec_utils.cc119 return {.status = ExecResult::kUnknown}; in WaitChild()
127 return {.status = ExecResult::kUnknown}; in WaitChild()
134 return {.status = ExecResult::kSignaled, .signal = info.si_status}; in WaitChild()
136 return {.status = ExecResult::kExited, .exit_code = info.si_status}; in WaitChild()
173 return ExecResult{.status = ExecResult::kTimedOut}; in WaitChildWithTimeoutFallback()
200 return {.status = ExecResult::kUnknown}; in WaitChildWithTimeout()
207 return {.status = ExecResult::kTimedOut}; in WaitChildWithTimeout()
272 return {.status = ExecResult::kStartFailed}; in ExecAndReturnResult()
278 return {.status = ExecResult::kStartFailed}; in ExecAndReturnResult()
310 if (WaitChild(pid, arg_vector, /*no_wait=*/false, &local_error_msg).status == in ExecAndReturnResult()
[all …]
Dparsed_options.h61 void (*hook_exit_)(jint status);
75 void Exit(int status);
/art/libartservice/service/java/com/android/server/art/model/
DDexoptResult.java166 public static String dexoptResultStatusToString(@DexoptResultStatus int status) { in dexoptResultStatusToString() argument
167 switch (status) { in dexoptResultStatusToString()
177 throw new IllegalArgumentException("Unknown dexopt status " + status); in dexoptResultStatusToString()
266 @DexoptResultStatus int status, long dex2oatWallTimeMillis, in create() argument
271 isPrimaryAbi, abi, compilerFilter, status, dex2oatWallTimeMillis, in create()
280 @DexoptResultStatus int status) { in create() argument
281 return create(dexContainerFile, isPrimaryAbi, abi, compilerFilter, status, in create()
/art/test/2036-jni-filechannel/
Djni_filechannel.cc25 const char* status = (capacity == expectedCapacity) ? "PASS" : "FAIL"; in Java_Main_checkBufferCapacity() local
28 << " " << status << std::endl; in Java_Main_checkBufferCapacity()
/art/tools/luci/config/
Dluci-notify.template3 luci-notify detected a status change for builder "{{ .Build.Builder | formatBuilderID }}" at {{ .Bu…
7 <td>New status:</td>
11 <td>Previous status:</td>
/art/tools/luci/config/generated/luci-notify/email-templates/
Ddefault.template3 luci-notify detected a status change for builder "{{ .Build.Builder | formatBuilderID }}" at {{ .Bu…
7 <td>New status:</td>
11 <td>Previous status:</td>
/art/runtime/arch/x86_64/
Dthread_x86_64.cc49 zx_status_t status = zx_object_set_property(zx_thread_self(), in InitCpu() local
53 CHECK_EQ(status, ZX_OK) << "failed to set GS register"; in InitCpu()
/art/runtime/base/
Dquasi_atomic.h111 int status; in Write64()
116 : "=&r" (prev), "=&r" (status), "+Q"(*addr) in Write64()
119 } while (UNLIKELY(status != 0)); in Write64()
/art/dex2oat/dex/
Dquick_compiler_callbacks.cc54 void QuickCompilerCallbacks::UpdateClassState(ClassReference ref, ClassStatus status) { in UpdateClassState() argument
57 compiler_driver_->RecordClassStatus(ref, status); in UpdateClassState()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc39 ClassStatus status = klass->GetStatus(); in Java_Main_nativeSkipVerification() local
40 if (status == ClassStatus::kResolved) { in Java_Main_nativeSkipVerification()
44 LOG(ERROR) << klass->PrettyClass() << " has unexpected status: " << status; in Java_Main_nativeSkipVerification()
/art/test/137-cfi/
Dcfi.cc217 int status; in wait_for_sigstop() local
218 pid_t n = TEMP_FAILURE_RETRY(waitpid(tid, &status, __WALL | WNOHANG | WUNTRACED)); in wait_for_sigstop()
223 if (WIFSTOPPED(status)) { in wait_for_sigstop()
224 return WSTOPSIG(status); in wait_for_sigstop()
226 PLOG(ERROR) << "unexpected waitpid response: n=" << n << ", status=" << std::hex << status; in wait_for_sigstop()
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTestCollector.java39 private void printStatus(String status) { in printStatus() argument
40 out.print(status); in printStatus()
/art/tools/ahat/src/test/com/android/ahat/
DDiffFieldsTest.java53 assertEquals(DiffedFieldValue.Status.MATCHED, x.status); in normalMatchedDiffedFieldValues()
66 assertEquals(DiffedFieldValue.Status.MATCHED, x.status); in nulledMatchedDiffedFieldValues()
73 assertEquals(DiffedFieldValue.Status.MATCHED, y.status); in nulledMatchedDiffedFieldValues()
84 assertEquals(DiffedFieldValue.Status.ADDED, x.status); in normalAddedDiffedFieldValues()
95 assertEquals(DiffedFieldValue.Status.ADDED, x.status); in nulledAddedDiffedFieldValues()
106 assertEquals(DiffedFieldValue.Status.DELETED, x.status); in normalDeletedDiffedFieldValues()
117 assertEquals(DiffedFieldValue.Status.DELETED, x.status); in nulledDeletedDiffedFieldValues()
/art/artd/
Dartd_test.cc150 EXPECT_EQ((std::filesystem::status(path).permissions() & std::filesystem::perms::others_read) != in CheckOtherReadable()
312 return {.status = ExecResult::kExited, .exit_code = code.value()}; in ExecAndReturnResult()
314 return {.status = ExecResult::kUnknown}; in ExecAndReturnResult()
430 ndk::ScopedAStatus status = artd_->dexopt(output_artifacts_, in RunDexopt() local
442 ASSERT_THAT(status, std::move(status_matcher)) << status.getMessage(); in RunDexopt()
443 if (status.isOk()) { in RunDexopt()
462 ndk::ScopedAStatus status = in RunCopyAndRewriteProfile() local
465 if (!status.isOk()) { in RunCopyAndRewriteProfile()
466 return Error() << status.getMessage(); in RunCopyAndRewriteProfile()
470 return std::make_pair(std::move(status), std::move(dst)); in RunCopyAndRewriteProfile()
[all …]

1234