/system/chre/platform/slpi/smgr/tests/ |
D | platform_sensor_util_test.cc | 28 uint16_t rate = intervalToSmgrSamplingRate(Nanoseconds(0)); in TEST() local 29 EXPECT_EQ(rate, 0); in TEST() 34 uint16_t rate = intervalToSmgrSamplingRate(kFiftyHertzInterval); in TEST() local 35 EXPECT_EQ(rate, 50); in TEST() 40 uint16_t rate = intervalToSmgrSamplingRate(kZeroPointFiveHertzInterval); in TEST() local 41 EXPECT_EQ(rate, 2000); in TEST() 46 uint16_t rate = intervalToSmgrSamplingRate(kOneNanoHzInterval); in TEST() local 47 EXPECT_EQ(rate, INT16_MAX); in TEST() 52 uint16_t rate = intervalToSmgrSamplingRate(kTwentyMHzInterval); in TEST() local 53 EXPECT_EQ(rate, 1000); // Should clamp to inversion point in TEST() [all …]
|
/system/core/logd/ |
D | auditctl.cpp | 28 static void do_update_rate(uint32_t rate) { in do_update_rate() argument 33 int result = audit_rate_limit(fd, rate); in do_update_rate() 42 uint32_t rate = 0; in main() local 49 if (!android::base::ParseUint<uint32_t>(optarg, &rate)) { in main() 70 do_update_rate(rate); in main()
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 71 if (config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate)) { in proxy_prepare() 72 proxy->alsa_config.rate = config->rate; in proxy_prepare() 74 proxy->alsa_config.rate = profile->default_config.rate; in proxy_prepare() 76 config->rate, profile->default_config.rate); in proxy_prepare() 78 if (config->rate != 0) { in proxy_prepare() 97 profile_get_period_size(proxy->profile, proxy->alsa_config.rate); in proxy_prepare() 119 if (proxy->alsa_config.rate > profile->sample_rates[max_rate_index]) { in proxy_prepare() 121 proxy->alsa_config.rate, profile->sample_rates[max_rate_index]); in proxy_prepare() 122 proxy->alsa_config.rate = profile->sample_rates[max_rate_index]; in proxy_prepare() 173 return proxy->alsa_config.rate; in proxy_get_sample_rate() [all …]
|
D | alsa_device_profile.c | 158 bool profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate) in profile_is_sample_rate_valid() argument 163 if (profile->sample_rates[index] == rate) { in profile_is_sample_rate_valid() 171 return rate == DEFAULT_SAMPLE_RATE; in profile_is_sample_rate_valid() 233 static bool profile_test_sample_rate(const alsa_device_profile* profile, unsigned rate) in profile_test_sample_rate() argument 236 config.rate = rate; in profile_test_sample_rate() 372 config->rate = pcm_params_get_min(alsa_hw_params, PCM_PARAM_RATE); in read_alsa_device_config() 374 if (config->rate < 48000 && in read_alsa_device_config() 376 config->rate = 48000; in read_alsa_device_config() 377 } else if (config->rate < 44100 && in read_alsa_device_config() 379 config->rate = 44100; in read_alsa_device_config() [all …]
|
D | alsa_logging.c | 106 ALOGV(" rate:%d", config->rate); in log_pcm_config()
|
/system/extras/sound/ |
D | playwav.c | 38 int pcm_play(unsigned rate, unsigned channels, in pcm_play() argument 62 config.sample_rate = rate; in pcm_play() 138 void play_file(unsigned rate, unsigned channels, in play_file() argument 151 pcm_play(rate, channels, fill_buffer, 0); in play_file() 193 int wav_rec(const char *fn, unsigned channels, unsigned rate) in wav_rec() argument 210 hdr.sample_rate = rate; in wav_rec() 336 unsigned rate = 44100; in main() local 356 rate = atoi(argv[0]); in main() 376 return wav_rec(fn, channels, rate); in main()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 100 uint32_t rate; member 215 cfg.rate); in calc_audiotime_usec() 480 common->cfg.rate = sample_rate; in ha_read_input_audio_config() 502 INFO("got input audio config %d %d", common->cfg.format, common->cfg.rate); in ha_read_input_audio_config() 548 stream_config.rate = 44100; in ha_read_output_audio_config() 551 stream_config.rate = 48000; in ha_read_output_audio_config() 554 stream_config.rate = 88200; in ha_read_output_audio_config() 557 stream_config.rate = 96000; in ha_read_output_audio_config() 560 stream_config.rate = 176400; in ha_read_output_audio_config() 563 stream_config.rate = 192000; in ha_read_output_audio_config() [all …]
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 113 uint32_t rate; member 231 cfg.rate); in calc_audiotime_usec() 499 common->cfg.rate = sample_rate; in a2dp_read_input_audio_config() 521 INFO("got input audio config %d %d", common->cfg.format, common->cfg.rate); in a2dp_read_input_audio_config() 567 stream_config.rate = 44100; in a2dp_read_output_audio_config() 570 stream_config.rate = 48000; in a2dp_read_output_audio_config() 573 stream_config.rate = 88200; in a2dp_read_output_audio_config() 576 stream_config.rate = 96000; in a2dp_read_output_audio_config() 579 stream_config.rate = 176400; in a2dp_read_output_audio_config() 582 stream_config.rate = 192000; in a2dp_read_output_audio_config() [all …]
|
/system/bt/embdrv/g722/ |
D | g722_enc_dec.h | 136 g722_encode_state_t *g722_encode_init(g722_encode_state_t *s, unsigned int rate, int options); 140 g722_decode_state_t *g722_decode_init(g722_decode_state_t *s, unsigned int rate, int options);
|
D | g722_decode.cc | 172 g722_decode_state_t *g722_decode_init(g722_decode_state_t *s, unsigned int rate, int options) in g722_decode_init() argument 182 if (rate == 48000) in g722_decode_init() 184 else if (rate == 56000) in g722_decode_init()
|
D | g722_encode.cc | 167 unsigned int rate, int options) in g722_encode_init() argument 177 if (rate == 48000) in g722_encode_init() 179 else if (rate == 56000) in g722_encode_init()
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 264 double rate = s.count / (running_time_in_sec / s.scale); in GetCommentForSummary() local 265 if (rate > 1e9) { in GetCommentForSummary() 266 return android::base::StringPrintf("%.3lf%cG/sec", rate / 1e9, sap_mid); in GetCommentForSummary() 268 if (rate > 1e6) { in GetCommentForSummary() 269 return android::base::StringPrintf("%.3lf%cM/sec", rate / 1e6, sap_mid); in GetCommentForSummary() 271 if (rate > 1e3) { in GetCommentForSummary() 272 return android::base::StringPrintf("%.3lf%cK/sec", rate / 1e3, sap_mid); in GetCommentForSummary() 274 return android::base::StringPrintf("%.3lf%c/sec", rate, sap_mid); in GetCommentForSummary()
|
D | cmd_trace_sched.cpp | 279 double rate = std::min(1.0, in ProcessSampleRecord() local 281 if (rate > thread.spin_info.max_rate) { in ProcessSampleRecord() 282 thread.spin_info.max_rate = rate; in ProcessSampleRecord()
|
D | report_sample.proto | 47 // and sample lost rate.
|
/system/sepolicy/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|
D | app_neverallows.te | 218 # incidence rate of security issues than system/core components and have
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|
/system/media/alsa_utils/include/ |
D | alsa_device_profile.h | 78 bool profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate);
|
/system/bt/stack/a2dp/ |
D | a2dp_sbc_encoder.cc | 833 uint16_t rate = A2DP_SBC_DEFAULT_BITRATE; in a2dp_sbc_source_rate() local 837 rate = A2DP_SBC_NON_EDR_MAX_RATE; in a2dp_sbc_source_rate() 839 __func__, rate); in a2dp_sbc_source_rate() 842 return rate; in a2dp_sbc_source_rate()
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 83 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate() argument 87 return (rate == out->sample_rate_ ? 0 : -1); in out_set_sample_rate()
|
/system/extras/app-launcher/ |
D | app-launcher | 123 echo -n 852000000 > /d/clock/override.gbus/rate
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 144 double rate = (static_cast<double>(bytes_transferred) / s) / (1024 * 1024); in TransferRate() local 145 return android::base::StringPrintf(" %.1f MB/s (%" PRIu64 " bytes in %.3fs)", rate, in TransferRate()
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app_neverallows.te | 132 # incidence rate of security issues than system/core components and have
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | app_neverallows.te | 137 # incidence rate of security issues than system/core components and have
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | app_neverallows.te | 160 # incidence rate of security issues than system/core components and have
|