01-01 00:28:04.519 23947 23947 E ActivityThread: android.app.ServiceConnectionLeaked:…
- User
01-01 00:28:04.519 23947 23947 E ActivityThread: android.app.ServiceConnectionLeaked: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModelServiceDispatcher.(LoadedApk.java:1533) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1425) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ContextImpl.bindService(ContextImpl.java:1557) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.content.ContextWrapper.bindService(ContextWrapper.java:684) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.ts.smartprojection.showprojection.model.LinkStatusModel.bindService(LinkStatusModel.java:151) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.ts.smartprojection.showprojection.model.LinkStatusModel.init(LinkStatusModel.java:204) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.ts.smartprojection.showprojection.presenter.DisplayPresenter.init(DisplayPresenter.java:62) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.ts.smartprojection.showprojection.DisplayActivity.init(DisplayActivity.java:943) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.ts.smartprojection.showprojection.DisplayActivity.onCreate(DisplayActivity.java:418) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.Activity.performCreate(Activity.java:7023) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.Activity.performCreate(Activity.java:7014) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2755) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2880) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ActivityThread.-wrap11(Unknown Source:0) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.ActivityThreadMethodAndArgsCaller.run(RuntimeInit.java:438) 01-01 00:28:04.519 23947 23947 E ActivityThread: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:808) 01-01 00:28:04.556 2649 6529 D SmartProjection: VideoResourceManager getTopActivityName 01-01 00:28:04.560 2036 14183 W DeviceManagerService: TraceLog log TopPackage: com.mea.meaa.launcher 01-01 00:28:04.562 14188 14188 W PhoneHmi: TraceLog log handleMessage type ::42 01-01 00:28:04.562 14188 14188 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.565 16752 16764 W VEHICLE_HMI: TraceLog log onTaskStackChanged topActivityName = com.mea.meaa.launcher 01-01 00:28:04.565 14188 14188 W PhoneHmi: TraceLog log handleMessage type ::50 01-01 00:28:04.565 14188 14188 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.566 14188 14188 W PhoneHmi: TraceLog log handleMessage type ::51 01-01 00:28:04.569 2519 5412 W HVAC_SERVICE: TraceLog log onTaskStackChanged topActivityName = com.mea.meaa.launcher 01-01 00:28:04.569 16788 16788 W PhoneHmi: TraceLog log handleMessage type ::42 01-01 00:28:04.569 2519 5412 W HVAC_SERVICE: TraceLog log updateForegroundActivity mLastActivityName: com.ts.smartprojection.showprojection mTopActivityName : com.mea.meaa.launcher new topActivity com.mea.meaa.launcher 01-01 00:28:04.569 2519 5412 W HVAC_SERVICE: TraceLog log updateComfortVisibility mLastActivityName: com.ts.smartprojection.showprojection topActivity : com.mea.meaa.launcher 01-01 00:28:04.569 14188 14188 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.569 16788 16788 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.570 16788 16788 W PhoneHmi: TraceLog log handleMessage type ::50 01-01 00:28:04.570 16788 16788 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.571 16788 16788 W PhoneHmi: TraceLog log handleMessage type ::51 01-01 00:28:04.571 16788 16788 W PhoneHmi: TraceLog log Unhandled message 01-01 00:28:04.574 2649 6529 D SmartProjection: VideoResourceManager getTopActivityName topActivity.getClassName() = com.mea.meaa.launcher.presentation.view.pageslist.Launcher 01-01 00:28:04.574 2649 6529 D SmartProjection: VideoResourceManager onTaskStackChanged topActivityName : com.mea.meaa.launcher.presentation.view.pageslist.Launcher 01-01 00:28:04.576 2036 14183 W DeviceManagerService: TraceLog log send broadcastPackageNameToHmi 01-01 00:28:04.577 2649 6529 I SmartProjection: VideoResourceManager getAllStackInfos : [Stack id=1 bounds=[0,0][1024,768] displayId=0 userId=0 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=177: com.mitsubishielectric.ahu.app.phone/com.mitsubishielectric.ahu.app.phone.PhoneMainActivity bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=183: com.mea.meaa.appdrawer/com.mea.meaa.appdrawer.MainActivity bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=179: com.mitsubishielectric.ahu.app.vehicle/com.mitsubishielectric.ahu.app.vehicle.VehicleMainActivity bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=181: com.mitsubishielectric.ahu.app.climate/com.mitsubishielectric.ahu.app.climate.ClimateMainActivity bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=180: com.mitsubishielectric.ahu.app.media/com.mitsubishielectric.ahu.app.media.MediaMainActivity bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: taskId=189: com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher bounds=[0,0][1024,768] userId=0 visible=true topActivity=ComponentInfo{com.mea.meaa.launcher/com.mea.meaa.launcher.presentation.view.pageslist.Launcher} 01-01 00:28:04.577 2649 6529 I SmartProjection: , Stack id=0 bounds=[0,0][1024,768] displayId=0 userId=0 01-01 00:28:04.577 2649 6529 I SmartProjection: ] 01-01 00:28:04.578 2649 6529 D SmartProjection: VideoResourceManager onTaskStackChanged runningPackageName: com.mea.meaa.launcher 01-01 00:28:04.578 2649 6529 D SmartProjection: VideoResourceManager storeLastMainActivity --- packageName: com.mea.meaa.launcher 01-01 00:28:04.579 2649 6529 D SmartProjection: VideoResourceManager process top: com.mea.meaa.launcher 01-01 00:28:04.579 2649 6529 D SmartProjection: VideoResourceManager process cur:com.mea.meaa.launcher 01-01 00:28:04.579 2649 6529 D SmartProjection: VideoResourceManager Ignore backcamere/usbresolver/allgomtp/same/xtactivity activity change, there is special event 01-01 00:28:04.584 1098 1313 D CompatibilityInfo: mCompatibilityFlags - 4 01-01 00:28:04.584 1098 1313 D CompatibilityInfo: applicationDensity - 152 01-01 00:28:04.584 1098 1313 D CompatibilityInfo: applicationScale - 1.0 01-01 00:28:04.602 14188 14188 W PhoneHmi: TraceLog log Instance HashCode :: 148724992 01-01 00:28:04.602 14188 14188 W PhoneHmi: TraceLog log topActivity :com.mea.meaa.launcher 01-01 00:28:04.605 1098 2191 D WindowManager: navigationBarPosition displayWidth=1024, displayHeight=768, displayRotation=0, latoutDirection=0 01-01 00:28:04.648 2649 18952 D airplayd: 2020-01-01 12:28:04.648903 AM [CarPlay] _CarPlayHandleSessionControl entry 01-01 00:28:04.649 2649 18952 D airplayd: 2020-01-01 12:28:04.649123 AM [CarPlay] iAP2Message received from iPhone 01-01 00:28:04.649 2649 18952 D CARPLAY_JNI: OnIAP2MessageReceived Callback 01-01 00:28:04.650 657 18963 I transport: Transport_Read enter 01-01 00:28:04.650 657 18963 I transport: read start 01-01 00:28:04.650 657 18963 I transport: read success:255 01-01 00:28:04.650 657 18963 I transport: Transport_Read exist 01-01 00:28:04.650 2649 18952 D airplayd: 2020-01-01 12:28:04.650254 AM [CarPlay] _CarPlayHandleSessionControl exit, ret=0 01-01 00:28:04.674 1098 6076 W LocationManagerService: Dropping incomplete location: Location[gps 0.000000,0.000000 hAcc=10718928 t=?!? et=+28m42s676ms alt=0.0 vAcc=0 sAcc=??? bAcc=??? {Bundle[{satellites=0, maxCn0=0, meanCn0=0}]}] 01-01 00:28:04.675 1098 1098 W LocationManagerService: Dropping incomplete location: Location[fused 0.000000,0.000000 hAcc=10718928 t=?!? et=+28m42s678ms alt=0.0 vAcc=0 sAcc=??? bAcc=??? {Bundle[{com.mitsubishielectric.location.nmearmc:status=-1, com.mitsubishielectric.location.nmeagga:fix_quality=1}]}] 01-01 00:28:04.756 2649 18969 I SmartProjection: CarPlayLocationDataManager location is null 01-01 00:28:04.757 657 657 I iap_native_service: IAPInterface::Iap_SetLocationInfo called, handle=3 01-01 00:28:04.758 657 657 D iPodLib : _iPod_iAP2Cmd_SetLocationInfo: [iPodLib48] Set LocationInfo Out,RetVal=0 01-01 00:28:04.758 657 18966 I transport: Transport_Write Enter 01-01 00:28:04.758 657 18966 I transport: Transport_Write Exist 01-01 00:28:04.759 2649 18961 D airplayd: 2020-01-01 12:28:04.759264 AM [CarPlay] CarPlaySendIAPMessage exit, ret=0 01-01 00:28:04.759 2649 18969 D iap_native_service: native_Iap_SetLocationInfo result = 0 01-01 00:28:04.764 2649 18952 D airplayd: 2020-01-01 12:28:04.764565 AM [CarPlay] _CarPlayHandleSessionControl entry 01-01 00:28:04.764 2649 18952 D airplayd: 2020-01-01 12:28:04.764719 AM [CarPlay] iAP2Message received from iPhone 01-01 00:28:04.764 2649 18952 D CARPLAY_JNI: OnIAP2MessageReceived Callback 01-01 00:28:04.765 657 18963 I transport: Transport_Read enter 01-01 00:28:04.765 657 18963 I transport: read start 01-01 00:28:04.765 657 18963 I transport: read success:255 01-01 00:28:04.765 657 18963 I transport: Transport_Read exist 01-01 00:28:04.765 2649 18952 D airplayd: 2020-01-01 12:28:04.765619 AM [CarPlay] _CarPlayHandleSessionControl exit, ret=0 01-01 00:28:04.829 2649 3615 D mdns : SocketDataReady ignored a packet from 192.168.49.247 to 224.0.0.251 on interface /7 expecting 127.0.0.1/lo/1/137 01-01 00:28:04.829 2649 3615 D mdns : SocketDataReady got a packet from 192.168.49.247 to 224.0.0.251 on interface 192.168.49.1/softap0/7/163 01-01 00:28:04.829 2649 3615 D mdns : Received Query from 192.168.49.247 :5353 to 224.0.0.251 :5353 on 0x0000007AF7B6F400 with 4 Questions, 0 Answers, 1 Authority, 1 Additional 142 bytes 01-01 00:28:04.829 2649 3615 D mDNSResponder: mDNSParseNSEC3Records: ptr 0000007AF3000FFD, Record 22 iPhone\032(2)._carplay-ctrl._tcp.local. SRV 0 0 51859 iPhone-2.local., ignoring 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.830 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.831 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.832 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.833 2649 3615 I chatty : uid=1000(system) Thread-39 identical 6 lines 01-01 00:28:04.835 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: _airplay._tcp.local. (PTR) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (SRV) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (TXT) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.836 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.837 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.837 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.837 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.837 2649 3615 D mDNSResponder: m->NextCacheCheck 0 Slot 118 iPhone-2.local. 01-01 00:28:04.837 2649 3615 D mdns : CheckCacheExpiration: 78 7680 16 iPhone-2.local. AAAA FE80:0000:0000:0000:1C78:4D33:D089:BA81 01-01 00:28:04.837 2649 3615 D mdns : CheckCacheExpiration: 78 7680 4 iPhone-2.local. Addr 192.168.49.247 01-01 00:28:04.837 2649 3615 D mdns : CheckCacheExpiration: 78 7680 22 iPhone-2.local. NSEC Addr AAAA 01-01 00:28:04.837 2649 3615 D mDNSResponder: m->NextCacheCheck 1 Slot 130 _carplay-ctrl._tcp.local. 01-01 00:28:04.837 2649 3615 D mdns : CheckCacheExpiration: Deleting 3722 1 0000007B11505C08 37 _carplay-ctrl._tcp.local. PTR iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.838 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _carplay-ctrl._tcp.local. 01-01 00:28:04.838 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.838 2649 3615 D mdns : CacheRecordRmv 0000007AF674D2E0 37 _carplay-ctrl._tcp.local. PTR iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.838 2649 3615 D mDNSResponder: ReconfirmAntecedents (depth=0) for _carplay-ctrl._tcp.local. 01-01 00:28:04.838 2649 3615 D mDNSResponder: mDNS_Reconfirm_internal: 276 ticks to go for 26 _services._dns-sd._udp.local. PTR _carplay-ctrl._tcp.local. 0000000000000000 01-01 00:28:04.838 2649 3615 D mDNSResponder: ReconfirmAntecedents (depth=1) for _services._dns-sd._udp.local. 01-01 00:28:04.838 2649 3615 D mdns : AnswerCurrentQuestionWithResourceRecord: 0 Rmv TTL 1 37 _carplay-ctrl._tcp.local. PTR iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: Updating CacheGroup tail from 0000007AF674D2E0 to 0000007AF674D5A8 01-01 00:28:04.839 2649 3615 D mDNSResponder: m->NextCacheCheck 2 Slot 262 1.8.A.B.9.8.0.D.3.3.D.4.8.7.C.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 78 7680 16 1.8.A.B.9.8.0.D.3.3.D.4.8.7.C.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. PTR iPhone-2.local. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 78 7680 78 1.8.A.B.9.8.0.D.3.3.D.4.8.7.C.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. NSEC PTR 01-01 00:28:04.839 2649 3615 D mDNSResponder: m->NextCacheCheck 3 Slot 296 iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 3673 11520 37 iPhone\032(2)._carplay-ctrl._tcp.local. TXT id=e8:7f:95:07:90:1a¦srcvers=521.1.3 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 4458 7680 44 iPhone\032(2)._carplay-ctrl._tcp.local. NSEC TXT SRV 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 78 7680 22 iPhone\032(2)._carplay-ctrl._tcp.local. SRV 0 0 51859 iPhone-2.local. 01-01 00:28:04.839 2649 3615 D mDNSResponder: m->NextCacheCheck 4 Slot 297 _services._dns-sd._udp.local. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 2 7680 26 _services._dns-sd._udp.local. PTR _carplay-ctrl._tcp.local. 01-01 00:28:04.839 2649 3615 D mDNSResponder: m->NextCacheCheck 5 Slot 327 247.49.168.192.in-addr.arpa. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 78 7680 16 247.49.168.192.in-addr.arpa. PTR iPhone-2.local. 01-01 00:28:04.839 2649 3615 D mdns : CheckCacheExpiration: 78 7680 33 247.49.168.192.in-addr.arpa. NSEC PTR 01-01 00:28:04.839 2649 3615 D mDNSResponder: m->NextCacheCheck 6 checked, next in 276 01-01 00:28:04.839 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.839 2649 3615 D mdns : SocketDataReady ignored a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface /7 expecting FE80:0000:0000:0000:0475:48FF:FE4F:54C8/dummy0/3/136 01-01 00:28:04.839 2649 3615 D mdns : SocketDataReady ignored a packet from 192.168.49.247 to 224.0.0.251 on interface /7 expecting 127.0.0.1/lo/1/137 01-01 00:28:04.840 2649 3615 D mdns : SocketDataReady got a packet from 192.168.49.247 to 224.0.0.251 on interface 192.168.49.1/softap0/7/163 01-01 00:28:04.840 2649 3615 D mDNSResponder: Received Response from 192.168.49.247 addressed to 224.0.0.251 on 0000007AF7B6F400 with 0 Questions, 6 Answers, 0 Authorities, 4 Additionals 370 bytes LLQType 0 01-01 00:28:04.840 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.840 2649 3615 D mdns : mDNSCoreReceiveCacheCheck: Found record size 78 interface 0000007AF7B6F400 already in cache: 78 1.8.A.B.9.8.0.D.3.3.D.4.8.7.C.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. NSEC PTR 01-01 00:28:04.840 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.840 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.840 2649 3615 D mdns : SocketDataReady got a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/softap0/7/165 01-01 00:28:04.840 2649 3615 D mdns : Received Query from FE80:0000:0000:0000:1C78:4D33:D089:BA81:5353 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 on 0x0000007AF7B6F400 with 4 Questions, 0 Answers, 1 Authority, 1 Additional 142 bytes 01-01 00:28:04.841 2649 3615 D mDNSResponder: mDNSParseNSEC3Records: ptr 0000007AF3000FFD, Record 22 iPhone\032(2)._carplay-ctrl._tcp.local. SRV 0 0 51859 iPhone-2.local., ignoring 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _companion-link._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.841 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.842 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.843 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.843 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.843 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname _airplay._tcp.local. 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: not a anonymous type question 01-01 00:28:04.844 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.845 2649 3615 I chatty : uid=1000(system) Thread-39 identical 6 lines 01-01 00:28:04.845 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: _airplay._tcp.local. (PTR) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (SRV) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (TXT) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.845 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.845 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.845 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (SRV) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: CarPlay._airplay._tcp.local. (TXT) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (Addr) already in list 01-01 00:28:04.846 2649 3615 D mDNSResponder: AddRecordToResponseList: Android.local. (AAAA) already in list 01-01 00:28:04.846 2649 3615 D mdns : SendResponses: Next in 2013265920 ticks 01-01 00:28:04.847 2649 3615 E mDNSResponder: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second 01-01 00:28:04.847 2649 3615 D mdns : SocketDataReady ignored a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface /7 expecting FE80:0000:0000:0000:0475:48FF:FE4F:54C8/dummy0/3/136 01-01 00:28:04.847 2649 3615 D mdns : SocketDataReady got a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/softap0/7/165 01-01 00:28:04.847 2649 3615 D mDNSResponder: Received Response from FE80:0000:0000:0000:1C78:4D33:D089:BA81 addressed to FF02:0000:0000:0000:0000:0000:0000:00FB on 0000007AF7B6F400 with 0 Questions, 6 Answers, 0 Authorities, 4 Additionals 370 bytes LLQType 0 01-01 00:28:04.847 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.847 2649 3615 D mdns : mDNSCoreReceiveCacheCheck: Found record size 78 interface 0000007AF7B6F400 already in cache: 78 1.8.A.B.9.8.0.D.3.3.D.4.8.7.C.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. NSEC PTR 01-01 00:28:04.847 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.847 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:04.847 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.848 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.848 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.848 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.849 2649 18952 D airplayd: 2020-01-01 12:28:04.849456 AM [CarPlayControl] Controller [0x0000007B115BB550] Deactivated Service [0x0000007B08650300] 01-01 00:28:04.849 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850062 AM [CarPlay] CarPlayControlClientEvent event type 1 received 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850123 AM [CarPlay] CarPlayClientEventHandler entry 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850154 AM [CarPlay] CarPlayClientDisconnectedHandler entry 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850181 AM [CarPlay] CarPlayClientListGetInfoCtx entry 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850208 AM [CarPlay] Num of devices in connected list = 1, inputMAC = 255634658791450, currentMAC = 255634658791450 01-01 00:28:04.850 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.850 2649 18955 D airplayd: 2020-01-01 12:28:04.850235 AM [CarPlay] Exit from CarPlayClientListGetInfoCtx, outDevRef = 0x0000007B087EC140 01-01 00:28:04.850 2649 18955 D CARPLAY_JNI: OnClientNotification Callback 01-01 00:28:04.850 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.850 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.850 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.850 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.850 2649 3615 D mdns : mDNS_Execute 01-01 00:28:04.850 2649 18955 I SmartProjection: CarPlayStack onClientNotification notification=2 01-01 00:28:04.850 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:04.851 2649 3456 I SmartProjection: CarPlayStack onClientDisconnected client = Name =null, Type = Unknown, BluetoothMac = null, UsbMac = null, WifiMac = null 01-01 00:28:04.851 2649 18955 D airplayd: 2020-01-01 12:28:04.851126 AM [CarPlay] CarPlayClientDisconnectedHandler exit, ret=0 01-01 00:28:04.851 2649 18955 D airplayd: 2020-01-01 12:28:04.851203 AM [CarPlay] CarPlayClientEventHandler exit, ret=0 01-01 00:28:04.851 2649 3456 I SmartProjection: CarPlayStack clientId = 255634658791450 01-01 00:28:05.092 2649 3615 D mdns : SocketDataReady ignored a packet from 192.168.49.247 to 224.0.0.251 on interface /7 expecting 127.0.0.1/lo/1/137 01-01 00:28:05.092 2649 3615 D mdns : SocketDataReady got a packet from 192.168.49.247 to 224.0.0.251 on interface 192.168.49.1/softap0/7/163 01-01 00:28:05.092 2649 3615 D mdns : Received Query from 192.168.49.247 :5353 to 224.0.0.251 :5353 on 0x0000007AF7B6F400 with 1 Question, 0 Answers, 1 Authority, 1 Additional 99 bytes 01-01 00:28:05.092 2649 3615 D mDNSResponder: mDNSParseNSEC3Records: ptr 0000007AF3000FD2, Record 22 iPhone\032(2)._carplay-ctrl._tcp.local. SRV 0 0 51859 iPhone-2.local., ignoring 01-01 00:28:05.092 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:05.093 2649 3615 I chatty : uid=1000(system) Thread-39 identical 9 lines 01-01 00:28:05.093 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:05.093 2649 3615 D mdns : mDNS_Execute 01-01 00:28:05.093 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:05.093 2649 3615 D mdns : SocketDataReady ignored a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface /7 expecting FE80:0000:0000:0000:0475:48FF:FE4F:54C8/dummy0/3/136 01-01 00:28:05.093 2649 3615 D mdns : SocketDataReady got a packet from FE80:0000:0000:0000:1C78:4D33:D089:BA81 to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/softap0/7/165 01-01 00:28:05.093 2649 3615 D mdns : Received Query from FE80:0000:0000:0000:1C78:4D33:D089:BA81:5353 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 on 0x0000007AF7B6F400 with 1 Question, 0 Answers, 1 Authority, 1 Additional 99 bytes 01-01 00:28:05.093 2649 3615 D mDNSResponder: mDNSParseNSEC3Records: ptr 0000007AF3000FD2, Record 22 iPhone\032(2)._carplay-ctrl._tcp.local. SRV 0 0 51859 iPhone-2.local., ignoring 01-01 00:28:05.093 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:05.094 2649 3615 I chatty : uid=1000(system) Thread-39 identical 9 lines 01-01 00:28:05.094 2649 3615 D mDNSResponder: AnonInfoAnswersQuestion: question qname iPhone\032(2)._carplay-ctrl._tcp.local. 01-01 00:28:05.094 2649 3615 D mdns : mDNS_Execute 01-01 00:28:05.094 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:05.094 2649 3615 D mdns : mDNS_Execute 01-01 00:28:05.094 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL 01-01 00:28:05.094 2649 3615 D mdns : mDNS_Execute 01-01 00:28:05.094 2649 3615 D mDNSResponder: mDNS_Execute: Setting NewLocalRecords to NULL
analyse the logcat and find issues
- Assistant
The most notable issue in the provided logcat is the ServiceConnectionLeaked error related to the
DisplayActivityin your app:android.app.ServiceConnectionLeaked: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModel$1@4d2e8df that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1533) at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1425) at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605) at android.app.ContextImpl.bindService(ContextImpl.java:1557) at android.content.ContextWrapper.bindService(ContextWrapper.java:684) at com.ts.smartprojection.showprojection.model.LinkStatusModel.bindService(LinkStatusModel.java:151) at com.ts.smartprojection.showprojection.model.LinkStatusModel.init(LinkStatusModel.java:204) at com.ts.smartprojection.showprojection.presenter.DisplayPresenter.init(DisplayPresenter.java:62) at com.ts.smartprojection.showprojection.DisplayActivity.init(DisplayActivity.java:943) at com.ts.smartprojection.showprojection.DisplayActivity.onCreate(DisplayActivity.java:418)Explanation of the problem:
- ServiceConnectionLeaked indicates that a
ServiceConnectionwas bound viabindService()but was not unbound properly before theActivitywas destroyed. - This causes a memory leak, since the service remains bound and the connection object is retained by the system.
- This generally happens when
unbindService()is not called or is called too late (e.g., after the context is destroyed).
Likely cause based on log:
DisplayActivitybinds a service throughLinkStatusModelbut does not unbind it in its lifecycle (onDestroy()oronStop()).- From stack trace, binding occurs in
LinkStatusModel.bindService()(line 151) and initialization atLinkStatusModel.init()(line 204) triggered duringDisplayActivity.onCreate().
Recommendations to fix the
ServiceConnectionLeakedissue:-
Unbind the service properly:
- Wherever you call
bindService(), you should have a matchingunbindService()call. - Usually done in
onDestroy()oronStop()of theActivityor a corresponding lifecycle method where you want to release the service.
- Wherever you call
-
Tie the service connection lifecycle to the Activity lifecycle:
- For example, in
DisplayActivity:private ServiceConnection mServiceConnection; // initialized in LinkStatusModel or passed in @Override protected void onDestroy() { super.onDestroy(); if (mServiceConnection != null) { unbindService(mServiceConnection); mServiceConnection = null; } }
- For example, in
-
Double-check
LinkStatusModel:- Make sure it exposes a method to unbind the service.
- The lifecycle owner (
DisplayActivity) should be responsible for calling that unbinding method.
Other observations (less critical):
-
Many
PhoneHmi: TraceLog log Unhandled messagewarnings likely indicate some unhandled message types in PhoneHmi component, but these are warnings and may be normal depending on your system/device. -
Repeated
Dropping incomplete locationwarnings fromLocationManagerService. These indicate the location data received is incomplete or invalid (all zeroes), which may cause location-related issues. -
Frequent mDNSResponder logs are normal for network discovery and don't indicate any error specifically, although there is a non-critical error:
E mDNSResponder: mDNS_Execute: SendResponses didn't send all its responses; will try again in one secondThis is typically an internal retry mechanism and not necessarily a bug.
Summary of the key issue:
- Fix the service connection leak in DisplayActivity by ensuring you unbind every service you bind. This will prevent memory leaks and avoid the
ServiceConnectionLeakederror.
If you want, I can also help with the exact code changes based on your
LinkStatusModelandDisplayActivitycode. Just provide those snippets. - ServiceConnectionLeaked indicates that a
- User
create a analysis comment
- Assistant
/**
- Analysis Summary:
-
- ServiceConnection Leak Detected:
- The logcat shows a critical error:
- "android.app.ServiceConnectionLeaked: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModel$1"
- This indicates that the DisplayActivity binds to a service via LinkStatusModel but fails to unbind it properly before the activity is destroyed.
- As a result, the ServiceConnection remains active longer than intended, causing a memory leak.
- Recommended Action:
-
- Ensure that every bindService() call has a corresponding unbindService() call.
-
- Unbind the service connection in the appropriate lifecycle method of DisplayActivity (e.g., onDestroy()).
-
- Adjust LinkStatusModel and DisplayActivity to properly manage the service lifecycle.
-
- LocationManager Warnings:
- Multiple warnings related to "Dropping incomplete location" are present, indicating received GPS/fused location data is invalid or incomplete.
- This may affect location-dependent features and should be investigated if relevant to app functionality.
-
- Network mDNSResponder Logs:
- Extensive logs relate to mDNSResponder and network multicast DNS queries/responses.
- These logs appear normal for services like AirPlay and CarPlay and do not indicate a direct error or malfunction.
-
- Other Warnings:
- Several "TraceLog log Unhandled message" warnings are present in PhoneHmi component.
- These may be expected behavior based on message types and do not necessarily indicate an error but should be reviewed if related functionality is impacted.
- Summary:
- The primary actionable issue is the service connection leak in DisplayActivity causing a memory leak.
- Addressing this by properly unbinding the service connection will improve app stability and resource management. */
- User
Analysis as per the QG Test,logcat shows a critical error
01-01 00:28:04.519 23947 23947 E ActivityThread: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModel1@4d2e8df that was originally bound here 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1533) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1425)
This indicates that the DisplayActivity binds to a service via LinkStatusModel but fails to unbind it properly before the activity is destroyed. As a result, the ServiceConnection remains active longer than intended, causing a memory leak.
Recommended Action: Ensure that every bindService() call has a corresponding unbindService() call. Unbind the service connection in the appropriate lifecycle method of DisplayActivity (e.g., onDestroy()). Adjust LinkStatusModel and DisplayActivity to properly manage the service lifecycle.
make it proffessional
- Assistant
Analysis as per QG Test:
The logcat reveals a critical error indicating a ServiceConnection leak:
01-01 00:28:04.519 23947 23947 E ActivityThread: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModel$1@4d2e8df that was originally bound here 01-01 00:28:04.519 23947 23947 E ActivityThread: android.app.ServiceConnectionLeaked: Activity com.ts.smartprojection.showprojection.DisplayActivity has leaked ServiceConnection com.ts.smartprojection.showprojection.model.LinkStatusModel$1@4d2e8df that was originally bound here 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1533) 01-01 00:28:04.519 23947 23947 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1425)This indicates that
DisplayActivitybinds to a service throughLinkStatusModelbut does not correctly unbind theServiceConnectionprior to the activity's destruction. Consequently, the service connection remains active beyond the intended lifecycle of the activity, resulting in a memory leak.Recommended Actions:
-
Ensure that each invocation of
bindService()is matched with a correspondingunbindService()call. -
Implement unbinding of the service connection within appropriate lifecycle callbacks of
DisplayActivity, such asonDestroy(). -
Review and update both
LinkStatusModelandDisplayActivityto correctly manage the service connection lifecycle in alignment with Android best practices.
Addressing this issue is important to enhance application stability and prevent potential resource leaks.
-
- User
how to clear the cache in linux
- Assistant
Clearing cache in Linux can refer to different types of caches: filesystem cache, package manager cache, browser cache, etc. Here are common types and how to clear them:
1. Clear Filesystem Cache (PageCache, dentries, inodes)
Linux uses part of RAM for caching disk I/O. You can clear this cache manually via:
sudo sync # flush filesystem buffers sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"Explanation:
syncmakes sure all disk writes are flushed.- Writing
3to/proc/sys/vm/drop_cachesfrees:- PageCache (file contents)
- dentries (directory entries)
- inodes (metadata)
Note: Dropping caches frees memory but may slow down system performance temporarily because cached data needs to be read again from disk.
2. Clear Package Manager Cache
Debian/Ubuntu (APT cache):
sudo apt-get clean # removes downloaded package files from /var/cache/apt/archivesFedora/RedHat/CentOS (DNF/YUM cache):
sudo dnf clean all # or sudo yum clean all
3. Clear Thumbnail Cache (GNOME/KDE)
GNOME stores thumbnails in
~/.cache/thumbnails. Clear with:rm -rf ~/.cache/thumbnails/*
4. Clear User-specific Cache (general cache folders)
Some common cache directories in home folder:
~/.cache/~/.mozilla/firefox/<profile>/cache2(Firefox)~/.config/google-chrome/Default/Cache(Chrome)
Example to clear user cache:
rm -rf ~/.cache/*
5. Clear Swap (if you want to free swap space)
To clear swap:
sudo swapoff -a sudo swapon -a
Important!
- Be cautious when clearing caches, especially filesystem cache, as it may reduce system performance temporarily.
- Removing package cache will free disk space but means packages will need to be downloaded again if reinstalled.
- Always ensure you have backups if you are clearing caches related to applications or user data.
If you have a specific cache you want to clear, let me know!