/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 133 uint64_t frames_presented; // frames written, never reset 134 uint64_t frames_rendered; // frames written, reset on standby 947 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 950 for (size_t i = 0; i < frames; i++, dst++, src += 2) { 975 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 976 out->frames_rendered += frames; 977 out->frames_presented += frames; 1101 // of 16 frames. 1337 uint64_t* frames, 1342 if (stream == NULL || frames 1336 out_get_presentation_position(const struct audio_stream_out* stream, uint64_t* frames, struct timespec* timestamp) argument [all...] |
/system/bt/audio_hearing_aid_hw/src/ |
H A D | audio_hearing_aid_hw.cc | 120 uint64_t frames_presented; // frames written, never reset 121 uint64_t frames_rendered; // frames written, reset on standby 902 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 905 for (size_t i = 0; i < frames; i++, dst++, src += 2) { 930 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 931 out->frames_rendered += frames; 932 out->frames_presented += frames; 1062 // of 16 frames. 1306 uint64_t* frames, 1311 if (stream == NULL || frames 1305 out_get_presentation_position(const struct audio_stream_out* stream, uint64_t* frames, struct timespec* timestamp) argument [all...] |
/system/core/debuggerd/libdebuggerd/ |
H A D | backtrace.cpp | 69 std::vector<backtrace_frame_data_t> frames; local 70 if (!Backtrace::Unwind(thread.registers.get(), map, &frames, 0, nullptr)) { 75 for (auto& frame : frames) {
|
H A D | tombstone.cpp | 173 std::vector<backtrace_frame_data_t>& frames) { 175 for (size_t i = 0; i < frames.size(); i++) { 176 const backtrace_frame_data_t& frame = frames[i]; 191 uint64_t sp = frames[first].sp - STACK_WORDS * sizeof(word_t); 194 // Dump a few words from all successive frames. 195 // Only log the first 3 frames, put the rest in the tombstone. 197 const backtrace_frame_data_t* frame = &frames[i]; 331 void dump_backtrace(log_t* log, std::vector<backtrace_frame_data_t>& frames, const char* prefix) { argument 332 for (auto& frame : frames) { 423 std::vector<backtrace_frame_data_t> frames; local 172 dump_stack(log_t* log, BacktraceMap* backtrace_map, Memory* process_memory, std::vector<backtrace_frame_data_t>& frames) argument [all...] |
/system/core/healthd/ |
H A D | AnimationParser.cpp | 89 std::vector<animation::frame> frames; local 121 frames.push_back(std::move(frame)); 128 if (anim->animation_file.empty() || frames.empty()) { 134 anim->num_frames = frames.size(); 135 anim->frames = new animation::frame[frames.size()]; 136 std::copy(frames.begin(), frames.end(), anim->frames);
|
H A D | animation.h | 59 frame* frames; member in struct:android::animation
|
/system/core/libbacktrace/ |
H A D | UnwindStack.cpp | 49 std::vector<backtrace_frame_data_t>* frames, size_t num_ignore_frames, 99 frames->resize(0); 103 auto unwinder_frames = unwinder.frames(); 104 frames->resize(unwinder.NumFrames() - num_ignore_frames); 109 backtrace_frame_data_t* back_frame = &frames->at(cur_frame); 133 std::vector<backtrace_frame_data_t>* frames, 144 return Backtrace::Unwind(regs, back_map, frames, 0U, nullptr, error); 48 Unwind(unwindstack::Regs* regs, BacktraceMap* back_map, std::vector<backtrace_frame_data_t>* frames, size_t num_ignore_frames, std::vector<std::string>* skip_names, BacktraceUnwindError* error) argument 131 UnwindOffline(unwindstack::Regs* regs, BacktraceMap* back_map, const backtrace_stackinfo_t& stack, std::vector<backtrace_frame_data_t>* frames, BacktraceUnwindError* error) argument
|
/system/core/libmemunreachable/include/memunreachable/ |
H A D | memunreachable.h | 51 uintptr_t frames[max_frames]; member in struct:android::Leak::Backtrace
|
/system/core/libunwindstack/include/unwindstack/ |
H A D | Unwinder.h | 71 const std::vector<FrameData>& frames() { return frames_; } function in class:unwindstack::Unwinder
|
/system/core/libunwindstack/tests/ |
H A D | UnwindTest.cpp | 97 "Unwind completed without finding all frames\n" 111 for (auto& frame : unwinder.frames()) { 327 size_t frames[kNumConcurrentThreads]; local 329 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { 337 frames[i] = unwinder.NumFrames(); 338 ASSERT_LE(3U, frames[i]) << "Failed for thread " << i;
|
/system/extras/simpleperf/ |
H A D | OfflineUnwinder.cpp | 177 std::vector<backtrace_frame_data_t> frames; local 179 if (Backtrace::UnwindOffline(unwind_regs.get(), cached_map.map.get(), stack_info, &frames, &error)) { 180 for (auto& frame : frames) {
|
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 210 uint64_t *frames, struct timespec *timestamp) 219 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); 226 *frames = signed_frames; 209 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
|
/system/media/audio_utils/ |
H A D | PowerLog.cpp | 62 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) argument 67 while (frames > 0) { 70 size_t process = std::min(required, frames); 103 frames -= process; 245 const void *buffer, size_t frames, int64_t now_ns) 250 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns); 244 power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns) argument
|
H A D | echo_reference.c | 50 size_t buf_size; // main buffer size in frames 51 size_t frames_in; // number of frames in main buffer 53 size_t wr_buf_size; // size of conversion buffer in frames 54 size_t wr_frames_in; // number of frames in conversion buffer 55 size_t wr_curr_frame_size; // number of frames given to current write() function 152 ALOGV("echo_reference_write() START trying to write %zu frames", buffer->frame_count); 157 //ALOGV("echo_reference_write() %d frames", buffer->frame_count); 215 size_t frames = buffer->frame_count; local 216 while (frames--) { 242 // resampler to get new frames [all...] |
H A D | mono_blend.cpp | 26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { argument 33 for (size_t i = 0; i < frames; ++i) { 48 for (size_t i = 0; i < frames; ++i) {
|
H A D | primitives.c | 311 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) argument 313 for (; frames > 0; --frames) { 319 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) argument 321 dst += frames * 2; 322 src += frames; 323 for (; frames > 0; --frames) { 349 size_t nonZeroStereo32(const int32_t *frames, size_t count) argument 353 nonZero += frames[ 359 nonZeroStereo16(const int16_t *frames, size_t count) argument [all...] |
H A D | resampler.c | 38 size_t frames_in; // number of frames in input buffer 39 size_t frames_rq; // cached number of output frames 40 size_t frames_needed; // minimum number of input frames to produce 41 // frames_rq output frames 72 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount 73 // with the actual number of frames produced. 89 // update and cache the number of frames needed at the input sampling rate to produce 90 // the number of frames requested at the output sampling rate 100 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at 101 // least the number of frames neede 240 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); local [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | sndfile.h | 37 sf_count_t frames; member in struct:__anon2047 67 * Read interleaved frames 68 * \return actual number of frames read 75 * Write interleaved frames 76 * \return actual number of frames written
|
/system/media/audio_utils/tests/ |
H A D | primitives_tests.cpp | 119 size_t frames = size/3; local 120 for (size_t i = 1; i < frames; ++i) {
|