Home
last modified time | relevance | path

Searched refs:now_us (Results 1 – 7 of 7) sorted by relevance

/system/bt/btif/src/
Dbtif_a2dp_source.cc265 static void update_scheduling_stats(SchedulingStats* stats, uint64_t now_us,
931 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in btif_a2dp_source_enqueue_callback() local
946 btif_a2dp_source_cb.stats.tx_queue_last_flushed_us = now_us; in btif_a2dp_source_enqueue_callback()
962 btif_a2dp_source_cb.stats.tx_queue_last_dropouts_us = now_us; in btif_a2dp_source_enqueue_callback()
1044 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in btif_a2dp_source_audio_readbuf() local
1049 btif_a2dp_source_cb.stats.tx_queue_last_readbuf_us = now_us; in btif_a2dp_source_audio_readbuf()
1053 now_us, in btif_a2dp_source_audio_readbuf()
1069 static void update_scheduling_stats(SchedulingStats* stats, uint64_t now_us, in update_scheduling_stats() argument
1074 stats->last_update_us = now_us; in update_scheduling_stats()
1079 if (deadline_us < now_us) { in update_scheduling_stats()
[all …]
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc435 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in DebugDump() local
444 ? (unsigned long long)(now_us - in DebugDump()
/system/bt/stack/a2dp/
Da2dp_aac_encoder.cc558 uint64_t now_us = timestamp_us; in a2dp_aac_get_num_frame_iteration() local
561 (now_us - a2dp_aac_encoder_cb.aac_feeding_state.last_frame_us); in a2dp_aac_get_num_frame_iteration()
562 a2dp_aac_encoder_cb.aac_feeding_state.last_frame_us = now_us; in a2dp_aac_get_num_frame_iteration()
Da2dp_vendor_ldac_encoder.cc583 uint64_t now_us = timestamp_us; in a2dp_ldac_get_num_frame_iteration() local
586 (now_us - a2dp_ldac_encoder_cb.ldac_feeding_state.last_frame_us); in a2dp_ldac_get_num_frame_iteration()
587 a2dp_ldac_encoder_cb.ldac_feeding_state.last_frame_us = now_us; in a2dp_ldac_get_num_frame_iteration()
Da2dp_sbc_encoder.cc432 uint64_t now_us = timestamp_us; in a2dp_sbc_get_num_frame_iteration() local
434 us_this_tick = (now_us - a2dp_sbc_encoder_cb.feeding_state.last_frame_us); in a2dp_sbc_get_num_frame_iteration()
435 a2dp_sbc_encoder_cb.feeding_state.last_frame_us = now_us; in a2dp_sbc_get_num_frame_iteration()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc188 unsigned long long now_us; in ts_log() local
193 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()
199 DEBUG("[%s] ts %08lld, *diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()
204 DEBUG("[%s] ts %08lld, diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc182 unsigned long long now_us; in ts_log() local
187 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()
193 DEBUG("[%s] ts %08lld, *diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()
198 DEBUG("[%s] ts %08lld, diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()