Loading media/libstagefright/foundation/ALooperRoster.cpp +3 −1 Original line number Original line Diff line number Diff line Loading @@ -19,6 +19,8 @@ #include <utils/Log.h> #include <utils/Log.h> #include <utils/String8.h> #include <utils/String8.h> #include <inttypes.h> #include "ALooperRoster.h" #include "ALooperRoster.h" #include "ADebug.h" #include "ADebug.h" Loading Loading @@ -142,7 +144,7 @@ void ALooperRoster::dump(int fd, const Vector<String16>& args) { sp<AHandler> handler = info.mHandler.promote(); sp<AHandler> handler = info.mHandler.promote(); if (handler != NULL) { if (handler != NULL) { handler->mVerboseStats = verboseStats; handler->mVerboseStats = verboseStats; s.appendFormat(": %u messages processed", handler->mMessageCounter); s.appendFormat(": %" PRIu64 " messages processed", handler->mMessageCounter); if (verboseStats) { if (verboseStats) { for (size_t j = 0; j < handler->mMessages.size(); j++) { for (size_t j = 0; j < handler->mMessages.size(); j++) { char fourcc[15]; char fourcc[15]; Loading media/libstagefright/foundation/include/media/stagefright/foundation/AHandler.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -66,7 +66,7 @@ private: } } bool mVerboseStats; bool mVerboseStats; uint32_t mMessageCounter; uint64_t mMessageCounter; KeyedVector<uint32_t, uint32_t> mMessages; KeyedVector<uint32_t, uint32_t> mMessages; void deliverMessage(const sp<AMessage> &msg); void deliverMessage(const sp<AMessage> &msg); Loading Loading
media/libstagefright/foundation/ALooperRoster.cpp +3 −1 Original line number Original line Diff line number Diff line Loading @@ -19,6 +19,8 @@ #include <utils/Log.h> #include <utils/Log.h> #include <utils/String8.h> #include <utils/String8.h> #include <inttypes.h> #include "ALooperRoster.h" #include "ALooperRoster.h" #include "ADebug.h" #include "ADebug.h" Loading Loading @@ -142,7 +144,7 @@ void ALooperRoster::dump(int fd, const Vector<String16>& args) { sp<AHandler> handler = info.mHandler.promote(); sp<AHandler> handler = info.mHandler.promote(); if (handler != NULL) { if (handler != NULL) { handler->mVerboseStats = verboseStats; handler->mVerboseStats = verboseStats; s.appendFormat(": %u messages processed", handler->mMessageCounter); s.appendFormat(": %" PRIu64 " messages processed", handler->mMessageCounter); if (verboseStats) { if (verboseStats) { for (size_t j = 0; j < handler->mMessages.size(); j++) { for (size_t j = 0; j < handler->mMessages.size(); j++) { char fourcc[15]; char fourcc[15]; Loading
media/libstagefright/foundation/include/media/stagefright/foundation/AHandler.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -66,7 +66,7 @@ private: } } bool mVerboseStats; bool mVerboseStats; uint32_t mMessageCounter; uint64_t mMessageCounter; KeyedVector<uint32_t, uint32_t> mMessages; KeyedVector<uint32_t, uint32_t> mMessages; void deliverMessage(const sp<AMessage> &msg); void deliverMessage(const sp<AMessage> &msg); Loading