1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14domain: AV_SESSION 15 16AVSESSION_CAST_BEHAVIOR: 17 __BASE: {type: BEHAVIOR, level: CRITICAL, desc: avsession cast radar behavior, preserve: false} 18 ORG_PKG: {type: STRING, desc: The package name of current module} 19 HOST_PKG: {type: STRING, desc: host package} 20 TO_CALL_PKG: {type: STRING, desc: The package to be called} 21 TRIGGER_MODE: {type: INT32, desc: trigger mode} 22 FUNC: {type: STRING, desc: function name} 23 BIZ_SCENE: {type: INT32, desc: business scene} 24 BIZ_STAGE: {type: INT32, desc: business stage} 25 STAGE_RES: {type: INT32, desc: current stage result} 26 BIZ_STATE: {type: INT32, desc: business scene state of beginning or ending} 27 ERROR_CODE: {type: INT32, desc: error code} 28 DISCOVERY_DEVICE_LIST: {type: STRING, arrsize: 10, desc: device found list} 29 LOCAL_UDID: {type: STRING, desc: local device udid} 30 LOCAL_NET_ID: {type: STRING, desc: local networkid} 31 LOCAL_DEVICE_TYPE: {type: STRING, desc: local device type} 32 PEER_UDID: {type: STRING, desc: peer device udid} 33 PEER_BT_MAC: {type: STRING, desc: peer device bluetooth mac address} 34 PEER_NET_ID: {type: STRING, desc: peer networkid} 35 PEER_DEVICE_TYPE: {type: STRING, desc: peer device type} 36 IS_TRUST: {type: BOOL, desc: trusted device or not} 37 38SESSION_SERVICE_START: 39 __BASE: {type: BEHAVIOR, level: MINOR, desc: start avsession service} 40 SERVICE_NAME: {type: STRING, desc: avsession service name} 41 SERVICE_ID: {type: INT32, desc: avsession service id} 42 DETAILED_MSG: {type: STRING, desc: detailed msg} 43 44FOCUS_CHANGE: 45 __BASE: {type: BEHAVIOR, level: MINOR, desc: focus change} 46 PID: {type: INT32, desc: the pid of focus change} 47 OLD_BUNDLE_NAME: {type: STRING, desc: old bundle name} 48 OLD_MODULE_NAME: {type: STRING, desc: old module name} 49 OLD_ABILITY_NAME: {type: STRING, desc: old ability name} 50 OLD_SESSION_PID: {type: INT32, desc: old session pid} 51 OLD_SESSION_UID: {type: INT32, desc: old session uid} 52 OLD_SESSION_ID: {type: STRING, desc: old session id} 53 OLD_SESSION_TAG: {type: STRING, desc: old session tag} 54 OLD_SESSION_TYPE: {type: INT32, desc: old session type} 55 BUNDLE_NAME: {type: STRING, desc: change bundle name} 56 MODULE_NAME: {type: STRING, desc: change module name} 57 ABILITY_NAME: {type: STRING, desc: change ability name} 58 SESSION_PID: {type: INT32, desc: change session pid} 59 SESSION_UID: {type: INT32, desc: change session uid} 60 SESSION_ID: {type: STRING, desc: change session id} 61 SESSION_TAG: {type: STRING, desc: change session tag} 62 SESSION_TYPE: {type: INT32, desc: change session type} 63 FOCUS_SESSION_UID: {type: INT32, desc: focus session change info uid} 64 AUDIO_INFO_CONTENT_TYPE: {type: INT32, desc: audiorendererinfo contenttype} 65 AUDIO_INFO_RENDERER_STATE: {type: INT32, desc: audiorendererinfo rendererstate} 66 DETAILED_MSG: {type: STRING, desc: detailed msg} 67 68CONTROL_PERMISSION_DENIED: 69 __BASE: {type: SECURITY, level: CRITICAL, desc: permission verification errors} 70 CALLER_UID: {type: INT32, desc: caller uid} 71 CALLER_PID: {type: INT32, desc: caller pid} 72 SESSION_ID: {type: STRING, desc: session id} 73 BUNDLE_NAME: {type: STRING, desc: bundle name} 74 KEY_CODE: {type: INT32, desc: key code} 75 KEY_ACTION: {type: INT32, desc: key action} 76 CMD: {type: INT32, desc: command} 77 ERROR_CODE: {type: INT32, desc: error code} 78 ERROR_MSG: {type: STRING, desc: error msg} 79 80CONTROL_COMMAND_FAILED: 81 __BASE: {type: FAULT, level: MINOR, desc: no response exception timeout invalid} 82 ERROR_TYPE: {type: STRING, desc: error type} 83 CMD: {type: INT32, desc: command} 84 TIME: {type: UINT64, desc: seek time} 85 SPEED: {type: DOUBLE, desc: control command failed speed} 86 MODE: {type: STRING, desc: loop mode} 87 ASSETID: {type: STRING, desc: control command failed assetId} 88 CALLING_PID: {type: INT32, desc: calling pid} 89 CLIENT_PID: {type: INT32, desc: cliend pid} 90 TAG: {type: STRING, desc: control command failed tag} 91 TYPE: {type: INT32, desc: control command failed type} 92 BUNDLE_NAME: {type: STRING, desc: bundle name} 93 ERROR_CODE: {type: INT32, desc: error code} 94 ERROR_INFO: {type: STRING, desc: error info} 95 96CONTROL_COMMAND_STATISTICS: 97 __BASE: {type: STATISTIC, level: MINOR, desc: avsession control command statistics} 98 BUNDLE_NAME: {type: STRING, desc: bundle name} 99 CONTROLLER_PID: {type: INT32, desc: controller pid} 100 CMD: {type: INT32, desc: command} 101 POSITION: {type: BOOL, desc: sender is true and receiver is false} 102 PLAY_COUNT: {type: UINT32, desc: play count} 103 PAUSE_COUNT: {type: UINT32, desc: pause count} 104 STOP_COUNT: {type: UINT32, desc: stop count} 105 PLAY_NEXT_COUNT: {type: UINT32, desc: playnext count} 106 PLAY_PREVIOUS_COUNT: {type: UINT32, desc: playprevious count} 107 FAST_FORWARD_COUNT: {type: UINT32, desc: fastforward count} 108 REWIND_COUNT: {type: UINT32, desc: rewind count} 109 SEEK_COUNT: {type: UINT32, desc: seek count} 110 SET_SPEED_COUNT: {type: UINT32, desc: setspeed count} 111 SET_LOOP_MODE_COUNT: {type: UINT32, desc: setloopmode count} 112 TOGGLE_FAVORITE_COUNT: {type: UINT32, desc: togglefavorite count} 113 DETAILED_MSG: {type: STRING, desc: detailed msg} 114 115SESSION_LIFECYCLE_STATISTICS: 116 __BASE: {type: STATISTIC, level: MINOR, desc: avsession control command statistics} 117 BUNDLE_NAME: {type: STRING, desc: bundle name} 118 APP_STATUS: {type: BOOL, desc: app in background is true} 119 SESSION_TYPE: {type: INT32, desc: sessiontype} 120 SESSION_LIFE_CYCLE: {type: BOOL, desc: create avsession is true and delete avsession is false} 121 CREATE_SESSION_COUNT: {type: UINT32, desc: create session count} 122 DELETE_SESSION_COUNT: {type: UINT32, desc: delete session count} 123 124CONTROL_COMMAND_FAILED_RATE: 125 __BASE: {type: STATISTIC, level: MINOR, desc: avsession control command failed rate} 126 ALL_CTRL_COMMAND_COUNT: {type: UINT32, desc: all command count} 127 ALL_SUCCESS_CTRL_COMMAND: {type: UINT32, desc: success command count} 128 COMMAND_FAILED_RATE: {type: FLOAT, desc: command failed rate} 129 130SESSION_CAST: 131 __BASE: {type: BEHAVIOR, level: MINOR, desc: session cast} 132 BUNDLE_NAME: {type: STRING, desc: bundle name} 133 MODULE_NAME: {type: STRING, desc: module name} 134 ABILITY_NAME: {type: STRING, desc: ability name} 135 SESSION_PID: {type: INT32, desc: session pid} 136 SESSION_UID: {type: INT32, desc: session uid} 137 SESSION_ID: {type: STRING, desc: session id} 138 SESSION_TAG: {type: STRING, desc: session tag} 139 SESSION_TYPE: {type: INT32, desc: session type} 140 CAST_TYPE: {type: INT32, desc: cast type} 141 DEST_DEVICE_TYPE: {type: STRING, desc: dest device type} 142 DEST_DEVICE_NAME: {type: STRING, desc: dest device name} 143 DEST_DEVICE_ID: {type: INT32, desc: dest device id} 144 DETAILED_MSG: {type: STRING, desc: detailed msg} 145 146REMOTE_CONTROL_FAILED: 147 __BASE: {type: FAULT, level: MINOR, desc: remote control failed} 148 BUNDLE_NAME: {type: STRING, desc: bundle name} 149 SESSION_TYPE: {type: INT32, desc: session type} 150 AUDIO_STATUS: {type: INT32, desc: audio status} 151 ERROR_TYPE: {type: STRING, desc: error type} 152 ERROR_INFO: {type: STRING, desc: error info}