Loading EventLogTags.logtagsdeleted 100644 → 0 +0 −38 Original line number Diff line number Diff line # The entries in this file map a sparse set of log tag numbers to tag names. # This is installed on the device, in /system/etc, and parsed by logcat. # # Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the # negative values alone for now.) # # Tag names are one or more ASCII letters and numbers or underscores, i.e. # "[A-Z][a-z][0-9]_". Do not include spaces or punctuation (the former # impacts log readability, the latter makes regex searches more annoying). # # Tag numbers and names are separated by whitespace. Blank lines and lines # starting with '#' are ignored. # # Optionally, after the tag names can be put a description for the value(s) # of the tag. Description are in the format # (<name>|data type[|data unit]) # Multiple values are separated by commas. # # The data type is a number from the following values: # 1: int # 2: long # 3: string # 4: list # # The data unit is a number taken from the following list: # 1: Number of objects # 2: Number of bytes # 3: Number of milliseconds # 4: Number of allocations # 5: Id # 6: Percent # Default value for data of type int/long is 2 (bytes). # # TODO: generate ".java" and ".h" files with integer constants from this file. 1010000 bt_hci_timeout (opcode|1) 1010001 bt_config_source (opcode|1) 1010002 bt_hci_unknown_type (hci_type|1) system/btif/src/btif_config.cc +0 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "raw_address.h" #include "stack/include/bt_octets.h" #define BT_CONFIG_SOURCE_TAG_NUM 1010001 #define TEMPORARY_SECTION_CAPACITY 10000 #define INFO_SECTION "Info" Loading system/device/src/device_iot_config_int.cc +0 −2 Original line number Diff line number Diff line Loading @@ -157,8 +157,6 @@ future_t* device_iot_config_module_init(void) { return future_new_immediate(FUTURE_FAIL); } LOG_EVENT_INT(BT_IOT_CONFIG_SOURCE_TAG_NUM, device_iot_config_source); return future_new_immediate(FUTURE_SUCCESS); } Loading system/device/src/device_iot_config_int.h +0 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,6 @@ #include "osi/include/config.h" #include "osi/include/osi.h" #define BT_IOT_CONFIG_SOURCE_TAG_NUM 1010003 #define PROPERTY_ENABLE_LOGGING \ "persist.bluetooth.device_iot_config.enablelogging" #define PROPERTY_FACTORY_RESET "persist.bluetooth.factoryreset" Loading system/gd/os/log.h +0 −8 Original line number Diff line number Diff line Loading @@ -117,10 +117,6 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG is null after header inclusion"); abort(); \ } while (false) #ifndef LOG_EVENT_INT #define LOG_EVENT_INT(...) #endif #else /* syslog didn't work well here since we would be redefining LOG_DEBUG. */ #include <sys/syscall.h> Loading Loading @@ -186,10 +182,6 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG is null after header inclusion"); } while (false) #endif #ifndef LOG_EVENT_INT #define LOG_EVENT_INT(...) #endif #endif /* defined(OS_ANDROID) */ #define ASSERT(condition) \ Loading Loading
EventLogTags.logtagsdeleted 100644 → 0 +0 −38 Original line number Diff line number Diff line # The entries in this file map a sparse set of log tag numbers to tag names. # This is installed on the device, in /system/etc, and parsed by logcat. # # Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the # negative values alone for now.) # # Tag names are one or more ASCII letters and numbers or underscores, i.e. # "[A-Z][a-z][0-9]_". Do not include spaces or punctuation (the former # impacts log readability, the latter makes regex searches more annoying). # # Tag numbers and names are separated by whitespace. Blank lines and lines # starting with '#' are ignored. # # Optionally, after the tag names can be put a description for the value(s) # of the tag. Description are in the format # (<name>|data type[|data unit]) # Multiple values are separated by commas. # # The data type is a number from the following values: # 1: int # 2: long # 3: string # 4: list # # The data unit is a number taken from the following list: # 1: Number of objects # 2: Number of bytes # 3: Number of milliseconds # 4: Number of allocations # 5: Id # 6: Percent # Default value for data of type int/long is 2 (bytes). # # TODO: generate ".java" and ".h" files with integer constants from this file. 1010000 bt_hci_timeout (opcode|1) 1010001 bt_config_source (opcode|1) 1010002 bt_hci_unknown_type (hci_type|1)
system/btif/src/btif_config.cc +0 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "raw_address.h" #include "stack/include/bt_octets.h" #define BT_CONFIG_SOURCE_TAG_NUM 1010001 #define TEMPORARY_SECTION_CAPACITY 10000 #define INFO_SECTION "Info" Loading
system/device/src/device_iot_config_int.cc +0 −2 Original line number Diff line number Diff line Loading @@ -157,8 +157,6 @@ future_t* device_iot_config_module_init(void) { return future_new_immediate(FUTURE_FAIL); } LOG_EVENT_INT(BT_IOT_CONFIG_SOURCE_TAG_NUM, device_iot_config_source); return future_new_immediate(FUTURE_SUCCESS); } Loading
system/device/src/device_iot_config_int.h +0 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,6 @@ #include "osi/include/config.h" #include "osi/include/osi.h" #define BT_IOT_CONFIG_SOURCE_TAG_NUM 1010003 #define PROPERTY_ENABLE_LOGGING \ "persist.bluetooth.device_iot_config.enablelogging" #define PROPERTY_FACTORY_RESET "persist.bluetooth.factoryreset" Loading
system/gd/os/log.h +0 −8 Original line number Diff line number Diff line Loading @@ -117,10 +117,6 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG is null after header inclusion"); abort(); \ } while (false) #ifndef LOG_EVENT_INT #define LOG_EVENT_INT(...) #endif #else /* syslog didn't work well here since we would be redefining LOG_DEBUG. */ #include <sys/syscall.h> Loading Loading @@ -186,10 +182,6 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG is null after header inclusion"); } while (false) #endif #ifndef LOG_EVENT_INT #define LOG_EVENT_INT(...) #endif #endif /* defined(OS_ANDROID) */ #define ASSERT(condition) \ Loading