Home
last modified time | relevance | path

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

/system/core/libbacktrace/
Dbacktrace_test.cpp142 if (backtrace->GetFrame(i)->func_name == "test_level_one") { in VerifyLevelDump()
150 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one") in VerifyLevelDump()
152 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two") in VerifyLevelDump()
154 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three") in VerifyLevelDump()
156 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four") in VerifyLevelDump()
178 ASSERT_EQ(backtrace->GetFrame(MAX_BACKTRACE_FRAMES-1)->func_name, "test_recursive_call") in VerifyMaxDump()
255 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_ign1->GetFrame(i+1)->pc); in VerifyIgnoreFrames()
256 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_ign1->GetFrame(i+1)->sp); in VerifyIgnoreFrames()
257 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_ign1->GetFrame(i+1)->stack_size); in VerifyIgnoreFrames()
259 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
[all …]
Dbacktrace_offline_test.cpp118 pc_values->push_back(backtrace->GetFrame(i)->pc); in OfflineBacktraceFunctionCall()
/system/core/include/backtrace/
DBacktrace.h131 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() function
/system/core/debuggerd/
Dtombstone.cpp278 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); in dump_stack()
292 word_t sp = backtrace->GetFrame(first)->sp - STACK_WORDS * sizeof(word_t); in dump_stack()
298 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); in dump_stack()