1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef SENSORS_LOG_DOMAIN_H 17 #define SENSORS_LOG_DOMAIN_H 18 19 #include "hilog/log.h" 20 21 namespace OHOS { 22 namespace SensorsLogDomain { 23 constexpr uint32_t COMMON = 0xD002700; 24 constexpr uint32_t SENSOR_ADAPTER = 0xD002701; 25 constexpr uint32_t SENSOR_SERVICE = 0xD002702; 26 constexpr uint32_t SENSOR_UTILS = 0xD002703; 27 constexpr uint32_t SENSOR_TEST = 0xD002704; 28 constexpr uint32_t SENSOR_NATIVE = 0xD002705; 29 constexpr uint32_t SENSOR_JNI = 0xD002706; 30 constexpr uint32_t SENSORS_IMPLEMENT = 0xD002707; 31 constexpr uint32_t SENSORS_INTERFACE = 0xD002708; 32 constexpr uint32_t MISCDEVICE_SERVICE = 0xD002751; 33 constexpr uint32_t MISCDEVICE_FWK = 0xD002752; 34 constexpr uint32_t MISCDEVICE_LIGHT_JNI = 0xD002753; 35 constexpr uint32_t MISCDEVICE_VIBRATOR_JNI = 0xD002754; 36 constexpr uint32_t MISCDEVICE_LIGHT_NATIVE = 0xD002755; 37 constexpr uint32_t MISCDEVICE_VIBRATOR_NATIVE = 0xD002756; 38 constexpr uint32_t MISCDEVICE_VIBRATOR_INTERFACE = 0xD002757; 39 } // namespace SensorsLogDomain 40 } // namespace OHOS 41 #endif // SENSORS_LOG_DOMAIN_H 42