/system/core/libunwindstack/tests/ |
D | UnwinderTest.cpp | 171 auto* frame = &unwinder.frames()[0]; in TEST_F() local 172 EXPECT_EQ(0U, frame->num); in TEST_F() 173 EXPECT_EQ(0U, frame->rel_pc); in TEST_F() 174 EXPECT_EQ(0x1000U, frame->pc); in TEST_F() 175 EXPECT_EQ(0x10000U, frame->sp); in TEST_F() 176 EXPECT_EQ("Frame0", frame->function_name); in TEST_F() 177 EXPECT_EQ(0U, frame->function_offset); in TEST_F() 178 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F() 179 EXPECT_EQ(0U, frame->map_elf_start_offset); in TEST_F() 180 EXPECT_EQ(0U, frame->map_exact_offset); in TEST_F() [all …]
|
D | LocalUnwinderTest.cpp | 57 for (const auto& frame : frame_info) { in ErrorMsg() local 59 frame.pc, frame.rel_pc); in ErrorMsg() 60 if (frame.map_info != nullptr) { in ErrorMsg() 61 if (!frame.map_info->name.empty()) { in ErrorMsg() 62 unwind += " " + frame.map_info->name; in ErrorMsg() 64 unwind += android::base::StringPrintf(" 0x%" PRIx64 "-0x%" PRIx64, frame.map_info->start, in ErrorMsg() 65 frame.map_info->end); in ErrorMsg() 67 if (frame.map_info->offset != 0) { in ErrorMsg() 68 unwind += android::base::StringPrintf(" offset 0x%" PRIx64, frame.map_info->offset); in ErrorMsg() 71 if (!frame.function_name.empty()) { in ErrorMsg() [all …]
|
/system/core/libunwindstack/ |
D | Unwinder.cpp | 55 FrameData* frame = &frames_.at(frame_num); in FillInDexFrame() local 56 frame->num = frame_num; in FillInDexFrame() 59 frame->pc = dex_pc; in FillInDexFrame() 60 frame->sp = regs_->sp(); in FillInDexFrame() 64 frame->map_start = info->start; in FillInDexFrame() 65 frame->map_end = info->end; in FillInDexFrame() 66 frame->map_elf_start_offset = info->elf_start_offset; in FillInDexFrame() 67 frame->map_exact_offset = info->offset; in FillInDexFrame() 68 frame->map_load_bias = info->load_bias; in FillInDexFrame() 69 frame->map_flags = info->flags; 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 | 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.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 | 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 | 108 auto frame = &unwinder_frames[i]; in Unwind() local 114 back_frame->rel_pc = frame->rel_pc; in Unwind() 115 back_frame->pc = frame->pc; in Unwind() 116 back_frame->sp = frame->sp; in Unwind() 118 back_frame->func_name = demangle(frame->function_name.c_str()); in Unwind() 119 back_frame->func_offset = frame->function_offset; in Unwind() 121 back_frame->map.name = frame->map_name; in Unwind() 122 back_frame->map.start = frame->map_start; in Unwind() 123 back_frame->map.end = frame->map_end; in Unwind() 124 back_frame->map.offset = frame->map_elf_start_offset; in Unwind() [all …]
|
D | backtrace_test.cpp | 128 std::string frame; in DumpFrames() local 130 frame += " " + backtrace->FormatFrameData(i) + '\n'; in DumpFrames() 132 return frame; in DumpFrames() 282 for (const auto& frame : *backtrace ) { in TEST_F() 283 if (BacktraceMap::IsValid(frame.map)) { in TEST_F() 284 const std::string name = basename(frame.map.name.c_str()); in TEST_F() 303 for (const auto& frame : *backtrace) { in TEST_F() 304 if (BacktraceMap::IsValid(frame.map)) { in TEST_F() 305 const std::string name = basename(frame.map.name.c_str()); in TEST_F() 314 first_frame_non_backtrace_lib = frame.num; in TEST_F() [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 78 frame* frames;
|
D | healthd_draw.cpp | 196 const animation::frame& frame = anim->frames[anim->cur_frame]; in draw_battery() local 199 draw_surface_centered(frame.surface); in draw_battery() 200 LOGV("drawing frame #%d min_cap=%d time=%d\n", anim->cur_frame, frame.min_level, in draw_battery() 201 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/connectivity/wificond/tests/ |
D | client_interface_impl_unittest.cpp | 162 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() 202 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() 224 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() argument 246 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() argument 267 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() argument 293 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() 330 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() 335 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() argument 372 .WillOnce([](uint32_t interface_index, const vector<uint8_t>& frame, in TEST_F() 395 const vector<uint8_t>& frame, int32_t mcs, uint64_t* out_cookie) { in TEST_F() argument
|
/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/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/ |
D | OfflineUnwinder.cpp | 218 for (auto& frame : unwinder.frames()) { in UnwindCallChain() local 227 if (frame.pc == 0 || frame.map_start == 0) { in UnwindCallChain() 231 if (frame.map_flags & unwindstack::MAPS_FLAGS_JIT_SYMFILE_MAP) { in UnwindCallChain() 234 ips->push_back(frame.pc); in UnwindCallChain() 235 sps->push_back(frame.sp); in UnwindCallChain()
|
/system/extras/tests/pftest/ |
D | Android.bp | 9 "-fomit-frame-pointer",
|
/system/connectivity/wificond/ |
D | client_interface_binder.cpp | 107 Status ClientInterfaceBinder::SendMgmtFrame(const vector<uint8_t>& frame, in SendMgmtFrame() argument 114 impl_->SendMgmtFrame(frame, callback, mcs); in SendMgmtFrame()
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 269 for (const auto& frame : unwinder.frames()) { in SaveData() local 270 map_info = maps->Find(frame.sp); in SaveData() 272 stacks.emplace_back(std::make_pair(frame.sp, map_info->end)); in SaveData() 276 if (maps_by_start.count(frame.map_start) == 0) { in SaveData() 277 map_info = maps->Find(frame.map_start); in SaveData()
|
/system/connectivity/wificond/aidl/android/net/wifi/ |
D | IClientInterface.aidl | 68 in byte[] frame, in ISendMgmtFrameEvent callback, int mcs); in SendMgmtFrame() argument
|