/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() 86 std::string error_msg = base::StringPrintf("Failed to load asset path %s from fd %d", in NativeLoadFromFd() local 88 jniThrowException(env, "java/io/IOException", error_msg.c_str()); in NativeLoadFromFd()
|
D | com_android_internal_os_Zygote.cpp | 882 const std::string& error_msg = in ZygoteFailure() local 885 env->FatalError(error_msg.c_str()); in ZygoteFailure()
|
D | android_util_Binder.cpp | 278 std::string error_msg = base::StringPrintf( in report_java_lang_error_fatal_error() local 281 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/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 | 1729 int* dexopt_needed_out, std::string* error_msg) { in process_secondary_dexoptanalyzer_result() argument 1742 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file." in process_secondary_dexoptanalyzer_result() 1758 *error_msg = "Dexoptanalyzer path validation failed"; in process_secondary_dexoptanalyzer_result() 1761 *error_msg = "Dexoptanalyzer open zip failed"; in process_secondary_dexoptanalyzer_result() 1764 *error_msg = "Dexoptanalyzer dir preparation failed"; in process_secondary_dexoptanalyzer_result() 1767 *error_msg = "Dexoptanalyzer open output failed"; in process_secondary_dexoptanalyzer_result() 1770 *error_msg = "Dexoptanalyzer failed to execute"; in process_secondary_dexoptanalyzer_result() 1774 *error_msg = StringPrintf("Unexpected result from analyzing secondary dex %s result=%d", in process_secondary_dexoptanalyzer_result() 1815 char* out_oat_dir, char* out_oat_isa_dir, char* out_oat_path, std::string* error_msg) { in create_secondary_dex_oat_layout() argument 1818 *error_msg = std::string("Unexpected dir structure for dex file ").append(dex_path); in create_secondary_dex_oat_layout() [all …]
|
D | otapreopt_chroot.cpp | 269 std::string error_msg; in otapreopt_chroot() local 270 bool exec_result = Exec(cmd, &error_msg); in otapreopt_chroot() 272 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 | 122 const char* dexMetadataPath, const char* compilation_reason, std::string* error_msg);
|
D | InstalldNativeService.cpp | 2316 std::string error_msg; in dexopt() local 2319 downgrade, targetSdkVersion, profile_name, dm_path, compilation_reason, &error_msg); in dexopt() 2320 return res ? error(res, error_msg) : ok(); in dexopt()
|
/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 | 255 std::string error_msg; in create_mock_app() local 256 if (!WriteBase64ToFile(kDexFile, apk_path_, kSystemUid, kSystemGid, 0644, &error_msg)) { in create_mock_app() 258 << " : " << error_msg; in create_mock_app() 306 &error_msg)) { in create_mock_app() 308 << secondary_dex_ce_ << " : " << error_msg; in create_mock_app() 323 &error_msg)) { in create_mock_app() 325 << 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/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 144 char* error_msg = nullptr; in Open() local 146 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open() 148 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open() 149 android::NativeLoaderFreeErrorMessage(error_msg); in Open() 170 char* error_msg = nullptr; in Close() local 171 if (!android::CloseNativeLibrary(dlhandle_, native_bridge_, &error_msg)) { in Close() 172 ALOGE("failed to unload library '%s': %s", path_.c_str(), error_msg); in Close() 173 android::NativeLoaderFreeErrorMessage(error_msg); in Close()
|
/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()
|