• 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
16AUDIO_DEVICE_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
23AUDIO_VOLUME_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  STREAMTYPE: {type: INT32, desc: stream type}
28  VOLUME: {type: FLOAT, desc: audio volume}
29
30AUDIO_STREAM_CHANGE:
31  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: capturer state change}
32  ISOUTPUT: {type: INT32, desc: output device}
33  STREAMID: {type: INT32, desc: stream id}
34  UID: {type: INT32, desc: user id}
35  PID: {type: INT32, desc: process id}
36  TRANSACTIONID: {type: UINT64, desc: transaction id}
37  STREAMTYPE: {type: INT32, desc: stream type}
38  STATE: {type: INT32, desc: audio state}
39  DEVICETYPE: {type: INT32, desc: device type}
40
41AUDIO_HEADSET_CHANGE:
42  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: headset connection state}
43  ISCONNECT: {type: INT32, desc: is plugged in}
44  HASMIC: {type: INT32, desc: mic available}
45  DEVICETYPE: {type: INT32, desc: device type}
46