From df64d15042bbd5e0e4933ac49bf3c177dd94752c Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 4 Jan 2012 20:05:49 +0000 Subject: Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea --- media/mtp/MtpDevice.cpp | 6 +++--- media/mtp/MtpProperty.cpp | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'media/mtp') diff --git a/media/mtp/MtpDevice.cpp b/media/mtp/MtpDevice.cpp index b370225..2fc6ba8 100644 --- a/media/mtp/MtpDevice.cpp +++ b/media/mtp/MtpDevice.cpp @@ -232,7 +232,7 @@ void MtpDevice::print() { mDeviceInfo->print(); if (mDeviceInfo->mDeviceProperties) { - LOGI("***** DEVICE PROPERTIES *****\n"); + ALOGI("***** DEVICE PROPERTIES *****\n"); int count = mDeviceInfo->mDeviceProperties->size(); for (int i = 0; i < count; i++) { MtpDeviceProperty propCode = (*mDeviceInfo->mDeviceProperties)[i]; @@ -246,11 +246,11 @@ void MtpDevice::print() { } if (mDeviceInfo->mPlaybackFormats) { - LOGI("***** OBJECT PROPERTIES *****\n"); + ALOGI("***** OBJECT PROPERTIES *****\n"); int count = mDeviceInfo->mPlaybackFormats->size(); for (int i = 0; i < count; i++) { MtpObjectFormat format = (*mDeviceInfo->mPlaybackFormats)[i]; - LOGI("*** FORMAT: %s\n", MtpDebug::getFormatCodeName(format)); + ALOGI("*** FORMAT: %s\n", MtpDebug::getFormatCodeName(format)); MtpObjectPropertyList* props = getObjectPropsSupported(format); if (props) { for (int j = 0; j < props->size(); j++) { diff --git a/media/mtp/MtpProperty.cpp b/media/mtp/MtpProperty.cpp index 8016c35..d06f214 100644 --- a/media/mtp/MtpProperty.cpp +++ b/media/mtp/MtpProperty.cpp @@ -320,18 +320,18 @@ void MtpProperty::print() { MtpString buffer; bool deviceProp = isDeviceProperty(); if (deviceProp) - LOGI(" %s (%04X)", MtpDebug::getDevicePropCodeName(mCode), mCode); + ALOGI(" %s (%04X)", MtpDebug::getDevicePropCodeName(mCode), mCode); else - LOGI(" %s (%04X)", MtpDebug::getObjectPropCodeName(mCode), mCode); - LOGI(" type %04X", mType); - LOGI(" writeable %s", (mWriteable ? "true" : "false")); + ALOGI(" %s (%04X)", MtpDebug::getObjectPropCodeName(mCode), mCode); + ALOGI(" type %04X", mType); + ALOGI(" writeable %s", (mWriteable ? "true" : "false")); buffer = " default value: "; print(mDefaultValue, buffer); - LOGI("%s", (const char *)buffer); + ALOGI("%s", (const char *)buffer); if (deviceProp) { buffer = " current value: "; print(mCurrentValue, buffer); - LOGI("%s", (const char *)buffer); + ALOGI("%s", (const char *)buffer); } switch (mFormFlag) { case kFormNone: @@ -344,7 +344,7 @@ void MtpProperty::print() { buffer += ", "; print(mStepSize, buffer); buffer += ")"; - LOGI("%s", (const char *)buffer); + ALOGI("%s", (const char *)buffer); break; case kFormEnum: buffer = " Enum { "; @@ -353,13 +353,13 @@ void MtpProperty::print() { buffer += " "; } buffer += "}"; - LOGI("%s", (const char *)buffer); + ALOGI("%s", (const char *)buffer); break; case kFormDateTime: - LOGI(" DateTime\n"); + ALOGI(" DateTime\n"); break; default: - LOGI(" form %d\n", mFormFlag); + ALOGI(" form %d\n", mFormFlag); break; } } -- cgit v1.1