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

Commit 7e7a4691 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Fix unused-parameter warnings

These are exposed when frameworks/av/include is moved from being a
system include directory to a normal include directory.

Test: m -j checkbuild
Change-Id: I0e3787fbee70339f7dcbc979f448800ecfff0f17
Merged-In: I0e3787fbee70339f7dcbc979f448800ecfff0f17
parent 16b37bb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -462,7 +462,7 @@ private:
        }
        }


        // IBinder::DeathRecipient
        // IBinder::DeathRecipient
        virtual void binderDied(const wp<IBinder>& who) {
        virtual void binderDied(const wp<IBinder>& /*who*/) {
            sp<AudioEffect> effect = mEffect.promote();
            sp<AudioEffect> effect = mEffect.promote();
            if (effect != 0) {
            if (effect != 0) {
                effect->binderDied();
                effect->binderDied();
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ public:


    // Invoked by buffer consumer when a new timestamp is available.
    // Invoked by buffer consumer when a new timestamp is available.
    // Default implementation ignores the timestamp.
    // Default implementation ignores the timestamp.
    virtual void    onTimestamp(const ExtendedTimestamp& timestamp) { }
    virtual void    onTimestamp(const ExtendedTimestamp& /*timestamp*/) { }
};
};


}   // namespace android
}   // namespace android
+1 −1
Original line number Original line Diff line number Diff line
@@ -261,7 +261,7 @@ public:


protected:
protected:
    // check if the codec is secure.
    // check if the codec is secure.
    virtual bool isSecure(IOMX::node_id node) {
    virtual bool isSecure(IOMX::node_id /*node*/) {
        return false;
        return false;
    }
    }
};
};
+2 −2
Original line number Original line Diff line number Diff line
@@ -54,9 +54,9 @@ public:
    MediaMetadataRetrieverInterface() {}
    MediaMetadataRetrieverInterface() {}


    virtual             ~MediaMetadataRetrieverInterface() {}
    virtual             ~MediaMetadataRetrieverInterface() {}
    virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; }
    virtual VideoFrame* getFrameAtTime(int64_t /*timeUs*/, int /*option*/) { return NULL; }
    virtual MediaAlbumArt* extractAlbumArt() { return NULL; }
    virtual MediaAlbumArt* extractAlbumArt() { return NULL; }
    virtual const char* extractMetadata(int keyCode) { return NULL; }
    virtual const char* extractMetadata(int /*keyCode*/) { return NULL; }
};
};


}; // namespace android
}; // namespace android
+1 −1
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ struct MediaRecorderBase {
                               const sp<ICameraRecordingProxy>& proxy) = 0;
                               const sp<ICameraRecordingProxy>& proxy) = 0;
    virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
    virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
    virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
    virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
    virtual status_t setOutputFileAuxiliary(int fd) {return INVALID_OPERATION;}
    virtual status_t setOutputFileAuxiliary(int /*fd*/) {return INVALID_OPERATION;}
    virtual status_t setParameters(const String8& params) = 0;
    virtual status_t setParameters(const String8& params) = 0;
    virtual status_t setListener(const sp<IMediaRecorderClient>& listener) = 0;
    virtual status_t setListener(const sp<IMediaRecorderClient>& listener) = 0;
    virtual status_t setClientName(const String16& clientName) = 0;
    virtual status_t setClientName(const String16& clientName) = 0;
Loading