diff options
author | Dileep Marchya <dmarchya@codeaurora.org> | 2018-05-01 19:34:51 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-01 07:26:09 -0700 |
commit | 2f81614039653eb531f03475e889a9f2c23f0afe (patch) | |
tree | 76334d156c12472a1fba1a9d438a0387efb9881d /sdm | |
parent | 707b83938059e26a868e344b3ed1ccbc9d1ddcb8 (diff) | |
download | android_hardware_qcom_sdm710_display-2f81614039653eb531f03475e889a9f2c23f0afe.tar.gz android_hardware_qcom_sdm710_display-2f81614039653eb531f03475e889a9f2c23f0afe.tar.bz2 android_hardware_qcom_sdm710_display-2f81614039653eb531f03475e889a9f2c23f0afe.zip |
hwc2: Use libdebug defined macros for logging.
Change-Id: Ia44904aac0a54edf9f61b1789a4362a939d490ea
CRs-Fixed: 2211061
Diffstat (limited to 'sdm')
-rw-r--r-- | sdm/libs/hwc2/hwc_session.cpp | 6 | ||||
-rw-r--r-- | sdm/libs/hwc2/hwc_session_services.cpp | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sdm/libs/hwc2/hwc_session.cpp b/sdm/libs/hwc2/hwc_session.cpp index 57024d94..398b31bb 100644 --- a/sdm/libs/hwc2/hwc_session.cpp +++ b/sdm/libs/hwc2/hwc_session.cpp @@ -155,7 +155,7 @@ int HWCSession::Init() { iqservice->connect(android::sp<qClient::IQClient>(this)); qservice_ = reinterpret_cast<qService::QService *>(iqservice.get()); } else { - ALOGE("%s::%s: Failed to acquire %s", __CLASS__, __FUNCTION__, qservice_name); + DLOGE("Failed to acquire %s", qservice_name); return -EINVAL; } @@ -236,7 +236,7 @@ int HWCSession::Deinit() { DisplayError error = CoreInterface::DestroyCore(); if (error != kErrorNone) { - ALOGE("Display core de-initialization failed. Error = %d", error); + DLOGE("Display core de-initialization failed. Error = %d", error); } return 0; @@ -244,7 +244,7 @@ int HWCSession::Deinit() { int HWCSession::Open(const hw_module_t *module, const char *name, hw_device_t **device) { if (!module || !name || !device) { - ALOGE("%s::%s: Invalid parameters.", __CLASS__, __FUNCTION__); + DLOGE("Invalid parameters."); return -EINVAL; } diff --git a/sdm/libs/hwc2/hwc_session_services.cpp b/sdm/libs/hwc2/hwc_session_services.cpp index 69847118..57a5dac1 100644 --- a/sdm/libs/hwc2/hwc_session_services.cpp +++ b/sdm/libs/hwc2/hwc_session_services.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, The Linux Foundation. All rights reserved. +* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -43,10 +43,9 @@ using ::android::hardware::Void; void HWCSession::StartServices() { android::status_t status = IDisplayConfig::registerAsService(); if (status != android::OK) { - ALOGW("%s::%s: Could not register IDisplayConfig as service (%d).", - __CLASS__, __FUNCTION__, status); + DLOGW("Could not register IDisplayConfig as service (%d).", status); } else { - ALOGI("%s::%s: IDisplayConfig service registration completed.", __CLASS__, __FUNCTION__); + DLOGI("IDisplayConfig service registration completed."); } } |