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

Commit d932dc73 authored by Robert Delgado's avatar Robert Delgado Committed by Android (Google) Code Review
Browse files

Merge "Included android surfaceflinger package to the proto."

parents b03abf05 cb12994d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package android.surfaceflinger;

message Trace {
    repeated Increment increment = 1;
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include "Event.h"

using namespace android;
using Increment = surfaceflinger::Increment;

Event::Event(Increment::IncrementCase type) : mIncrementType(type) {}

+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@

namespace android {

using Increment = surfaceflinger::Increment;

class Event {
  public:
    Event(Increment::IncrementCase);
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@
#include <unordered_map>
#include <utility>

using namespace android::surfaceflinger;

namespace android {

const auto DEFAULT_PATH = "/data/local/tmp/SurfaceTrace.dat";
+7 −0
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@ struct ComposerState;
struct DisplayDeviceState;
struct DisplayState;
struct layer_state_t;
using Transaction = surfaceflinger::Transaction;
using Trace = surfaceflinger::Trace;
using Rectangle = surfaceflinger::Rectangle;
using SurfaceChange = surfaceflinger::SurfaceChange;
using Increment = surfaceflinger::Increment;
using DisplayChange = surfaceflinger::DisplayChange;

constexpr auto DEFAULT_FILENAME = "/data/SurfaceTrace.dat";

@@ -183,6 +189,7 @@ private:
};

} // namespace impl

} // namespace android

#endif // ANDROID_SURFACEINTERCEPTOR_H
Loading