Loading include/media/mediametadataretriever.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -77,7 +77,7 @@ public: const char* extractMetadata(int keyCode); const char* extractMetadata(int keyCode); private: private: static const sp<IMediaPlayerService>& getService(); static const sp<IMediaPlayerService> getService(); class DeathNotifier: public IBinder::DeathRecipient class DeathNotifier: public IBinder::DeathRecipient { { Loading media/libmedia/mediametadataretriever.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ Mutex MediaMetadataRetriever::sServiceLock; sp<IMediaPlayerService> MediaMetadataRetriever::sService; sp<IMediaPlayerService> MediaMetadataRetriever::sService; sp<MediaMetadataRetriever::DeathNotifier> MediaMetadataRetriever::sDeathNotifier; sp<MediaMetadataRetriever::DeathNotifier> MediaMetadataRetriever::sDeathNotifier; const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() const sp<IMediaPlayerService> MediaMetadataRetriever::getService() { { Mutex::Autolock lock(sServiceLock); Mutex::Autolock lock(sServiceLock); if (sService == 0) { if (sService == 0) { Loading @@ -59,7 +59,7 @@ const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() MediaMetadataRetriever::MediaMetadataRetriever() MediaMetadataRetriever::MediaMetadataRetriever() { { ALOGV("constructor"); ALOGV("constructor"); const sp<IMediaPlayerService>& service(getService()); const sp<IMediaPlayerService> service(getService()); if (service == 0) { if (service == 0) { ALOGE("failed to obtain MediaMetadataRetrieverService"); ALOGE("failed to obtain MediaMetadataRetrieverService"); return; return; Loading Loading
include/media/mediametadataretriever.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -77,7 +77,7 @@ public: const char* extractMetadata(int keyCode); const char* extractMetadata(int keyCode); private: private: static const sp<IMediaPlayerService>& getService(); static const sp<IMediaPlayerService> getService(); class DeathNotifier: public IBinder::DeathRecipient class DeathNotifier: public IBinder::DeathRecipient { { Loading
media/libmedia/mediametadataretriever.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ Mutex MediaMetadataRetriever::sServiceLock; sp<IMediaPlayerService> MediaMetadataRetriever::sService; sp<IMediaPlayerService> MediaMetadataRetriever::sService; sp<MediaMetadataRetriever::DeathNotifier> MediaMetadataRetriever::sDeathNotifier; sp<MediaMetadataRetriever::DeathNotifier> MediaMetadataRetriever::sDeathNotifier; const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() const sp<IMediaPlayerService> MediaMetadataRetriever::getService() { { Mutex::Autolock lock(sServiceLock); Mutex::Autolock lock(sServiceLock); if (sService == 0) { if (sService == 0) { Loading @@ -59,7 +59,7 @@ const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() MediaMetadataRetriever::MediaMetadataRetriever() MediaMetadataRetriever::MediaMetadataRetriever() { { ALOGV("constructor"); ALOGV("constructor"); const sp<IMediaPlayerService>& service(getService()); const sp<IMediaPlayerService> service(getService()); if (service == 0) { if (service == 0) { ALOGE("failed to obtain MediaMetadataRetrieverService"); ALOGE("failed to obtain MediaMetadataRetrieverService"); return; return; Loading