/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.cpp | 70 DiagMessage error_msg(child_el->line_number); in Execute() local 71 error_msg << "unexpected element "; in Execute() 72 PrintElementToDiagMessage(child_el, &error_msg); in Execute() 73 error_msg << " found in "; in Execute() 75 error_msg << "<" << element << ">"; in Execute() 79 diag->Warn(error_msg); in Execute() 82 diag->Error(error_msg); in Execute() 113 DiagMessage error_msg(el->line_number); in Execute() local 114 error_msg << "unexpected root element "; in Execute() 115 PrintElementToDiagMessage(el, &error_msg); in Execute() [all …]
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 290 std::stringstream error_msg; in ExtractCompiledInt() local 291 error_msg << "'" << attr.value << "' is not a valid integer"; in ExtractCompiledInt() 292 *out_error = error_msg.str(); in ExtractCompiledInt() 327 std::stringstream error_msg; in ExtractSdkVersion() local 328 error_msg << "'" << attr.value << "' is not a valid SDK version"; in ExtractSdkVersion() 329 *out_error = error_msg.str(); in ExtractSdkVersion() 354 std::string error_msg; in ExtractAppInfoFromBinaryManifest() local 355 Maybe<std::string> maybe_package = ExtractCompiledString(*package_attr, &error_msg); in ExtractAppInfoFromBinaryManifest() 358 << "invalid package name: " << error_msg); in ExtractAppInfoFromBinaryManifest() 365 Maybe<uint32_t> maybe_code = ExtractCompiledInt(*version_code_attr, &error_msg); in ExtractAppInfoFromBinaryManifest() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_CompositionSamplingListener.cpp | 90 constexpr auto error_msg = "Couldn't addRegionSamplingListener"; in nativeRegister() local 91 ALOGE(error_msg); in nativeRegister() 92 jniThrowRuntimeException(env, error_msg); in nativeRegister() 100 constexpr auto error_msg = "Couldn't removeRegionSamplingListener"; in nativeUnregister() local 101 ALOGE(error_msg); in nativeUnregister() 102 jniThrowRuntimeException(env, error_msg); in nativeUnregister()
|
D | android_content_res_ApkAssets.cpp | 53 std::string error_msg = base::StringPrintf("Failed to load asset path %s", path.c_str()); in NativeLoad() local 54 jniThrowException(env, "java/io/IOException", error_msg.c_str()); in NativeLoad() 85 std::string error_msg = base::StringPrintf("Failed to load asset path %s from fd %d", in NativeLoadFromFd() local 87 jniThrowException(env, "java/io/IOException", error_msg.c_str()); in NativeLoadFromFd()
|
D | com_android_internal_os_Zygote.cpp | 792 const std::string& error_msg = in ZygoteFailure() local 795 env->FatalError(error_msg.c_str()); in ZygoteFailure()
|
D | android_util_Binder.cpp | 243 std::string error_msg = base::StringPrintf( in report_java_lang_error_fatal_error() local 246 env->FatalError(error_msg.c_str()); in report_java_lang_error_fatal_error()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeystoreResponse.java | 38 final String error_msg = in.readString(); 39 return new KeystoreResponse(error_code, error_msg); 48 protected KeystoreResponse(int error_code, String error_msg) { in KeystoreResponse() argument 50 this.error_msg_ = error_msg; in KeystoreResponse()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | plugin.cc | 98 string* error_msg) { in GenerateCode() argument 112 *error_msg = "protoc asked plugin to generate a file but " in GenerateCode() 174 string error_msg; in PluginMain() local 177 if (GenerateCode(request, *generator, &response, &error_msg)) { in PluginMain() 183 if (!error_msg.empty()) { in PluginMain() 184 std::cerr << argv[0] << ": " << error_msg << std::endl; in PluginMain()
|
D | plugin.h | 84 string* error_msg);
|
/frameworks/native/cmds/installd/ |
D | otapreopt_utils.cpp | 33 bool Exec(const std::vector<std::string>& arg_vector, std::string* error_msg) { in Exec() argument 64 *error_msg = StringPrintf("Failed to execv(%s) because fork failed: %s", in Exec() 73 *error_msg = StringPrintf("Failed after fork for execv(%s) because waitpid failed: " in Exec() 79 *error_msg = StringPrintf("Failed execv(%s) because non-0 exit status", in Exec()
|
D | dexopt.cpp | 1649 int* dexopt_needed_out, std::string* error_msg) { in process_secondary_dexoptanalyzer_result() argument 1662 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file." in process_secondary_dexoptanalyzer_result() 1678 *error_msg = "Dexoptanalyzer path validation failed"; in process_secondary_dexoptanalyzer_result() 1681 *error_msg = "Dexoptanalyzer open zip failed"; in process_secondary_dexoptanalyzer_result() 1684 *error_msg = "Dexoptanalyzer dir preparation failed"; in process_secondary_dexoptanalyzer_result() 1687 *error_msg = "Dexoptanalyzer open output failed"; in process_secondary_dexoptanalyzer_result() 1690 *error_msg = "Dexoptanalyzer failed to execute"; in process_secondary_dexoptanalyzer_result() 1694 *error_msg = StringPrintf("Unexpected result from analyzing secondary dex %s result=%d", in process_secondary_dexoptanalyzer_result() 1735 char* out_oat_dir, char* out_oat_isa_dir, char* out_oat_path, std::string* error_msg) { in create_secondary_dex_oat_layout() argument 1738 *error_msg = std::string("Unexpected dir structure for dex file ").append(dex_path); in create_secondary_dex_oat_layout() [all …]
|
D | otapreopt_chroot.cpp | 251 std::string error_msg; in otapreopt_chroot() local 252 bool exec_result = Exec(cmd, &error_msg); in otapreopt_chroot() 254 LOG(ERROR) << "Running otapreopt failed: " << error_msg; in otapreopt_chroot()
|
D | otapreopt_utils.h | 34 bool Exec(const std::vector<std::string>& arg_vector, std::string* error_msg);
|
D | dexopt.h | 118 const char* dexMetadataPath, const char* compilation_reason, std::string* error_msg);
|
D | otapreopt.cpp | 492 std::string error_msg; in Dex2oatBootImage() local 493 bool result = Exec(cmd, &error_msg); in Dex2oatBootImage() 495 LOG(ERROR) << "Could not generate boot image: " << error_msg; in Dex2oatBootImage()
|
/frameworks/native/cmds/installd/tests/ |
D | test_utils.h | 96 uid_t uid, gid_t gid, int mode, std::string* error_msg) { in WriteBase64ToFile() argument 108 *error_msg = StringPrintf("Could not open file %s: %s", file.c_str(), strerror(errno)); in WriteBase64ToFile() 116 *error_msg = StringPrintf("Could not write file %s: %s", file.c_str(), strerror(errno)); in WriteBase64ToFile() 123 *error_msg = StringPrintf("Could not chown file %s: %s", file.c_str(), strerror(errno)); in WriteBase64ToFile() 127 *error_msg = StringPrintf("Could not chmod file %s: %s", file.c_str(), strerror(errno)); in WriteBase64ToFile()
|
D | installd_dexopt_test.cpp | 257 std::string error_msg; in create_mock_app() local 258 if (!WriteBase64ToFile(kDexFile, apk_path_, kSystemUid, kSystemGid, 0644, &error_msg)) { in create_mock_app() 260 << " : " << error_msg; in create_mock_app() 288 &error_msg)) { in create_mock_app() 290 << secondary_dex_ce_ << " : " << error_msg; in create_mock_app() 305 &error_msg)) { in create_mock_app() 307 << secondary_dex_de_ << " : " << error_msg; in create_mock_app()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 105 DiagMessage error_msg(source); in Visit() local 106 error_msg << "attribute "; in Visit() 107 ReferenceLinker::WriteAttributeName(attr_ref, callsite_, this, &error_msg); in Visit() 108 error_msg << " " << err_str; in Visit() 109 context_->GetDiagnostics()->Error(error_msg); in Visit()
|
D | ReferenceLinker.cpp | 348 DiagMessage error_msg(reference->GetSource()); in LinkReference() local 349 error_msg << "resource "; in LinkReference() 350 WriteResourceName(*reference, callsite, decls, &error_msg); in LinkReference() 351 error_msg << " " << err_str; in LinkReference() 352 context->GetDiagnostics()->Error(error_msg); in LinkReference()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | conformance_test_runner.cc | 113 string error_msg; in RunTest() local 115 StringAppendF(&error_msg, in RunTest() 118 StringAppendF(&error_msg, in RunTest() 121 GOOGLE_LOG(INFO) << error_msg; in RunTest() 125 response_obj.set_runtime_error(error_msg); in RunTest()
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 145 char* error_msg = nullptr; in Open() local 147 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open() 149 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open() 150 android::NativeLoaderFreeErrorMessage(error_msg); in Open() 171 char* error_msg = nullptr; in Close() local 172 if (!android::CloseNativeLibrary(dlhandle_, native_bridge_, &error_msg)) { in Close() 173 ALOGE("failed to unload library '%s': %s", path_.c_str(), error_msg); in Close() 174 android::NativeLoaderFreeErrorMessage(error_msg); in Close()
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder_test.cc | 31 std::string error_msg; in EncodeAndVerify() local 39 &error_msg)}; in EncodeAndVerify()
|
/frameworks/base/core/proto/android/os/ |
D | metadata.proto | 67 optional string error_msg = 9; field
|
/frameworks/base/tools/aapt2/compile/ |
D | PngCrunch.cpp | 75 static void LogError(png_structp png_ptr, png_const_charp error_msg) { in LogError() argument 77 diag->Error(DiagMessage() << error_msg); in LogError()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | python_message.py | 809 error_msg = _Proto3HasError if is_proto3 else _Proto2HasError 830 raise ValueError(error_msg % field_name)
|