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

Commit ad00fc08 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix google-explicit-constructor warnings in inputflinger." am: 6fabbc60

am: 0026ae3b

Change-Id: I09ba77791c4e5a82dd6bc7e4e07b6b2a5e7ccdff
parents 0fd47717 0026ae3b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -455,7 +455,7 @@ private:
    };

    struct ConfigurationChangedEntry : EventEntry {
        ConfigurationChangedEntry(nsecs_t eventTime);
        explicit ConfigurationChangedEntry(nsecs_t eventTime);
        virtual void appendDescription(String8& msg) const;

    protected:
@@ -591,7 +591,7 @@ private:

    class Connection;
    struct CommandEntry : Link<CommandEntry> {
        CommandEntry(Command command);
        explicit CommandEntry(Command command);
        ~CommandEntry();

        Command command;
+2 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ struct NotifyConfigurationChangedArgs : public NotifyArgs {

    inline NotifyConfigurationChangedArgs() { }

    NotifyConfigurationChangedArgs(nsecs_t eventTime);
    explicit NotifyConfigurationChangedArgs(nsecs_t eventTime);

    NotifyConfigurationChangedArgs(const NotifyConfigurationChangedArgs& other);

@@ -178,7 +178,7 @@ protected:
    virtual ~QueuedInputListener();

public:
    QueuedInputListener(const sp<InputListenerInterface>& innerListener);
    explicit QueuedInputListener(const sp<InputListenerInterface>& innerListener);

    virtual void notifyConfigurationChanged(const NotifyConfigurationChangedArgs* args);
    virtual void notifyKey(const NotifyKeyArgs* args);
+12 −12
Original line number Diff line number Diff line
@@ -484,7 +484,7 @@ protected:
        InputReader* mReader;

    public:
        ContextImpl(InputReader* reader);
        explicit ContextImpl(InputReader* reader);

        virtual void updateGlobalMetaState();
        virtual int32_t getGlobalMetaState();
@@ -568,7 +568,7 @@ private:
/* Reads raw events from the event hub and processes them, endlessly. */
class InputReaderThread : public Thread {
public:
    InputReaderThread(const sp<InputReaderInterface>& reader);
    explicit InputReaderThread(const sp<InputReaderInterface>& reader);
    virtual ~InputReaderThread();

private:
@@ -1007,7 +1007,7 @@ private:
 */
class InputMapper {
public:
    InputMapper(InputDevice* device);
    explicit InputMapper(InputDevice* device);
    virtual ~InputMapper();

    inline InputDevice* getDevice() { return mDevice; }
@@ -1058,7 +1058,7 @@ protected:

class SwitchInputMapper : public InputMapper {
public:
    SwitchInputMapper(InputDevice* device);
    explicit SwitchInputMapper(InputDevice* device);
    virtual ~SwitchInputMapper();

    virtual uint32_t getSources();
@@ -1078,7 +1078,7 @@ private:

class VibratorInputMapper : public InputMapper {
public:
    VibratorInputMapper(InputDevice* device);
    explicit VibratorInputMapper(InputDevice* device);
    virtual ~VibratorInputMapper();

    virtual uint32_t getSources();
@@ -1178,7 +1178,7 @@ private:

class CursorInputMapper : public InputMapper {
public:
    CursorInputMapper(InputDevice* device);
    explicit CursorInputMapper(InputDevice* device);
    virtual ~CursorInputMapper();

    virtual uint32_t getSources();
@@ -1243,7 +1243,7 @@ private:

class RotaryEncoderInputMapper : public InputMapper {
public:
    RotaryEncoderInputMapper(InputDevice* device);
    explicit RotaryEncoderInputMapper(InputDevice* device);
    virtual ~RotaryEncoderInputMapper();

    virtual uint32_t getSources();
@@ -1264,7 +1264,7 @@ private:

class TouchInputMapper : public InputMapper {
public:
    TouchInputMapper(InputDevice* device);
    explicit TouchInputMapper(InputDevice* device);
    virtual ~TouchInputMapper();

    virtual uint32_t getSources();
@@ -1887,7 +1887,7 @@ private:

class SingleTouchInputMapper : public TouchInputMapper {
public:
    SingleTouchInputMapper(InputDevice* device);
    explicit SingleTouchInputMapper(InputDevice* device);
    virtual ~SingleTouchInputMapper();

    virtual void reset(nsecs_t when);
@@ -1905,7 +1905,7 @@ private:

class MultiTouchInputMapper : public TouchInputMapper {
public:
    MultiTouchInputMapper(InputDevice* device);
    explicit MultiTouchInputMapper(InputDevice* device);
    virtual ~MultiTouchInputMapper();

    virtual void reset(nsecs_t when);
@@ -1926,7 +1926,7 @@ private:

class ExternalStylusInputMapper : public InputMapper {
public:
    ExternalStylusInputMapper(InputDevice* device);
    explicit ExternalStylusInputMapper(InputDevice* device);
    virtual ~ExternalStylusInputMapper() = default;

    virtual uint32_t getSources();
@@ -1948,7 +1948,7 @@ private:

class JoystickInputMapper : public InputMapper {
public:
    JoystickInputMapper(InputDevice* device);
    explicit JoystickInputMapper(InputDevice* device);
    virtual ~JoystickInputMapper();

    virtual uint32_t getSources();
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ public:
    void releaseInfo();

protected:
    InputWindowHandle(const sp<InputApplicationHandle>& inputApplicationHandle);
    explicit InputWindowHandle(const sp<InputApplicationHandle>& inputApplicationHandle);
    virtual ~InputWindowHandle();

    InputWindowInfo* mInfo;
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public:

class InputDriver : public InputDriverInterface {
public:
    InputDriver(const char* name);
    explicit InputDriver(const char* name);
    virtual ~InputDriver() = default;

    virtual void init() override;