Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16e6a903 authored by Colin Cross's avatar Colin Cross Committed by Android (Google) Code Review
Browse files

Merge changes I155f9f77,Ibb1aa07a

* changes:
  Fix trivial warnings hidden by -isystem
  Fix non-trivial warnings hidden by -isystem
parents da8a81dc b8c35f94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static void dumpSource(const sp<IMediaSource> &source, const String8 &filename)
                       1,
                       mbuf->range_length(),
                       out),
                (ssize_t)mbuf->range_length());
                mbuf->range_length());

        mbuf->release();
        mbuf = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class ICasListener;
using namespace media;
using namespace MediaCas;
using binder::Status;
class CasPlugin;
struct CasPlugin;
class SharedLibrary;

class CasImpl : public BnCas {
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ namespace android {
using namespace media;
using namespace MediaDescrambler;
using binder::Status;
class DescramblerPlugin;
struct DescramblerPlugin;
class SharedLibrary;

class DescramblerImpl : public BnDescrambler {
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ public:
            if (res != NO_ERROR) {
                return res;
            }
            if (i > 0 && !(x > lastx) /* handle nan */
            if ((i > 0 && !(x > lastx)) /* handle nan */
                    || y != y /* handle nan */) {
                // This is a std::map object which imposes sorted order
                // automatically on emplace.
+6 −9
Original line number Diff line number Diff line
@@ -32,11 +32,8 @@
#define LOG_TAG "VolumeShaper"

// turn on VolumeShaper logging
#if 0
#define VS_LOG ALOGD
#else
#define VS_LOG(...)
#endif
#define VS_LOGGING 0
#define VS_LOG(...) ALOGD_IF(VS_LOGGING, __VA_ARGS__)

namespace android {

@@ -90,17 +87,17 @@ public:
        Configuration()
            : Interpolator<S, T>()
            , mType(TYPE_SCALE)
            , mId(-1)
            , mOptionFlags(OPTION_FLAG_NONE)
            , mDurationMs(1000.)
            , mId(-1) {
            , mDurationMs(1000.) {
        }

        explicit Configuration(const Configuration &configuration)
            : Interpolator<S, T>(*static_cast<const Interpolator<S, T> *>(&configuration))
            , mType(configuration.mType)
            , mId(configuration.mId)
            , mOptionFlags(configuration.mOptionFlags)
            , mDurationMs(configuration.mDurationMs)
            , mId(configuration.mId) {
            , mDurationMs(configuration.mDurationMs) {
        }

        Type getType() const {
Loading