Home
last modified time | relevance | path

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

12345678

/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 …]
Dfixed_up_dex_file.cc78 std::string error; in DCheckVerifyDexFile() local
84 &error)) { in DCheckVerifyDexFile()
85 LOG(FATAL) << "Failed to verify de-quickened dex file: " << error; in DCheckVerifyDexFile()
95 std::string error; in Create() local
125 &error); in Create()
126 CHECK(result) << "Failed to generate dex file " << error; in Create()
144 &error); in Create()
147 LOG(ERROR) << "Unable to open dex file from memory for unquickening! error: " << error; in Create()
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()
Dart_jvmti.h195 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, jvmtiError* error) { in AllocJvmtiUniquePtr() argument
197 *error = env->Allocate(sizeof(T), &tmp); in AllocJvmtiUniquePtr()
198 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
208 jvmtiError* error) { in AllocJvmtiUniquePtr() argument
210 *error = env->Allocate(sizeof(typename std::remove_extent<T>::type) * count, &tmp); in AllocJvmtiUniquePtr()
211 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
234 static inline JvmtiUniquePtr<char[]> CopyString(jvmtiEnv* env, const char* src, jvmtiError* error) { in CopyString() argument
236 JvmtiUniquePtr<char[]> ret = AllocJvmtiUniquePtr<char[]>(env, 0, error); in CopyString()
240 JvmtiUniquePtr<char[]> ret = AllocJvmtiUniquePtr<char[]>(env, len, error); in CopyString()
/art/test/921-hello-failure/
Dexpected.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.cc125 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
127 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block= */ true, error); in Init()
129 *error += " (index=" + std::to_string(i) + ")"; in Init()
137 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
141 /* read_only_mode= */ true, error); in Init()
143 *error += " (index=" + std::to_string(i) + ")"; in Init()
163 std::string error; in ProcessProfiles() local
165 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
166 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
175 &error); in ProcessProfiles()
[all …]
/art/test/536-checker-needs-access-check/
Dexpected.txt1 Got expected error instanceof
2 Got expected error instanceof null
3 Got expected error checkcast null
4 Got expected error instanceof (keep LoadClass with access check)
/art/libartbase/base/
Dfile_utils_test.cc31 std::string error; in TEST_F() local
33 EXPECT_TRUE(GetDalvikCacheFilename("/system/app/Foo.apk", "/foo", &name, &error)) << error; in TEST_F()
36 EXPECT_TRUE(GetDalvikCacheFilename("/data/app/foo-1.apk", "/foo", &name, &error)) << error; in TEST_F()
39 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/core.jar", "/foo", &name, &error)) << error; in TEST_F()
42 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.art", "/foo", &name, &error)) << error; in TEST_F()
45 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.oat", "/foo", &name, &error)) << error; in TEST_F()
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()
253 const int32_t error = OpenArchiveFd(fd, filename, &handle); in OpenFromFd() local
[all …]
Dglobals.h81 # error "Either ART_TARGET_LINUX, ART_TARGET_ANDROID or ART_TARGET_FUCHSIA " \
87 # error "ART_TARGET_LINUX defined for host build."
89 # error "ART_TARGET_ANDROID defined for host build."
91 # error "ART_TARGET_FUCHSIA defined for host build."
/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/989-method-trace-throw/
Dexpected.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/runtime/verifier/
Dclass_verifier.cc71 std::string* error) { in ReverifyClass() argument
122 error); in ReverifyClass()
136 std::string* error) { in VerifyClass() argument
148 error); in VerifyClass()
158 std::string* error) { in CommonVerifyClass() argument
176 *error = "Verifier rejected class " + klass->PrettyDescriptor() + failure_message; in CommonVerifyClass()
196 error); in CommonVerifyClass()
209 std::string* error) { in VerifyClass() argument
221 error); in VerifyClass()
234 std::string* error) { in VerifyClass() argument
[all …]
Dclass_verifier.h63 std::string* error)
72 std::string* error)
83 std::string* error)
100 std::string* error)
113 std::string* error)
/art/test/995-breakpoints-throw/
Dexpected.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/tools/class2greylist/src/com/android/class2greylist/
DAnnotatedClassContext.java46 Formatter error = new Formatter(); in reportError() local
47 error in reportError()
51 status.error(error.toString()); in reportError()
DAnnotatedMemberContext.java51 Formatter error = new Formatter(); in reportError() local
52 error in reportError()
57 status.error(error.toString()); in reportError()
/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/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.cc220 std::string error; in MergeWith() local
227 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in MergeWith()
230 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in MergeWith()
236 ProfileLoadStatus status = LoadInternal(fd, &error); in MergeWith()
241 LOG(WARNING) << "Could not load profile data from file " << filename << ": " << error; in MergeWith()
247 std::string error; in Load() local
262 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in Load()
265 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Load()
271 ProfileLoadStatus status = LoadInternal(fd, &error); in Load()
279 << filename << ": " << error; in Load()
[all …]
/art/test/983-source-transform-verify/
Dsource_transform_art.cc45 std::string error; in VerifyClassData() local
53 &error)); in VerifyClassData()
54 CHECK(dex.get() != nullptr) << "Failed to verify dex: " << error; in VerifyClassData()
/art/libnativeloader/
Dlibrary_namespaces.cpp302 return app_ns.error(); in Create()
309 return system_ns.error(); in Create()
314 return linked.error(); in Create()
322 return linked.error(); in Create()
331 return linked.error(); in Create()
341 return linked.error(); in Create()
351 return linked.error(); in Create()
362 return linked.error(); in Create()
375 return linked.error(); in Create()
387 return linked.error(); in Create()
[all …]

12345678