/system/unwinding/libunwindstack/tests/ |
D | UnwindOfflineTest.cpp | 229 EXPECT_EQ(0xf31ea9f8U, unwinder.frames()[0].pc); in TEST_F() 230 EXPECT_EQ(0xe9c866f8U, unwinder.frames()[0].sp); in TEST_F() 231 EXPECT_EQ(0xf2da0a1bU, unwinder.frames()[1].pc); in TEST_F() 232 EXPECT_EQ(0xe9c86728U, unwinder.frames()[1].sp); in TEST_F() 233 EXPECT_EQ(0xf2da1441U, unwinder.frames()[2].pc); in TEST_F() 234 EXPECT_EQ(0xe9c86730U, unwinder.frames()[2].sp); in TEST_F() 235 EXPECT_EQ(0xf3367147U, unwinder.frames()[3].pc); in TEST_F() 236 EXPECT_EQ(0xe9c86778U, unwinder.frames()[3].sp); in TEST_F() 270 EXPECT_EQ(0xf1f6dc49U, unwinder.frames()[0].pc); in TEST_F() 271 EXPECT_EQ(0xd8fe6930U, unwinder.frames()[0].sp); in TEST_F() [all …]
|
D | UnwinderTest.cpp | 215 auto* frame = &unwinder.frames()[0]; in TEST_F() 230 frame = &unwinder.frames()[1]; in TEST_F() 245 frame = &unwinder.frames()[2]; in TEST_F() 281 auto* frame = &unwinder.frames()[0]; in TEST_F() 296 frame = &unwinder.frames()[1]; in TEST_F() 311 frame = &unwinder.frames()[2]; in TEST_F() 342 auto* frame = &unwinder.frames()[0]; in TEST_F() 373 auto* frame = &unwinder.frames()[0]; in TEST_F() 404 auto* frame = &unwinder.frames()[0]; in TEST_F() 436 auto* frame = &unwinder.frames()[0]; in TEST_F() [all …]
|
D | VerifyBionicTerminationTest.cpp | 108 const std::vector<FrameData>& frames = unwinder.frames(); in TEST() local 110 const FrameData& frame = frames[i]; in TEST()
|
D | UnwindTest.cpp | 118 for (auto& frame : unwinder->frames()) { in VerifyUnwindFrames() 468 size_t frames[kNumConcurrentThreads]; in TEST_F() local 470 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { in TEST_F() 478 frames[i] = unwinder.NumFrames(); in TEST_F() 479 ASSERT_LE(3U, frames[i]) << "Failed for thread " << i; in TEST_F() 559 auto frames = thread_unwinder.frames(); in CreateUnwindThread() local 560 if (frames.size() > 1 && frames[frames.size() - 1].pc < 1000 && in CreateUnwindThread() 561 frames[frames.size() - 2].function_name == "InnerFunction") { in CreateUnwindThread()
|
/system/core/healthd/ |
D | AnimationParser.cpp | 88 std::vector<animation::frame> frames; in parse_animation_desc() local 120 frames.push_back(std::move(frame)); in parse_animation_desc() 127 if (anim->animation_file.empty() || frames.empty()) { in parse_animation_desc() 133 anim->num_frames = frames.size(); in parse_animation_desc() 134 anim->frames = new animation::frame[frames.size()]; in parse_animation_desc() 135 std::copy(frames.begin(), frames.end(), anim->frames); in parse_animation_desc()
|
D | AnimationParser_test.cpp | 185 EXPECT_EQ(10, anim.frames[0].disp_time); in TEST() 186 EXPECT_EQ(20, anim.frames[0].min_level); in TEST() 187 EXPECT_EQ(30, anim.frames[0].max_level); in TEST() 189 EXPECT_EQ(40, anim.frames[1].disp_time); in TEST() 190 EXPECT_EQ(50, anim.frames[1].min_level); in TEST() 191 EXPECT_EQ(60, anim.frames[1].max_level); in TEST()
|
D | healthd_mode_charger.cpp | 149 .frames = nullptr, 347 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState() 362 if (batt_anim_.cur_level >= batt_anim_.frames[i].min_level && in UpdateScreenState() 363 batt_anim_.cur_level <= batt_anim_.frames[i].max_level) { in UpdateScreenState() 371 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time * in UpdateScreenState() 404 (batt_anim_.cur_level < batt_anim_.frames[batt_anim_.cur_frame].min_level || in UpdateScreenState() 405 batt_anim_.cur_level > batt_anim_.frames[batt_anim_.cur_frame].max_level)) { in UpdateScreenState() 653 batt_anim_.frames = owned_frames_.data(); in InitAnimation() 673 LOGV(" frame %.2d: %d %d %d\n", i, batt_anim_.frames[i].disp_time, in InitAnimation() 674 batt_anim_.frames[i].min_level, batt_anim_.frames[i].max_level); in InitAnimation() [all …]
|
D | animation.h | 70 frame* frames = nullptr; member 81 ~animation() { delete frames; } in ~animation() local
|
/system/extras/tests/workloads/ |
D | systemapps.sh | 80 frames=$5 118 ((curFrames=curFrames+${frames:=0})) 184 frames=$1 195 ((frames=frames+systemFrames)) 204 if [ $frames -eq 0 ]; then 208 ((jankPct=100*janks/frames)) 233 computeStats "$app" "$tdiff" "$relaunch" "$directReclaim" "$frames" "$janks" $l90 $l95 $l99 261 frames=$6 269 if [ $frames -gt 0 ]; then 270 ((jankPct=100*janks/frames))
|
/system/memory/libmemunreachable/ |
D | Leak.h | 36 hash_combine(seed, key.frames[i]); 56 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
|
/system/media/audio_utils/include/audio_utils/ |
D | BiquadFilter.h | 113 void biquad_filter_1fast(D *out, const D *in, size_t frames, size_t stride, in biquad_filter_1fast() argument 141 for (size_t j = frames; j > 0; --j) { in biquad_filter_1fast() 172 void zeroChannels(D *out, size_t frames, size_t stride, size_t channelCount) { in zeroChannels() argument 174 memset(out, 0, sizeof(float) * frames * channelCount); in zeroChannels() 176 for (size_t i = 0; i < frames; i++) { in zeroChannels() 184 void biquad_filter_fast(D *out, const D *in, size_t frames, size_t stride, in biquad_filter_fast() argument 187 zeroChannels(out, frames, stride, channelCount); in biquad_filter_fast() 191 out, in, frames, stride, channelCount, delays, coefs, localStride); in biquad_filter_fast() 197 void biquad_filter_neon_impl(F *out, const F *in, size_t frames, size_t stride, in biquad_filter_neon_impl() argument 223 for (size_t j = frames; j > 0; --j) { in biquad_filter_neon_impl() [all …]
|
D | TimestampVerifier.h | 46 constexpr TimestampVerifier(const F (&frames)[N], const T (&timeNs)[N], uint32_t sampleRate) { in TimestampVerifier() 48 add(frames[i], timeNs[i], sampleRate); in TimestampVerifier() 60 constexpr void add(F frames, T timeNs, uint32_t sampleRate) { in add() argument 69 if (mLastTimestamp.mFrames == frames && mLastTimestamp.mTimeNs == timeNs in add() 84 && frames >= mLastTimestamp.mFrames) { in add() 93 mFirstTimestamp = {frames, timeNs}; in add() 99 const FrameTime timestamp{frames, timeNs}; in add() 124 mTimestampEstimator.add({(double)timeNs * 1e-9, (double)frames}); in add() 144 const T newTimeNs = mTimestampEstimator.getXFromY((double)frames) * 1e9; in add()
|
D | PowerLog.h | 67 void log(const void *buffer, size_t frames, int64_t nowNs); 144 void power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns);
|
D | mono_blend.h | 43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
|
/system/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 142 std::unique_ptr<uintptr_t[]> frames(new uintptr_t[kMaxTraceLength]); in AddCauseProtos() local 146 __gwp_asan_get_allocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in AddCauseProtos() 148 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(frames[i]); in AddCauseProtos() 155 __gwp_asan_get_deallocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in AddCauseProtos() 157 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(frames[i]); in AddCauseProtos() 229 std::unique_ptr<uintptr_t[]> frames(new uintptr_t[kMaxTraceLength]); in DumpDeallocationTrace() local 231 __gwp_asan_get_deallocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in DumpDeallocationTrace() 241 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(frames[i]); in DumpDeallocationTrace() 256 std::unique_ptr<uintptr_t[]> frames(new uintptr_t[kMaxTraceLength]); in DumpAllocationTrace() local 258 __gwp_asan_get_allocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in DumpAllocationTrace() [all …]
|
/system/media/audio_utils/fuzz/monoblend_fuzzer/ |
D | monoblend_fuzzer.cpp | 45 size_t frames = samples / std::max(channelCount, (size_t)1); in LLVMFuzzerTestOneInput() local 49 for (size_t i = 0; i < frames * channelCount; ++i) { in LLVMFuzzerTestOneInput() 53 mono_blend((void *) buf, format, channelCount, frames, limit); in LLVMFuzzerTestOneInput()
|
/system/media/audio_utils/ |
D | mono_blend.cpp | 23 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument 30 for (size_t i = 0; i < frames; ++i) { in mono_blend() 45 for (size_t i = 0; i < frames; ++i) { in mono_blend()
|
D | Balance.cpp | 76 void Balance::process(float *buffer, size_t frames) in process() argument 90 if (frames > 0) { in process() 92 const float r = 1.f / frames; in process() 98 for (size_t i = 0; i < frames; ++i) { in process() 113 for (size_t i = 0; i < frames; ++i) { in process()
|
D | primitives.c | 346 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) in downmix_to_mono_float_from_stereo_float() argument 348 for (; frames > 0; --frames) { in downmix_to_mono_float_from_stereo_float() 354 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) in upmix_to_stereo_float_from_mono_float() argument 356 dst += frames * 2; in upmix_to_stereo_float_from_mono_float() 357 src += frames; in upmix_to_stereo_float_from_mono_float() 358 for (; frames > 0; --frames) { in upmix_to_stereo_float_from_mono_float() 384 size_t nonZeroStereo32(const int32_t *frames, size_t count) in nonZeroStereo32() argument 388 nonZero += frames[0] != 0 || frames[1] != 0; in nonZeroStereo32() 389 frames += 2; in nonZeroStereo32() 394 size_t nonZeroStereo16(const int16_t *frames, size_t count) in nonZeroStereo16() argument [all …]
|
D | PowerLog.cpp | 64 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) in log() argument 69 while (frames > 0) { in log() 72 size_t process = std::min(required, frames); in log() 105 frames -= process; in log() 265 const void *buffer, size_t frames, int64_t now_ns) in power_log_log() argument 270 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns); in power_log_log()
|
D | resampler.c | 240 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); in create_resampler() local 241 rsmp->speex_delay_ns = (int32_t)((1000000000 * (int64_t)frames) / rsmp->in_sample_rate); in create_resampler() 242 frames = speex_resampler_get_output_latency(rsmp->speex_resampler); in create_resampler() 243 rsmp->speex_delay_ns += (int32_t)((1000000000 * (int64_t)frames) / rsmp->out_sample_rate); in create_resampler()
|
/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 99 int16_t *inputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; in main() 100 sf_count_t actualRead = sf_readf_short(sfin, inputBuffer, sfinfoin.frames); in main() 101 if (actualRead != sfinfoin.frames) { in main() 108 int16_t *outputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; in main() 118 size_t framesToWrite = sfinfoin.frames - framesWritten; in main() 119 size_t framesToRead = sfinfoin.frames - framesRead; in main()
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 51 uint64_t* frames = nullptr, in out_calculate_feeding_delay_ms() argument 53 if (latency_ms == nullptr && frames == nullptr && timestamp == nullptr) { in out_calculate_feeding_delay_ms() 105 if (frames != nullptr) { in out_calculate_feeding_delay_ms() 107 *frames = absorbed_bytes / audio_stream_out_frame_size(&out->stream_out_); in out_calculate_feeding_delay_ms() 108 if (out->frames_presented_ < *frames) { in out_calculate_feeding_delay_ms() 110 *frames = out->frames_presented_; in out_calculate_feeding_delay_ms() 111 } else if ((out->frames_presented_ - *frames) > latency_frames) { in out_calculate_feeding_delay_ms() 114 *frames = out->frames_presented_; in out_calculate_feeding_delay_ms() 119 if (*frames > latency_frames) { in out_calculate_feeding_delay_ms() 120 *frames -= latency_frames; in out_calculate_feeding_delay_ms() [all …]
|
/system/media/alsa_utils/include/ |
D | alsa_device_proxy.h | 42 uint64_t *frames, struct timespec *timestamp); 44 int64_t *frames, int64_t *time);
|
/system/unwinding/libbacktrace/ |
D | UnwindStack.cpp | 46 std::vector<backtrace_frame_data_t>* frames, size_t num_ignore_frames, in Unwind() argument 113 frames->resize(0); in Unwind() 117 auto unwinder_frames = unwinder.frames(); in Unwind() 118 frames->resize(unwinder.NumFrames() - num_ignore_frames); in Unwind() 123 backtrace_frame_data_t* back_frame = &frames->at(cur_frame); in Unwind()
|