hwcomposer: disable verbose logging in info level
This commit is contained in:
parent
ea90344cfd
commit
8b6510e113
1 changed files with 11 additions and 11 deletions
|
|
@ -72,7 +72,7 @@ struct HwcContext {
|
|||
};
|
||||
|
||||
static void dump_layer(hwc_layer_1_t const* l) {
|
||||
ALOGI("\tname='%s', type=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}",
|
||||
ALOGD("\tname='%s', type=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}",
|
||||
l->name, l->compositionType, l->flags, l->handle, l->transform, l->blending,
|
||||
l->sourceCrop.left,
|
||||
l->sourceCrop.top,
|
||||
|
|
@ -88,7 +88,7 @@ static int hwc_prepare(hwc_composer_device_1_t* dev, size_t numDisplays,
|
|||
hwc_display_contents_1_t** displays) {
|
||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
if (displays == NULL || displays[0] == NULL)
|
||||
return -EINVAL;
|
||||
|
|
@ -170,7 +170,7 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
|
|||
hwc_display_contents_1_t** displays) {
|
||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
if (displays == NULL || displays[0] == NULL)
|
||||
return -EFAULT;
|
||||
|
|
@ -213,30 +213,30 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
|
|||
|
||||
static int hwc_event_control(hwc_composer_device_1* dev, int disp,
|
||||
int event, int enabled) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
static void hwc_register_procs(hwc_composer_device_1* dev,
|
||||
hwc_procs_t const* procs) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
}
|
||||
|
||||
static int hwc_blank(hwc_composer_device_1* dev, int disp, int blank) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int hwc_query(hwc_composer_device_1* dev, int what, int* value) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int hwc_device_close(hw_device_t* dev) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||
delete context;
|
||||
return 0;
|
||||
|
|
@ -244,7 +244,7 @@ static int hwc_device_close(hw_device_t* dev) {
|
|||
|
||||
static int hwc_get_display_configs(hwc_composer_device_1* dev, int disp,
|
||||
uint32_t* configs, size_t* numConfigs) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
if (disp != 0) {
|
||||
return -EINVAL;
|
||||
|
|
@ -263,7 +263,7 @@ static int hwc_get_display_attributes(hwc_composer_device_1* dev,
|
|||
int disp, uint32_t config,
|
||||
const uint32_t* attributes,
|
||||
int32_t* values) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
if (disp != 0 || config != 0) {
|
||||
return -EINVAL;
|
||||
|
|
@ -298,7 +298,7 @@ static int hwc_get_display_attributes(hwc_composer_device_1* dev,
|
|||
}
|
||||
|
||||
static int hwc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) {
|
||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
||||
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||
|
||||
if (strcmp(name, HWC_HARDWARE_COMPOSER) != 0)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue