Searched refs:frame (Results 1 - 25 of 31) sorted by relevance

12

/system/core/libbacktrace/
H A DUnwindCurrent.cpp117 backtrace_frame_data_t* frame = &frames_.at(num_frames); local
118 frame->num = num_frames;
119 frame->pc = static_cast<uintptr_t>(pc);
120 frame->sp = static_cast<uintptr_t>(sp);
121 frame->stack_size = 0;
123 FillInMap(frame->pc, &frame->map);
124 // Check to see if we should skip this frame because it's coming
126 if (ucontext != nullptr || num_frames != 0 || !DiscardFrame(*frame)) {
129 // keeping the frame
[all...]
H A DUnwindPtrace.cpp126 backtrace_frame_data_t* frame = &frames_.at(num_frames); local
127 frame->num = num_frames;
128 frame->pc = static_cast<uintptr_t>(pc);
129 frame->sp = static_cast<uintptr_t>(sp);
130 frame->stack_size = 0;
134 prev->stack_size = frame->sp - prev->sp;
137 FillInMap(frame->pc, &frame->map);
138 if (BacktraceMap::IsValid(frame->map)) {
139 frame
[all...]
H A DBacktrace.cpp86 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { argument
88 if (BacktraceMap::IsValid(frame->map)) {
89 if (!frame->map.name.empty()) {
90 map_name = frame->map.name.c_str();
93 map_name += StringPrintf(":%" PRIPTR "]", frame->map.start);
96 map_name = StringPrintf("<anonymous:%" PRIPTR ">", frame->map.start);
102 std::string line(StringPrintf("#%02zu pc %" PRIPTR " ", frame->num, frame->rel_pc));
106 if (frame->map.offset != 0) {
107 line += " (offset " + StringPrintf("0x%" PRIxPTR, frame
[all...]
H A Dbacktrace_test.cpp96 std::string frame; local
98 frame += " " + backtrace->FormatFrameData(i) + '\n';
100 return frame;
157 // frame we want.
195 // Verify that the last frame is our recursive call.
238 for (const auto& frame : *backtrace ) {
239 if (BacktraceMap::IsValid(frame.map)) {
240 const std::string name = basename(frame.map.name.c_str());
259 // Check all of the frames are the same > the current frame.
784 backtrace_frame_data_t frame; local
1540 const backtrace_frame_data_t* frame = backtrace->GetFrame(0); local
[all...]
H A DBacktraceCurrent.h50 bool DiscardFrame(const backtrace_frame_data_t& frame);
H A DBacktraceCurrent.cpp86 bool BacktraceCurrent::DiscardFrame(const backtrace_frame_data_t& frame) { argument
87 if (BacktraceMap::IsValid(frame.map)) {
88 const std::string library = basename(frame.map.name.c_str());
H A DBacktraceOffline.cpp209 backtrace_frame_data_t* frame = &frames_[num_frames]; local
210 frame->num = num_frames;
211 frame->pc = static_cast<uintptr_t>(pc);
212 frame->sp = static_cast<uintptr_t>(sp);
213 frame->stack_size = 0;
217 prev->stack_size = frame->sp - prev->sp;
219 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset);
220 FillInMap(frame
[all...]
/system/bt/embdrv/sbc/decoder/srce/
H A Dbitalloc.c29 subbands within the SBC/eSBC frame, along with support functions for computing
30 frame length and bitrate.
43 uint32_t OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO* frame) { argument
44 switch (frame->mode) {
47 return 16 * frame->nrof_subbands;
50 return 32 * frame->nrof_subbands;
53 ERROR(("Invalid frame mode %d", frame->mode));
58 PRIVATE uint16_t internal_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame) { argument
59 uint16_t nbits = frame
78 internal_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO* frame) argument
86 OI_SBC_CalculateFrameAndHeaderlen( OI_CODEC_SBC_FRAME_INFO* frame, OI_UINT* headerLen_) argument
[all...]
H A Ddecoder-private.c90 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; local
101 if (d1 != frame->cachedInfo) {
102 frame->freqIndex = (d1 & (BIT7 | BIT6)) >> 6;
103 frame->frequency = freq_values[frame->freqIndex];
105 frame->blocks = (d1 & (BIT5 | BIT4)) >> 4;
106 frame->nrof_blocks = block_values[frame->blocks];
108 frame->mode = (d1 & (BIT3 | BIT2)) >> 2;
109 frame
[all...]
H A Dbitalloc-sbc.c112 uint32_t OI_CODEC_SBC_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO* frame) { argument
113 return internal_CalculateBitrate(frame);
127 * Calculates the bitpool size for a given frame length
129 uint16_t OI_CODEC_SBC_CalculateBitpool(OI_CODEC_SBC_FRAME_INFO* frame, argument
131 uint16_t nrof_subbands = frame->nrof_subbands;
132 uint16_t nrof_blocks = frame->nrof_blocks;
136 if (frame->mode == SBC_JOINT_STEREO) {
139 if (frame->mode == SBC_MONO) {
144 if (frame->mode == SBC_DUAL_CHANNEL) {
157 uint16_t OI_CODEC_SBC_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO* frame) { argument
[all...]
H A Dframing.c207 PRIVATE uint8_t OI_SBC_CalculateChecksum(OI_CODEC_SBC_FRAME_INFO* frame, argument
216 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4;
218 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) {
228 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) {
235 void OI_SBC_ExpandFrameFields(OI_CODEC_SBC_FRAME_INFO* frame) { argument
236 frame->nrof_blocks = block_values[frame
[all...]
/system/core/healthd/
H A Danimation.h31 struct frame { struct in struct:android::animation
59 frame* frames;
62 int first_frame_repeats; // Number of times to repeat the first frame in the current cycle
H A DAnimationParser.cpp87 static constexpr const char* frame_prefix = "frame: ";
89 std::vector<animation::frame> frames;
92 animation::frame frame; local
119 } else if (sscanf(line.c_str(), " frame: %d %d %d",
120 &frame.disp_time, &frame.min_level, &frame.max_level) == 3) {
121 frames.push_back(std::move(frame));
129 LOGE("Bad animation description. Provide the 'animation: ' line and at least one 'frame
[all...]
H A Dhealthd_draw.cpp175 const animation::frame& frame = anim->frames[anim->cur_frame]; local
178 draw_surface_centered(frame.surface);
179 LOGV("drawing frame #%d min_cap=%d time=%d\n", anim->cur_frame,
180 frame.min_level, frame.disp_time);
/system/extras/tests/pftest/
H A DAndroid.mk16 LOCAL_CFLAGS += -fomit-frame-pointer
/system/extras/tests/memtest/
H A DAndroid.mk17 -fomit-frame-pointer \
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc_private.h151 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);
H A Doi_codec_sbc.h188 uint8_t cachedInfo; /**< Information about the previous frame */
306 * must be used each time a frame is decoded.
332 * Decode one SBC frame. The frame has no header bytes. The context must have
339 * @param bitpool The actual bitpool size for this frame. Must be <= the
344 * value will be updated to point to the next frame after
348 * bytes of frame data. This value will be updated to
368 * Decode one SBC frame.
375 * value will be updated to point to the next frame after
379 * bytes of frame dat
[all...]
/system/extras/simpleperf/scripts/
H A Dreport.py195 frame = Frame(master)
196 frame.pack(fill=BOTH, expand=1)
202 label = Label(frame, text=line, font=font)
206 label = Label(frame, text='', font=font)
210 label = Label(frame, text=' ' + title_line, font=font)
214 report_frame = Frame(frame)
/system/core/libpixelflinger/
H A DAndroid.mk27 PIXELFLINGER_CFLAGS := -fstrict-aliasing -fomit-frame-pointer
/system/extras/tests/workloads/
H A Dyoutube.sh124 echo Error: could not read frame info with \"dumpsys gfxinfo\"
H A Dchromefling.sh126 echo Error: could not read frame info with \"dumpsys gfxinfo\"
H A Drecentfling.sh132 echo Error: could not read frame info with \"dumpsys gfxinfo\"
/system/core/debuggerd/libdebuggerd/
H A Dtombstone.cpp324 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); local
325 if (frame->sp) {
337 // Dump a few words before the first frame.
344 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); local
345 if (sp != frame->sp) {
347 sp = frame->sp;
351 if (sp < frame->sp + frame->stack_size) {
355 size_t words = frame->stack_size / sizeof(word_t);
/system/bt/stack/a2dp/
H A Da2dp_vendor_aptx_encoder.cc306 // Set frame size and transmission interval needed to stream the required
310 // required sample rate, the frame size needs to change on occasion.
449 size_t frame = 0; local
457 for (size_t i = 0, j = frame; i < 4; i++, j++) {
470 frame += 4;

Completed in 279 milliseconds

12