13e5483f6Sopenharmony_ci/* 23e5483f6Sopenharmony_ci * Copyright (C) 2024 Huawei Device Co., Ltd. 33e5483f6Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 43e5483f6Sopenharmony_ci * you may not use this file except in compliance with the License. 53e5483f6Sopenharmony_ci * You may obtain a copy of the License at 63e5483f6Sopenharmony_ci * 73e5483f6Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 83e5483f6Sopenharmony_ci * 93e5483f6Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 103e5483f6Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 113e5483f6Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 123e5483f6Sopenharmony_ci * See the License for the specific language governing permissions and 133e5483f6Sopenharmony_ci * limitations under the License. 143e5483f6Sopenharmony_ci */ 153e5483f6Sopenharmony_ci 163e5483f6Sopenharmony_ci#ifndef DFX_CONST_H 173e5483f6Sopenharmony_ci#define DFX_CONST_H 183e5483f6Sopenharmony_ci 193e5483f6Sopenharmony_ci#include <string> 203e5483f6Sopenharmony_ci 213e5483f6Sopenharmony_cinamespace OHOS { 223e5483f6Sopenharmony_cinamespace Media { 233e5483f6Sopenharmony_ciconstexpr int32_t ONE_MINUTE = 60; 243e5483f6Sopenharmony_ci 253e5483f6Sopenharmony_cienum DfxType { 263e5483f6Sopenharmony_ci RINGTONELIB_DFX_MESSAGE = 0, 273e5483f6Sopenharmony_ci}; 283e5483f6Sopenharmony_ci 293e5483f6Sopenharmony_ciconst std::string ONE_WEEK = "168"; 303e5483f6Sopenharmony_ci 313e5483f6Sopenharmony_ciconst std::string DFX_COMMON_XML = "/data/storage/el2/base/preferences/dfx_ringtone_common.xml"; 323e5483f6Sopenharmony_ciconst std::string COMMON_XML_EL1 = "/data/storage/el1/base/preferences/ringtone_common.xml"; 333e5483f6Sopenharmony_ciconst std::string LAST_REPORT_TIME = "last_report_time"; 343e5483f6Sopenharmony_ci 353e5483f6Sopenharmony_ciconst std::string DATE_FORMAT = "%Y/%m/%d"; 363e5483f6Sopenharmony_ci} // namespace Media 373e5483f6Sopenharmony_ci} // namespace OHOS 383e5483f6Sopenharmony_ci 393e5483f6Sopenharmony_ci#endif // DFX_CONST_H 40