1408041943-hd-月之数.cpp

本文深入解读了一段C语言代码的功能,重点在于将十进制数转换为二进制并进行基本的输入输出操作。通过代码分析,展示了如何使用循环、条件判断和字符串操作来实现这一功能。
#include<stdio.h>
#include<string.h>
int s[25][2];
int main()
{
 int t,n;
 int i,j,k,l,m;
 memset(s,0,sizeof(s));
 for(i=0;;i++)
 {
  m=i;
  l=0;
  for(j=1;;j++)
  {
   k=m%2;
   if(k==1)
    l++;
   m/=2;
   if(m==0)
       break;
  }
  s[j][0]+=l;
  if(j>20)
      break;
 }
 scanf("%d",&t);
 while(t--)
 {
  scanf("%d",&n);
  printf("%d\n",s[n][0]);
 }
 return 0;
}
319483: 10-13 10:27:38.190 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 319484: 10-13 10:27:38.190 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 319491: 10-13 10:27:38.191 1002 1865 2205 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 319838: 10-13 10:27:38.750 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 319839: 10-13 10:27:38.750 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 319857: 10-13 10:27:38.750 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 319858: 10-13 10:27:38.750 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=false 行 319888: 10-13 10:27:38.750 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 320057: 10-13 10:27:38.754 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 324787: 10-13 10:27:41.936 1002 1865 2366 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=3 flags=0x0(None) ready=true 行 324944: 10-13 10:27:42.038 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 324951: 10-13 10:27:42.038 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 324962: 10-13 10:27:42.038 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 324981: 10-13 10:27:42.039 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 325001: 10-13 10:27:42.039 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 325692: 10-13 10:27:43.235 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 325693: 10-13 10:27:43.235 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 325699: 10-13 10:27:43.236 1002 1865 2205 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 326232: 10-13 10:27:43.404 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 326233: 10-13 10:27:43.404 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 326235: 10-13 10:27:43.404 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 326249: 10-13 10:27:43.404 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 326258: 10-13 10:27:43.404 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 326450: 10-13 10:27:43.407 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 327818: 10-13 10:27:43.667 1041 1401 21141 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 327884: 10-13 10:27:43.667 1041 1401 21141 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 336636: 10-13 10:28:01.668 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 336706: 10-13 10:28:01.668 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 339420: 10-13 10:28:02.283 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 339487: 10-13 10:28:02.284 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 364090: 10-13 10:29:28.562 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 364153: 10-13 10:29:28.562 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 378480: 10-13 10:29:33.729 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 378544: 10-13 10:29:33.729 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 390910: 10-13 10:29:48.730 1000 2458 3908 D BluetoothAdapter: setActiveDevice, device: XX:XX:XX:XX:FC:AC, profiles: 1 行 390912: 10-13 10:29:48.731 1002 1865 2323 I BluetoothAdapterServiceBinder: setActiveDevice: device=XX:XX:XX:XX:FC:AC, profiles=1, from uid/pid=1000/2458 行 390915: 10-13 10:29:48.731 1002 1865 2323 I BluetoothAdapterService: setActiveDevice: Setting active Headset XX:XX:XX:XX:FC:AC 行 390916: 10-13 10:29:48.731 1002 1865 2323 I HeadsetService: setActiveDevice: device=XX:XX:XX:XX:FC:AC, uid/pid=1000/2458 行 390917: 10-13 10:29:48.731 1002 1865 2323 I HeadsetService: setActiveDevice: device XX:XX:XX:XX:FC:AC is already active 行 390926: 10-13 10:29:48.732 1000 2458 3908 I Telecom : BluetoothDeviceManager: connectAudio: BluetoothAdapter#setActiveDevice(AC:97:38:52:FC:AC)=true: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ICFG.sF->ICFG.sF->ICFG.sF->CILH.sL->CILH.oQC->BCF.gBS->BCF.gBS->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->CAMSM.pM_2002->CARC.pM_SWITCH_FOCUS(cap/cast)@E-E-EmA_0_1_0_0_0_0_1_0_0_0_0_0_0_0_0_4_2 行 391030: 10-13 10:29:48.743 1002 1865 20736 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=3 flags=0x0(None) ready=true 行 391362: 10-13 10:29:48.782 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 391371: 10-13 10:29:48.783 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 391396: 10-13 10:29:48.784 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 391417: 10-13 10:29:48.785 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 391431: 10-13 10:29:48.785 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 391630: 10-13 10:29:48.792 1002 1865 20736 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 411891: 10-13 10:29:56.903 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 411892: 10-13 10:29:56.903 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 411898: 10-13 10:29:56.903 1002 1865 2317 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 412527: 10-13 10:29:57.037 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 412534: 10-13 10:29:57.037 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 412537: 10-13 10:29:57.037 1041 1401 29475 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 412538: 10-13 10:29:57.037 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 412555: 10-13 10:29:57.037 1041 1401 29475 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 412743: 10-13 10:29:57.039 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 413834: 10-13 10:29:57.365 1002 1865 2205 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=3 flags=0x0(None) ready=true 行 413978: 10-13 10:29:57.395 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 413987: 10-13 10:29:57.396 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 413998: 10-13 10:29:57.397 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 414017: 10-13 10:29:57.398 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 414049: 10-13 10:29:57.398 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 415443: 10-13 10:29:58.126 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 415444: 10-13 10:29:58.126 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 415450: 10-13 10:29:58.127 1002 1865 2205 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 415736: 10-13 10:29:58.252 1041 1401 29475 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 415737: 10-13 10:29:58.252 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 415746: 10-13 10:29:58.252 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 415758: 10-13 10:29:58.252 1041 1401 29475 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 415765: 10-13 10:29:58.252 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 415966: 10-13 10:29:58.256 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 418273: 10-13 10:29:58.848 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 418343: 10-13 10:29:58.848 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 426376: 10-13 10:30:03.948 1000 2458 3908 D BluetoothAdapter: setActiveDevice, device: XX:XX:XX:XX:FC:AC, profiles: 1 行 426390: 10-13 10:30:03.950 1002 1865 2366 I BluetoothAdapterServiceBinder: setActiveDevice: device=XX:XX:XX:XX:FC:AC, profiles=1, from uid/pid=1000/2458 行 426394: 10-13 10:30:03.950 1002 1865 2366 I BluetoothAdapterService: setActiveDevice: Setting active Headset XX:XX:XX:XX:FC:AC 行 426396: 10-13 10:30:03.950 1002 1865 2366 I HeadsetService: setActiveDevice: device=XX:XX:XX:XX:FC:AC, uid/pid=1000/2458 行 426397: 10-13 10:30:03.950 1002 1865 2366 I HeadsetService: setActiveDevice: device XX:XX:XX:XX:FC:AC is already active 行 426400: 10-13 10:30:03.950 1000 2458 3908 I Telecom : BluetoothDeviceManager: connectAudio: BluetoothAdapter#setActiveDevice(AC:97:38:52:FC:AC)=true: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ICFG.sF->ICFG.sF->ICFG.sF->CILH.sL->CILH.oQC->BCF.gBS->BCF.gBS->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->ICFG.sF->CAMSM.pM_2002->CARC.pM_SWITCH_FOCUS(cap/cast)@E-E-ErI_0_1_0_0_0_0_1_0_0_0_0_0_0_0_0_4_2 行 426560: 10-13 10:30:03.964 1002 1865 20736 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=3 flags=0x0(None) ready=true 行 426761: 10-13 10:30:03.978 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 426768: 10-13 10:30:03.978 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 426789: 10-13 10:30:03.979 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 426811: 10-13 10:30:03.980 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 426824: 10-13 10:30:03.981 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 427069: 10-13 10:30:03.990 1002 1865 20736 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 436065: 10-13 10:30:08.684 1041 1401 3843 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 436066: 10-13 10:30:08.684 1041 1401 3843 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 436075: 10-13 10:30:08.684 1002 1865 2317 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 436637: 10-13 10:30:08.807 1041 1401 3843 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 436638: 10-13 10:30:08.807 1041 1401 3843 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 436653: 10-13 10:30:08.807 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 436656: 10-13 10:30:08.807 1041 1401 3843 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 436696: 10-13 10:30:08.807 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 436853: 10-13 10:30:08.810 1041 1401 3843 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 438198: 10-13 10:30:09.097 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 438263: 10-13 10:30:09.098 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 459552: 10-13 10:31:31.551 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 459615: 10-13 10:31:31.552 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 499774: 10-13 10:31:46.900 1002 1865 1865 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: 00:00:00:00:00:00 行 499899: 10-13 10:31:46.905 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 499906: 10-13 10:31:46.905 1002 1865 1913 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 499913: 10-13 10:31:46.905 1002 1865 1913 W bluetooth-a2dp: system/btif/src/btif_av.cc:4764 btif_av_stream_started_ready: No active peer found 行 500333: 10-13 10:31:46.930 1002 1865 1913 W bluetooth-a2dp: system/btif/src/btif_av.cc:4764 btif_av_stream_started_ready: No active peer found 行 510653: 10-13 10:31:50.204 1002 26791 26830 I bluetooth: system/stack/btm/btm_vendor.cc:996 BTM_ReadVendorAddOnFeatures: :: a2dp_offload_Cap = sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptiver2 行 511841: 10-13 10:31:50.277 1002 26791 26831 V bt_btif : system/btif/src/bluetooth.cc:252 isA2DPOffloadEnabled: a2dp_offload.enable = true 行 514298: 10-13 10:31:50.846 1002 26791 26831 V bt_btif : system/btif/src/bluetooth.cc:252 isA2DPOffloadEnabled: a2dp_offload.enable = true 行 533880: 10-13 10:31:57.841 1002 26791 26855 D A2dpService: setActiveDevice(XX:XX:XX:XX:FC:AC): current is null 行 533900: 10-13 10:31:57.846 1002 26791 26855 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: xx:xx:xx:xx:fc:ac 行 533924: 10-13 10:31:57.847 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_STARTING_UP 行 533925: 10-13 10:31:57.848 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_STARTING_UP 行 533938: 10-13 10:31:57.848 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 533944: 10-13 10:31:57.848 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_RUNNING 行 535042: 10-13 10:31:57.991 1002 26791 26998 W droid.bluetooth: Long monitor contention with owner BluetoothActiveDeviceManager (26855) at boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice)(A2dpService.java:1206) waiters=1 in int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice) for 129ms 行 535307: 10-13 10:31:58.011 1002 26791 26855 I HeadsetService: setActiveDevice: device=XX:XX:XX:XX:FC:AC, uid/pid=1002/26791 行 535316: 10-13 10:31:58.014 1002 26791 26855 V bt_btif_hf: system/btif/src/btif_hf.cc:1667 SetActiveDevice: BTHF ok 行 539510: 10-13 10:31:59.422 1041 1401 1458 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 539511: 10-13 10:31:59.422 1041 1401 1458 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 539567: 10-13 10:31:59.430 1002 26791 26976 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 542054: 10-13 10:32:00.858 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=false 行 542061: 10-13 10:32:00.858 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 542064: 10-13 10:32:00.860 1041 1401 1458 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 542065: 10-13 10:32:00.860 1041 1401 1458 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 542082: 10-13 10:32:00.860 1041 1401 1458 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 542272: 10-13 10:32:00.868 1041 1401 1458 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 542537: 10-13 10:32:00.946 1002 26791 26902 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=3 flags=0x0(None) ready=true 行 542671: 10-13 10:32:00.960 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 542678: 10-13 10:32:00.960 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 542690: 10-13 10:32:00.961 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 542732: 10-13 10:32:00.961 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 542782: 10-13 10:32:00.961 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 543151: 10-13 10:32:00.999 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 543152: 10-13 10:32:00.999 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 543161: 10-13 10:32:01.000 1002 26791 26900 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:fc:ac state=2 flags=0x0(None) ready=false 行 544163: 10-13 10:32:01.147 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 544164: 10-13 10:32:01.147 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 544181: 10-13 10:32:01.147 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 544372: 10-13 10:32:01.148 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 544404: 10-13 10:32:01.153 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 544411: 10-13 10:32:01.153 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 552990: 10-13 10:32:03.843 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 553074: 10-13 10:32:03.845 1041 1401 2422 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 569200: 10-13 10:32:23.464 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 569269: 10-13 10:32:23.465 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 583094: 10-13 10:32:35.575 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 583157: 10-13 10:32:35.575 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 588650: 10-13 10:32:38.973 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 588714: 10-13 10:32:38.974 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :2 行 609948: 10-13 10:32:45.828 1002 26791 26855 D A2dpService: setActiveDevice(XX:XX:XX:XX:0B:2A): current is XX:XX:XX:XX:FC:AC 行 609964: 10-13 10:32:45.832 1002 26791 26855 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: xx:xx:xx:xx:0b:2a 行 610016: 10-13 10:32:45.835 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_RUNNING 行 610017: 10-13 10:32:45.835 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 610030: 10-13 10:32:45.835 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 610031: 10-13 10:32:45.835 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 610044: 10-13 10:32:45.836 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 610056: 10-13 10:32:45.838 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 610062: 10-13 10:32:45.839 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:831 btif_a2dp_source_on_stopped: state=STATE_RUNNING tx_flush=true 行 610069: 10-13 10:32:45.839 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:857 btif_a2dp_source_on_stopped: setting tx_flush true 行 610070: 10-13 10:32:45.839 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_RUNNING 行 610073: 10-13 10:32:45.839 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_RUNNING 行 610668: 10-13 10:32:45.869 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_RUNNING 行 610675: 10-13 10:32:45.870 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 610688: 10-13 10:32:45.870 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 610860: 10-13 10:32:45.900 1002 26791 26855 I HeadsetService: setActiveDevice: device=XX:XX:XX:XX:0B:2A, uid/pid=1002/26791 行 610866: 10-13 10:32:45.901 1002 26791 26855 V bt_btif_hf: system/btif/src/btif_hf.cc:1667 SetActiveDevice: BTHF ok 行 611006: 10-13 10:32:45.933 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 611012: 10-13 10:32:45.933 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 611019: 10-13 10:32:45.933 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 611026: 10-13 10:32:45.933 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 611040: 10-13 10:32:45.934 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 611053: 10-13 10:32:45.934 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 615450: 10-13 10:32:47.286 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 615451: 10-13 10:32:47.286 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 615457: 10-13 10:32:47.287 1002 26791 26802 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 615739: 10-13 10:32:47.324 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 615748: 10-13 10:32:47.324 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 615751: 10-13 10:32:47.325 1041 1401 29475 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 615752: 10-13 10:32:47.325 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 615760: 10-13 10:32:47.325 1041 1401 29475 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 615941: 10-13 10:32:47.326 1041 1401 29475 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 616141: 10-13 10:32:47.338 1002 26791 26802 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=3 flags=0x0(None) ready=true 行 616314: 10-13 10:32:47.350 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 616321: 10-13 10:32:47.350 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 616334: 10-13 10:32:47.351 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 616411: 10-13 10:32:47.351 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 616426: 10-13 10:32:47.352 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 620540: 10-13 10:32:52.070 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 620541: 10-13 10:32:52.070 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 620549: 10-13 10:32:52.071 1002 26791 26902 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 620882: 10-13 10:32:52.138 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 620883: 10-13 10:32:52.138 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 620891: 10-13 10:32:52.138 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 620892: 10-13 10:32:52.138 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 620920: 10-13 10:32:52.138 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 620965: 10-13 10:32:52.139 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 636663: 10-13 10:32:59.015 1002 26791 26902 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=3 flags=0x0(None) ready=true 行 636806: 10-13 10:32:59.032 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 636813: 10-13 10:32:59.032 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 636829: 10-13 10:32:59.033 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 636900: 10-13 10:32:59.034 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 636914: 10-13 10:32:59.035 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 638208: 10-13 10:33:00.360 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 638209: 10-13 10:33:00.360 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 638215: 10-13 10:33:00.361 1002 26791 26905 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 638603: 10-13 10:33:00.407 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 638604: 10-13 10:33:00.407 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 638612: 10-13 10:33:00.407 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 638613: 10-13 10:33:00.407 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 638643: 10-13 10:33:00.407 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 638686: 10-13 10:33:00.408 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 646096: 10-13 10:33:03.549 1002 26791 26980 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=3 flags=0x0(None) ready=true 行 646239: 10-13 10:33:03.562 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 646246: 10-13 10:33:03.562 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 646257: 10-13 10:33:03.563 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 646297: 10-13 10:33:03.564 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 646348: 10-13 10:33:03.564 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 647252: 10-13 10:33:04.934 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 647253: 10-13 10:33:04.934 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 647259: 10-13 10:33:04.934 1002 26791 26980 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 647579: 10-13 10:33:04.988 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 647582: 10-13 10:33:04.988 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 647590: 10-13 10:33:04.988 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 647625: 10-13 10:33:04.989 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 647644: 10-13 10:33:04.989 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 647665: 10-13 10:33:04.989 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 655010: 10-13 10:33:08.129 1002 26791 26902 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=3 flags=0x0(None) ready=true 行 655157: 10-13 10:33:08.157 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 655164: 10-13 10:33:08.157 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 655193: 10-13 10:33:08.158 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 655252: 10-13 10:33:08.159 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 655271: 10-13 10:33:08.160 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 659881: 10-13 10:33:15.543 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1736: a2dp_start_playback start 行 659882: 10-13 10:33:15.543 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1757: calling BT module stream start 行 659888: 10-13 10:33:15.544 1002 26791 26902 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=2 flags=0x0(None) ready=false 行 661191: 10-13 10:33:15.870 1041 1401 2370 E PAL: Bluetooth: startPlayback: 1768: BT controller start return = 0 行 661192: 10-13 10:33:15.870 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1770: configure_a2dp_encoder_format start 行 661200: 10-13 10:33:15.870 1041 1401 2370 I PAL: Bluetooth: startPlayback: 1793: isScramblingEnabled = 0 行 661267: 10-13 10:33:15.871 1041 1401 2370 D PAL: Bluetooth: startPlayback: 1832: start A2DP playback total active sessions :1 行 661338: 10-13 10:33:15.872 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:911 btif_a2dp_source_audio_tx_start_event: streaming false state=STATE_RUNNING tx_flush=true 行 661345: 10-13 10:33:15.872 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:924 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event, btif_av_is_a2dp_offload_running, return 行 702094: 10-13 10:33:28.901 1002 26791 26900 I bluetooth-a2dp: system/btif/src/btif_av.cc:4778 btif_av_stream_started_ready: active_peer=xx:xx:xx:xx:0b:2a state=3 flags=0x0(None) ready=true 行 702244: 10-13 10:33:28.936 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:869 btif_a2dp_source_on_suspended: state=STATE_RUNNING tx_flush=true 行 702251: 10-13 10:33:28.937 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:890 btif_a2dp_source_on_suspended: btif_av_is_a2dp_offload_running, send ack_stream_suspended 行 702273: 10-13 10:33:28.937 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:895 btif_a2dp_source_on_suspended: setting tx_flush true 行 702325: 10-13 10:33:28.938 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_RUNNING 行 702350: 10-13 10:33:28.938 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:956 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, btif_av_is_a2dp_offload_running, return 行 704067: 02-08 08:23:39.011 root 1 1 I auditd : type=1107 audit(0.0:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.bt.a2dp_offload_cap pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=property_service permissive=0' 行 716451: 10-11 11:04:38.674 1002 4656 5630 I dvm_lock_sample: [com.android.bluetooth,0,BT Service Callback Thread,45,A2dpService.java,1724,void com.android.bluetooth.a2dp.A2dpService.messageFromNative(com.android.bluetooth.a2dp.A2dpStackEvent),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),9] 行 716452: 10-11 11:04:38.674 1002 4656 5884 I dvm_lock_sample: [com.android.bluetooth,1,binder:4656_4,45,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),9] 行 721764: 10-11 11:32:45.724 1002 4656 4656 I dvm_lock_sample: [com.android.bluetooth,1,main,29,A2dpService.java,1974,com.android.bluetooth.a2dp.A2dpStateMachine com.android.bluetooth.a2dp.A2dpService.getOrCreateStateMachine(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),5] 行 752014: 10-11 14:59:27.924 1002 4656 4656 I dvm_lock_sample: [com.android.bluetooth,1,main,49,A2dpService.java,1974,com.android.bluetooth.a2dp.A2dpStateMachine com.android.bluetooth.a2dp.A2dpService.getOrCreateStateMachine(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),9] 行 761628: 10-11 15:09:33.824 1002 15808 15808 I dvm_lock_sample: [com.android.bluetooth,1,main,90,A2dpService.java,1974,com.android.bluetooth.a2dp.A2dpStateMachine com.android.bluetooth.a2dp.A2dpService.getOrCreateStateMachine(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),18] 行 789630: 10-13 09:18:02.694 1002 15808 15995 I dvm_lock_sample: [com.android.bluetooth,1,binder:15808_9,86,A2dpService.java,1332,android.bluetooth.BluetoothDevice com.android.bluetooth.a2dp.A2dpService.getActiveDevice(),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),17] 行 795051: 10-13 09:26:26.604 1002 1865 1865 I dvm_lock_sample: [com.android.bluetooth,1,main,36,A2dpService.java,1974,com.android.bluetooth.a2dp.A2dpStateMachine com.android.bluetooth.a2dp.A2dpService.getOrCreateStateMachine(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),7] 行 795052: 10-13 09:26:26.605 1002 1865 2275 I dvm_lock_sample: [com.android.bluetooth,1,binder:1865_5,35,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),7] 行 795654: 10-13 09:27:22.042 1002 1865 2275 I dvm_lock_sample: [com.android.bluetooth,1,binder:1865_5,39,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),7] 行 797952: 10-13 10:16:44.008 1002 1865 2275 I dvm_lock_sample: [com.android.bluetooth,1,binder:1865_5,42,A2dpService.java,861,java.util.List com.android.bluetooth.a2dp.A2dpService.getConnectedDevices(),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),8] 行 799276: 10-13 10:18:33.833 1002 1865 2322 I dvm_lock_sample: [com.android.bluetooth,1,binder:1865_9,55,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),11] 行 801439: 10-13 10:24:21.741 1002 1865 2323 I dvm_lock_sample: [com.android.bluetooth,1,binder:1865_A,44,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),8] 行 805514: 10-13 10:31:57.993 1002 26791 26998 I dvm_lock_sample: [com.android.bluetooth,1,binder:26791_D,129,A2dpService.java,1018,int com.android.bluetooth.a2dp.A2dpService.getConnectionState(android.bluetooth.BluetoothDevice),-,1206,boolean com.android.bluetooth.a2dp.A2dpService.setActiveDevice(android.bluetooth.BluetoothDevice),25] 行 1289343: [persist.vendor.qcom.bluetooth.a2dp_offload_cap]: [sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptiver2] 行 2006053: 10-13 10:33:37.930 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:831 btif_a2dp_source_on_stopped: state=STATE_RUNNING tx_flush=true 行 2006060: 10-13 10:33:37.930 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:857 btif_a2dp_source_on_stopped: setting tx_flush true 行 2006061: 10-13 10:33:37.930 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_RUNNING 行 2006070: 10-13 10:33:37.930 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:821 btif_a2dp_source_on_idle: state=STATE_RUNNING 行 2006145: 10-13 10:33:37.937 1002 26791 26855 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: 00:00:00:00:00:00 行 2006154: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_OFF 行 2006158: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2006165: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2006166: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2006173: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2006174: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2006181: 10-13 10:33:37.939 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2006267: 10-13 10:33:37.942 1002 26791 26855 I HeadsetService: setActiveDevice: device=XX:XX:XX:XX:FC:AC, uid/pid=1002/26791 行 2006273: 10-13 10:33:37.944 1002 26791 26855 V bt_btif_hf: system/btif/src/btif_hf.cc:1667 SetActiveDevice: BTHF ok 行 2006693: 10-13 10:33:38.027 1002 26791 26855 D A2dpService: setActiveDevice(XX:XX:XX:XX:FC:AC): current is null 行 2006701: 10-13 10:33:38.027 1002 26791 26855 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: xx:xx:xx:xx:fc:ac 行 2006715: 10-13 10:33:38.029 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_STARTING_UP 行 2006716: 10-13 10:33:38.029 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_STARTING_UP 行 2006723: 10-13 10:33:38.030 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2006760: 10-13 10:33:38.039 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_RUNNING 行 2007665: 10-13 10:33:38.070 1002 26791 26855 I A2dpService: setActiveDevice(XX:XX:XX:XX:FC:AC): current is XX:XX:XX:XX:FC:AC no changed 行 2016055: 10-13 10:33:51.950 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:831 btif_a2dp_source_on_stopped: state=STATE_RUNNING tx_flush=false 行 2016064: 10-13 10:33:51.951 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:857 btif_a2dp_source_on_stopped: setting tx_flush true 行 2016065: 10-13 10:33:51.951 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1162 btif_a2dp_source_audio_tx_flush_req: state=STATE_RUNNING 行 2016078: 10-13 10:33:51.951 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:821 btif_a2dp_source_on_idle: state=STATE_RUNNING 行 2016084: 10-13 10:33:51.951 1002 26791 26855 I HeadsetService: setActiveDevice: device=null, uid/pid=1002/26791 行 2016090: 10-13 10:33:51.951 1002 26791 26855 V bt_btif_hf: system/btif/src/btif_hf.cc:1667 SetActiveDevice: BTHF ok 行 2016147: 10-13 10:33:51.955 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:1146 btif_a2dp_source_audio_tx_flush_event: state=STATE_OFF 行 2016151: 10-13 10:33:51.955 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2016162: 10-13 10:33:51.955 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2016164: 10-13 10:33:51.955 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2016171: 10-13 10:33:51.956 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2016173: 10-13 10:33:51.956 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:946 btif_a2dp_source_audio_tx_stop_event: streaming false state=STATE_OFF 行 2016180: 10-13 10:33:51.956 1002 26791 26831 I bluetooth-a2dp: system/btif/src/btif_a2dp_source.cc:961 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event, !btif_a2dp_source_is_streaming() 行 2017037: 10-13 10:33:52.119 1002 26791 26855 I bluetooth-a2dp: android/app/jni/com_android_bluetooth_a2dp.cpp:465 setActiveDeviceNative: 00:00:00:00:00:00 上述是什么流程
最新发布
12-16
D:\CYR\FTP\Godot\Godot_v4.2.2-stable_win64.exe>Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org WARNING: Your video card drivers seem not to support the required OpenGL 3.3 version, switching to ANGLE. at: DisplayServerWindows (platform/windows/display_server_windows.cpp:4691) OpenGL API OpenGL ES 3.0.0 (ANGLE 2.1.21969 git hash: 9528449a8930) - Compatibility - Using Device: Google Inc. (Microsoft) - ANGLE (Microsoft, Microsoft Basic Render Driver (0x0000008C) Direct3D11 vs_5_0 ps_5_0, D3D11-10.0.26100.7309) Editing project: D:/CYR/FTP/作业-AI/lab14 Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org WARNING: Your video card drivers seem not to support the required OpenGL 3.3 version, switching to ANGLE. at: DisplayServerWindows (platform/windows/display_server_windows.cpp:4691) OpenGL API OpenGL ES 3.0.0 (ANGLE 2.1.21969 git hash: 9528449a8930) - Compatibility - Using Device: Google Inc. (Microsoft) - ANGLE (Microsoft, Microsoft Basic Render Driver (0x0000008C) Direct3D11 vs_5_0 ps_5_0, D3D11-10.0.26100.7309) WARNING: 项目设置中启用了 blend 文件的导入,但是编辑器设置中没有配置 Blender 的路径。不会导入 blend 文件。 at: _editor_init (modules/gltf/register_types.cpp:63) Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org ERROR: Cannot find a compatible Vulkan installable client driver (ICD). vkCreateInstance Failure at: (drivers/vulkan/vulkan_context.cpp:1085) ERROR: Unable to create DisplayServer, all display drivers failed. at: setup2 (main/main.cpp:2438) ERROR: Pages in use exist at exit in PagedAllocator: N7Variant5Pools11BucketLargeE at: ~PagedAllocator (./core/templates/paged_allocator.h:170)
12-13
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值