Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/art/openjdkjvmti/
Dti_extension.cc91 jvmtiError error; in GetExtensionFunctions() local
95 JvmtiUniquePtr<char[]> id_ptr = CopyString(env, id, &error); in GetExtensionFunctions()
97 return error; in GetExtensionFunctions()
102 JvmtiUniquePtr<char[]> descr = CopyString(env, short_description, &error); in GetExtensionFunctions()
104 return error; in GetExtensionFunctions()
112 AllocJvmtiUniquePtr<jvmtiParamInfo[]>(env, params.size(), &error); in GetExtensionFunctions()
114 return error; in GetExtensionFunctions()
120 func_info.params[i] = params[i].ToParamInfo(env, &char_buffers, &error); in GetExtensionFunctions()
121 if (error != OK) { in GetExtensionFunctions()
122 return error; in GetExtensionFunctions()
[all …]
Dti_ddms.cc76 jvmtiError error = OK; in HandleChunk() local
78 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
79 if (error != OK) { in HandleChunk()
80 return error; in HandleChunk()
/art/test/921-hello-failure/
Dexpected-stdout.txt2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
21 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d…
24 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d…
29 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;…
32 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;…
[all …]
/art/profman/
Dprofile_assistant.cc114 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
116 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block= */ true, error); in Init()
118 *error += " (index=" + std::to_string(i) + ")"; in Init()
126 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
130 /* read_only_mode= */ true, error); in Init()
132 *error += " (index=" + std::to_string(i) + ")"; in Init()
152 std::string error; in ProcessProfiles() local
154 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
155 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
164 &error); in ProcessProfiles()
[all …]
/art/test/075-verification-error/
DAndroid.bp3 // Build rules for ART run-test `075-verification-error`.
16 name: "art-run-test-075-verification-error-src",
23 name: "art-run-test-075-verification-error",
28 "art-run-test-075-verification-error-src"
31 ":art-run-test-075-verification-error-expected-stdout",
32 ":art-run-test-075-verification-error-expected-stderr",
38 name: "art-run-test-075-verification-error-expected-stdout",
39 out: ["art-run-test-075-verification-error-expected-stdout.txt"],
44 // Test's expected standard error.
46 name: "art-run-test-075-verification-error-expected-stderr",
[all …]
/art/test/536-checker-needs-access-check/
Dexpected-stdout.txt1 Got expected error instanceof
2 Got expected error instanceof null
3 Got expected error checkcast null
4 Got expected error checkcast object
5 Got expected error instanceof (keep LoadClass with access check)
/art/test/1957-error-ext/
DAndroid.bp3 // Build rules for ART run-test `1957-error-ext`.
16 name: "art-run-test-1957-error-ext",
21 ":art-run-test-1957-error-ext-expected-stdout",
22 ":art-run-test-1957-error-ext-expected-stderr",
28 name: "art-run-test-1957-error-ext-expected-stdout",
29 out: ["art-run-test-1957-error-ext-expected-stdout.txt"],
34 // Test's expected standard error.
36 name: "art-run-test-1957-error-ext-expected-stderr",
37 out: ["art-run-test-1957-error-ext-expected-stderr.txt"],
/art/libartbase/base/
Dzip_archive.cc62 const int32_t error = ExtractEntryToFile(handle_, zip_entry_, file.Fd()); in ExtractToFile() local
63 if (error != 0) { in ExtractToFile()
64 *error_msg = std::string(ErrorCodeString(error)); in ExtractToFile()
96 const int32_t error = ::ExtractToMemory(handle_, zip_entry_, buffer, GetUncompressedLength()); in ExtractToMemory() local
97 if (error != 0) { in ExtractToMemory()
98 *error_msg = std::string(ErrorCodeString(error)); in ExtractToMemory()
237 const int32_t error = OpenArchive(filename, &handle); in Open() local
238 if (error != 0) { in Open()
239 *error_msg = std::string(ErrorCodeString(error)); in Open()
264 const int32_t error = OpenArchiveFromMemory(data, size, filename, &handle); in OpenFromMemory() local
[all …]
Dglobals.h95 # error "Either ART_TARGET_LINUX, ART_TARGET_ANDROID or ART_TARGET_FUCHSIA " \
101 # error "ART_TARGET_LINUX defined for host build."
103 # error "ART_TARGET_ANDROID defined for host build."
105 # error "ART_TARGET_FUCHSIA defined for host build."
Dfile_utils_test.cc50 std::string error; in TEST_F() local
52 EXPECT_TRUE(GetDalvikCacheFilename("/system/app/Foo.apk", "/foo", &name, &error)) << error; in TEST_F()
55 EXPECT_TRUE(GetDalvikCacheFilename("/data/app/foo-1.apk", "/foo", &name, &error)) << error; in TEST_F()
58 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/core.jar", "/foo", &name, &error)) << error; in TEST_F()
61 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.art", "/foo", &name, &error)) << error; in TEST_F()
64 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.oat", "/foo", &name, &error)) << error; in TEST_F()
/art/test/989-method-trace-throw/
Dexpected-stdout.txt9 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwAClass] - a…
12 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwANativeClas…
50 …ceived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$doNothingClas…
53 …ved expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$doNothingNativeC…
56 …eceived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$throwAClass]…
59 …ived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$throwANativeCla…
62 …eived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$returnValueCla…
65 …ed expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$returnValueNative…
68 …eived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$acceptValueCla…
71 …ed expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$acceptValueNative…
[all …]
/art/tools/
DPresubmitJsonLinter.java64 private static void error(String message) { in error() method in PresubmitJsonLinter
74 error("File '" + arg + "' is not found"); in checkExpectationFile()
85 error("Malformed json: " + reader); in checkExpectationFile()
102 error("Invalid 'result' value: '" + result + in readExpectation()
113 error("Malformed 'substring' value: " + reader); in readExpectation()
120 error("Malformed 'pattern' value: " + reader); in readExpectation()
150 error("Unknown key '" + name + "' in expectations file"); in readExpectation()
158 error("Missing 'name' or 'failure' key in " + reader); in readExpectation()
161 error("Missing 'result' key in " + reader); in readExpectation()
164 error("Missing 'description' key in " + reader); in readExpectation()
/art/test/901-hello-ti-agent/src/art/
DTest901.java54 String error = null; in testErrorNames() local
58 error = e.getMessage(); in testErrorNames()
62 (errorName != null || (error != null && !lastError.equals(error)))) { in testErrorNames()
71 lastError = error; in testErrorNames()
83 private static native String getErrorName(int error); in getErrorName() argument
/art/test/995-breakpoints-throw/
Dexpected-stdout.txt3 Test "call Test995::breakpoint": No error caught with handler "do nothing"
7 Test "call Test995::breakpointCatch": No error caught with handler "do nothing"
11 Test "call Test995::breakpointCatchLate": No error caught with handler "do nothing"
15 Test "catch subroutine Test995::breakpoint": No error caught with handler "do nothing"
19 Test "call Test995::breakpoint": Caught error java.lang.Error:"throwing error!" with handler "throw"
23 Caught java.lang.Error: "throwing error!"
24 Test "call Test995::breakpointCatch": No error caught with handler "throw"
28 Test "call Test995::breakpointCatchLate": Caught error java.lang.Error:"throwing error!" with handl…
32 Caught java.lang.Error:"throwing error!"
33 Test "catch subroutine Test995::breakpoint": No error caught with handler "throw"
/art/tools/dexfuzz/src/dexfuzz/
DOptions.java205 Log.error("Unrecognised flag: --" + flag); in handleFlagOption()
267 Log.error("Unrecognised key: --" + key); in handleKeyValueOption()
292 Log.error("Unable to open mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
294 Log.error("Unable to read mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
306 Log.error("Unrecognised option: " + arg); in readOptions()
361 Log.error("--repeat must be at least 1!"); in validateOptions()
365 Log.error("--divergence-retry cannot be negative!"); in validateOptions()
369 Log.error("Cannot use --repeat with --seed"); in validateOptions()
373 Log.error("Cannot both load and dump mutations"); in validateOptions()
377 Log.error("Must use --repeat if you have provided more than one input"); in validateOptions()
[all …]
DStreamConsumer.java92 Log.error("Client of StreamConsumer was interrupted while waiting for output?"); in getOutput()
134 Log.error("StreamConsumer stopped consuming, but was not told to?"); in consume()
141 Log.error("StreamConsumer caught IOException while consuming"); in consume()
144 Log.error("StreamConsumer caught InterruptedException while consuming"); in consume()
159 Log.error("StreamConsumer caught InterruptedException while waiting for work"); in run()
172 Log.error("invalid state: StreamConsumer told about work, but not CONSUMING?"); in run()
173 Log.error("state was: " + getCurrentState()); in run()
188 Log.error("StreamConsumer Unexpected state: " + state + ", expected " + previousState); in changeState()
/art/tools/jvmti-agents/titrace/
Dtitrace.cc105 jvmtiError error; in Initialize() local
107 error = jvmti->GetSystemProperty("java.vm.name", /*out*/ &value_ptr); in Initialize()
108 CHECK_JVMTI_ERROR(jvmti, error) << "Failed to get property 'java.vm.name'"; in Initialize()
173 jvmtiError error; in LookupBytecode() local
181 error = jvmti_env->GetBytecodes(method, &bytecode_count_ptr, &bytecodes_ptr); in LookupBytecode()
182 CHECK_JVMTI_ERROR(jvmti_env, error) << "Failed to get bytecodes for method " << method; in LookupBytecode()
264 jvmtiError error{}; in Agent_OnLoad() local
272 error = jvmti->AddCapabilities(&caps); in Agent_OnLoad()
273 CHECK_JVMTI_ERROR(jvmti, error) in Agent_OnLoad()
283 error = jvmti->SetEventCallbacks(&callbacks, in Agent_OnLoad()
[all …]
/art/runtime/verifier/
Dclass_verifier.cc94 std::string* error) { in VerifyClass() argument
97 *error = "Verifier rejected class "; in VerifyClass()
98 *error += PrettyDescriptor(dex_file->GetClassDescriptor(class_def)); in VerifyClass()
99 *error += ": class is abstract and final."; in VerifyClass()
144 *error += "\n"; in VerifyClass()
147 *error += "Verifier rejected class "; in VerifyClass()
148 *error += PrettyDescriptor(dex_file->GetClassDescriptor(class_def)); in VerifyClass()
149 *error += ":"; in VerifyClass()
151 *error += " "; in VerifyClass()
152 *error += hard_failure_msg; in VerifyClass()
/art/runtime/ti/
Dagent.cc50 /*out*/LoadError* error, in Load() argument
53 return DoLoadHelper(nullptr, false, nullptr, call_res, error, error_msg); in Load()
60 /*out*/LoadError* error, in Attach() argument
63 return DoLoadHelper(env, true, class_loader, call_res, error, error_msg); in Attach()
72 /*out*/LoadError* error, in DoLoadHelper() argument
78 std::unique_ptr<Agent> agent = DoDlOpen(env, class_loader, error, error_msg); in DoLoadHelper()
89 *error = kLoadingError; in DoLoadHelper()
103 *error = kInitializationError; in DoLoadHelper()
111 /*out*/LoadError* error, in DoDlOpen() argument
135 *error = kLoadingError; in DoDlOpen()
[all …]
/art/libdexfile/external/
Ddex_file_supp_test.cc44 DexFile::Error error = DexFile::Create(kDexData, size, &size, "", &dex_file); in TEST() local
45 EXPECT_FALSE(error.Ok()); in TEST()
46 EXPECT_EQ(error.Code(), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST()
47 EXPECT_STREQ(error.ToString(), "Not enough data. Incomplete dex file."); in TEST()
55 DexFile::Error error = DexFile::Create(kDexData, size, &size, "", &dex_file); in TEST() local
56 EXPECT_FALSE(error.Ok()); in TEST()
57 EXPECT_EQ(error.Code(), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST()
58 EXPECT_STREQ(error.ToString(), "Not enough data. Incomplete dex file."); in TEST()
/art/test/907-get-loaded-classes/src/art/
DTest907.java57 boolean error = false; in doTest()
61 error = true; in doTest()
67 error = true; in doTest()
71 if (error) { in doTest()
/art/libprofile/profile/
Dprofile_compilation_info.cc397 std::string* error);
742 std::string error; in MergeWith() local
749 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in MergeWith()
752 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in MergeWith()
758 ProfileLoadStatus status = LoadInternal(fd, &error); in MergeWith()
763 LOG(WARNING) << "Could not load profile data from file " << filename << ": " << error; in MergeWith()
769 std::string error; in Load() local
784 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in Load()
790 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Load()
796 ProfileLoadStatus status = LoadInternal(fd, &error); in Load()
[all …]
/art/benchmark/golem-tiagent/
Dgolem-tiagent.cc27 void CheckJvmtiError(jvmtiEnv* env, jvmtiError error) { in CheckJvmtiError() argument
28 if (error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
30 jvmtiError name_error = env->GetErrorName(error, &error_name); in CheckJvmtiError()
32 LOG(FATAL) << "Unable to get error name for " << error; in CheckJvmtiError()
/art/test/
Drun-test150 def error(msg) -> None: function
257 error("Passed --use-java-home without JAVA_HOME variable set!")
444 error("missing argument to --invoke-with")
461 error("missing argument to --temp-path")
468 error("missing argument to --chroot")
480 error("missing argument to --android-root")
489 error("missing argument to --android-art-root")
497 error("missing argument to --android-tzdata-root")
544 error("missing argument to --timeout")
590 error(f"unknown option: {arg}")
[all …]
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc355 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart() local
367 error = jvmti->Allocate(sizeof(BreakpointTargets), in AgentStart()
369 if (error != JVMTI_ERROR_NONE) { in AgentStart()
375 error = jvmti->SetEnvironmentLocalStorage(data); in AgentStart()
376 if (error != JVMTI_ERROR_NONE) { in AgentStart()
391 error = jvmti->AddCapabilities(&caps); in AgentStart()
392 if (error != JVMTI_ERROR_NONE) { in AgentStart()
401 error = jvmti->SetEventCallbacks(&callbacks, static_cast<jint>(sizeof(callbacks))); in AgentStart()
403 if (error != JVMTI_ERROR_NONE) { in AgentStart()
408 error = jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()
[all …]

12345678910>>...38