/system/unwinding/libunwindstack/utils/ |
D | OfflineUnwindUtils.cpp | 137 bool AddMemory(std::string file_name, MemoryOfflineParts* parts, std::string* error_msg) { in AddMemory() argument 142 *error_msg = err_stream.str(); in AddMemory() 152 std::string error_msg; in GetRegs() local 153 if (!IsValidUnwindSample(sample_name, &error_msg)) { in GetRegs() 154 std::cerr << error_msg; in GetRegs() 162 std::string error_msg; in GetMaps() local 163 if (!IsValidUnwindSample(sample_name, &error_msg)) { in GetMaps() 164 std::cerr << error_msg; in GetMaps() 173 std::string error_msg; in GetProcessMemory() local 174 if (!IsValidUnwindSample(sample_name, &error_msg)) { in GetProcessMemory() [all …]
|
D | OfflineUnwindUtils.h | 80 bool AddMemory(std::string file_name, MemoryOfflineParts* parts, std::string* error_msg); 130 bool Init(const std::vector<UnwindSampleInfo>& sample_infos, std::string* error_msg); 132 bool Init(const UnwindSampleInfo& sample_info, std::string* error_msg); 141 bool ChangeToSampleDirectory(std::string* error_msg, 148 bool GetExpectedNumFrames(size_t* expected_num_frames, std::string* error_msg, 151 bool CreateMaps(std::string* error_msg, const std::string& sample_name = kSingleSample); 153 bool CreateProcessMemory(std::string* error_msg, const std::string& sample_name = kSingleSample); 170 bool CreateRegs(ArchEnum arch, std::string* error_msg, 176 bool IsValidUnwindSample(const std::string& sample_name, std::string* error_msg) const;
|
D | ProcessTracer.cpp | 56 std::string error_msg; in InitProcessTids() local 57 if (!android::procinfo::GetProcessTids(pid_, &tids_, &error_msg)) { in InitProcessTids() 61 error_msg.c_str()); in InitProcessTids()
|
/system/unwinding/libunwindstack/tests/ |
D | UnwindOfflineTest.cpp | 46 std::string* expected_frame_info, std::string* error_msg, in GetExpectedSamplesFrameInfo() argument 53 *error_msg = err_stream.str(); in GetExpectedSamplesFrameInfo() 65 std::string error_msg; in ConsecutiveUnwindTest() local 66 if (!offline_utils_.Init(sample_infos, &error_msg)) FAIL() << error_msg; in ConsecutiveUnwindTest() 72 if (!offline_utils_.ChangeToSampleDirectory(&error_msg, sample_name)) FAIL() << error_msg; in ConsecutiveUnwindTest() 83 if (!offline_utils_.GetExpectedNumFrames(&expected_num_frames, &error_msg, sample_name)) in ConsecutiveUnwindTest() 84 FAIL() << error_msg; in ConsecutiveUnwindTest() 86 if (!GetExpectedSamplesFrameInfo(&expected_frame_info, &error_msg, sample_name)) in ConsecutiveUnwindTest() 87 FAIL() << error_msg; in ConsecutiveUnwindTest() 102 std::string error_msg; in TEST_F() local [all …]
|
/system/unwinding/libunwindstack/benchmarks/ |
D | OfflineUnwindBenchmarks.cpp | 58 std::string error_msg; in SingleUnwindBenchmark() local 59 if (!offline_utils_.Init(sample_info, &error_msg)) { in SingleUnwindBenchmark() 60 state.SkipWithError(error_msg.c_str()); in SingleUnwindBenchmark() 68 std::string error_msg; in ConsecutiveUnwindBenchmark() local 69 if (!offline_utils_.Init(sample_infos, &error_msg)) { in ConsecutiveUnwindBenchmark() 70 state.SkipWithError(error_msg.c_str()); in ConsecutiveUnwindBenchmark() 79 std::string error_msg; in BenchmarkOfflineUnwindMultipleSamples() local 97 if (!offline_utils_.CreateMaps(&error_msg, sample_name)) { in BenchmarkOfflineUnwindMultipleSamples() 98 state.SkipWithError(error_msg.c_str()); in BenchmarkOfflineUnwindMultipleSamples() 106 if (!offline_utils_.ChangeToSampleDirectory(&error_msg, sample_name)) { in BenchmarkOfflineUnwindMultipleSamples() [all …]
|
/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_(error_msg) {} in KeystoreResponse() 47 const std::optional<String16>& error_msg() const { return error_msg_; } in error_msg() function
|
/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/sepolicy/tools/ |
D | sepolicy_generate_compat.py | 465 error_msg = '' 468 error_msg += ('The following new types were not in the latest ' 471 error_msg += ( 475 error_msg += ('The following removed types were not in the latest ' 478 if error_msg: 479 error_msg += '\n' 480 error_msg += ('Please make sure the source tree and the build ID is' 482 sys.exit(error_msg)
|
/system/extras/simpleperf/ |
D | read_dex_file.cpp | 60 art_api::dex::DexFile::Error error_msg = in ReadSymbolsFromDexFileInMemory() local 64 << file_offset << "): " << error_msg.ToString(); in ReadSymbolsFromDexFileInMemory()
|
/system/unwinding/libunwindstack/ |
D | AndroidUnwinder.cpp | 58 std::string error_msg(GetErrorCodeString(error.code)); in GetErrorString() local 60 error_msg += android::base::StringPrintf(" at address 0x%" PRIx64, error.address); in GetErrorString() 62 return error_msg; in GetErrorString()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | test_utils.cpp | 183 int WaitProgram(const int pid, const int pipe, std::string* error_msg) { in WaitProgram() argument 194 error_msg->append(buf, n); in WaitProgram()
|
D | test_utils.h | 91 int WaitProgram(const pid_t pid, const int pipe, std::string* error_msg);
|
D | main.cpp | 1689 std::string error_msg; in TEST_P() local 1690 int ret = WaitProgram(pid, pipe, &error_msg); in TEST_P() 1691 EXPECT_EQ(ret, 0) << error_msg; // Program exited correctly in TEST_P()
|