Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 13 of 13) sorted by relevance

/system/unwinding/libunwindstack/utils/
DOfflineUnwindUtils.cpp137 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 …]
DOfflineUnwindUtils.h80 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;
DProcessTracer.cpp56 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/
DUnwindOfflineTest.cpp46 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/
DOfflineUnwindBenchmarks.cpp58 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/
DKeystoreResponse.h33 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/
Dmetadata_validate.py213 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)
243error_msg = ("Clone '%s' HAL version '%d.%d' is older than entry target HAL version '%d.%d'" \
245 validate_error(error_msg)
/system/sepolicy/tools/
Dsepolicy_generate_compat.py465 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/
Dread_dex_file.cpp60 art_api::dex::DexFile::Error error_msg = in ReadSymbolsFromDexFileInMemory() local
64 << file_offset << "): " << error_msg.ToString(); in ReadSymbolsFromDexFileInMemory()
/system/unwinding/libunwindstack/
DAndroidUnwinder.cpp58 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/
Dtest_utils.cpp183 int WaitProgram(const int pid, const int pipe, std::string* error_msg) { in WaitProgram() argument
194 error_msg->append(buf, n); in WaitProgram()
Dtest_utils.h91 int WaitProgram(const pid_t pid, const int pipe, std::string* error_msg);
Dmain.cpp1689 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()