/system/core/libmemunreachable/ |
H A D | Leak.h | 36 hash_combine(seed, key.frames[i]); 56 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
|
H A D | bionic.h | 31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
|
H A D | MemUnreachable.cpp | 169 reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); 476 oss << backtrace_string(backtrace.frames, backtrace.num_frames);
|
/system/media/audio_utils/include/audio_utils/ |
H A D | mono_blend.h | 32 * \param buf buffer of frames 35 * \param frames number of frames in buffer 43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
|
H A D | PowerLog.h | 52 * \param framesPerEntry total number of audio frames used in each entry. 64 * \param frames buffer size in audio frames. 67 void log(const void *buffer, size_t frames, int64_t nowNs); 94 size_t mCurrentFrames; // number of frames in the energy 100 const size_t mFramesPerEntry; // number of audio frames per entry 124 * \param frames_per_entry total number of audio frames used in each entry. 136 * \param frames buffer size in audio frames. 139 void power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_ [all...] |
H A D | sndfile.h | 37 sf_count_t frames; member in struct:__anon1892 67 * Read interleaved frames 68 * \return actual number of frames read 75 * Write interleaved frames 76 * \return actual number of frames written
|
H A D | primitives.h | 387 * \param count Number of stereo frames to downmix 412 * \param count Number of stereo frames to downmix 442 * \return the total number of non-zero stereo frames, where a frame is considered non-zero 445 size_t nonZeroStereo32(const int32_t *frames, size_t count); 448 * \return the total number of non-zero stereo frames, where a frame is considered non-zero 451 size_t nonZeroStereo16(const int16_t *frames, size_t count); 454 * Copy frames, selecting source samples based on a source channel mask to fit 465 * \param count Number of frames to copy 474 * Copy frames, selecting source samples based on an index array (idxary). 504 * \param count Number of frames t [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
|
H A D | healthd_mode_charger.cpp | 131 .frames = nullptr, 309 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; 320 if (batt_anim->cur_level >= batt_anim->frames[i].min_level && 321 batt_anim->cur_level <= batt_anim->frames[i].max_level) { 328 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 340 /* if we don't have anim frames, we only have one image, so just bump 360 (batt_anim->cur_level < batt_anim->frames[batt_anim->cur_frame].min_level || 361 batt_anim->cur_level > batt_anim->frames[batt_anim->cur_frame].max_level)) { 587 battery_animation.frames = default_animation_frames; 608 LOGV(" frame %.2d: %d %d %d\n", i, battery_animation.frames[ [all...] |
H A D | healthd_draw.cpp | 175 const animation::frame& frame = anim->frames[anim->cur_frame];
|
/system/media/audio_utils/ |
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 | 277 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) argument 279 while (frames--) { 285 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) argument 287 while (frames--) { 317 size_t nonZeroStereo32(const int32_t *frames, size_t count) argument 321 if (frames[0] != 0 || frames[1] != 0) { 324 frames += 2; 329 size_t nonZeroStereo16(const int16_t *frames, size_t count) argument 333 if (frames[ [all...] |
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 | 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...] |
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 | tinysndfile.c | 35 size_t remaining; // frames unread for SFM_READ, frames written for SFM_WRITE 244 handle->info.frames = handle->remaining;
|
/system/extras/tests/workloads/ |
H A D | systemapps.sh | 80 frames=$5 95 curFrames=$(eval "echo \$${label}frames") 118 ((curFrames=curFrames+${frames:=0})) 119 eval "${label}frames=$curFrames" 133 $(eval "echo \$${label}frames") $(eval "echo \$${label}janks") \ 184 frames=$1 195 ((frames=frames+systemFrames)) 204 if [ $frames -eq 0 ]; then 208 ((jankPct=100*janks/frames)) [all...] |
/system/media/alsa_utils/include/ |
H A D | alsa_device_proxy.h | 32 uint64_t transferred; /* the total frames transferred, not cleared on standby */ 42 uint64_t *frames, struct timespec *timestamp);
|
/system/core/healthd/tests/ |
H A D | AnimationParser_test.cpp | 185 EXPECT_EQ(10, anim.frames[0].disp_time); 186 EXPECT_EQ(20, anim.frames[0].min_level); 187 EXPECT_EQ(30, anim.frames[0].max_level); 189 EXPECT_EQ(40, anim.frames[1].disp_time); 190 EXPECT_EQ(50, anim.frames[1].min_level); 191 EXPECT_EQ(60, anim.frames[1].max_level);
|
/system/media/audio_utils/tests/ |
H A D | fifo_tests.cpp | 99 int16_t *inputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; 100 sf_count_t actualRead = sf_readf_short(sfin, inputBuffer, sfinfoin.frames); 101 if (actualRead != sfinfoin.frames) { 108 int16_t *outputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; 118 size_t framesToWrite = sfinfoin.frames - framesWritten; 119 size_t framesToRead = sfinfoin.frames - framesRead; 179 printf("warning: reader lost frames\n");
|
H A D | primitives_tests.cpp | 110 size_t frames = size/3; local 111 for (size_t i = 1; i < frames; ++i) {
|
/system/core/libmemunreachable/include/memunreachable/ |
H A D | memunreachable.h | 51 uintptr_t frames[max_frames]; member in struct:android::Leak::Backtrace
|
/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/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 125 uint64_t frames_presented; // frames written, never reset 126 uint64_t frames_rendered; // frames written, reset on standby 885 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 886 out->frames_rendered += frames; 887 out->frames_presented += frames; 1011 // of 16 frames. 1247 uint64_t* frames, 1252 if (stream == NULL || frames == NULL || timestamp == NULL) return -EINVAL; 1259 *frames = out->frames_presented - latency_frames; 1246 out_get_presentation_position(const struct audio_stream_out* stream, uint64_t* frames, struct timespec* timestamp) argument
|