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 OHOS_COMMUNICATION_LOG_TAGS_H 17 #define OHOS_COMMUNICATION_LOG_TAGS_H 18 19 namespace OHOS { 20 const unsigned int LOG_ID_IPC_BASE = 0xD0057C0; 21 const unsigned int LOG_ID_TEST = 0xD000F00; 22 23 const unsigned int LOG_ID_IPC_COMMON = LOG_ID_IPC_BASE | 0x01; 24 const unsigned int LOG_ID_IPC_PROXY = LOG_ID_IPC_BASE | 0x02; 25 const unsigned int LOG_ID_IPC_STUB = LOG_ID_IPC_BASE | 0x03; 26 const unsigned int LOG_ID_IPC_THREAD_SKELETON = LOG_ID_IPC_BASE | 0x04; 27 const unsigned int LOG_ID_IPC_PROC_SKELETON = LOG_ID_IPC_BASE | 0x05; 28 const unsigned int LOG_ID_IPC_BINDER_INVOKER = LOG_ID_IPC_BASE | 0x06; 29 const unsigned int LOG_ID_IPC_BINDER_CONNECT = LOG_ID_IPC_BASE | 0x07; 30 const unsigned int LOG_ID_IPC_NAPI = LOG_ID_IPC_BASE | 0x08; 31 const unsigned int LOG_ID_IPC_OTHER = LOG_ID_IPC_BASE | 0x09; 32 const unsigned int LOG_ID_IPC_RUST = LOG_ID_IPC_BASE | 0x0A; 33 const unsigned int LOG_ID_IPC_PARCEL = LOG_ID_IPC_BASE | 0x0B; 34 const unsigned int LOG_ID_IPC_PAYLOAD_STATISTICS_IMPL = LOG_ID_IPC_BASE | 0x0C; 35 const unsigned int LOG_ID_IPC_CAPI = LOG_ID_IPC_BASE | 0x0D; 36 const unsigned int LOG_ID_IPC_TEST = 0xD000F00; 37 38 const unsigned int LOG_ID_RPC_COMMON = LOG_ID_IPC_BASE | 0x10; 39 const unsigned int LOG_ID_RPC_SESSION_OBJ = LOG_ID_IPC_BASE | 0x11; 40 const unsigned int LOG_ID_RPC_DBINDER_SER = LOG_ID_IPC_BASE | 0x12; 41 const unsigned int LOG_ID_RPC_DBINDER_SER_STUB = LOG_ID_IPC_BASE | 0x13; 42 const unsigned int LOG_ID_RPC_DBINDER_INVOKER = LOG_ID_IPC_BASE | 0x14; 43 const unsigned int LOG_ID_RPC_REMOTE_LISTENER = LOG_ID_IPC_BASE | 0x15; 44 const unsigned int LOG_ID_RPC_DBINDER_CB_STUB = LOG_ID_IPC_BASE | 0x16; 45 const unsigned int LOG_ID_IPC_DBINDER_SOFTBUS_CLIENT = LOG_ID_IPC_BASE | 0x17; 46 const unsigned int LOG_ID_IPC_PEER_HOLDER = LOG_ID_IPC_BASE | 0x18; 47 } // namespace OHOS 48 #endif // OHOS_COMMUNICATION_LOG_TAGS_H 49