Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@legendmohe
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legendmohe/9682ff8d97ae27be8113 to your computer and use it in GitHub Desktop.
Save legendmohe/9682ff8d97ae27be8113 to your computer and use it in GitHub Desktop.
{
"define":{
"UNKNOWN":{
"unknown":{
"*":"unknown"
}
},
"BluetoothProfile":{
"state":{
"0":"STATE_DISCONNECTED",
"1":"STATE_CONNECTING",
"2":"STATE_CONNECTED",
"3":"STATE_DISCONNECTING"
},
"type":{
"1":"HEADSET",
"2":"A2DP",
"3":"HEALTH",
"4":"INPUT_DEVICE",
"5":"PAN",
"6":"PBAP",
"7":"GATT",
"8":"GATT_SERVER",
"9":"MAP",
"10":"A2DP_SINK",
"11":"AVRCP_CONTROLLER",
"16":"HEADSET_CLIENT",
"22":"HID_DEVICE",
"100":"HF_DEVICE",
"101":"MAP_CLIENT",
"200":"SPP",
"20":"SAP",
"21":"SAP_CLIENT"
},
"priority":{
"1000":"PRIORITY_AUTO_CONNECT",
"100":"PRIORITY_ON",
"0":"PRIORITY_OFF",
"-1":"PRIORITY_UNDEFINED"
}
},
"BluetoothDevice":{
"bond_state":{
"10":"BOND_NONE",
"11":"BOND_BONDING",
"12":"BOND_BINDED",
"*":"BOND_ERROR"
}
},
"BluetoothAdapter":{
"state":{
"10":"STATE_OFF",
"11":"STATE_TURNING_ON",
"12":"STATE_ON",
"13":"STATE_TURNING_OFF",
"14":"STATE_RADIO_ON",
"15":"STATE_RADIO_OFF"
},
"profile_state":{
"0":"STATE_DISCONNECTED",
"1":"STATE_CONNECTING",
"2":"STATE_CONNECTED",
"3":"STATE_DISCONNECTING"
},
"bt_scan_mode":{
"20":"SCAN_MODE_NONE",
"21":"SCAN_MODE_CONNECTABLE",
"23":"SCAN_MODE_CONNECTABLE_DISCOVERABLE"
},
"le_state":{
"0":"STATE_ADVERTISE_STARTING",
"1":"STATE_ADVERTISE_STARTED",
"2":"STATE_ADVERTISE_STOPPING",
"3":"STATE_ADVERTISE_STOPPED"
}
},
"BluetoothGatt":{
"conn_state":{
"0":"CONN_STATE_IDLE",
"1":"CONN_STATE_CONNECTING",
"2":"CONN_STATE_CONNECTED",
"3":"CONN_STATE_DISCONNECTING",
"4":"CONN_STATE_CLOSED"
},
"gatt_op":{
"0":"GATT_SUCCESS",
"1":"GATT_READ_NOT_PERMITTED",
"2":"GATT_WRITE_NOT_PERMITTED",
"5":"GATT_INSUFFICIENT_AUTHENTICATION",
"6":"GATT_REQUEST_NOT_SUPPORTED",
"15":"GATT_INSUFFICIENT_ENCRYPTION",
"7":"GATT_INVALID_OFFSET",
"13":"GATT_INVALID_ATTRIBUTE_LENGTH",
"257":"GATT_FAILURE"
},
"auth":{
"0":"AUTHENTICATION_NONE",
"1":"AUTHENTICATION_NO_MITM",
"2":"AUTHENTICATION_MITM"
},
"conn_priority":{
"0":"CONNECTION_PRIORITY_BALANCED",
"1":"CONNECTION_PRIORITY_HIGH",
"2":"CONNECTION_PRIORITY_LOW_POWER"
}
},
"AbstractionLayer":{
"bt_state":{
"0":"BT_STATE_OFF",
"1":"BT_STATE_ON",
"2":"BT_RADIO_OFF",
"3":"BT_RADIO_ON"
},
"bt_scan_mode":{
"0":"BT_SCAN_MODE_NONE",
"1":"BT_SCAN_MODE_CONNECTABLE",
"2":"BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE"
},
"bt_property":{
"1":"BT_PROPERTY_BDNAME",
"2":"BT_PROPERTY_BDADDR",
"3":"BT_PROPERTY_UUIDS",
"4":"BT_PROPERTY_CLASS_OF_DEVICE",
"5":"BT_PROPERTY_TYPE_OF_DEVICE",
"6":"BT_PROPERTY_SERVICE_RECORD",
"7":"BT_PROPERTY_ADAPTER_SCAN_MODE",
"8":"BT_PROPERTY_ADAPTER_BONDED_DEVICES",
"9":"BT_PROPERTY_ADAPTER_DISCOVERABLE_TIMEOUT",
"10":"BT_PROPERTY_REMOTE_FRIENDLY_NAME",
"11":"BT_PROPERTY_REMOTE_RSSI",
"240":"BT_PROPERTY_APPEARANCE",
"241":"BT_PROPERTY_GEAR_MANAGER_NAME",
"12":"BT_PROPERTY_REMOTE_VERSION_INFO",
"13":"BT_PROPERTY_LOCAL_LE_FEATURES",
"242":"BT_PROPERTY_LOCAL_LE_RANDOM_ADDRESS"
},
"bt_device":{
"1":"BT_DEVICE_TYPE_BREDR",
"2":"BT_DEVICE_TYPE_BLE",
"3":"BT_DEVICE_TYPE_DUAL"
},
"bt_bond":{
"0":"BT_BOND_STATE_NONE",
"1":"BT_BOND_STATE_BONDED"
},
"bt_ssp":{
"0":"BT_SSP_VARIANT_PASSKEY_CONFIRMATION",
"1":"BT_SSP_VARIANT_PASSKEY_ENTRY",
"2":"BT_SSP_VARIANT_CONSENT",
"3":"BT_SSP_VARIANT_PASSKEY_NOTIFICATION"
},
"bt_discovery":{
"0":"BT_DISCOVERY_STOPPED",
"1":"BT_DISCOVERY_STARTED"
},
"bt_acl":{
"0":"BT_ACL_STATE_CONNECTED",
"1":"BT_ACL_STATE_DISCONNECTED"
},
"bt_status":{
"0":"BT_STATUS_SUCCESS",
"1":"BT_STATUS_FAIL",
"2":"BT_STATUS_NOT_READY",
"3":"BT_STATUS_NOMEM",
"4":"BT_STATUS_BUSY",
"5":"BT_STATUS_DONE",
"6":"BT_STATUS_UNSUPPORTED",
"7":"BT_STATUS_PARM_INVALID",
"8":"BT_STATUS_UNHANDLED",
"9":"BT_STATUS_AUTH_FAILURE",
"10":"BT_STATUS_RMT_DEV_DOWN",
"11":"BT_STATUS_AUTH_REJECTED",
"12":"BT_STATUS_AUTH_TIMEOUT",
"13":"BT_STATUS_HID_MAX_DEVICE"
}
},
"BluetoothHeadset":{
"at_cmd_type":{
"0":"AT_CMD_TYPE_READ",
"1":"AT_CMD_TYPE_TEST",
"2":"AT_CMD_TYPE_SET",
"3":"AT_CMD_TYPE_BASIC",
"4":"AT_CMD_TYPE_ACTION"
},
"audio_state":{
"10":"STATE_AUDIO_DISCONNECTED",
"11":"STATE_AUDIO_CONNECTING",
"12":"STATE_AUDIO_CONNECTED"
}
},
"HeadsetHalConstants":{
"conn_state":{
"0":"CONNECTION_STATE_DISCONNECTED",
"1":"CONNECTION_STATE_CONNECTING",
"2":"CONNECTION_STATE_CONNECTED",
"3":"CONNECTION_STATE_SLC_CONNECTED",
"4":"CONNECTION_STATE_DISCONNECTING"
},
"audio_state":{
"0":"AUDIO_STATE_DISCONNECTED",
"1":"AUDIO_STATE_CONNECTING",
"2":"AUDIO_STATE_CONNECTED",
"3":"AUDIO_STATE_DISCONNECTING"
},
"call_state":{
"0":"CALL_STATE_ACTIVE",
"1":"CALL_STATE_HELD",
"2":"CALL_STATE_DIALING",
"3":"CALL_STATE_ALERTING",
"4":"CALL_STATE_INCOMING",
"5":"CALL_STATE_WAITING",
"6":"CALL_STATE_IDLE"
},
"vr_state":{
"0":"VR_STATE_STOPPED",
"1":"VR_STATE_STARTED"
}
},
"HeadsetStateMachine":{
"msg":{
"1":"CONNECT",
"2":"DISCONNECT",
"3":"CONNECT_AUDIO",
"4":"DISCONNECT_AUDIO",
"5":"VOICE_RECOGNITION_START",
"6":"VOICE_RECOGNITION_STOP",
"7":"INTENT_SCO_VOLUME_CHANGED",
"8":"SET_MIC_VOLUME",
"9":"CALL_STATE_CHANGED",
"10":"INTENT_BATTERY_CHANGED",
"11":"DEVICE_STATE_CHANGED",
"12":"SEND_CCLC_RESPONSE",
"13":"SEND_VENDOR_SPECIFIC_RESULT_CODE",
"14":"VIRTUAL_CALL_START",
"15":"VIRTUAL_CALL_STOP",
"16":"ENABLE_WBS",
"17":"DISABLE_WBS",
"18":"DEVICE_DATA_STATE_CHANGED",
"21":"ROAM_CHANGED",
"22":"UPDATE_CALL_STATE",
"23":"SET_SCO_PATH",
"50":"SEND_VENDOR_SPECIFIC_COMMAND",
"60":"SEND_MESSAGE_TO_HEADSET",
"70":"REGISTER_MESSAGE_LISTENER",
"80":"UNREGISTER_MESSAGE_LISTENER",
"90":"LIMIT_ATCMD",
"101":"STACK_EVENT",
"102":"DIALING_OUT_TIMEOUT",
"103":"START_VR_TIMEOUT",
"104":"CLCC_RSP_TIMEOUT",
"105":"CONNECT_AUDIO_TIMEOUT",
"106":" MSG_DISCONNECT_HFP_DELAYED",
"201":"CONNECT_TIMEOUT",
"202":"NEXT_CONNECT_TIMEOUT",
"30000":"CONNECT_TIMEOUT_VALUE",
"2000":"NEXT_CONNECT_TIMEOUT_VALUE",
"10000":"DIALING_OUT_TIMEOUT_VALUE",
"5000":"START_VR_TIMEOUT_VALUE",
"5000":"CLCC_RSP_TIMEOUT_VALUE",
"2000":"CONNECT_AUDIO_TIMEOUT_VALUE"
},
"event":{
"0":"EVENT_TYPE_NONE",
"1":"EVENT_TYPE_CONNECTION_STATE_CHANGED",
"2":"EVENT_TYPE_AUDIO_STATE_CHANGED",
"3":"EVENT_TYPE_VR_STATE_CHANGED",
"4":"EVENT_TYPE_ANSWER_CALL",
"5":"EVENT_TYPE_HANGUP_CALL",
"6":"EVENT_TYPE_VOLUME_CHANGED",
"7":"EVENT_TYPE_DIAL_CALL",
"8":"EVENT_TYPE_SEND_DTMF",
"9":"EVENT_TYPE_NOICE_REDUCTION",
"10":"EVENT_TYPE_AT_CHLD",
"11":"EVENT_TYPE_SUBSCRIBER_NUMBER_REQUEST",
"12":"EVENT_TYPE_AT_CIND",
"13":"EVENT_TYPE_AT_COPS",
"14":"EVENT_TYPE_AT_CLCC",
"15":"EVENT_TYPE_UNKNOWN_AT",
"16":"EVENT_TYPE_KEY_PRESSED",
"17":"EVENT_TYPE_WBS",
"18":"EVENT_TYPE_BRSF"
},
"at_cmd_type":{
"-1":"AT_CMD_TYPE_UNKNOWN",
"0":"AT_CMD_TYPE_READ",
"1":"AT_CMD_TYPE_SET",
"2":"AT_CMD_TYPE_TEST",
"4":"AT_CMD_TYPE_ACTION"
}
},
"BluetoothA2dp":{
"state":{
"10":"STATE_PLAYING",
"11":"STATE_NOT_PLAYING"
},
"cp_type":{
"10":"CP_TYPE_DISABLED",
"11":"CP_TYPE_COPY_NEVER",
"12":"CP_TYPE_COPY_ONCE",
"13":"CP_TYPE_COPY_FREE"
}
},
"A2dpStateMachine":{
"msg":{
"1":"CONNECT",
"2":"DISCONNECT",
"3":"FETCH_CP",
"4":"CONFIGURE_CP",
"5":"APP_SET_CP_REQ",
"101":"STACK_EVENT",
"201":"CONNECT_TIMEOUT"
},
"sink_mode":{
"0":"MODE_OFF",
"1":"TURNING_ON",
"2":"MODE_ON",
"3":"TURNING_OFF"
},
"conn_state":{
"0":"CONNECTION_STATE_DISCONNECTED",
"1":"CONNECTION_STATE_CONNECTING",
"2":"CONNECTION_STATE_CONNECTED",
"3":"CONNECTION_STATE_DISCONNECTING"
},
"audio_state":{
"0":"AUDIO_STATE_REMOTE_SUSPEND",
"1":"AUDIO_STATE_STOPPED",
"2":"AUDIO_STATE_STARTED"
},
"event":{
"0":"EVENT_TYPE_NONE",
"1":"EVENT_TYPE_CONNECTION_STATE_CHANGED",
"2":"EVENT_TYPE_AUDIO_STATE_CHANGED",
"3":"EVENT_TYPE_CP_TYPE",
"4":"EVENT_TYPE_HEADSET_CP_SUPPORT",
"5":"EVENT_TYPE_RECONFIG_DONE"
}
},
"Avrcp": {
"msg":{
"1":"MESSAGE_GET_RC_FEATURES",
"2":"MESSAGE_GET_PLAY_STATUS",
"3":"MESSAGE_GET_ELEM_ATTRS",
"4":"MESSAGE_REGISTER_NOTIFICATION",
"5":"MESSAGE_PLAY_INTERVAL_TIMEOUT",
"6":"MESSAGE_VOLUME_CHANGED",
"7":"MESSAGE_ADJUST_VOLUME",
"8":"MESSAGE_SET_ABSOLUTE_VOLUME",
"9":"MESSAGE_ABS_VOL_TIMEOUT",
"10":"MESSAGE_FAST_FORWARD",
"11":"MESSAGE_REWIND",
"12":"MESSAGE_CHANGE_PLAY_POS",
"13":"MESSAGE_SET_A2DP_AUDIO_STATE",
"14":"MESSAGE_REPEAT",
"15":"MESSAGE_SHUFFLE",
"16":"MESSAGE_SCAN",
"21":"MSG_GET_PLAYER_SETTING",
"23":"MESSAGE_A2DP_CONNECTION_STATE_CHANGED",
"24":"MESSAGE_AVRCP_UPDATE_PLAYSTATE_EVT",
"100":"MSG_UPDATE_STATE",
"101":"MSG_SET_METADATA",
"102":"MSG_SET_TRANSPORT_CONTROLS",
"103":"MSG_SET_ARTWORK",
"104":"MSG_SET_GENERATION_ID",
"202":"MSG_UPDATE_AVAILABLE_PLAYERS",
"203":"MSG_UPDATE_ADDRESSED_PLAYER",
"204":"MSG_UPDATE_RCC_CHANGE",
"205":"MSG_PLAY_ITEM",
"206":"MSG_UPDATE_NOW_PLAYING_CONTENT_CHANGED",
"207":"MSG_CHECK_NOW_PLAYING_CONTENT_CHANGED",
"209":"MSG_UPDATE_TRACK_CHANGE",
"210":"MSG_REMOVE_PROCESS_PLAY_ITEM",
"211":"MSG_REMOVE_PROCESS_PENDING_PLAYSTATE"
},
"rc_feature": {
"0":"BTRC_FEAT_NONE",
"1":"BTRC_FEAT_METADATA",
"2":"BTRC_FEAT_ABSOLUTE_VOLUME",
"4":"BTRC_FEAT_BROWSE"
}
},
"RemoteControlClient": {
"play_state":{
"1":"PLAYSTATE_STOPPED",
"2":"PLAYSTATE_PAUSED",
"3":"PLAYSTATE_PLAYING",
"4":"PLAYSTATE_FAST_FORWARDING",
"5":"PLAYSTATE_REWINDING",
"6":"PLAYSTATE_SKIPPING_FORWARDS",
"7":"PLAYSTATE_SKIPPING_BACKWARDS",
"8":"PLAYSTATE_BUFFERING",
"9":"PLAYSTATE_ERROR",
"0":"PLAYSTATE_NONE"
}
},
"BluetoothAdapterService": {
"msg":{
"1":"MESSAGE_PROFILE_SERVICE_STATE_CHANGED",
"20":"MESSAGE_PROFILE_CONNECTION_STATE_CHANGED",
"30":"MESSAGE_CONNECT_OTHER_PROFILES",
"40":"MESSAGE_PROFILE_INIT_PRIORITIES",
"50":"MESSAGE_STOP_SINK_SERVICE",
"51":"MESSAGE_TURN_OFF_SINK_MODE"
}
},
"bt_vendor": {
"op_code":{
"0":"BT_VND_OP_POWER_CTRL",
"1":"BT_VND_OP_FW_CFG",
"2":"BT_VND_OP_SCO_CFG",
"3":"BT_VND_OP_USERIAL_OPEN",
"4":"BT_VND_OP_USERIAL_CLOSE",
"5":"BT_VND_OP_GET_LPM_IDLE_TIMEOUT",
"6":"BT_VND_OP_LPM_SET_MODE",
"7":"BT_VND_OP_LPM_WAKE_SET_STATE",
"8":"BT_VND_OP_SET_AUDIO_STATE",
"9":"BT_VND_OP_EPILOG",
"10":"BT_VND_OP_GET_LINESPEED",
"11":"UNKNOWN",
"12":"UNKNOWN",
"13":"UNKNOWN"
}
},
"BluetoothOppTransfer":{
"msg":{
"10":"RFCOMM_ERROR",
"11":"RFCOMM_CONNECTED",
"13":"SOCKET_ERROR_RETRY",
"0":"MSG_SHARE_COMPLETE",
"1":"MSG_SESSION_COMPLETE",
"2":"MSG_SESSION_ERROR",
"3":"MSG_SHARE_INTERRUPTED",
"4":"MSG_CONNECT_TIMEOUT"
}
},
"BluetoothShare":{
"direction":{
"0":"DIRECTION_OUTBOUND",
"1":"DIRECTION_INBOUND"
},
"trans_result":{
"0":"SUCCESSFUL",
"1":"FAILED"
},
"visibility":{
"0":"VISIBILITY_VISIBLE",
"1":"VISIBILITY_HIDDEN"
},
"user_confirmation_state":{
"0":"USER_CONFIRMATION_PENDING",
"1":"USER_CONFIRMATION_CONFIRMED",
"2":"USER_CONFIRMATION_AUTO_CONFIRMED",
"3":"USER_CONFIRMATION_DENIED",
"4":"USER_CONFIRMATION_TIMEOUT",
"5":"USER_CONFIRMATION_HANDOVER_CONFIRMED"
},
"transfer_state":{
"190":"STATUS_PENDING",
"192":"STATUS_RUNNING",
"200":"STATUS_SUCCESS",
"400":"STATUS_BAD_REQUEST ",
"403":"STATUS_FORBIDDEN",
"406":"STATUS_NOT_ACCEPTABLE",
"411":"STATUS_LENGTH_REQUIRED",
"412":"STATUS_PRECONDITION_FAILED",
"490":"STATUS_CANCELED",
"491":"STATUS_UNKNOWN_ERROR",
"492":"STATUS_FILE_ERROR",
"493":"STATUS_ERROR_NO_SDCARD",
"494":"STATUS_ERROR_SDCARD_FULL",
"495":"STATUS_UNHANDLED_OBEX_CODE",
"496":"STATUS_OBEX_DATA_ERROR",
"497":"STATUS_CONNECTION_ERROR"
}
},
"HidService":{
"conn_state":{
"0":"CONN_STATE_CONNECTED",
"1":"CONN_STATE_CONNECTING",
"2":"CONN_STATE_DISCONNECTED",
"3":"CONN_STATE_DISCONNECTING"
}
},
"BleAutoConnectService":{
"disc_reason":{
"8":"REASON_LINK_LOSS",
"19":"REMOTE_USER_DISCONNECTION",
"22":"LOCAL_USER_DISCONNECTION",
"62":"CONN_FAILED_TO_BE_EASTABLISHED",
"68":"USER_REMOVED_BOND",
"5":"AUTH_FAIL"
},
"link_type":{
"2":"LE_LINK_TYPE",
"1":"BREDR_LINK_TYPE"
}
},
"BluetoothPhoneService":{
"msg_type":{
"1":"MSG_ANSWER_CALL",
"2":"MSG_HANGUP_CALL",
"3":"MSG_SEND_DTMF",
"4":"MSG_PROCESS_CHLD",
"5":"MSG_GET_NETWORK_OPERATOR",
"6":"MSG_LIST_CURRENT_CALLS",
"7":"MSG_QUERY_PHONE_STATE",
"8":"MSG_GET_SUBSCRIBER_NUMBER",
"9":"MSG_QUERY_CALL_STATE"
},
"call_state":{
"0":"CALL_STATE_ACTIVE",
"1":"CALL_STATE_HELD",
"2":"CALL_STATE_DIALING",
"3":"CALL_STATE_ALERTING",
"4":"CALL_STATE_INCOMING",
"5":"CALL_STATE_WAITING",
"6":"CALL_STATE_IDLE"
},
"chld_type":{
"0":"CHLD_TYPE_RELEASEHELD",
"1":"CHLD_TYPE_RELEASEACTIVE_ACCEPTHELD",
"2":"CHLD_TYPE_HOLDACTIVE_ACCEPTHELD",
"3":"CHLD_TYPE_ADDHELDTOCONF"
}
},
"TelephoneManager":{
"call_state":{
"0":"CALL_STATE_IDLE",
"1":"CALL_STATE_RINGING",
"2":"CALL_STATE_OFFHOOK"
}
},
"CallState":{
"state":{
"0":"NEW",
"1":"CONNECTING",
"2":"PRE_DIAL_WAIT",
"3":"DIALING",
"4":"RINGING",
"5":"ACTIVE",
"6":"ON_HOLD",
"7":"DISCONNECTED",
"8":"ABORTED",
"9":"DISCONNECTING"
}
}
},
"tags":{
"BluetoothAdapterProperties":[
{
"define":"BluetoothProfile",
"type":["state","state"],
"regex":"CONNECTION_STATE_CHANGE: .+: (\d+) -> (\d+)"
},
{
"define":"AbstractionLayer",
"type":["bt_property"],
"regex":"adapterPropertyChangedCallback with type:(\d+) len:"
},
{
"define":"AbstractionLayer",
"type":["bt_discovery"],
"regex":"Callback:discoveryStateChangeCallback with state:(\d+)"
},
{
"define":"BluetoothAdapter",
"type":["bt_scan_mode"],
"regex":"Scan\s?Mode\s?[=:]\s*(\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":"State =\s*(\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":"Setting state to (\d+)"
}
],
"BluetoothAdapter":[
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":".+: getState\(\). Returning (\d+)"
}
],
"BluetoothAdapterState":[
{
"define":"BluetoothAdapter",
"type":["state","state"],
"regex":"Bluetooth adapter state changed: (\d+)-> (\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":"Entering On State from state = (\d+)"
}
],
"BluetoothAdapterService":[
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"setProfileState\(\): setting profile .* to state = (\d+)"
},
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"onProfileServiceStateChanged\(\) serviceName=.*, state=(\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state","state"],
"regex":"updateAdapterState prevState = (\d+)newState = (\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":"updateAdapterState state is (\d+)"
},
{
"define":"BluetoothAdapter",
"type":["state"],
"regex":"isProfileEnabled\(\): profile .*, state\s?= (\d+)"
},
{
"define":"BluetoothAdapterService",
"type":["msg"],
"regex":"handleMessage\(\) - Message: (\d+)"
}
],
"HeadsetStateMachine":[
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Enter Disconnected: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Disconnected process message: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Exit Disconnected: (\d+)"
},
{
"define":"HeadsetHalConstants",
"type":["conn_state"],
"regex":"Disconnected : processConnectionEvent : (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Enter Pending: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Pending process message: (\d+)"
},
{
"define":"HeadsetHalConstants",
"type":["conn_state"],
"regex":"Pending : processConnectionEvent : (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["event"],
"regex":"event type: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Enter Connected: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Connected process message: (\d+)"
},
{
"define":"HeadsetHalConstants",
"type":["conn_state"],
"regex":"Connected : processConnectionEvent : (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"Enter AudioOn: (\d+)"
},
{
"define":"HeadsetStateMachine",
"type":["msg"],
"regex":"AudioOn process message: (\d+)"
},
{
"define":"BluetoothProfile",
"type":["state", "state"],
"regex":"Connection state .+: (\d+)->(\d+)"
},
{
"define":"BluetoothHeadset",
"type":["audio_state", "audio_state"],
"regex":"Audio state .+: (\d+)->(\d+)"
},
{
"define":"UNKNOWN",
"type":["unknown"],
"regex":"mNumber: \d+ mType: (\d+)"
},
{
"define":"HeadsetHalConstants",
"type":["call_state"],
"regex":"mNumActive: \d+ mNumHeld: \d+ mCallState: (\d+)"
}
,
{
"define":"TelephoneManager",
"type":["call_state"],
"regex":"isInCall : currCallState : (\d+)"
}
],
"HeadsetService":[
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"getConnectionState is (\d+)"
}
],
"A2dpStateMachine":[
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Enter Disconnected: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Disconnected process message: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Exit Disconnected: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Enter Pending: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Pending process message: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Enter Connected: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["msg"],
"regex":"Connected process message: (\d+)"
},
{
"define":"BluetoothA2dp",
"type":["state", "state"],
"regex":"A2DP Playing state : device: .*State:(\d+)->(\d+)"
},
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"handlePendingCpReq: newState is: (\d+)"
},
{
"define":"A2dpStateMachine",
"type":["sink_mode"],
"regex":"a2dpSinkMode : (\d+)"
},
{
"define":"UNKNOWN",
"type":["unknown"],
"regex":"onReconfigDoneCallback status:(\d+)"
},
{
"define":"UNKNOWN",
"type":["unknown"],
"regex":"processReconfigDone: Status = (\d+)"
},
{
"define":"BluetoothA2dp",
"type":["cp_type"],
"regex":"processCPType: Current CP_TYPE is (\d+)"
},
{
"define":"BluetoothA2dp",
"type":["cp_type"],
"regex":"A2DP Playing CP_TYPE : device: .*cp_type:(\d+)"
},
{
"define":"BluetoothProfile",
"type":["state", "state"],
"regex":"Connection state .*: (\d+)->(\d+)"
}
],
"Avrcp":[
{
"define":"BluetoothA2dp",
"type":["state"],
"regex":"MESSAGE_SET_A2DP_AUDIO_STATE:(\d+)"
},
{
"define":"RemoteControlClient",
"type":["play_state", "play_state"],
"regex":"updatePlayPauseState, old=(\d+), state=(\d+), currentPosMs="
},
{
"define":"RemoteControlClient",
"type":["play_state", "play_state"],
"regex":"old state = (\d+), new state= (\d+)"
},
{
"define":"RemoteControlClient",
"type":["play_state", "play_state"],
"regex":"updatePlayPauseState, chagned state=(\d+) mPrevPlayStatus=(\d+)"
},
{
"define":"Avrcp",
"type":["rc_feature"],
"regex":"remote mFeatures is : (\d+)"
},
{
"define":"Avrcp",
"type":["msg"],
"regex":"handleMessage, msg=(\d+)"
}
],
"bt_vendor":[
{
"define":"bt_vendor",
"type":["op_code"],
"regex":"op for (\d+)"
}
],
"BtOppTransfer":[
{
"define":"BluetoothOppTransfer",
"type":["msg"],
"regex":"OppTransfer Handler receive : (\d+)"
},
{
"define":"BluetoothShare",
"type":["transfer_state"],
"regex":"receive MSG_SESSION_COMPLETE mStatus : (\d+)"
},
{
"define":"BluetoothShare",
"type":["direction"],
"regex":"Start OppTransfer : (\d+)"
}
],
"BluetoothController":[
{
"define":"BluetoothDevice",
"type":["bond_state"],
"regex":"updateBondedBluetoothDevices : .* state:(\d+)"
}
],
"BluetoothGatt":[
{
"define":"BluetoothGatt",
"type":["gatt_op"],
"regex":"onClientRegistered() - status=(\d+)"
},
{
"define":"BluetoothGatt",
"type":["gatt_op"],
"regex":"onCharacteristicRead() - Device=.* UUID=.* Status=(\d+)"
},
{
"define":"BluetoothGatt",
"type":["gatt_op"],
"regex":"onCharacteristicWrite() - Device=.* UUID=.* Status=(\d+)"
},
{
"define":"BluetoothGatt",
"type":["gatt_op"],
"regex":"onReadRemoteRssi() - Device=.* rssi=.* Status=(\d+)"
},
{
"define":"BluetoothGatt",
"type":["gatt_op"],
"regex":"onConfigureMTU() - Device=.* mtu=.* Status=(\d+)"
}
],
"BleAutoConnectService":[
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"onConnectionStateChange .* state is (\d+) status is"
},
{
"define":"BleAutoConnectService",
"type":["disc_reason", "link_type"],
"regex":"ACTION_ACL_DISCONNECTED, reason is (\d+) linktype is (\d+)"
},
{
"define":"BluetoothProfile",
"type":["state"],
"regex":"Headset state change, state is (\d+)"
},
{
"define":"BluetoothDevice",
"type":["bond_state"],
"regex":"ACTION_BOND_STATE_CHANGED, state is (\d+)"
}
],
"HidService":[
{
"define":"BluetoothProfile",
"type":["state", "state"],
"regex":"MESSAGE_CONNECT_STATE_CHANGED newState:(\d+), prevState:(\d+)"
}
],
"BluetoothPhoneService":[
{
"define":"BluetoothPhoneService",
"type":["msg_type"],
"regex":"handleMessage\((\d+)\) / param"
},
{
"define":"CallState",
"type":["state", "state"],
"regex":"old : (\d+), new : (\d+), numPCall : "
},
{
"define":"BluetoothPhoneService",
"type":["chld_type"],
"regex":"CHLD Value is : (\d+)"
},
{
"define":"BluetoothPhoneService",
"type":["chld_type"],
"regex":"Process CHLD Idx, Chld :(\d+)"
},
{
"define":"BluetoothPhoneService",
"type":["call_state"],
"regex":"updateHeadsetWithCallState .*, callState (\d+)"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment