#  Copyright (c) 2024 Huawei Device Co., Ltd.
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

#####################################################
#     below is the format of defining event         #
#####################################################
#domain: domain name.  [Only one domain name can be defined at the top]
#
#author: the author name who defined this event.
#date: the date when this event was defined, format is YYYY-MM-DD.
#logged: source file which refer to this event.
#usage: the usage of this event.
#//Define event name and event properties.
#@EVENT_NAME: the event definition part begin.
#  // __BASE is used for defining the basic info of the event.
#  // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
#  // "level" optional values are: CRITICAL, MINOR.
#  // "tag" set tags with may used by subscriber of this event, multiple tags divided by space.
#  // "desc" full description of this event.
#  @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
#  // follow the __BASE block, each line defines a parameter of this event.
#  // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
#  // "arrsize" of the parameter is an array, set a non-zero value.
#  // "desc" full description of this parameter.

# DESCRIPTION contains userid,request type.
# REASON contains errno num, and failed interface.

domain: RINGTONE_LIBRARY

RINGTONELIB_DFX_MESSAGE:
  __BASE: { type: STATISTIC, level: MINOR, desc: preset and custom ringtone number and size }
  DATE: { type: STRING, desc: report date }
  PRESET_NUM: { type: INT32, desc: preset ringtone number }
  CUSTOM_NUM: { type: INT32, desc: custom ringtone number }
  CUST_TOTAL_SIZE: { type: INT64, desc: custom ringtone total size on disk (bytes) }
  CUST_ALARM_NUM: { type: INT32, desc: custom alarm ringtone number }
  CUST_ALARM_SIZE: { type: INT64, desc: custom alarm ringtone size on disk (bytes) }
  CUST_CONTACT_AUDIO_NUM: { type: INT32, desc: custom contact audio ringtone number }
  CUST_CONTACT_VIDEO_NUM: { type: INT32, desc: custom contact video ringtone number }
  CUST_CONTACT_SIZE: { type: INT64, desc: custom contact ringtone size on disk (bytes) }
  CUST_APP_NOTIF_NUM: { type: INT32, desc: custom app notification ringtone number }
  CUST_APP_NOTIF_SIZE: { type: INT64, desc: custom app notification ringtone size on disk (bytes) }
  CUST_NOTIF_NUM: { type: INT32, desc: custom notification ringtone number }
  CUST_NOTIF_SIZE: { type: INT64, desc: custom notification ringtone size on disk (bytes) }
  CUST_RINGTONE_AUDIO_NUM: { type: INT32, desc: custom ringtone audio number }
  CUST_RINGTONE_VIDEO_NUM: { type: INT32, desc: custom ringtone video number }
  CUST_RINGTONE_SIZE: { type: INT64, desc: custom ringtone audio size on disk (bytes) }
  CUST_VIDEO_TOTAL_SIZE: { type: INT64, desc: custom ringtone video total size in db (bytes) }