PhoneInterfaceManager

本文深入探讨了Android系统中PhoneInterfaceManager的服务功能及其接口使用方法,通过时序图和文字说明,详细解释了PhoneInterfaceManager与TelephonyManager、Phone等组件之间的交互。

PhoneInterfaceManager

前置文章

  1. Android系统之System Server大纲
  2. Android无线电信息管理开篇准备工作
  3. 初识com.android.phone

前言

在文章《Android无线电信息管理开篇准备工作》中介绍 PhoneInterfaceManager 的作用,在文章《初识com.android.phone》中介绍了PhoneInterfaceManager 的创建启动过程。本文将继续引领读者深入了解 PhoneInterfaceManager 的功能以及使用方法。

本文将摒弃以文字解说为主的方式去阐述,变为以时序图为主,文字加以说明的方式去阐述PhoneInterfaceManager,这样应该更加适合程序员的阅读方式。

TelephonyManager

在 《Android系统之System Server大纲》一文中,学会了 Android System Server 的架构方式,PhoneInterfaceManager 作为 server 端,TelephonyManager 则作为 client 端。但是 TelephonyManager 不仅仅作为 PhoneInterfaceManager 的 client 端,还会作为 TelecomService 和 TelephonyRegistry 的 client 端。TelecomService 是 Telecom(通话控制中枢) 中的一个 service,后续如有机会,将和读者分享 Telecom 的作用和功能。

在《Android System Server大纲之VibratorService》一文中,清楚的了解到 client 的获取过程以及 getSystemService 返回的本质对象。TelephonyManager 的获取方式是:

TelephoneManager tm = Context.getSystemService(Context.TELEPHONY_SERVICE);

PhoneInterfaceManager方法集

由于 PhoneInterfaceManager方法集较多,本文之针对常用且重要的个别方法进行深入的跟踪。

点击方法名可查看详情

  • 方法名(参数) : 返回类型 说明
  • answerRingingCall(): void ITelephony 接听来电
  • answerRingingCallForSubscriber(int): void 同上
  • call(String, String): void 拨打指定电话号码
  • callForSubscriber(int, String, String): void 同上
  • canChangeDtmFToneLength(): boolean 是否允许改变 DTMF Tome 长度
  • carrierActionReportDeFaultNetworkStatus(int, boolean): void 启动/停止指定网络状态上报
  • carrierActionSetMeteredApnsEnabled(int, boolean): void 打开/关闭 metered apns
  • carrierActionSetRadioEnabled(int, boolean): void 打开/关闭无线电
  • checkCarrierPrivilegesForPackage(String): int 监测应用无线电能力
  • checkCarrierPrivilegesForPackageAnyPhone(String): int 同上
  • dial(String): void ITelephony 类同 call
  • dialForSubscriber(int, String): void 类同 call
  • disableDataConnectivity(): boolean ITelephony
  • disableLocationUpdates(): void ITelephony 类同上
  • disableLocationllpdatesForSubscriber(int): void 类同上
  • disableVisualVoicemailSmsFilter(String, int): void 类同上
  • enableDataConnectivity(): boolean ITelephony 类同disableDataConnectivity
  • enableLocationUpdates(): void ITelephony 类同上
  • enableLocationllpdatesForSubscriber(int): void 类同上
  • enableVideoCalling(boolean): void 类同上
  • enableVisualVoicemailSmsFilter(String, int, VisualVoicemailSmsFilterSettings): void 类同上
  • endCall(): boolean ITelephony 类同call
  • endCallForSubscriber(int): boolean 类同上
  • factoryReset(int): void 充值网络设置
  • getActivePhoneType(): int ITelephony 获取当前网络类型GSM,CDMA,SIP…
  • getActivePhoneTypeForSlot(int): int 同上
  • getActiveVisualVoicemailSmsFilterSettings(int): VisualVoicemailSmsFilterSettings
  • getAidForAppType(int, int): String uicc app type
  • getAllCellInfo(String): List 获取全部基站信息,也就网络类型
  • getAllowedCarriers(int): List 获取指定卡信息(Mcc、mnc、spn等)
  • getCalculatedPreFerredNetworkType(String): int 首选网络类型
  • getCallState(): int ITelephony 通话状态
  • getCallStateForSlot(int): int 同上
  • getCarrierPackageNamesForIntentAndPhone(lntent, int): List SIM卡应用(参考UiccCard)
  • getCarrierPrivilegeStatus(int): int SIM privilege(参考UiccCard)
  • getCdmaEriIconIndex(String): int CDMA ERI icon
  • getCdmaEriIconIndexForSubscriber(int, String): int 同上
  • getCdmaEriIconMode(String): int
  • getCdmaEriIconModeForSubscriber(int, String): int
  • getCdmaEriText(String): String
  • getCdmaEriTextForSubscriber(int, String): String
  • getCdmaMdn(int): String
  • getCdmaMin(int): String
  • getCdmaPrlVersion(int): String
  • getCellLocation(String): Bundle 基站定位
  • getCellNetworkScanResults(int): CellNetworkScanResult 网络搜索
  • getClientRequestStats(String, int): List
  • getDataActivationState(int, String): int 网络数据流状态
  • getDataActivity(): int ITelephony 网络数据流(上行、下行)
  • getDataEnabled(int): boolean 网络开关
  • getDataNetworkType(String): int 数据网络类型
  • getDataNetworkTypeForSubscriber(int, String): int 同上
  • getDataState(): int ITelephony 数据开关状态(连接、断开、挂起)
  • getDefaultSim(): int index 0
  • getDeviceId(String): String 获取 IMEI
  • getDeviceSoftwareVersionForSlot(int, String): String 设备 ImeiSv
  • getEmergencyCallbackMode(int): boolean 紧急拨号原路返回模式
  • getEsn(int): String 获取Electronic Serial Number,手机贴的那个
  • getForbiddenPlmns(int, int): String[] 不支持的 PLMN
  • getImeiForSlot(int, String): String
  • getImsServiceControllerAndListen(int, int, IImsServiceFeatureListener): IImsServiceController
  • getLine1AlphaTagForDisplay(int, String): String
  • getLinelNumberForDisplay(int, String): String
  • getLocaleFromDefaultSim(): String 读取 SIM lacal language
  • getLteOnCdmaMode(String): int
  • getLteOnCdmaModeForSubscriber(int, String): int
  • getMeidForSlot(int, String): String
  • getMergedSubscriberIds(String): String[]
  • getNeighboringCelllnFo(String): List
  • getNetworkCountrylsoForPhone(int): String
  • getNetworkType(): int ITelephony 获取网络类型(GSM/GPRS/LTE/HSDPA/HSUPA…)
  • getNetworkTypeForSubscriber(int, String): int 同上
  • getPackagesWithCarrierPrivileges(): List
  • getPcscFAddress(String, String): StringQ
  • getPreFerredNetworkType(int): int
  • getRadioAccessFamily(int, String): int
  • getServiceStateForSubscriber(int, String): ServiceState
  • getSignalStrength(int): SignalStrength 信号强度
  • getSubldForPhoneAccount(PhoneAccount): int
  • getTelephonyFlistograms(): List
  • getTetherApnRequired(): int
  • getVisualVoicemailPackageName(String, int): String
  • getVisualVoicemailSettings(String, int): Bundle
  • getVisualVoicemailSmsFilterSettings(String, int): VisualVoicemailSmsFilterSettings
  • getVoiceActivationState(int, String): int
  • getVoicemailRingtonellri(PhoneAccountFlandle): Uri
  • getVoiceMessageCount(): int ITelephony
  • getVoiceMessageCountForSubscriber(int): int
  • getVoiceNetworkTypeForSubscriber(int, String): int
  • getVtDatallsage(int, boolean): NetworkStats
  • getWhenToMakeWifiCalls(): int
  • handlePinMmi(String): boolean ITelephony SIM 卡 Pin 码
  • handlePinMmiForSubscriber(int, String): boolean 同上
  • handleUssdRequest(int, String, Result Receiver): void Unstructured Supplementary Service Data非结构化补充数据业务(#xxx#
  • hasIccCard(): boolean ITelephony 是否插入 SIM 卡
  • hasIccCardllsingSlotlndex(int): boolean 同上
  • iccCloseLogicalChannel(int, int): boolean
  • iccExchangeSimlO(int, int, int, int, int, int, String): byte[]
  • iccOpenLogicalChannel(int, String, String, int): IccOpenLogicalChannelResponse
  • iccTransmitApduBasicChannel(int, int, int, int, int, int, String): String
  • iccTransmitApduLogicalChannel(int, int, int, int, int, int, int,…): String
  • isConcurrentVoiceAndDataAllowed(int): boolean
  • isDataConnectivityPossible(int): boolean
  • isHearingAidCompatibilitySupported(): boolean 辅助功能
  • isIdle(String): boolean 待机
  • isIdleForSubscriber(int, String): boolean
  • isImsRegistered(): boolean
  • isOffhook(String): boolean 无通话
  • isOffhookForSubscriber(int, String): boolean
  • isRadioOn(String): boolean 无线电开关
  • isRadioOnForSubscriber(int, String): boolean 同上
  • isRinging(String): boolean 来电
  • isRingingForSubscriber(int, String): boolean
  • isTtyModeSupported(): boolean TTY模式
  • isVideoCallingEnabled(String): boolean
  • isVideoTelephonyAvailable(): boolean
  • isVoicemailVibrationEnabled(PhoneAccountFlandle): boolean
  • isVolteAvailable(): boolean 4G 语音
  • isWifiCallingAvailable(): boolean
  • isWorldPhone(): boolean
  • needMobileRadioShutdown(): boolean
  • needsOtaServiceProvisioning(): boolean ITelephony
  • nvReadItem(int): String NV items
  • nvResetConfig(int): boolean
  • nvWriteCdmaPrl(byteQ): boolean
  • nvWriteItem(int, String): boolean
  • requestModemActivityInfo( Result Receiver): void
  • request NetworkScan(int, NetworkScan Request, Messenger, I Binder): int
  • sendDialerSpecialCode(String, String): void
  • sendEnvelopeWithStatus(int, String): String
  • sendVisualVoicemailSmsForSubscriber(String, int, String, int, String, PendingIntent): void
  • setAllowedCarriers(int, List): int
  • setCellInfoListRate(int): void
  • setDataActivationState(int, int): void
  • setDataEnabled(int, boolean): void
  • setlmsRegistrationState(boolean): void
  • setLinelNumberForDisplayForSubscriber(int, String, String): boolean
  • setNetworkSelectionModeAutomatic(int): void
  • setNetworkSelectionModeManual(int, Operatorlnfo, boolean): boolean
  • setOperatorBrandOverride(int, String): boolean
  • setPhone(Phone): void
  • setPoLicyDataEnabLed(boolean, int): void
  • setPreferredNetworkType(int, int): boolean
  • setRadio(boolean): boolean ITeLephony 设置无线电开关
  • setRadioCapabiLity(RadioAccessFamiLyQ): void
  • setRadioForSubscribeKint, boolean): boolean
  • setRadioPower(boolean): boolean 无线电挂机(Modem)
  • setRadioPowerForSubscribeKint, boolean): boolean
  • setRoamingOverride(int, List, List, List, List): boolean
  • setSimPowerStateForSlot(int, int): void
  • setVoiceActivationState(int, int): void
  • setVoiceMailNumbeKint, String, String): boolean
  • setVoicemailRingtoneUri(String, PhoneAccountHandle, Uri): void
  • setVoicemaiLVibrationEnabled(String( PhoneAccountHandle, boolean): void
  • setWhenToMakeWifiCalls(int): void
  • shutdownMobileRadios(): void 完全关闭 Modem
  • silenceRinger(): void ITeLephony
  • stopNetworkScan(int, int): void
  • supplyPin(String): boolean ITeLephony PIN/PUK
  • supplyPinForSubscribeKint, String): boolean PIN/PUK
  • supplyPinReportResuLt(String): int[] PIN/PUK
  • supplyPinReportResultForSubscriber(int, String): int[] PIN/PUK
  • supplyPuk(String( String): boolean ITeLephony PIN/PUK
  • supplyPukForSubscribeKint, String, String): boolean PIN/PUK
  • supplyPukReportResult(String( String): int[] PIN/PUK
  • supplyPukReportResultForSubscribeKint, String, String): int[] PIN/PUK
  • toggleRadioOnOff(): void ITeLephony 切换无线电开关
  • toggleRadioOnOffForSubscriber(int): void
  • updateServiceLocation(): void ITeLephony
  • updateServiceLocationForSubscriber(int): void

answerRingingCall

这里写图片描述

call

这里写图片描述

disableDataConnectivity

这里写图片描述

PhoneInterfaceManager接口说明

在 PhoneInterfaceManager 方法集中,大多数接口的真正执行者是 Phone 对象,如 GsmCdmaPhone、ImsPhone。这里有必要了解一下 Phone 的初始化过程,以GsmCdmaPhone为例

这里写图片描述

总结

本文参数了 PhoneInterfaceManager 的功能,深入了解了部分接口,由于接口非常多,也就不一一展开说了。在 Telephony 中,PhoneInterfaceManager 只是一个 service,更多的就是向外提供接口,所有功能的实现还是在 Phone、IccCard 等模块。

1-01 21:01:23.037168 2416 2416 D tcmd : waiting on events (-1ms) 01-01 21:01:23.040487 3218 3370 D face_aidl.Handler: treadLoop name=HealthMonitor 01-01 21:01:23.040577 3218 7133 D face_aidl.ImageReaderHelper: have wakeuped 01-01 21:01:23.040648 3218 7133 D face_aidl.ImageReaderHelper: wait wakeup 01-01 21:01:23.043501 3218 7132 D face_aidl.Handler: treadLoop name=AlgoEngine 01-01 21:01:23.045238 3623 4636 D AlarmManager: get result from waitForAlarm: result = 0x10008 01-01 21:01:23.045313 3623 4636 V AlarmManager: Checking for alarms... rtc=1735736483045, elapsed=1726287, nextNoWakeup = 2565320, PendingNonWakeupAlarmsSize = 0, result = 0x10008, hasPendingIdle = true 01-01 21:01:23.045389 3623 4661 I HidlSensorManager: hidl_ssvc_poll: spurious wake up, back to work 01-01 21:01:23.045430 3623 4666 I AidlSensorManager: aidl_ssvc_poll: spurious wake up, back to work 01-01 21:01:23.055264 14213 14214 E IHansComunication: HANS printMessageBody: RCV message: type = 1,port = 86870,caller_pid = 3623,caller_uid = 1000,target_pid = 6015,target_uid = 1001,pkg_cmd = -1,rpc = SYNC_BINDER_REPLY/-1 01-01 21:01:23.057167 7698 7738 I ostats_tpd: stats_write, records atomId:100100, event_id:868, cpu:4, values: 868-0-1-13558-(vbat)-3-0-1 01-01 21:01:23.057227 7698 7738 I ostats_tpd: stats_write, records atomId:100100, event_id:868, cpu:4, values: 868-0-1-13558-(vbat)-3-1-1 01-01 21:01:23.057238 7698 7738 I ostats_tpd: stats_write, records atomId:100100, event_id:868, cpu:4, values: 868-0-1-13558-(vbat)-3-2-1 01-01 21:01:23.057527 5942 6922 D PhoneInterfaceManager: QueryTelephonyChecker-getDataNetworkTypeForSubscriber: packageName = com.oplus.nhs, isGrant = true 01-01 21:01:23.058268 5942 6922 E PhoneInterfaceManager: getDataNetworkTypeForSubscriber: phone is null for sub -1 01-01 21:01:23.060747 6015 6618 D HoraeHelper: skinThermal:29.631 01-01 21:01:23.060903 6015 6618 I ModemAci: [CommonInfo] [LS, DA]:{ stamp=1502081 duration=1465 screenOnT=1689 wifiConnectT=0 power=94 dataNetworkType=0 signalStrength=0 batteryCapacity=4590 thermal[]=29.631 softAp=false charge=false simCount=0 defaultPhone=-1 networkType=null sim1Type=unknown sim2Type=unknown} 01-01 21:01:23.061205 3623 5170 V ActivityManager: Broadcast: Intent { act=oplus.intent.action.MDPWR_UPDATE_TRAFFIC_KERNEL_INFO pkg=null } ordered=false userid=-1 resultTo null 01-01 21:01:23.061301 3623 5170 V ActivityManager: broadcastIntentLocked callingPid: 6015 callingUid=1001 01-01 21:01:23.062557 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: Calling uid is 1000. 01-01 21:01:23.062606 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: vendor.oplus.rpmh.support: true 01-01 21:01:23.062609 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: getPowerStateSubsystemSleepStateList() 01-01 21:01:23.062613 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: last update:1501587 , 1726304 01-01 21:01:23.062672 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: parseSubsystemSleepState at: ADSP | /sys/module/qcom_stats/rpmh_stats/oplus_rpmh_master_stats 01-01 21:01:23.062754 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: reading line: modem:2c10:184e04 01-01 21:01:23.062758 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: reading line: adsp:498:1a0832 01-01 21:01:23.062762 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: match data: adsp 1176 1706034 01-01 21:01:23.062764 2825 2825 D vendor.oplus.hardware.rpmh-V1-service: data get success解析log
08-20
----- pid 3318 at 2025-11-19 09:30:55.242057584+0800 ----- Cmd line: system_server "android.fg" prio=5 tid=16 Blocked | group="main" sCount=1 ucsCount=0 flags=1 obj=0x20add90 self=0xb400007525d7f000 | sysTid=3534 nice=0 cgrp=ssfg sched=0/0 handle=0x751be3d4c0 | state=S schedstat=( 625009213 5676315315 3204 ) utm=25 stm=36 core=3 HZ=100 | stack=0x751ba3a000-0x751ba3c000 stackSize=4109KB | held mutexes= at com.android.server.location.listeners.ListenerMultiplexer.updateRegistrations(ListenerMultiplexer.java:536) - waiting to lock <0x0837f193> (a java.lang.Object) held by thread 308 at com.android.server.location.provider.LocationProviderManager.onAppForegroundChanged(LocationProviderManager.java:2774) at com.android.server.location.provider.LocationProviderManager.$r8$lambda$a3Z8nDABZyLkK2LFh8YIMBZZX6E(unavailable:0) at com.android.server.location.provider.LocationProviderManager$$ExternalSyntheticLambda12.onAppForegroundChanged(D8$$SyntheticClass:0) at com.android.server.location.injector.AppForegroundHelper.notifyAppForeground(AppForegroundHelper.java:71) at com.android.server.location.injector.SystemAppForegroundHelper.lambda$onAppForegroundChanged$0(SystemAppForegroundHelper.java:59) at com.android.server.location.injector.SystemAppForegroundHelper.$r8$lambda$UCfitvFhYxwpzpERUdvbWiHsEkc(unavailable:0) at com.android.server.location.injector.SystemAppForegroundHelper$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0) at android.os.Handler.handleCallback(Handler.java:1027) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loopOnce(Looper.java:298) at android.os.Looper.loop(Looper.java:408) at android.os.HandlerThread.run(HandlerThread.java:85) at com.android.server.ServiceThread.run(ServiceThread.java:49) DumpLatencyMs: 40.4077 卡在native层的binder调用上 "binder:3318_C" prio=5 tid=308 Native | group="main" sCount=1 ucsCount=0 flags=1 obj=0x4dd2348 self=0xb4000073db20d000 | sysTid=4697 nice=0 cgrp=ssfg sched=1073741824/0 handle=0x75218c04c0 | state=S schedstat=( 2269165221 13494012147 7174 ) utm=144 stm=82 core=3 HZ=100 | stack=0x75217c9000-0x75217cb000 stackSize=989KB | held mutexes= native: #00 pc 000f1b4c /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12) (BuildId: ea7b19bd582e7030a81f9d21fbcb1833) native: #01 pc 00096724 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156) (BuildId: ea7b19bd582e7030a81f9d21fbcb1833) native: #02 pc 0006cc3c /system/lib64/libbinder.so (android::IPCThreadState::transact+7680) (BuildId: b07a4f939f8d4b594a62afa98b130713) native: #03 pc 00073c18 /system/lib64/libbinder.so (android::BpBinder::transact+516) (BuildId: b07a4f939f8d4b594a62afa98b130713) native: #04 pc 001fcdd8 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact+400) (BuildId: baa0dc7db2006a269c302c1ffa6766ff) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:685) at com.android.internal.telephony.ITelephony$Stub$Proxy.isInEmergencySmsMode(ITelephony.java:14025) at android.telephony.TelephonyManager.isInEmergencySmsMode(TelephonyManager.java:10321) at com.android.server.location.injector.SystemEmergencyHelperExtImpl.checkEmergencyStatesLockFree(SystemEmergencyHelperExtImpl.java:170) at com.android.server.location.injector.SystemEmergencyHelperExtImpl.isInEmergencyLockFree(SystemEmergencyHelperExtImpl.java:197) at com.android.server.location.injector.SystemEmergencyHelperExtImpl.isInEmergencyWithLockOrder(SystemEmergencyHelperExtImpl.java:98) at com.android.server.location.injector.SystemEmergencyHelper.isInEmergency(SystemEmergencyHelper.java:132) at com.android.server.location.provider.LocationProviderManager$Registration.onRegister(LocationProviderManager.java:488) at com.android.server.location.provider.LocationProviderManager$LocationRegistration.onRegister(LocationProviderManager.java:917) at com.android.server.location.provider.LocationProviderManager$LocationListenerRegistration.onRegister(LocationProviderManager.java:1239) at com.android.server.location.listeners.RemovableListenerRegistration.onRegister(RemovableListenerRegistration.java:102) at com.android.server.location.listeners.ListenerMultiplexer.replaceRegistration(ListenerMultiplexer.java:313) - locked <0x0837f193> (a java.lang.Object) at com.android.server.location.listeners.ListenerMultiplexer.putRegistration(ListenerMultiplexer.java:257) at com.android.server.location.provider.LocationProviderManager.registerLocationRequest(LocationProviderManager.java:2244) - locked <0x0837f193> (a java.lang.Object) at com.android.server.location.LocationManagerService.registerLocationListener(LocationManagerService.java:1043) at android.location.ILocationManager$Stub.onTransact(ILocationManager.java:602) at android.os.Binder.execTransactInternal(Binder.java:1444) at android.os.Binder.execTransact(Binder.java:1378) DumpLatencyMs: 232.181 行 17021: outgoing transaction 351574: 0000000032bc1d5b from 3318:4697 to 4747:9087 code d0 flags 12 pri 0:120 r1 elapsed 311489ms ----- pid 4747 at 2025-11-19 09:30:55.842247428+0800 ----- Cmd line: com.android.phone "binder:4747_A" prio=5 tid=82 Blocked | group="main" sCount=1 ucsCount=0 flags=1 obj=0x2294c68 self=0xb400007636cf6c00 | sysTid=9087 nice=0 cgrp=foreground sched=0/0 handle=0x766069d4c0 | state=S schedstat=( 131752756 1463738079 572 ) utm=3 stm=9 core=0 HZ=100 | stack=0x76605a6000-0x76605a8000 stackSize=989KB | held mutexes= at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:262) - waiting to lock <0x03b9bc9d> (a java.lang.Object) held by thread 1 at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay(DisplayManagerGlobal.java:375) at android.app.ResourcesManager.getAdjustedDisplay(ResourcesManager.java:587) at android.app.ContextImpl.getDisplayNoVerify(ContextImpl.java:3278) at android.app.ContextImpl.getDisplayId(ContextImpl.java:3287) at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2887) at android.app.ContextImpl.createContextAsUser(ContextImpl.java:2906) at android.content.ContextWrapper.createContextAsUser(ContextWrapper.java:1147) at com.android.phone.PhoneInterfaceManager.getCurrentPackageName(unavailable:20) at com.android.phone.PhoneInterfaceManager.isInEmergencySmsMode(unavailable:5) at com.android.internal.telephony.ITelephony$Stub.onTransact(ITelephony.java:7398) at com.android.phone.PhoneInterfaceManager.onTransact(unavailable:48) at android.os.Binder.execTransactInternal(Binder.java:1439) at android.os.Binder.execTransact(Binder.java:1378) DumpLatencyMs: 77.8276 "main" prio=5 tid=1 Native | group="main" sCount=1 ucsCount=0 flags=1 obj=0x74941248 self=0xb40000766cac7000 | sysTid=4747 nice=0 cgrp=foreground sched=0/0 handle=0x7724350098 | state=S schedstat=( 1700122029 6616035182 4609 ) utm=112 stm=57 core=1 HZ=100 | stack=0x7fd1768000-0x7fd176a000 stackSize=8188KB | held mutexes= native: #00 pc 000f1b4c /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12) (BuildId: ea7b19bd582e7030a81f9d21fbcb1833) native: #01 pc 00096724 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156) (BuildId: ea7b19bd582e7030a81f9d21fbcb1833) native: #02 pc 0006cc3c /system/lib64/libbinder.so (android::IPCThreadState::transact+7680) (BuildId: b07a4f939f8d4b594a62afa98b130713) native: #03 pc 00073c18 /system/lib64/libbinder.so (android::BpBinder::transact+516) (BuildId: b07a4f939f8d4b594a62afa98b130713) native: #04 pc 001fcdd8 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact+400) (BuildId: baa0dc7db2006a269c302c1ffa6766ff) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:685) at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayIds(IDisplayManager.java:1284) at android.hardware.display.DisplayManagerGlobal.getDisplayIds(DisplayManagerGlobal.java:319) - locked <0x03b9bc9d> (a java.lang.Object) at android.hardware.display.DisplayManager.getDisplays(DisplayManager.java:780) at android.hardware.display.DisplayManager.getDisplays(DisplayManager.java:753) at com.android.internal.telephony.DeviceStateMonitor.isScreenOn(DeviceStateMonitor.java:782) at com.android.internal.telephony.DeviceStateMonitor.-$$Nest$misScreenOn(DeviceStateMonitor.java:0) at com.android.internal.telephony.DeviceStateMonitor$2.onDisplayChanged(DeviceStateMonitor.java:236) at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.handleDisplayEventInner(DisplayManagerGlobal.java:1620) at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.lambda$sendDisplayEvent$0(DisplayManagerGlobal.java:1559) at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.$r8$lambda$U7s70EKugVQNzFVIVvJsNmT_WdQ(unavailable:0) at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0) at android.os.Handler.handleCallback(Handler.java:1027) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loopOnce(Looper.java:298) at android.os.Looper.loop(Looper.java:408) at android.app.ActivityThread.main(ActivityThread.java:9964) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:613) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074) DumpLatencyMs: 1.48333 行 13813: outgoing transaction 354449: 00000000ecf0340a from 4747:4747 to 3318:0 code 2 flags 10 pri 0:120 r1 elapsed 310711ms那么这部分堆栈打印可以说明3318死锁或卡死了吗
最新发布
11-20
2025-09-06 02:51:39.535 11752-12832 ADB_SERVICES adbd I post waitpid (pid=12831) status=0000 2025-09-06 02:51:39.837 1095-2189 NtpTrustedTime system_server D currentTimeMillis() cache hit 2025-09-06 02:51:39.862 1095-2189 NetworkStatsRecorder system_server W unknown interfaces [wlan0, lo], ignoring those stats 2025-09-06 02:51:39.868 1095-2189 NtpTrustedTime system_server D currentTimeMillis() cache hit 2025-09-06 02:51:39.874 2487-3343 TrafficManageService com.miui.securitycenter.remote I mina mTrafficStatsReceiver onReceive 2025-09-06 02:51:39.875 1439-1832 PhoneInterfaceManager com.android.phone E [PhoneIntfMgr] checkCarrierPrivilegesForPackage: No UICC 2025-09-06 02:51:39.882 1439-1832 PhoneInterfaceManager com.android.phone E [PhoneIntfMgr] checkCarrierPrivilegesForPackage: No UICC 2025-09-06 02:51:39.883 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21469): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:39.892 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:40.393 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:40.383 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21470): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:40.679 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:40.699 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:40.883 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21471): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:40.894 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.089 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:41.145 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:2.591705,dur:4244.31,max:3658.59,min:9.15 2025-09-06 02:51:41.182 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:41.218 12754-12754 AndroidRuntime person.tools.treasurebox D Shutting down VM 2025-09-06 02:51:41.227 12754-12754 AndroidRuntime person.tools.treasurebox E FATAL EXCEPTION: main Process: person.tools.treasurebox, PID: 12754 java.lang.NullPointerException: null cannot be cast to non-null type java.util.Calendar at person.tools.treasurebox.customview.widget.TrafficConsumptionLineChartMarker.refreshContent(TrafficConsumptionLineChartMarker.kt:55) at com.github.mikephil.charting.charts.Chart.drawMarkers(Chart.java:745) at com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:271) at android.view.View.draw(View.java:20355) at android.view.View.updateDisplayListIfDirty(View.java:19195) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:801) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3542) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3322) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2676) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1594) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7661) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1047) at android.view.Choreographer.doCallbacks(Choreographer.java:843) at android.view.Choreographer.doFrame(Choreographer.java:771) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1033) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6820) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922) 2025-09-06 02:51:41.250 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12754, uid:10135, state:3 2025-09-06 02:51:41.251 2030-2053 octvm_klo mcd I klo lock 2025-09-06 02:51:39.863 1095-2189 chatty system_server I uid=1000(system) Binder:1095_B identical 2 lines 2025-09-06 02:51:39.864 1095-2189 NetworkStatsRecorder system_server W unknown interfaces [wlan0, lo], ignoring those stats 2025-09-06 02:51:41.252 1095-2189 ActivityManager system_server W Force finishing activity person.tools.treasurebox/.customview.view.LineChartMarkerActivity 2025-09-06 02:51:41.254 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.255 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.256 440-472 libPowerHal ven...ek.hardware.power@2.1-service I 17: cpu_ctrl set freq: 2001000 -1 1500000 -1 2025-09-06 02:51:41.263 1095-12833 AES system_server W Exception Log handling... 2025-09-06 02:51:41.263 1095-12833 AES system_server W Skipped - do not care third party apk 2025-09-06 02:51:41.264 12754-12754 Process person.tools.treasurebox I Sending signal. PID: 12754 SIG: 9 2025-09-06 02:51:41.265 1095-2189 ActivityManager system_server D report kill process: killerPid is:12754, killedPid is:12754 2025-09-06 02:51:41.269 2030-2053 octvm_klo mcd I get wanted event[mask:128, name:data_app_crash@1757098301263.txt] from the watchset ---------------------------- PROCESS ENDED (12754) for package person.tools.treasurebox ---------------------------- 2025-09-06 02:51:41.269 2030-2053 octvm_klo mcd I start gathering logcat log... 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server W channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server E channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server W channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:51:41.284 1095-1190 InputDispatcher system_server E channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:51:41.284 2030-2053 octvm_klo mcd I gathering logcat log done 2025-09-06 02:51:41.284 2030-2053 octvm_klo mcd I klo unlock 2025-09-06 02:51:41.284 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:51:41.284 1095-8460 WindowManager system_server I WIN DEATH: Window{e2f25e9 u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity} 2025-09-06 02:51:41.284 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:51:41.284 1095-8460 InputDispatcher system_server W Attempted to unregister already unregistered input channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' 2025-09-06 02:51:41.284 1095-2189 ActivityManager system_server I Process person.tools.treasurebox (pid 12754) has died: fore TOP 2025-09-06 02:51:41.284 1095-1114 libprocessgroup system_server W kill(-12754, 9) failed: No such process 2025-09-06 02:51:41.286 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12754, uid:10135, state:3 2025-09-06 02:51:41.288 1095-2818 WindowManager system_server I WIN DEATH: Window{10e1762 u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity} 2025-09-06 02:51:41.288 1095-2818 InputDispatcher system_server W Attempted to unregister already unregistered input channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' 2025-09-06 02:51:41.290 1095-1114 libprocessgroup system_server W kill(-12754, 9) failed: No such process 2025-09-06 02:51:41.290 1095-1114 libprocessgroup system_server I Successfully killed process cgroup uid 10135 pid 12754 in 5ms 2025-09-06 02:51:41.297 459-1187 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity#0 2025-09-06 02:51:41.297 459-1187 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity#0 2025-09-06 02:51:41.299 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.299 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 27 microseconds, avg: 862 2025-09-06 02:51:41.302 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.302 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.305 459-1187 SurfaceFlinger surfaceflinger I [SF client] Remove(0xaea97ee0) for (1095:system_server) 2025-09-06 02:51:41.309 454-2151 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:51:41.309 454-2151 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:51:41.309 1095-1119 ActivityManager system_server W setHasOverlayUi called on unknown pid: 12754 2025-09-06 02:51:41.313 1095-1170 ViewRootIm...easurebox] system_server D hardware acceleration = false , fakeHwAccelerated = true, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:51:41.325 1095-1113 Boost system_server D hostingType=activity, hostingName=person.tools.treasurebox/.customview.view.CustomViewTestActivity, callerPackage=person.tools.treasurebox, isSystem=false, isBoostNeeded=false. 2025-09-06 02:51:41.326 607-634 thermal_repeater thermal I inotify_add_watch error! 2025-09-06 02:51:41.326 607-634 thermal_repeater thermal I Error 2: No such file or directory 2025-09-06 02:51:41.327 1095-1113 ActivityManager system_server I Start proc 12836:person.tools.treasurebox/u0a135 for activity person.tools.treasurebox/.customview.view.CustomViewTestActivity caller=person.tools.treasurebox 2025-09-06 02:51:41.335 12836-12836 ols.treasurebo pid-12836 I Late-enabling -Xcheck:jni 2025-09-06 02:51:41.341 612-638 ApmSession mtk_agpsd D Connect 2025-09-06 02:51:41.342 386-386 hwservicemanager hwservicemanager W getTransport: Cannot find entry vendor.mediatek.hardware.apmonitor@1.0::IAPMonitorService/default in either framework or device manifest. 2025-09-06 02:51:41.342 612-638 ApmSession mtk_agpsd D Connect: false 2025-09-06 02:51:41.342 612-638 ApmNative mtk_agpsd D apmIsKpiEnabled2: type = 54, ret = 0 2025-09-06 02:51:41.360 1095-1170 Surface system_server D lockCanvas 2025-09-06 02:51:41.360 1095-1170 Surface system_server D Surface::connect(this=0x90e39000,api=2) 2025-09-06 02:51:41.394 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.383 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21472): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:41.396 11752-11752 ADB_SERVICES adbd I local_socket_flush_incoming write_data=1250735 2025-09-06 02:51:41.400 11752-11752 ADB_SERVICES adbd I service_to_fd shell:stat -c %u /proc/12836 | xargs -n 1 cmd package list packages --uid 2025-09-06 02:51:41.403 12836-12836 re-initialized> pid-12836 W type=1400 audit(0.0:21473): avc: denied { read } for name="u:object_r:mtk_amslog_prop:s0" dev="tmpfs" ino=9762 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:mtk_amslog_prop:s0 tclass=file permissive=0 2025-09-06 02:51:41.410 12836-12836 libc pid-12836 E Access denied finding property "persist.vendor.sys.activitylog" 2025-09-06 02:51:41.423 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox.customview.view.CustomViewTestActivity, pid:12836, uid:10135, state:1 2025-09-06 02:51:41.424 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.425 1095-1170 Timeline system_server I Timeline: App_transition_ready time:9127560 2025-09-06 02:51:41.425 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.425 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 20 microseconds, avg: 860 2025-09-06 02:51:41.425 1095-1170 Timeline system_server I Timeline: App_transition_stopped time:9127560 2025-09-06 02:51:41.427 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.428 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.428 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 30 microseconds, avg: 857 2025-09-06 02:51:41.428 454-8468 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:0) ---------------------------- PROCESS STARTED (12836) for package person.tools.treasurebox ---------------------------- 2025-09-06 02:51:41.428 454-8468 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:0) 2025-09-06 02:51:41.533 11752-11752 ADB_SERVICES adbd I for fd 29, revents = 10 2025-09-06 02:51:41.534 11752-12850 ADB_SERVICES adbd I post waitpid (pid=12848) status=0000 2025-09-06 02:51:41.671 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2025-09-06 02:51:41.672 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2025-09-06 02:51:41.722 12836-12836 AppCompatDelegate person.tools.treasurebox D Checking for metadata for AppLocalesMetadataHolderService : Service not found 2025-09-06 02:51:41.783 12836-12836 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:21474): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="dm-2" ino=3088579 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:51:41.794 12836-12861 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass 2025-09-06 02:51:41.794 12836-12861 ViewContentFactory person.tools.treasurebox D getInterceptorPackageInfo 2025-09-06 02:51:41.794 12836-12861 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (light greylist, linking) 2025-09-06 02:51:41.795 12836-12861 ViewContentFactory person.tools.treasurebox D getInitialApplication took 2ms 2025-09-06 02:51:41.796 12836-12861 ViewContentFactory person.tools.treasurebox D packageInfo.packageName: com.miui.catcherpatch 2025-09-06 02:51:41.803 12836-12836 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:21475): avc: denied { getattr } for path="/data/data/com.miui.catcherpatch" dev="dm-2" ino=3114656 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:51:41.814 12836-12861 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass took 21ms 2025-09-06 02:51:41.815 12836-12861 ContentCatcher person.tools.treasurebox I ViewContentFetcher : ViewContentFetcher 2025-09-06 02:51:41.815 12836-12861 ViewContentFactory person.tools.treasurebox D createInterceptor took 21ms 2025-09-06 02:51:41.822 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2025-09-06 02:51:41.895 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.893 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21476): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection) 2025-09-06 02:51:41.899 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection) 2025-09-06 02:51:41.994 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2025-09-06 02:51:42.053 12836-12836 SurfaceFactory person.tools.treasurebox I [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@35df084 2025-09-06 02:51:42.069 12836-12836 ViewRootIm...tActivity] person.tools.treasurebox D hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:51:42.072 459-1187 SurfaceFlinger surfaceflinger I [SF client] NEW(0xab9552d0) for (1095:system_server) 2025-09-06 02:51:42.077 12836-12836 PhoneWindow person.tools.treasurebox V DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@5842533, this = DecorView@50b90f0[CustomViewTestActivity] 2025-09-06 02:51:42.079 1095-1196 UiModeManager system_server V switch night mode to 1 2025-09-06 02:51:42.085 607-607 thermal_repeater thermal I [recvMdThermalInfo] ret=30, strLen=127, 3, 39, -127, 0, 32767, -28377 2025-09-06 02:51:42.136 1095-1267 WindowManager system_server I Relayout Window{479f0cd u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity}: oldVis=4 newVis=0 focusMayChange = true 2025-09-06 02:51:42.150 12836-12836 Surface person.tools.treasurebox D Surface::allocateBuffers(this=0xa47ad000) 2025-09-06 02:51:42.159 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:12.829244,dur:1013.31,max:649.58,min:13.13 2025-09-06 02:51:42.159 12836-12862 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-09-06 02:51:42.159 12836-12862 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-09-06 02:51:42.159 12836-12862 OpenGLRenderer person.tools.treasurebox I Initialized EGL, version 1.4 2025-09-06 02:51:42.159 12836-12862 OpenGLRenderer person.tools.treasurebox D Swap behavior 2 2025-09-06 02:51:42.168 12836-12836 Looper person.tools.treasurebox W Slow Looper main: doFrame is 390ms late because of 3 msg, msg 1 took 391ms (late=59ms h=android.app.ActivityThread$H w=159) 2025-09-06 02:51:42.180 12836-12862 Surface person.tools.treasurebox D Surface::connect(this=0xa47ad000,api=1) 2025-09-06 02:51:42.183 12836-12862 libEGL person.tools.treasurebox I [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1) 2025-09-06 02:51:42.248 12836-12862 ion person.tools.treasurebox E ioctl c0044901 failed with code -1: Invalid argument 2025-09-06 02:51:42.292 1095-1170 View system_server D [Warning] assignParent to null: this = DecorView@752c93[treasurebox] 2025-09-06 02:51:42.292 1095-1119 ActivityManager system_server I Displayed person.tools.treasurebox/.customview.view.CustomViewTestActivity: +986ms 2025-09-06 02:51:42.293 1095-1119 Timeline system_server I Timeline: Activity_windows_visible id: ActivityRecord{d4d52dd u0 person.tools.treasurebox/.customview.view.CustomViewTestActivity t55} time:9128428 2025-09-06 02:51:42.310 1095-1170 Surface system_server D Surface::disconnect(this=0x90e39000,api=2) 2025-09-06 02:51:42.311 459-495 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:51:42.311 459-495 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:51:42.315 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.315 1095-1267 PowerWrap system_server I PowerHal_Wrap_querySysInfo 2025-09-06 02:51:42.317 1095-1267 PowerHalWrapper system_server E <amsBoostStop> duration: 6000ms 2025-09-06 02:51:42.317 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.317 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.395 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:42.393 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21477): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:42.547 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.547 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.548 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.895 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:42.893 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21478): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 崩溃分析
09-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值