/system/iorap/src/inode2filename/ |
D | inode.cc | 31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse() argument 33 DCHECK(error_msg != nullptr); in Parse() 40 *error_msg = "Failed to parse the whole device id as uint."; in Parse() 49 *error_msg = "Failed to parse inode as uint."; in Parse() 59 *error_msg = "Too few : separated items"; in Parse() 64 *error_msg = "Failed to parse 0th element as a uint"; in Parse() 69 *error_msg = "Failed to parse 1st element as a uint"; in Parse() 74 *error_msg = "Failed to parse 2nd element as a uint"; in Parse()
|
D | main.cc | 76 std::string error_msg; in main() local 77 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main() 87 std::cerr << "Failed to parse inode (" << argstr << ") because: " << error_msg << std::endl; in main()
|
/system/extras/perfprofd/dropbox/ |
D | dropbox.cc | 46 std::string* error_msg) { in WriteDropboxFile() argument 53 *error_msg = android::base::StringPrintf("Could not create temp file %s: %s", in WriteDropboxFile() 71 *error_msg = android::base::StringPrintf("Could not create read-only fd: %s", in WriteDropboxFile() 84 *error_msg = "Could not serialize to temp file"; in WriteDropboxFile() 93 *error_msg = status.toString8(); in WriteDropboxFile() 103 std::string* error_msg) { in SendToDropbox() argument 117 *error_msg = status.toString8(); in SendToDropbox() 123 return WriteDropboxFile(profile, temp_directory, error_msg); in SendToDropbox()
|
D | dropbox_host.cc | 28 std::string* error_msg) { in SendToDropbox() argument 29 *error_msg = "Dropbox not supported on host"; in SendToDropbox()
|
D | dropbox.h | 31 std::string* error_msg);
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 198 jstring java_permitted_path, std::string* error_msg) { in Create() argument 225 !InitPublicNamespace(library_path.c_str(), error_msg)) { in Create() 336 *error_msg = dlerror(); in Create() 348 *error_msg = dlerror(); in Create() 355 *error_msg = dlerror(); in Create() 363 *error_msg = dlerror(); in Create() 370 *error_msg = dlerror(); in Create() 394 *error_msg = NativeBridgeGetError(); in Create() 403 *error_msg = NativeBridgeGetError(); in Create() 410 *error_msg = NativeBridgeGetError(); in Create() [all …]
|
D | native_loader_lazy.cpp | 62 bool* needs_native_bridge, char** error_msg) { in OpenNativeLibrary() argument 65 needs_native_bridge, error_msg); in OpenNativeLibrary() 68 bool CloseNativeLibrary(void* handle, const bool needs_native_bridge, char** error_msg) { in CloseNativeLibrary() argument 70 return f(handle, needs_native_bridge, error_msg); in CloseNativeLibrary() 90 bool* needs_native_bridge, char** error_msg) { in OpenNativeLibraryInNamespace() argument 92 return f(ns, path, needs_native_bridge, error_msg); in OpenNativeLibraryInNamespace()
|
/system/extras/perfprofd/binder_interface/ |
D | perfprofd_binder.cc | 158 std::string error_msg; in startProfiling() local 159 if (!StartProfiling(config_fn, &error_msg)) { in startProfiling() 160 return Status::fromExceptionCode(1, error_msg.c_str()); in startProfiling() 166 std::string error_msg; in startProfilingString() local 170 if (!reader.Read(arg, /* fail_on_error */ true, &error_msg)) { in startProfilingString() 173 error_msg.c_str()); in startProfilingString() 181 if (!StartProfiling(config_fn, &error_msg)) { in startProfilingString() 182 return Status::fromExceptionCode(1, error_msg.c_str()); in startProfilingString() 203 std::string error_msg; in StartProfilingProtobuf() local 204 if (!StartProfiling(config_fn, &error_msg)) { in StartProfilingProtobuf() [all …]
|
/system/apex/apexd/ |
D | status.h | 30 explicit Status(const std::string& error_msg) in Status() argument 31 : error_msg_(error_msg), ok_(false) {} in Status() 35 static Status Fail(const std::string& error_msg) { return Status(error_msg); } in Fail() argument
|
D | apexd_utils.h | 58 std::string* error_msg) { in ForkAndRun() argument 68 *error_msg = PStringLog() << "Unable to fork"; in ForkAndRun() 80 *error_msg = StringLog() << "Failed run: status=" << rc; in ForkAndRun()
|
D | apexd_prepostinstall.cpp | 129 std::string error_msg; in StageFnInstall() local 130 int res = ForkAndRun(args, &error_msg); in StageFnInstall() 131 return res == 0 ? Status::Success() : Status::Fail(error_msg); in StageFnInstall()
|
/system/tools/aidl/ |
D | type_namespace.cpp | 93 string error_msg; in GetReturnType() local 94 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg, context); in GetReturnType() 96 AIDL_ERROR(raw_type) << "Return type " << raw_type.ToString() << ": " << error_msg; in GetReturnType() 129 string error_msg; in GetArgType() local 130 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg, context); in GetArgType() 132 AIDL_ERROR(a) << error_prefix << error_msg; in GetArgType()
|
D | type_namespace.h | 127 std::string* error_msg, 182 const ValidatableType* GetValidatableType(const AidlTypeSpecifier& type, std::string* error_msg, 363 const AidlTypeSpecifier& aidl_type, std::string* error_msg, in GetValidatableType() argument 369 *error_msg = "unknown type"; in GetValidatableType() 375 *error_msg = "void type cannot be an array"; in GetValidatableType() 379 *error_msg = "void type cannot be annotated"; in GetValidatableType() 398 *error_msg = StringPrintf("type '%s' may not be annotated as %s.", aidl_type.GetName().c_str(), in GetValidatableType() 409 *error_msg = StringPrintf("%s is unsupported when generating code for this language.", in GetValidatableType() 415 *error_msg = "type cannot be marshalled"; in GetValidatableType() 422 *error_msg = StringPrintf("type '%s' cannot be an array", in GetValidatableType() [all …]
|
/system/extras/simpleperf/ |
D | read_dex_file.cpp | 68 std::string error_msg; in ReadSymbolsFromDexFileInMemory() local 70 art_api::dex::DexFile::OpenFromMemory(file_addr, &max_file_size, "", &error_msg); in ReadSymbolsFromDexFileInMemory() 72 LOG(WARNING) << "Failed to read dex file symbols: " << error_msg; in ReadSymbolsFromDexFileInMemory() 88 std::string error_msg; in ReadSymbolsFromDexFile() local 90 art_api::dex::DexFile::OpenFromFd(fd, offset, file_path, &error_msg); in ReadSymbolsFromDexFile() 93 << "': " << error_msg; in ReadSymbolsFromDexFile()
|
/system/extras/perfprofd/ |
D | perfprofd_threaded_handler.h | 103 template <typename ConfigFn> bool StartProfiling(ConfigFn fn, std::string* error_msg) { in StartProfiling() argument 107 *error_msg = "Already profiling"; in StartProfiling() 129 bool StopProfiling(std::string* error_msg) { in StopProfiling() argument 132 *error_msg = "Not profiling"; in StopProfiling() 151 std::string error_msg; in ResultHandler() local 152 if (!dropbox::SendToDropbox(encodedProfile, config->destination_directory, &error_msg)) { in ResultHandler() 153 LOG(WARNING) << "Failed dropbox submission: " << error_msg; in ResultHandler()
|
D | configreader.cc | 255 std::string* error_msg) in parseLine() argument 258 *error_msg = StringPrintf("line %u: Key is empty", linecount); in parseLine() 262 *error_msg = StringPrintf("line %u: Value for %s is empty", linecount, key.c_str()); in parseLine() 270 *error_msg = StringPrintf("line %u: value %s cannot be parsed", linecount, value.c_str()); in parseLine() 278 *error_msg = StringPrintf("line %u: " in parseLine() 318 *error_msg = StringPrintf("line %u: key %s cannot be parsed", linecount, key.c_str()); in parseLine() 322 *error_msg = StringPrintf("line %u: key %s: period too large", linecount, key.c_str()); in parseLine() 333 *error_msg = StringPrintf("line %u: unknown option '%s'", linecount, key.c_str()); in parseLine() 351 std::string error_msg; in readFile() local 352 if (!Read(contents, /* fail_on_error */ false, &error_msg)) { in readFile() [all …]
|
D | symbolizer.cc | 96 std::string error_msg; in LoadDso() local 101 &error_msg); in LoadDso() 132 LOG(WARNING) << dso << " is not a vdex: " << error_msg; in LoadDso() 155 std::string error_msg; in GetMinExecutableVAddr() local 160 &error_msg); in GetMinExecutableVAddr()
|
D | perfprofd_io.cc | 64 std::string* error_msg); 126 std::string* error_msg) { in Create() argument 149 *error_msg = StringPrintf("Could not initialize compression: %d (%s)", in Create() 270 std::string error_msg; in SerializeProtobuf() local 271 gzip = GzipOutputStream::Create(&cosa, &error_msg); in SerializeProtobuf() 273 LOG(ERROR) << error_msg; in SerializeProtobuf()
|
D | configreader.h | 53 bool Read(const std::string& data, bool fail_on_error, std::string* error_msg); 77 std::string* error_msg);
|
D | perfprofd_cmdline.cc | 232 std::string error_msg; in perfprofd_main() local 235 &error_msg)) { in perfprofd_main() 236 LOG(ERROR) << "Failed dropbox submission: " << error_msg; in perfprofd_main()
|
/system/core/libunwindstack/ |
D | DexFile.cpp | 65 std::string error_msg; in Create() local 67 OpenFromFd(fd, dex_file_offset_in_file, file, &error_msg); in Create() 81 std::string error_msg; in Create() local 83 OpenFromMemory(backing_memory.data(), &size, name, &error_msg); in Create() 90 if (!error_msg.empty()) { in Create()
|
/system/security/keystore/include/keystore/ |
D | KeystoreResponse.h | 33 explicit KeystoreResponse(const int response_code, const String16& error_msg) in KeystoreResponse() 34 : response_code_(response_code), error_msg_(std::make_unique<String16>(error_msg)) {} in KeystoreResponse() 52 const String16* error_msg() const { return error_msg_.get(); } in error_msg() function
|
/system/core/libnativeloader/include/nativeloader/ |
D | native_loader.h | 45 const char* caller_location, jstring library_path, bool* needs_native_bridge, char** error_msg); 49 char** error_msg); 67 char** error_msg);
|
/system/media/camera/docs/ |
D | metadata_validate.py | 213 error_msg = ("Did not find corresponding clone entry '%s' " + \ 215 validate_error(error_msg) 220 error_msg = ("Clone entry target '%s' did not match fully qualified " + \ 222 validate_error(error_msg) 243 … error_msg = ("Clone '%s' HAL version '%d.%d' is older than entry target HAL version '%d.%d'" \ 245 validate_error(error_msg)
|
/system/extras/perfprofd/tests/ |
D | perfprofd_test.cc | 710 std::string error_msg; in TEST_F() local 711 ASSERT_TRUE(reader.Read(data, true, &error_msg)) << error_msg; in TEST_F() 726 std::string error_msg; in TEST_F() local 727 EXPECT_FALSE(reader.Read(data, true, &error_msg)); in TEST_F() 734 std::string error_msg; in TEST_F() local 735 EXPECT_FALSE(reader.Read(data, true, &error_msg)); in TEST_F() 780 std::string error_msg; in TEST_F() local 781 ASSERT_TRUE(reader.Read(input, false, &error_msg)) << error_msg; in TEST_F() 1711 std::string error_msg; in TEST_F() local 1712 EXPECT_FALSE(threaded_handler_->StopProfiling(&error_msg)); in TEST_F() [all …]
|