/system/core/libunwindstack/tests/ |
D | UnwinderTest.cpp | 156 auto* frame = &unwinder.frames()[0]; in TEST_F() local 157 EXPECT_EQ(0U, frame->num); in TEST_F() 158 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() 159 EXPECT_EQ(0x1000U, frame->pc); in TEST_F() 160 EXPECT_EQ(0x10000U, frame->sp); in TEST_F() 161 EXPECT_EQ("Frame0", frame->function_name); in TEST_F() 162 EXPECT_EQ(0U, frame->function_offset); in TEST_F() 163 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F() 164 EXPECT_EQ(0U, frame->map_offset); in TEST_F() 165 EXPECT_EQ(0x1000U, frame->map_start); in TEST_F() [all …]
|
/system/core/libunwindstack/ |
D | Unwinder.cpp | 50 FrameData* frame = &frames_.at(frame_num); in FillInDexFrame() local 51 frame->num = frame_num; in FillInDexFrame() 54 frame->pc = dex_pc; in FillInDexFrame() 55 frame->sp = regs_->sp(); in FillInDexFrame() 59 frame->map_start = info->start; in FillInDexFrame() 60 frame->map_end = info->end; in FillInDexFrame() 61 frame->map_offset = info->offset; in FillInDexFrame() 62 frame->map_load_bias = info->load_bias; in FillInDexFrame() 63 frame->map_flags = info->flags; in FillInDexFrame() 64 frame->map_name = info->name; in FillInDexFrame() [all …]
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | framing.c | 207 PRIVATE uint8_t OI_SBC_CalculateChecksum(OI_CODEC_SBC_FRAME_INFO* frame, in OI_SBC_CalculateChecksum() argument 216 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4; in OI_SBC_CalculateChecksum() 218 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) { in OI_SBC_CalculateChecksum() 228 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) { in OI_SBC_CalculateChecksum() 235 void OI_SBC_ExpandFrameFields(OI_CODEC_SBC_FRAME_INFO* frame) { in OI_SBC_ExpandFrameFields() argument 236 frame->nrof_blocks = block_values[frame->blocks]; in OI_SBC_ExpandFrameFields() 237 frame->nrof_subbands = band_values[frame->subbands]; in OI_SBC_ExpandFrameFields() 239 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ExpandFrameFields() 240 frame->nrof_channels = channel_values[frame->mode]; in OI_SBC_ExpandFrameFields()
|
D | bitalloc.c | 43 uint32_t OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO* frame) { in OI_SBC_MaxBitpool() argument 44 switch (frame->mode) { in OI_SBC_MaxBitpool() 47 return 16 * frame->nrof_subbands; in OI_SBC_MaxBitpool() 50 return 32 * frame->nrof_subbands; in OI_SBC_MaxBitpool() 53 ERROR(("Invalid frame mode %d", frame->mode)); in OI_SBC_MaxBitpool() 58 PRIVATE uint16_t internal_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame) { in internal_CalculateFramelen() argument 59 uint16_t nbits = frame->nrof_blocks * frame->bitpool; in internal_CalculateFramelen() 60 uint16_t nrof_subbands = frame->nrof_subbands; in internal_CalculateFramelen() 63 if (frame->mode == SBC_JOINT_STEREO) { in internal_CalculateFramelen() 66 if (frame->mode == SBC_DUAL_CHANNEL) { in internal_CalculateFramelen() [all …]
|
D | decoder-private.c | 90 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; in OI_SBC_ReadHeader() local 101 if (d1 != frame->cachedInfo) { in OI_SBC_ReadHeader() 102 frame->freqIndex = (d1 & (BIT7 | BIT6)) >> 6; in OI_SBC_ReadHeader() 103 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ReadHeader() 105 frame->blocks = (d1 & (BIT5 | BIT4)) >> 4; in OI_SBC_ReadHeader() 106 frame->nrof_blocks = block_values[frame->blocks]; in OI_SBC_ReadHeader() 108 frame->mode = (d1 & (BIT3 | BIT2)) >> 2; in OI_SBC_ReadHeader() 109 frame->nrof_channels = channel_values[frame->mode]; in OI_SBC_ReadHeader() 111 frame->alloc = (d1 & BIT1) >> 1; in OI_SBC_ReadHeader() 113 frame->subbands = (d1 & BIT0); in OI_SBC_ReadHeader() [all …]
|
D | bitalloc-sbc.c | 112 uint32_t OI_CODEC_SBC_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO* frame) { in OI_CODEC_SBC_CalculateBitrate() argument 113 return internal_CalculateBitrate(frame); in OI_CODEC_SBC_CalculateBitrate() 129 uint16_t OI_CODEC_SBC_CalculateBitpool(OI_CODEC_SBC_FRAME_INFO* frame, in OI_CODEC_SBC_CalculateBitpool() argument 131 uint16_t nrof_subbands = frame->nrof_subbands; in OI_CODEC_SBC_CalculateBitpool() 132 uint16_t nrof_blocks = frame->nrof_blocks; in OI_CODEC_SBC_CalculateBitpool() 136 if (frame->mode == SBC_JOINT_STEREO) { in OI_CODEC_SBC_CalculateBitpool() 139 if (frame->mode == SBC_MONO) { in OI_CODEC_SBC_CalculateBitpool() 144 if (frame->mode == SBC_DUAL_CHANNEL) { in OI_CODEC_SBC_CalculateBitpool() 157 uint16_t OI_CODEC_SBC_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame) { in OI_CODEC_SBC_CalculateFramelen() argument 158 return internal_CalculateFramelen(frame); in OI_CODEC_SBC_CalculateFramelen()
|
/system/core/libbacktrace/ |
D | Backtrace.cpp | 85 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { in FormatFrameData() argument 87 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData() 88 map_name = frame->map.Name(); in FormatFrameData() 89 if (!frame->map.name.empty()) { in FormatFrameData() 92 map_name += StringPrintf(":%" PRIPTR "]", frame->map.start); in FormatFrameData() 99 std::string line(StringPrintf("#%02zu pc %" PRIPTR " ", frame->num, frame->rel_pc)); in FormatFrameData() 103 if (frame->map.offset != 0) { in FormatFrameData() 104 line += " (offset " + StringPrintf("0x%" PRIx64, frame->map.offset) + ")"; in FormatFrameData() 106 if (!frame->func_name.empty()) { in FormatFrameData() 107 line += " (" + frame->func_name; in FormatFrameData() [all …]
|
D | UnwindStack.cpp | 107 auto frame = &unwinder_frames[i]; in Unwind() local 113 back_frame->rel_pc = frame->rel_pc; in Unwind() 114 back_frame->pc = frame->pc; in Unwind() 115 back_frame->sp = frame->sp; in Unwind() 117 back_frame->func_name = demangle(frame->function_name.c_str()); in Unwind() 118 back_frame->func_offset = frame->function_offset; in Unwind() 120 back_frame->map.name = frame->map_name; in Unwind() 121 back_frame->map.start = frame->map_start; in Unwind() 122 back_frame->map.end = frame->map_end; in Unwind() 123 back_frame->map.offset = frame->map_offset; in Unwind() [all …]
|
D | backtrace_test.cpp | 109 std::string frame; in DumpFrames() local 111 frame += " " + backtrace->FormatFrameData(i) + '\n'; in DumpFrames() 113 return frame; in DumpFrames() 263 for (const auto& frame : *backtrace ) { in TEST() 264 if (BacktraceMap::IsValid(frame.map)) { in TEST() 265 const std::string name = basename(frame.map.name.c_str()); in TEST() 284 for (const auto& frame : *backtrace) { in TEST() 285 if (BacktraceMap::IsValid(frame.map)) { in TEST() 286 const std::string name = basename(frame.map.name.c_str()); in TEST() 295 first_frame_non_backtrace_lib = frame.num; in TEST() [all …]
|
D | BacktraceCurrent.cpp | 86 bool BacktraceCurrent::DiscardFrame(const backtrace_frame_data_t& frame) { in DiscardFrame() argument 87 if (BacktraceMap::IsValid(frame.map)) { in DiscardFrame() 88 const std::string library = basename(frame.map.name.c_str()); in DiscardFrame()
|
D | BacktraceCurrent.h | 49 bool DiscardFrame(const backtrace_frame_data_t& frame);
|
/system/core/healthd/ |
D | AnimationParser.cpp | 89 std::vector<animation::frame> frames; in parse_animation_desc() 92 animation::frame frame; in parse_animation_desc() local 120 &frame.disp_time, &frame.min_level, &frame.max_level) == 3) { in parse_animation_desc() 121 frames.push_back(std::move(frame)); in parse_animation_desc() 135 anim->frames = new animation::frame[frames.size()]; in parse_animation_desc()
|
D | animation.h | 31 struct frame { struct 59 frame* frames;
|
D | healthd_draw.cpp | 175 const animation::frame& frame = anim->frames[anim->cur_frame]; in draw_battery() local 178 draw_surface_centered(frame.surface); in draw_battery() 180 frame.min_level, frame.disp_time); in draw_battery()
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 151 PRIVATE uint32_t internal_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO* frame); 153 PRIVATE uint16_t internal_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame); 171 OI_CODEC_SBC_FRAME_INFO* frame, OI_UINT* headerLen_); 173 PRIVATE uint32_t OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO* frame); 175 PRIVATE void OI_SBC_ComputeBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* frame); 176 PRIVATE uint8_t OI_SBC_CalculateChecksum(OI_CODEC_SBC_FRAME_INFO* frame, 223 PRIVATE void OI_SBC_ExpandFrameFields(OI_CODEC_SBC_FRAME_INFO* frame);
|
D | oi_codec_sbc.h | 440 uint16_t OI_CODEC_SBC_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame); 450 uint16_t OI_CODEC_SBC_CalculateBitpool(OI_CODEC_SBC_FRAME_INFO* frame, 461 uint32_t OI_CODEC_SBC_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO* frame);
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 225 for (auto frame : unwinder.frames()) { in SaveData() local 226 map_info = maps.Find(frame.sp); in SaveData() 228 stacks.emplace_back(std::make_pair(frame.sp, map_info->end)); in SaveData() 232 if (maps_by_start.count(frame.map_start) == 0) { in SaveData() 233 auto info = &maps_by_start[frame.map_start]; in SaveData() 234 info->start = frame.map_start; in SaveData() 235 info->end = frame.map_end; in SaveData() 236 info->offset = frame.map_offset; in SaveData() 237 info->name = frame.map_name; in SaveData()
|
/system/extras/simpleperf/scripts/ |
D | report.py | 196 frame = Frame(master) 197 frame.pack(fill=BOTH, expand=1) 203 label = Label(frame, text=line, font=font) 207 label = Label(frame, text='', font=font) 211 label = Label(frame, text=' ' + title_line, font=font) 215 report_frame = Frame(frame)
|
/system/extras/simpleperf/doc/ |
D | inferno.md | 44 either using frame pointer (recommended) or dwarf. At the end of the recording 78 `simpleperf` to unwind the stack via the kernel and frame pointers. Try to 84 this may be because you compiled without frame pointers. Make sure there is no 85 ` -fomit-frame-pointer` in your build config. Alternatively, ask simpleperf to 94 processed. Try to use frame pointer unwinding which can be done by the kernel 97 The cost of frame pointer is negligible on arm64 parameter but considerable
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 176 const backtrace_frame_data_t& frame = frames[i]; in dump_stack() local 177 if (frame.sp) { in dump_stack() 197 const backtrace_frame_data_t* frame = &frames[i]; in dump_stack() local 198 if (sp != frame->sp) { in dump_stack() 200 sp = frame->sp; in dump_stack() 204 if (sp < frame->sp + frame->stack_size) { in dump_stack() 208 size_t words = frame->stack_size / sizeof(word_t); in dump_stack() 332 for (auto& frame : frames) { in dump_backtrace() local 333 _LOG(log, logtype::BACKTRACE, "%s%s\n", prefix, Backtrace::FormatFrameData(&frame).c_str()); in dump_backtrace()
|
D | backtrace.cpp | 75 for (auto& frame : frames) { in dump_backtrace_thread() local 76 _LOG(&log, logtype::BACKTRACE, " %s\n", Backtrace::FormatFrameData(&frame).c_str()); in dump_backtrace_thread()
|
/system/extras/tests/pftest/ |
D | Android.mk | 16 LOCAL_CFLAGS += -fomit-frame-pointer -Wall -Werror
|
/system/extras/tests/memtest/ |
D | Android.mk | 17 -fomit-frame-pointer \
|
/system/extras/simpleperf/ |
D | OfflineUnwinder.cpp | 180 for (auto& frame : frames) { in UnwindCallChain() local 182 if (frame.pc == 0) { in UnwindCallChain() 185 ips->push_back(frame.pc); in UnwindCallChain() 186 sps->push_back(frame.sp); in UnwindCallChain()
|
/system/extras/tests/workloads/ |
D | youtube.sh | 124 echo Error: could not read frame info with \"dumpsys gfxinfo\"
|