Convert to Android-style logging and cleanup log includes
Change-Id: Ic2673ad6f474bd593fa1c5023e50a4120ba3ce95
This commit is contained in:
parent
1e0e2ca0a5
commit
57d43b853f
3 changed files with 5 additions and 6 deletions
|
|
@ -19,12 +19,10 @@
|
|||
|
||||
#include "Composer.h"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <android/binder_ibinder_platform.h>
|
||||
|
||||
#include "hwc3/ComposerClient.h"
|
||||
#include "hwc3/Utils.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/properties.h"
|
||||
|
||||
using ::android::drm_hwcomposer::Properties;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <aidl/android/hardware/graphics/composer3/PresentOrValidate.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/RenderIntent.h>
|
||||
#include <aidlcommonsupport/NativeHandle.h>
|
||||
#include <android-base/logging.h>
|
||||
#include <android/binder_auto_utils.h>
|
||||
#include <android/binder_ibinder_platform.h>
|
||||
#include <cutils/native_handle.h>
|
||||
|
|
@ -50,6 +49,7 @@
|
|||
#include "hwc3/Utils.h"
|
||||
#include "stats/CompositionStatsAtomReporter.h"
|
||||
#include "stats/CompositionStatsPoller.h"
|
||||
#include "utils/log.h"
|
||||
|
||||
using ::android::drm_hwcomposer::BufferBlendMode;
|
||||
using ::android::drm_hwcomposer::BufferColorSpace;
|
||||
|
|
@ -513,7 +513,7 @@ ComposerClient::~ComposerClient() {
|
|||
hwc_->DeinitDisplays();
|
||||
hwc_.reset();
|
||||
}
|
||||
LOG(DEBUG) << "removed composer client";
|
||||
ALOGD("removed composer client");
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus ComposerClient::createLayer(int64_t display_handle,
|
||||
|
|
@ -1566,7 +1566,7 @@ ndk::ScopedAStatus ComposerClient::startHdcpNegotiation(
|
|||
if (levels.connectedLevel != drm::HdcpLevel::HDCP_NONE &&
|
||||
levels.connectedLevel != drm::HdcpLevel::HDCP_UNKNOWN) {
|
||||
ALOGI("Requested to start HDCP for connected level : %d",
|
||||
levels.connectedLevel);
|
||||
static_cast<int>(levels.connectedLevel));
|
||||
if (!display->StartHdcp(true)) {
|
||||
return ToBinderStatus(hwc3::Error::kUnsupported);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,10 +17,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <aidl/android/hardware/graphics/composer3/IComposerClient.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "utils/log.h"
|
||||
|
||||
// NOLINTNEXTLINE
|
||||
#define DEBUG_FUNC() ALOGV("%s", __func__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue