Home
last modified time | relevance | path

Searched refs:GetFrame (Results 1 – 3 of 3) sorted by relevance

/system/core/libbacktrace/
Dbacktrace_test.cpp203 if (backtrace->GetFrame(i)->func_name == "test_level_one") { in VerifyLevelDump()
211 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one") in VerifyLevelDump()
213 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two") in VerifyLevelDump()
215 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three") in VerifyLevelDump()
217 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four") in VerifyLevelDump()
239 ASSERT_EQ(backtrace->GetFrame(MAX_BACKTRACE_FRAMES-1)->func_name, "test_recursive_call") in VerifyMaxDump()
343 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_ign1->GetFrame(i+1)->pc); in VerifyIgnoreFrames()
344 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_ign1->GetFrame(i+1)->sp); in VerifyIgnoreFrames()
345 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_ign1->GetFrame(i+1)->stack_size); in VerifyIgnoreFrames()
347 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
[all …]
Dbacktrace_offline_test.cpp275 pc_values.push_back(backtrace->GetFrame(i)->pc); in BacktraceOfflineTest()
359 std::string name = FunctionNameForAddress(backtrace->GetFrame(i)->rel_pc, testdata.symbols); in LibUnwindingTest()
/system/core/libbacktrace/include/backtrace/
DBacktrace.h188 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() function