• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: AUDIO
15
16DEVICE_CHANGE:
17  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: audio output device}
18  ISOUTPUT: {type: INT32, desc: is output device}
19  STREAMID: {type: INT32, desc: stream id}
20  STREAMTYPE: {type: INT32, desc: stream type}
21  DEVICETYPE: {type: INT32, desc: device type}
22
23VOLUME_CHANGE:
24  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: audio input device}
25  ISOUTPUT: {type: INT32, desc: output device}
26  STREAMID: {type: INT32, desc: stream id}
27  APP_UID: {type: INT32, desc: user id}
28  APP_PID: {type: INT32, desc: process id}
29  STREAMTYPE: {type: INT32, desc: stream type}
30  VOLUME: {type: FLOAT, desc: audio volume}
31  SYSVOLUME: {type: FLOAT, desc: sys volume}
32  VOLUMEFACTOR: {type: FLOAT, desc: stream volume factor}
33  POWERVOLUMEFACTOR: {type: FLOAT, desc: power volume factor}
34
35STREAM_CHANGE:
36  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: capturer state change}
37  ISOUTPUT: {type: INT32, desc: output device}
38  STREAMID: {type: INT32, desc: stream id}
39  UID: {type: INT32, desc: user id}
40  PID: {type: INT32, desc: process id}
41  TRANSACTIONID: {type: UINT64, desc: transaction id}
42  STREAMTYPE: {type: INT32, desc: stream type}
43  STATE: {type: INT32, desc: audio state}
44  DEVICETYPE: {type: INT32, desc: device type}
45
46HEADSET_CHANGE:
47  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: headset connection state}
48  ISCONNECT: {type: INT32, desc: is plugged in}
49  HASMIC: {type: INT32, desc: mic available}
50  DEVICETYPE: {type: INT32, desc: device type}
51
52BACKGROUND_SILENT_PLAYBACK:
53  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: application play silently background}
54  APP_NAME: {type: STRING, desc: application name}
55  APP_VERSION_CODE: {type: UINT32, desc: application version code}
56