0

This is the output from that command adb shell dumpsys com.android.phone. It tantalizingly seems like it should parse like yaml, but there are frustratingly a bunch of bits that don't parse properly when i feed it to online yaml parsers, so i'm assuming it won't work in the yaml parser in typescript. Should I just identify those bits, and clean up just those parts? (The problem is I want todo this for any packagename and broken bits varies by the package name you supply) or do something from scratch? Is there a third way? Am I wrong and would this work if i just fed it to the yaml parser like normal?

Activity Resolver Table:
  Full MIME Types:
      vnd.android.cursor.item/person:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter d3410fc
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
      vnd.android.cursor.item/phone_v2:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
      vnd.android.cursor.item/phone:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter d3410fc
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
      vnd.android.cursor.item/sim-contact:
        1be1838 com.android.phone/.SimContacts filter 700d6f7
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"
        ca19011 com.android.phone/.settings.fdn.FdnList filter 6e4f964
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"

  Base MIME Types:
      vnd.android.cursor.item:
        1be1838 com.android.phone/.SimContacts filter 700d6f7
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"
        ca19011 com.android.phone/.settings.fdn.FdnList filter 6e4f964
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter d3410fc
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter d3410fc
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false

  Schemes:
      voicemail:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3e1eb93
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Scheme: "voicemail"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter bb5adef
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Scheme: "voicemail"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 4593a0b
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Scheme: "voicemail"
          mPriority=1000, mHasPartialTypes=false
      sip:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter f148882
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Scheme: "sip"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter 586aace
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Scheme: "sip"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 7e6a5da
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Scheme: "sip"
          mPriority=1000, mHasPartialTypes=false
      tel:
        8d5b576 com.android.phone/.EmergencyDialer filter fa032f6
          Action: "com.android.phone.EmergencyDialer.DIAL"
          Category: "android.intent.category.DEFAULT"
          Scheme: "tel"
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter ad2d7cd
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Scheme: "tel"
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter c4223c9
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Scheme: "tel"
          mPriority=1000, mHasPartialTypes=false
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter b403385
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Scheme: "tel"
          mPriority=1000, mHasPartialTypes=false

  Non-Data Actions:
      android.settings.NETWORK_OPERATOR_SETTINGS:
        f8c6777 com.android.phone/.MobileNetworkSettings filter a558301
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.settings.NETWORK_OPERATOR_SETTINGS"
          Action: "android.settings.DATA_ROAMING_SETTINGS"
          Category: "android.intent.category.DEFAULT"
      com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL:
        3587fe4 com.android.phone/.settings.VoicemailSettingsActivity filter 2146456
          Action: "com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL"
          Category: "android.intent.category.DEFAULT"
      com.android.internal.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS:
        1fe1c4d com.android.phone/.EmergencyCallbackModeExitDialog filter 3a4398a
          Action: "com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG"
          Action: "com.android.internal.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS"
          Category: "android.intent.category.DEFAULT"
      android.telecom.action.CHANGE_PHONE_ACCOUNTS:
        65fb302 com.android.phone/.settings.PhoneAccountSettingsActivity filter cc42e71
          Action: "android.telecom.action.CHANGE_PHONE_ACCOUNTS"
          Category: "android.intent.category.DEFAULT"
      android.intent.action.MAIN:
        f8c6777 com.android.phone/.MobileNetworkSettings filter a558301
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.settings.NETWORK_OPERATOR_SETTINGS"
          Action: "android.settings.DATA_ROAMING_SETTINGS"
          Category: "android.intent.category.DEFAULT"
        4d60413 com.android.phone/.GsmUmtsCallOptions filter 81945a6
          Action: "android.intent.action.MAIN"
        e0fb650 com.android.phone/.CdmaCallOptions filter a5f6be7
          Action: "android.intent.action.MAIN"
        81d3049 com.android.phone/.GsmUmtsCallForwardOptions filter 92b8394
          Action: "android.intent.action.MAIN"
        a99fd4e com.android.phone/.GsmUmtsAdditionalCallOptions filter 2164e3d
          Action: "android.intent.action.MAIN"
        712ce6f com.android.phone/.CallForwardType filter f841632
          Action: "android.intent.action.MAIN"
        6c1e77c com.android.phone/.settings.fdn.FdnSetting filter 6acdf83
          Action: "android.intent.action.MAIN"
        aff8805 com.android.phone/.EnableIccPinScreen filter 6074500
          Action: "android.intent.action.MAIN"
          Category: "android.intent.category.DEVELOPMENT_PREFERENCE"
        31ca05a com.android.phone/.ChangeIccPinScreen filter 61e9139
          Action: "android.intent.action.MAIN"
          Category: "android.intent.category.DEVELOPMENT_PREFERENCE"
        ba7e28b com.android.phone/.CallFeaturesSetting filter 659637e
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.telecom.action.SHOW_CALL_SETTINGS"
          Category: "android.intent.category.DEFAULT"
        3ff68 com.android.phone/.settings.AccessibilitySettingsActivity filter 1d3f0df
          Action: "android.intent.action.MAIN"
          Action: "android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS"
          Category: "android.intent.category.DEFAULT"
        bf59f81 com.android.phone/com.android.services.telephony.sip.SipSettings filter a28b418
          Action: "android.intent.action.MAIN"
          Action: "android.net.sip.NOTIFY"
      android.intent.action.VIEW:
        f8c6777 com.android.phone/.MobileNetworkSettings filter a558301
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.settings.NETWORK_OPERATOR_SETTINGS"
          Action: "android.settings.DATA_ROAMING_SETTINGS"
          Category: "android.intent.category.DEFAULT"
        ba7e28b com.android.phone/.CallFeaturesSetting filter 659637e
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.telecom.action.SHOW_CALL_SETTINGS"
          Category: "android.intent.category.DEFAULT"
      android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS:
        cf46826 com.android.phone/.euicc.EuiccUiDispatcherActivity filter 61bb12c
          Action: "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"
          Action: "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"
          Category: "android.intent.category.DEFAULT"
          mPriority=1000, mHasPartialTypes=false
      android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION:
        cf46826 com.android.phone/.euicc.EuiccUiDispatcherActivity filter 61bb12c
          Action: "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"
          Action: "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"
          Category: "android.intent.category.DEFAULT"
          mPriority=1000, mHasPartialTypes=false
      android.telecom.action.CONFIGURE_PHONE_ACCOUNT:
        f301c67 com.android.phone/com.android.services.telephony.sip.SipPhoneAccountSettingsActivity filter 130bbfb
          Action: "android.telecom.action.CONFIGURE_PHONE_ACCOUNT"
          Category: "android.intent.category.DEFAULT"
      android.settings.DATA_ROAMING_SETTINGS:
        f8c6777 com.android.phone/.MobileNetworkSettings filter a558301
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.settings.NETWORK_OPERATOR_SETTINGS"
          Action: "android.settings.DATA_ROAMING_SETTINGS"
          Category: "android.intent.category.DEFAULT"
      android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS:
        3ff68 com.android.phone/.settings.AccessibilitySettingsActivity filter 1d3f0df
          Action: "android.intent.action.MAIN"
          Action: "android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS"
          Category: "android.intent.category.DEFAULT"
      android.telecom.action.SHOW_CALL_SETTINGS:
        ba7e28b com.android.phone/.CallFeaturesSetting filter 659637e
          Action: "android.intent.action.VIEW"
          Action: "android.intent.action.MAIN"
          Action: "android.telecom.action.SHOW_CALL_SETTINGS"
          Category: "android.intent.category.DEFAULT"
      android.telephony.action.CONFIGURE_VOICEMAIL:
        3587fe4 com.android.phone/.settings.VoicemailSettingsActivity filter 9c51cd7
          Action: "android.telephony.action.CONFIGURE_VOICEMAIL"
          Category: "android.intent.category.DEFAULT"
          mPriority=1000, mHasPartialTypes=false
      com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG:
        1fe1c4d com.android.phone/.EmergencyCallbackModeExitDialog filter 3a4398a
          Action: "com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG"
          Action: "com.android.internal.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS"
          Category: "android.intent.category.DEFAULT"
      android.net.sip.NOTIFY:
        bf59f81 com.android.phone/com.android.services.telephony.sip.SipSettings filter a28b418
          Action: "android.intent.action.MAIN"
          Action: "android.net.sip.NOTIFY"
      android.telephony.euicc.action.RESOLVE_ERROR:
        ecdaa14 com.android.phone/.euicc.EuiccResolutionUiDispatcherActivity filter dce07f5
          Action: "android.telephony.euicc.action.RESOLVE_ERROR"
          Category: "android.intent.category.DEFAULT"
          mPriority=1000, mHasPartialTypes=false
      com.android.phone.EmergencyDialer.DIAL:
        8d5b576 com.android.phone/.EmergencyDialer filter d399391
          Action: "com.android.phone.EmergencyDialer.DIAL"
          Category: "android.intent.category.DEFAULT"

  MIME Typed Actions:
      android.intent.action.CALL:
        7da8f95 com.android.phone/.OutgoingCallBroadcaster filter 3aa47d0
          Action: "android.intent.action.CALL"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
      android.intent.action.VIEW:
        1be1838 com.android.phone/.SimContacts filter 700d6f7
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"
        ca19011 com.android.phone/.settings.fdn.FdnList filter 6e4f964
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/sim-contact"
      android.intent.action.CALL_EMERGENCY:
        20cb8aa com.android.phone/.EmergencyOutgoingCallBroadcaster filter d3410fc
          Action: "android.intent.action.CALL_EMERGENCY"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false
      android.intent.action.CALL_PRIVILEGED:
        d2a9c9b com.android.phone/.PrivilegedOutgoingCallBroadcaster filter 92f40e8
          Action: "android.intent.action.CALL_PRIVILEGED"
          Category: "android.intent.category.DEFAULT"
          Type: "vnd.android.cursor.item/phone"
          Type: "vnd.android.cursor.item/phone_v2"
          Type: "vnd.android.cursor.item/person"
          mPriority=1000, mHasPartialTypes=false

Receiver Resolver Table:
  Non-Data Actions:
      android.telephony.action.CARRIER_CONFIG_CHANGED:
        6dbb2bd com.android.phone/.otasp.OtaspSimStateReceiver filter 1115b15
          Action: "android.telephony.action.CARRIER_CONFIG_CHANGED"
        72ee0b2 com.android.phone/.vvm.VvmSimStateTracker filter 6df9b8
          Action: "android.intent.action.BOOT_COMPLETED"
          Action: "android.telephony.action.CARRIER_CONFIG_CHANGED"
          Action: "android.intent.action.SIM_STATE_CHANGED"
      com.android.phone.SIP_INCOMING_CALL:
        3181803 com.android.phone/com.android.services.telephony.sip.SipIncomingCallReceiver filter 5625e2a
          Action: "com.android.phone.SIP_INCOMING_CALL"
      android.intent.action.SIM_STATE_CHANGED:
        72ee0b2 com.android.phone/.vvm.VvmSimStateTracker filter 6df9b8
          Action: "android.intent.action.BOOT_COMPLETED"
          Action: "android.telephony.action.CARRIER_CONFIG_CHANGED"
          Action: "android.intent.action.SIM_STATE_CHANGED"
      android.intent.action.BOOT_COMPLETED:
        72ee0b2 com.android.phone/.vvm.VvmSimStateTracker filter 6df9b8
          Action: "android.intent.action.BOOT_COMPLETED"
          Action: "android.telephony.action.CARRIER_CONFIG_CHANGED"
          Action: "android.intent.action.SIM_STATE_CHANGED"
      com.android.internal.provider.action.VOICEMAIL_SMS_RECEIVED:
        de55380 com.android.phone/.vvm.VvmSmsReceiver filter 20f141b
          Action: "com.android.internal.provider.action.VOICEMAIL_SMS_RECEIVED"
      android.intent.action.NEW_OUTGOING_CALL:
        f15bdb9 com.android.phone/.ProcessOutgoingCallTest filter f19dccc
          Action: "android.intent.action.NEW_OUTGOING_CALL"
          Category: "android.intent.category.DEFAULT"
          mPriority=1, mHasPartialTypes=false
TinyGrasshopper
  • 2,190
  • 2
  • 17
  • 28

0 Answers0