1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: frameworks/base/libs/hwui/protos/graphicsstats.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_util.h>
33 // @@protoc_insertion_point(includes)
34 #include <google/protobuf/port_def.inc>
35 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto
36 PROTOBUF_NAMESPACE_OPEN
37 namespace internal {
38 class AnyMetadata;
39 } // namespace internal
40 PROTOBUF_NAMESPACE_CLOSE
41
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto {
44 static const ::uint32_t offsets[];
45 };
46 namespace android {
47 namespace uirenderer {
48 namespace protos {
49 class GraphicsStatsHistogramBucketProto;
50 struct GraphicsStatsHistogramBucketProtoDefaultTypeInternal;
51 extern GraphicsStatsHistogramBucketProtoDefaultTypeInternal _GraphicsStatsHistogramBucketProto_default_instance_;
52 class GraphicsStatsJankSummaryProto;
53 struct GraphicsStatsJankSummaryProtoDefaultTypeInternal;
54 extern GraphicsStatsJankSummaryProtoDefaultTypeInternal _GraphicsStatsJankSummaryProto_default_instance_;
55 class GraphicsStatsProto;
56 struct GraphicsStatsProtoDefaultTypeInternal;
57 extern GraphicsStatsProtoDefaultTypeInternal _GraphicsStatsProto_default_instance_;
58 class GraphicsStatsServiceDumpProto;
59 struct GraphicsStatsServiceDumpProtoDefaultTypeInternal;
60 extern GraphicsStatsServiceDumpProtoDefaultTypeInternal _GraphicsStatsServiceDumpProto_default_instance_;
61 } // namespace protos
62 } // namespace uirenderer
63 } // namespace android
64 PROTOBUF_NAMESPACE_OPEN
65 template<> ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* Arena::CreateMaybeMessage<::android::uirenderer::protos::GraphicsStatsHistogramBucketProto>(Arena*);
66 template<> ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* Arena::CreateMaybeMessage<::android::uirenderer::protos::GraphicsStatsJankSummaryProto>(Arena*);
67 template<> ::android::uirenderer::protos::GraphicsStatsProto* Arena::CreateMaybeMessage<::android::uirenderer::protos::GraphicsStatsProto>(Arena*);
68 template<> ::android::uirenderer::protos::GraphicsStatsServiceDumpProto* Arena::CreateMaybeMessage<::android::uirenderer::protos::GraphicsStatsServiceDumpProto>(Arena*);
69 PROTOBUF_NAMESPACE_CLOSE
70 namespace android {
71 namespace uirenderer {
72 namespace protos {
73
74 enum GraphicsStatsProto_PipelineType : int {
75 GraphicsStatsProto_PipelineType_UNKNOWN = 0,
76 GraphicsStatsProto_PipelineType_GL = 1,
77 GraphicsStatsProto_PipelineType_VULKAN = 2
78 };
79 bool GraphicsStatsProto_PipelineType_IsValid(int value);
80 constexpr GraphicsStatsProto_PipelineType GraphicsStatsProto_PipelineType_PipelineType_MIN = GraphicsStatsProto_PipelineType_UNKNOWN;
81 constexpr GraphicsStatsProto_PipelineType GraphicsStatsProto_PipelineType_PipelineType_MAX = GraphicsStatsProto_PipelineType_VULKAN;
82 constexpr int GraphicsStatsProto_PipelineType_PipelineType_ARRAYSIZE = GraphicsStatsProto_PipelineType_PipelineType_MAX + 1;
83
84 const std::string& GraphicsStatsProto_PipelineType_Name(GraphicsStatsProto_PipelineType value);
85 template<typename T>
GraphicsStatsProto_PipelineType_Name(T enum_t_value)86 inline const std::string& GraphicsStatsProto_PipelineType_Name(T enum_t_value) {
87 static_assert(::std::is_same<T, GraphicsStatsProto_PipelineType>::value ||
88 ::std::is_integral<T>::value,
89 "Incorrect type passed to function GraphicsStatsProto_PipelineType_Name.");
90 return GraphicsStatsProto_PipelineType_Name(static_cast<GraphicsStatsProto_PipelineType>(enum_t_value));
91 }
92 bool GraphicsStatsProto_PipelineType_Parse(
93 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GraphicsStatsProto_PipelineType* value);
94 // ===================================================================
95
96 class GraphicsStatsServiceDumpProto final :
97 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:android.uirenderer.protos.GraphicsStatsServiceDumpProto) */ {
98 public:
GraphicsStatsServiceDumpProto()99 inline GraphicsStatsServiceDumpProto() : GraphicsStatsServiceDumpProto(nullptr) {}
100 ~GraphicsStatsServiceDumpProto() override;
101 explicit PROTOBUF_CONSTEXPR GraphicsStatsServiceDumpProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
102
103 GraphicsStatsServiceDumpProto(const GraphicsStatsServiceDumpProto& from);
GraphicsStatsServiceDumpProto(GraphicsStatsServiceDumpProto && from)104 GraphicsStatsServiceDumpProto(GraphicsStatsServiceDumpProto&& from) noexcept
105 : GraphicsStatsServiceDumpProto() {
106 *this = ::std::move(from);
107 }
108
109 inline GraphicsStatsServiceDumpProto& operator=(const GraphicsStatsServiceDumpProto& from) {
110 if (this == &from) return *this;
111 CopyFrom(from);
112 return *this;
113 }
114 inline GraphicsStatsServiceDumpProto& operator=(GraphicsStatsServiceDumpProto&& from) noexcept {
115 if (this == &from) return *this;
116 if (GetOwningArena() == from.GetOwningArena()
117 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
118 && GetOwningArena() != nullptr
119 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
120 ) {
121 InternalSwap(&from);
122 } else {
123 CopyFrom(from);
124 }
125 return *this;
126 }
127
unknown_fields()128 inline const std::string& unknown_fields() const {
129 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
130 }
mutable_unknown_fields()131 inline std::string* mutable_unknown_fields() {
132 return _internal_metadata_.mutable_unknown_fields<std::string>();
133 }
134
default_instance()135 static const GraphicsStatsServiceDumpProto& default_instance() {
136 return *internal_default_instance();
137 }
internal_default_instance()138 static inline const GraphicsStatsServiceDumpProto* internal_default_instance() {
139 return reinterpret_cast<const GraphicsStatsServiceDumpProto*>(
140 &_GraphicsStatsServiceDumpProto_default_instance_);
141 }
142 static constexpr int kIndexInFileMessages =
143 0;
144
swap(GraphicsStatsServiceDumpProto & a,GraphicsStatsServiceDumpProto & b)145 friend void swap(GraphicsStatsServiceDumpProto& a, GraphicsStatsServiceDumpProto& b) {
146 a.Swap(&b);
147 }
Swap(GraphicsStatsServiceDumpProto * other)148 inline void Swap(GraphicsStatsServiceDumpProto* other) {
149 if (other == this) return;
150 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
151 if (GetOwningArena() != nullptr &&
152 GetOwningArena() == other->GetOwningArena()) {
153 #else // PROTOBUF_FORCE_COPY_IN_SWAP
154 if (GetOwningArena() == other->GetOwningArena()) {
155 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
156 InternalSwap(other);
157 } else {
158 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
159 }
160 }
161 void UnsafeArenaSwap(GraphicsStatsServiceDumpProto* other) {
162 if (other == this) return;
163 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
164 InternalSwap(other);
165 }
166
167 // implements Message ----------------------------------------------
168
169 GraphicsStatsServiceDumpProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
170 return CreateMaybeMessage<GraphicsStatsServiceDumpProto>(arena);
171 }
172 GraphicsStatsServiceDumpProto* New() const {
173 return New(nullptr);
174 }
175 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
176 void CopyFrom(const GraphicsStatsServiceDumpProto& from);
177 void MergeFrom(const GraphicsStatsServiceDumpProto& from);
178 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
179 bool IsInitialized() const final;
180
181 size_t ByteSizeLong() const final;
182 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
183 ::uint8_t* _InternalSerialize(
184 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
185 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
186
187 private:
188 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
189 void SharedDtor();
190 void SetCachedSize(int size) const;
191 void InternalSwap(GraphicsStatsServiceDumpProto* other);
192
193 private:
194 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
195 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
196 return "android.uirenderer.protos.GraphicsStatsServiceDumpProto";
197 }
198 protected:
199 explicit GraphicsStatsServiceDumpProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
200 bool is_message_owned = false);
201 public:
202
203 std::string GetTypeName() const final;
204
205 // nested types ----------------------------------------------------
206
207 // accessors -------------------------------------------------------
208
209 enum : int {
210 kStatsFieldNumber = 1,
211 };
212 // repeated .android.uirenderer.protos.GraphicsStatsProto stats = 1;
213 int stats_size() const;
214 private:
215 int _internal_stats_size() const;
216 public:
217 void clear_stats();
218 ::android::uirenderer::protos::GraphicsStatsProto* mutable_stats(int index);
219 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsProto >*
220 mutable_stats();
221 private:
222 const ::android::uirenderer::protos::GraphicsStatsProto& _internal_stats(int index) const;
223 ::android::uirenderer::protos::GraphicsStatsProto* _internal_add_stats();
224 public:
225 const ::android::uirenderer::protos::GraphicsStatsProto& stats(int index) const;
226 ::android::uirenderer::protos::GraphicsStatsProto* add_stats();
227 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsProto >&
228 stats() const;
229
230 // @@protoc_insertion_point(class_scope:android.uirenderer.protos.GraphicsStatsServiceDumpProto)
231 private:
232 class _Internal;
233
234 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
235 typedef void InternalArenaConstructable_;
236 typedef void DestructorSkippable_;
237 struct Impl_ {
238 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsProto > stats_;
239 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
240 };
241 union { Impl_ _impl_; };
242 friend struct ::TableStruct_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto;
243 };
244 // -------------------------------------------------------------------
245
246 class GraphicsStatsProto final :
247 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:android.uirenderer.protos.GraphicsStatsProto) */ {
248 public:
GraphicsStatsProto()249 inline GraphicsStatsProto() : GraphicsStatsProto(nullptr) {}
250 ~GraphicsStatsProto() override;
251 explicit PROTOBUF_CONSTEXPR GraphicsStatsProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
252
253 GraphicsStatsProto(const GraphicsStatsProto& from);
GraphicsStatsProto(GraphicsStatsProto && from)254 GraphicsStatsProto(GraphicsStatsProto&& from) noexcept
255 : GraphicsStatsProto() {
256 *this = ::std::move(from);
257 }
258
259 inline GraphicsStatsProto& operator=(const GraphicsStatsProto& from) {
260 if (this == &from) return *this;
261 CopyFrom(from);
262 return *this;
263 }
264 inline GraphicsStatsProto& operator=(GraphicsStatsProto&& from) noexcept {
265 if (this == &from) return *this;
266 if (GetOwningArena() == from.GetOwningArena()
267 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
268 && GetOwningArena() != nullptr
269 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
270 ) {
271 InternalSwap(&from);
272 } else {
273 CopyFrom(from);
274 }
275 return *this;
276 }
277
unknown_fields()278 inline const std::string& unknown_fields() const {
279 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
280 }
mutable_unknown_fields()281 inline std::string* mutable_unknown_fields() {
282 return _internal_metadata_.mutable_unknown_fields<std::string>();
283 }
284
default_instance()285 static const GraphicsStatsProto& default_instance() {
286 return *internal_default_instance();
287 }
internal_default_instance()288 static inline const GraphicsStatsProto* internal_default_instance() {
289 return reinterpret_cast<const GraphicsStatsProto*>(
290 &_GraphicsStatsProto_default_instance_);
291 }
292 static constexpr int kIndexInFileMessages =
293 1;
294
swap(GraphicsStatsProto & a,GraphicsStatsProto & b)295 friend void swap(GraphicsStatsProto& a, GraphicsStatsProto& b) {
296 a.Swap(&b);
297 }
Swap(GraphicsStatsProto * other)298 inline void Swap(GraphicsStatsProto* other) {
299 if (other == this) return;
300 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
301 if (GetOwningArena() != nullptr &&
302 GetOwningArena() == other->GetOwningArena()) {
303 #else // PROTOBUF_FORCE_COPY_IN_SWAP
304 if (GetOwningArena() == other->GetOwningArena()) {
305 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
306 InternalSwap(other);
307 } else {
308 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
309 }
310 }
311 void UnsafeArenaSwap(GraphicsStatsProto* other) {
312 if (other == this) return;
313 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
314 InternalSwap(other);
315 }
316
317 // implements Message ----------------------------------------------
318
319 GraphicsStatsProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
320 return CreateMaybeMessage<GraphicsStatsProto>(arena);
321 }
322 GraphicsStatsProto* New() const {
323 return New(nullptr);
324 }
325 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
326 void CopyFrom(const GraphicsStatsProto& from);
327 void MergeFrom(const GraphicsStatsProto& from);
328 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
329 bool IsInitialized() const final;
330
331 size_t ByteSizeLong() const final;
332 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
333 ::uint8_t* _InternalSerialize(
334 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
335 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
336
337 private:
338 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
339 void SharedDtor();
340 void SetCachedSize(int size) const;
341 void InternalSwap(GraphicsStatsProto* other);
342
343 private:
344 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
345 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
346 return "android.uirenderer.protos.GraphicsStatsProto";
347 }
348 protected:
349 explicit GraphicsStatsProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
350 bool is_message_owned = false);
351 public:
352
353 std::string GetTypeName() const final;
354
355 // nested types ----------------------------------------------------
356
357 typedef GraphicsStatsProto_PipelineType PipelineType;
358 static constexpr PipelineType UNKNOWN =
359 GraphicsStatsProto_PipelineType_UNKNOWN;
360 static constexpr PipelineType GL =
361 GraphicsStatsProto_PipelineType_GL;
362 static constexpr PipelineType VULKAN =
363 GraphicsStatsProto_PipelineType_VULKAN;
364 static inline bool PipelineType_IsValid(int value) {
365 return GraphicsStatsProto_PipelineType_IsValid(value);
366 }
367 static constexpr PipelineType PipelineType_MIN =
368 GraphicsStatsProto_PipelineType_PipelineType_MIN;
369 static constexpr PipelineType PipelineType_MAX =
370 GraphicsStatsProto_PipelineType_PipelineType_MAX;
371 static constexpr int PipelineType_ARRAYSIZE =
372 GraphicsStatsProto_PipelineType_PipelineType_ARRAYSIZE;
373 template<typename T>
374 static inline const std::string& PipelineType_Name(T enum_t_value) {
375 static_assert(::std::is_same<T, PipelineType>::value ||
376 ::std::is_integral<T>::value,
377 "Incorrect type passed to function PipelineType_Name.");
378 return GraphicsStatsProto_PipelineType_Name(enum_t_value);
379 }
380 static inline bool PipelineType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
381 PipelineType* value) {
382 return GraphicsStatsProto_PipelineType_Parse(name, value);
383 }
384
385 // accessors -------------------------------------------------------
386
387 enum : int {
388 kHistogramFieldNumber = 6,
389 kGpuHistogramFieldNumber = 7,
390 kPackageNameFieldNumber = 1,
391 kSummaryFieldNumber = 5,
392 kVersionCodeFieldNumber = 2,
393 kStatsStartFieldNumber = 3,
394 kStatsEndFieldNumber = 4,
395 kPipelineFieldNumber = 8,
396 kUidFieldNumber = 9,
397 };
398 // repeated .android.uirenderer.protos.GraphicsStatsHistogramBucketProto histogram = 6;
399 int histogram_size() const;
400 private:
401 int _internal_histogram_size() const;
402 public:
403 void clear_histogram();
404 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* mutable_histogram(int index);
405 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >*
406 mutable_histogram();
407 private:
408 const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& _internal_histogram(int index) const;
409 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* _internal_add_histogram();
410 public:
411 const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& histogram(int index) const;
412 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* add_histogram();
413 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >&
414 histogram() const;
415
416 // repeated .android.uirenderer.protos.GraphicsStatsHistogramBucketProto gpu_histogram = 7;
417 int gpu_histogram_size() const;
418 private:
419 int _internal_gpu_histogram_size() const;
420 public:
421 void clear_gpu_histogram();
422 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* mutable_gpu_histogram(int index);
423 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >*
424 mutable_gpu_histogram();
425 private:
426 const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& _internal_gpu_histogram(int index) const;
427 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* _internal_add_gpu_histogram();
428 public:
429 const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& gpu_histogram(int index) const;
430 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* add_gpu_histogram();
431 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >&
432 gpu_histogram() const;
433
434 // optional string package_name = 1;
435 bool has_package_name() const;
436 private:
437 bool _internal_has_package_name() const;
438 public:
439 void clear_package_name();
440 const std::string& package_name() const;
441 template <typename ArgT0 = const std::string&, typename... ArgT>
442 void set_package_name(ArgT0&& arg0, ArgT... args);
443 std::string* mutable_package_name();
444 PROTOBUF_NODISCARD std::string* release_package_name();
445 void set_allocated_package_name(std::string* package_name);
446 private:
447 const std::string& _internal_package_name() const;
448 inline PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const std::string& value);
449 std::string* _internal_mutable_package_name();
450 public:
451
452 // optional .android.uirenderer.protos.GraphicsStatsJankSummaryProto summary = 5;
453 bool has_summary() const;
454 private:
455 bool _internal_has_summary() const;
456 public:
457 void clear_summary();
458 const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto& summary() const;
459 PROTOBUF_NODISCARD ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* release_summary();
460 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* mutable_summary();
461 void set_allocated_summary(::android::uirenderer::protos::GraphicsStatsJankSummaryProto* summary);
462 private:
463 const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto& _internal_summary() const;
464 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* _internal_mutable_summary();
465 public:
466 void unsafe_arena_set_allocated_summary(
467 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* summary);
468 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* unsafe_arena_release_summary();
469
470 // optional int64 version_code = 2;
471 bool has_version_code() const;
472 private:
473 bool _internal_has_version_code() const;
474 public:
475 void clear_version_code();
476 ::int64_t version_code() const;
477 void set_version_code(::int64_t value);
478 private:
479 ::int64_t _internal_version_code() const;
480 void _internal_set_version_code(::int64_t value);
481 public:
482
483 // optional int64 stats_start = 3;
484 bool has_stats_start() const;
485 private:
486 bool _internal_has_stats_start() const;
487 public:
488 void clear_stats_start();
489 ::int64_t stats_start() const;
490 void set_stats_start(::int64_t value);
491 private:
492 ::int64_t _internal_stats_start() const;
493 void _internal_set_stats_start(::int64_t value);
494 public:
495
496 // optional int64 stats_end = 4;
497 bool has_stats_end() const;
498 private:
499 bool _internal_has_stats_end() const;
500 public:
501 void clear_stats_end();
502 ::int64_t stats_end() const;
503 void set_stats_end(::int64_t value);
504 private:
505 ::int64_t _internal_stats_end() const;
506 void _internal_set_stats_end(::int64_t value);
507 public:
508
509 // optional .android.uirenderer.protos.GraphicsStatsProto.PipelineType pipeline = 8;
510 bool has_pipeline() const;
511 private:
512 bool _internal_has_pipeline() const;
513 public:
514 void clear_pipeline();
515 ::android::uirenderer::protos::GraphicsStatsProto_PipelineType pipeline() const;
516 void set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value);
517 private:
518 ::android::uirenderer::protos::GraphicsStatsProto_PipelineType _internal_pipeline() const;
519 void _internal_set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value);
520 public:
521
522 // optional int32 uid = 9;
523 bool has_uid() const;
524 private:
525 bool _internal_has_uid() const;
526 public:
527 void clear_uid();
528 ::int32_t uid() const;
529 void set_uid(::int32_t value);
530 private:
531 ::int32_t _internal_uid() const;
532 void _internal_set_uid(::int32_t value);
533 public:
534
535 // @@protoc_insertion_point(class_scope:android.uirenderer.protos.GraphicsStatsProto)
536 private:
537 class _Internal;
538
539 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
540 typedef void InternalArenaConstructable_;
541 typedef void DestructorSkippable_;
542 struct Impl_ {
543 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
544 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
545 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto > histogram_;
546 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto > gpu_histogram_;
547 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
548 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* summary_;
549 ::int64_t version_code_;
550 ::int64_t stats_start_;
551 ::int64_t stats_end_;
552 int pipeline_;
553 ::int32_t uid_;
554 };
555 union { Impl_ _impl_; };
556 friend struct ::TableStruct_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto;
557 };
558 // -------------------------------------------------------------------
559
560 class GraphicsStatsJankSummaryProto final :
561 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:android.uirenderer.protos.GraphicsStatsJankSummaryProto) */ {
562 public:
GraphicsStatsJankSummaryProto()563 inline GraphicsStatsJankSummaryProto() : GraphicsStatsJankSummaryProto(nullptr) {}
564 ~GraphicsStatsJankSummaryProto() override;
565 explicit PROTOBUF_CONSTEXPR GraphicsStatsJankSummaryProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
566
567 GraphicsStatsJankSummaryProto(const GraphicsStatsJankSummaryProto& from);
GraphicsStatsJankSummaryProto(GraphicsStatsJankSummaryProto && from)568 GraphicsStatsJankSummaryProto(GraphicsStatsJankSummaryProto&& from) noexcept
569 : GraphicsStatsJankSummaryProto() {
570 *this = ::std::move(from);
571 }
572
573 inline GraphicsStatsJankSummaryProto& operator=(const GraphicsStatsJankSummaryProto& from) {
574 if (this == &from) return *this;
575 CopyFrom(from);
576 return *this;
577 }
578 inline GraphicsStatsJankSummaryProto& operator=(GraphicsStatsJankSummaryProto&& from) noexcept {
579 if (this == &from) return *this;
580 if (GetOwningArena() == from.GetOwningArena()
581 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
582 && GetOwningArena() != nullptr
583 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
584 ) {
585 InternalSwap(&from);
586 } else {
587 CopyFrom(from);
588 }
589 return *this;
590 }
591
unknown_fields()592 inline const std::string& unknown_fields() const {
593 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
594 }
mutable_unknown_fields()595 inline std::string* mutable_unknown_fields() {
596 return _internal_metadata_.mutable_unknown_fields<std::string>();
597 }
598
default_instance()599 static const GraphicsStatsJankSummaryProto& default_instance() {
600 return *internal_default_instance();
601 }
internal_default_instance()602 static inline const GraphicsStatsJankSummaryProto* internal_default_instance() {
603 return reinterpret_cast<const GraphicsStatsJankSummaryProto*>(
604 &_GraphicsStatsJankSummaryProto_default_instance_);
605 }
606 static constexpr int kIndexInFileMessages =
607 2;
608
swap(GraphicsStatsJankSummaryProto & a,GraphicsStatsJankSummaryProto & b)609 friend void swap(GraphicsStatsJankSummaryProto& a, GraphicsStatsJankSummaryProto& b) {
610 a.Swap(&b);
611 }
Swap(GraphicsStatsJankSummaryProto * other)612 inline void Swap(GraphicsStatsJankSummaryProto* other) {
613 if (other == this) return;
614 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
615 if (GetOwningArena() != nullptr &&
616 GetOwningArena() == other->GetOwningArena()) {
617 #else // PROTOBUF_FORCE_COPY_IN_SWAP
618 if (GetOwningArena() == other->GetOwningArena()) {
619 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
620 InternalSwap(other);
621 } else {
622 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
623 }
624 }
625 void UnsafeArenaSwap(GraphicsStatsJankSummaryProto* other) {
626 if (other == this) return;
627 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
628 InternalSwap(other);
629 }
630
631 // implements Message ----------------------------------------------
632
633 GraphicsStatsJankSummaryProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
634 return CreateMaybeMessage<GraphicsStatsJankSummaryProto>(arena);
635 }
636 GraphicsStatsJankSummaryProto* New() const {
637 return New(nullptr);
638 }
639 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
640 void CopyFrom(const GraphicsStatsJankSummaryProto& from);
641 void MergeFrom(const GraphicsStatsJankSummaryProto& from);
642 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
643 bool IsInitialized() const final;
644
645 size_t ByteSizeLong() const final;
646 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
647 ::uint8_t* _InternalSerialize(
648 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
649 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
650
651 private:
652 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
653 void SharedDtor();
654 void SetCachedSize(int size) const;
655 void InternalSwap(GraphicsStatsJankSummaryProto* other);
656
657 private:
658 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
659 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
660 return "android.uirenderer.protos.GraphicsStatsJankSummaryProto";
661 }
662 protected:
663 explicit GraphicsStatsJankSummaryProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
664 bool is_message_owned = false);
665 public:
666
667 std::string GetTypeName() const final;
668
669 // nested types ----------------------------------------------------
670
671 // accessors -------------------------------------------------------
672
673 enum : int {
674 kTotalFramesFieldNumber = 1,
675 kJankyFramesFieldNumber = 2,
676 kMissedVsyncCountFieldNumber = 3,
677 kHighInputLatencyCountFieldNumber = 4,
678 kSlowUiThreadCountFieldNumber = 5,
679 kSlowBitmapUploadCountFieldNumber = 6,
680 kSlowDrawCountFieldNumber = 7,
681 kMissedDeadlineCountFieldNumber = 8,
682 };
683 // optional int32 total_frames = 1;
684 bool has_total_frames() const;
685 private:
686 bool _internal_has_total_frames() const;
687 public:
688 void clear_total_frames();
689 ::int32_t total_frames() const;
690 void set_total_frames(::int32_t value);
691 private:
692 ::int32_t _internal_total_frames() const;
693 void _internal_set_total_frames(::int32_t value);
694 public:
695
696 // optional int32 janky_frames = 2;
697 bool has_janky_frames() const;
698 private:
699 bool _internal_has_janky_frames() const;
700 public:
701 void clear_janky_frames();
702 ::int32_t janky_frames() const;
703 void set_janky_frames(::int32_t value);
704 private:
705 ::int32_t _internal_janky_frames() const;
706 void _internal_set_janky_frames(::int32_t value);
707 public:
708
709 // optional int32 missed_vsync_count = 3;
710 bool has_missed_vsync_count() const;
711 private:
712 bool _internal_has_missed_vsync_count() const;
713 public:
714 void clear_missed_vsync_count();
715 ::int32_t missed_vsync_count() const;
716 void set_missed_vsync_count(::int32_t value);
717 private:
718 ::int32_t _internal_missed_vsync_count() const;
719 void _internal_set_missed_vsync_count(::int32_t value);
720 public:
721
722 // optional int32 high_input_latency_count = 4;
723 bool has_high_input_latency_count() const;
724 private:
725 bool _internal_has_high_input_latency_count() const;
726 public:
727 void clear_high_input_latency_count();
728 ::int32_t high_input_latency_count() const;
729 void set_high_input_latency_count(::int32_t value);
730 private:
731 ::int32_t _internal_high_input_latency_count() const;
732 void _internal_set_high_input_latency_count(::int32_t value);
733 public:
734
735 // optional int32 slow_ui_thread_count = 5;
736 bool has_slow_ui_thread_count() const;
737 private:
738 bool _internal_has_slow_ui_thread_count() const;
739 public:
740 void clear_slow_ui_thread_count();
741 ::int32_t slow_ui_thread_count() const;
742 void set_slow_ui_thread_count(::int32_t value);
743 private:
744 ::int32_t _internal_slow_ui_thread_count() const;
745 void _internal_set_slow_ui_thread_count(::int32_t value);
746 public:
747
748 // optional int32 slow_bitmap_upload_count = 6;
749 bool has_slow_bitmap_upload_count() const;
750 private:
751 bool _internal_has_slow_bitmap_upload_count() const;
752 public:
753 void clear_slow_bitmap_upload_count();
754 ::int32_t slow_bitmap_upload_count() const;
755 void set_slow_bitmap_upload_count(::int32_t value);
756 private:
757 ::int32_t _internal_slow_bitmap_upload_count() const;
758 void _internal_set_slow_bitmap_upload_count(::int32_t value);
759 public:
760
761 // optional int32 slow_draw_count = 7;
762 bool has_slow_draw_count() const;
763 private:
764 bool _internal_has_slow_draw_count() const;
765 public:
766 void clear_slow_draw_count();
767 ::int32_t slow_draw_count() const;
768 void set_slow_draw_count(::int32_t value);
769 private:
770 ::int32_t _internal_slow_draw_count() const;
771 void _internal_set_slow_draw_count(::int32_t value);
772 public:
773
774 // optional int32 missed_deadline_count = 8;
775 bool has_missed_deadline_count() const;
776 private:
777 bool _internal_has_missed_deadline_count() const;
778 public:
779 void clear_missed_deadline_count();
780 ::int32_t missed_deadline_count() const;
781 void set_missed_deadline_count(::int32_t value);
782 private:
783 ::int32_t _internal_missed_deadline_count() const;
784 void _internal_set_missed_deadline_count(::int32_t value);
785 public:
786
787 // @@protoc_insertion_point(class_scope:android.uirenderer.protos.GraphicsStatsJankSummaryProto)
788 private:
789 class _Internal;
790
791 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
792 typedef void InternalArenaConstructable_;
793 typedef void DestructorSkippable_;
794 struct Impl_ {
795 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
796 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
797 ::int32_t total_frames_;
798 ::int32_t janky_frames_;
799 ::int32_t missed_vsync_count_;
800 ::int32_t high_input_latency_count_;
801 ::int32_t slow_ui_thread_count_;
802 ::int32_t slow_bitmap_upload_count_;
803 ::int32_t slow_draw_count_;
804 ::int32_t missed_deadline_count_;
805 };
806 union { Impl_ _impl_; };
807 friend struct ::TableStruct_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto;
808 };
809 // -------------------------------------------------------------------
810
811 class GraphicsStatsHistogramBucketProto final :
812 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:android.uirenderer.protos.GraphicsStatsHistogramBucketProto) */ {
813 public:
GraphicsStatsHistogramBucketProto()814 inline GraphicsStatsHistogramBucketProto() : GraphicsStatsHistogramBucketProto(nullptr) {}
815 ~GraphicsStatsHistogramBucketProto() override;
816 explicit PROTOBUF_CONSTEXPR GraphicsStatsHistogramBucketProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
817
818 GraphicsStatsHistogramBucketProto(const GraphicsStatsHistogramBucketProto& from);
GraphicsStatsHistogramBucketProto(GraphicsStatsHistogramBucketProto && from)819 GraphicsStatsHistogramBucketProto(GraphicsStatsHistogramBucketProto&& from) noexcept
820 : GraphicsStatsHistogramBucketProto() {
821 *this = ::std::move(from);
822 }
823
824 inline GraphicsStatsHistogramBucketProto& operator=(const GraphicsStatsHistogramBucketProto& from) {
825 if (this == &from) return *this;
826 CopyFrom(from);
827 return *this;
828 }
829 inline GraphicsStatsHistogramBucketProto& operator=(GraphicsStatsHistogramBucketProto&& from) noexcept {
830 if (this == &from) return *this;
831 if (GetOwningArena() == from.GetOwningArena()
832 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
833 && GetOwningArena() != nullptr
834 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
835 ) {
836 InternalSwap(&from);
837 } else {
838 CopyFrom(from);
839 }
840 return *this;
841 }
842
unknown_fields()843 inline const std::string& unknown_fields() const {
844 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
845 }
mutable_unknown_fields()846 inline std::string* mutable_unknown_fields() {
847 return _internal_metadata_.mutable_unknown_fields<std::string>();
848 }
849
default_instance()850 static const GraphicsStatsHistogramBucketProto& default_instance() {
851 return *internal_default_instance();
852 }
internal_default_instance()853 static inline const GraphicsStatsHistogramBucketProto* internal_default_instance() {
854 return reinterpret_cast<const GraphicsStatsHistogramBucketProto*>(
855 &_GraphicsStatsHistogramBucketProto_default_instance_);
856 }
857 static constexpr int kIndexInFileMessages =
858 3;
859
swap(GraphicsStatsHistogramBucketProto & a,GraphicsStatsHistogramBucketProto & b)860 friend void swap(GraphicsStatsHistogramBucketProto& a, GraphicsStatsHistogramBucketProto& b) {
861 a.Swap(&b);
862 }
Swap(GraphicsStatsHistogramBucketProto * other)863 inline void Swap(GraphicsStatsHistogramBucketProto* other) {
864 if (other == this) return;
865 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
866 if (GetOwningArena() != nullptr &&
867 GetOwningArena() == other->GetOwningArena()) {
868 #else // PROTOBUF_FORCE_COPY_IN_SWAP
869 if (GetOwningArena() == other->GetOwningArena()) {
870 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
871 InternalSwap(other);
872 } else {
873 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
874 }
875 }
876 void UnsafeArenaSwap(GraphicsStatsHistogramBucketProto* other) {
877 if (other == this) return;
878 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
879 InternalSwap(other);
880 }
881
882 // implements Message ----------------------------------------------
883
884 GraphicsStatsHistogramBucketProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
885 return CreateMaybeMessage<GraphicsStatsHistogramBucketProto>(arena);
886 }
887 GraphicsStatsHistogramBucketProto* New() const {
888 return New(nullptr);
889 }
890 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
891 void CopyFrom(const GraphicsStatsHistogramBucketProto& from);
892 void MergeFrom(const GraphicsStatsHistogramBucketProto& from);
893 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
894 bool IsInitialized() const final;
895
896 size_t ByteSizeLong() const final;
897 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
898 ::uint8_t* _InternalSerialize(
899 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
900 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
901
902 private:
903 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
904 void SharedDtor();
905 void SetCachedSize(int size) const;
906 void InternalSwap(GraphicsStatsHistogramBucketProto* other);
907
908 private:
909 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
910 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
911 return "android.uirenderer.protos.GraphicsStatsHistogramBucketProto";
912 }
913 protected:
914 explicit GraphicsStatsHistogramBucketProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
915 bool is_message_owned = false);
916 public:
917
918 std::string GetTypeName() const final;
919
920 // nested types ----------------------------------------------------
921
922 // accessors -------------------------------------------------------
923
924 enum : int {
925 kRenderMillisFieldNumber = 1,
926 kFrameCountFieldNumber = 2,
927 };
928 // optional int32 render_millis = 1;
929 bool has_render_millis() const;
930 private:
931 bool _internal_has_render_millis() const;
932 public:
933 void clear_render_millis();
934 ::int32_t render_millis() const;
935 void set_render_millis(::int32_t value);
936 private:
937 ::int32_t _internal_render_millis() const;
938 void _internal_set_render_millis(::int32_t value);
939 public:
940
941 // optional int32 frame_count = 2;
942 bool has_frame_count() const;
943 private:
944 bool _internal_has_frame_count() const;
945 public:
946 void clear_frame_count();
947 ::int32_t frame_count() const;
948 void set_frame_count(::int32_t value);
949 private:
950 ::int32_t _internal_frame_count() const;
951 void _internal_set_frame_count(::int32_t value);
952 public:
953
954 // @@protoc_insertion_point(class_scope:android.uirenderer.protos.GraphicsStatsHistogramBucketProto)
955 private:
956 class _Internal;
957
958 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
959 typedef void InternalArenaConstructable_;
960 typedef void DestructorSkippable_;
961 struct Impl_ {
962 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
963 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
964 ::int32_t render_millis_;
965 ::int32_t frame_count_;
966 };
967 union { Impl_ _impl_; };
968 friend struct ::TableStruct_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto;
969 };
970 // ===================================================================
971
972
973 // ===================================================================
974
975 #ifdef __GNUC__
976 #pragma GCC diagnostic push
977 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
978 #endif // __GNUC__
979 // GraphicsStatsServiceDumpProto
980
981 // repeated .android.uirenderer.protos.GraphicsStatsProto stats = 1;
_internal_stats_size()982 inline int GraphicsStatsServiceDumpProto::_internal_stats_size() const {
983 return _impl_.stats_.size();
984 }
stats_size()985 inline int GraphicsStatsServiceDumpProto::stats_size() const {
986 return _internal_stats_size();
987 }
clear_stats()988 inline void GraphicsStatsServiceDumpProto::clear_stats() {
989 _impl_.stats_.Clear();
990 }
mutable_stats(int index)991 inline ::android::uirenderer::protos::GraphicsStatsProto* GraphicsStatsServiceDumpProto::mutable_stats(int index) {
992 // @@protoc_insertion_point(field_mutable:android.uirenderer.protos.GraphicsStatsServiceDumpProto.stats)
993 return _impl_.stats_.Mutable(index);
994 }
995 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsProto >*
mutable_stats()996 GraphicsStatsServiceDumpProto::mutable_stats() {
997 // @@protoc_insertion_point(field_mutable_list:android.uirenderer.protos.GraphicsStatsServiceDumpProto.stats)
998 return &_impl_.stats_;
999 }
_internal_stats(int index)1000 inline const ::android::uirenderer::protos::GraphicsStatsProto& GraphicsStatsServiceDumpProto::_internal_stats(int index) const {
1001 return _impl_.stats_.Get(index);
1002 }
stats(int index)1003 inline const ::android::uirenderer::protos::GraphicsStatsProto& GraphicsStatsServiceDumpProto::stats(int index) const {
1004 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsServiceDumpProto.stats)
1005 return _internal_stats(index);
1006 }
_internal_add_stats()1007 inline ::android::uirenderer::protos::GraphicsStatsProto* GraphicsStatsServiceDumpProto::_internal_add_stats() {
1008 return _impl_.stats_.Add();
1009 }
add_stats()1010 inline ::android::uirenderer::protos::GraphicsStatsProto* GraphicsStatsServiceDumpProto::add_stats() {
1011 ::android::uirenderer::protos::GraphicsStatsProto* _add = _internal_add_stats();
1012 // @@protoc_insertion_point(field_add:android.uirenderer.protos.GraphicsStatsServiceDumpProto.stats)
1013 return _add;
1014 }
1015 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsProto >&
stats()1016 GraphicsStatsServiceDumpProto::stats() const {
1017 // @@protoc_insertion_point(field_list:android.uirenderer.protos.GraphicsStatsServiceDumpProto.stats)
1018 return _impl_.stats_;
1019 }
1020
1021 // -------------------------------------------------------------------
1022
1023 // GraphicsStatsProto
1024
1025 // optional string package_name = 1;
_internal_has_package_name()1026 inline bool GraphicsStatsProto::_internal_has_package_name() const {
1027 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1028 return value;
1029 }
has_package_name()1030 inline bool GraphicsStatsProto::has_package_name() const {
1031 return _internal_has_package_name();
1032 }
clear_package_name()1033 inline void GraphicsStatsProto::clear_package_name() {
1034 _impl_.package_name_.ClearToEmpty();
1035 _impl_._has_bits_[0] &= ~0x00000001u;
1036 }
package_name()1037 inline const std::string& GraphicsStatsProto::package_name() const {
1038 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.package_name)
1039 return _internal_package_name();
1040 }
1041 template <typename ArgT0, typename... ArgT>
1042 inline PROTOBUF_ALWAYS_INLINE
set_package_name(ArgT0 && arg0,ArgT...args)1043 void GraphicsStatsProto::set_package_name(ArgT0&& arg0, ArgT... args) {
1044 _impl_._has_bits_[0] |= 0x00000001u;
1045 _impl_.package_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1046 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.package_name)
1047 }
mutable_package_name()1048 inline std::string* GraphicsStatsProto::mutable_package_name() {
1049 std::string* _s = _internal_mutable_package_name();
1050 // @@protoc_insertion_point(field_mutable:android.uirenderer.protos.GraphicsStatsProto.package_name)
1051 return _s;
1052 }
_internal_package_name()1053 inline const std::string& GraphicsStatsProto::_internal_package_name() const {
1054 return _impl_.package_name_.Get();
1055 }
_internal_set_package_name(const std::string & value)1056 inline void GraphicsStatsProto::_internal_set_package_name(const std::string& value) {
1057 _impl_._has_bits_[0] |= 0x00000001u;
1058 _impl_.package_name_.Set(value, GetArenaForAllocation());
1059 }
_internal_mutable_package_name()1060 inline std::string* GraphicsStatsProto::_internal_mutable_package_name() {
1061 _impl_._has_bits_[0] |= 0x00000001u;
1062 return _impl_.package_name_.Mutable(GetArenaForAllocation());
1063 }
release_package_name()1064 inline std::string* GraphicsStatsProto::release_package_name() {
1065 // @@protoc_insertion_point(field_release:android.uirenderer.protos.GraphicsStatsProto.package_name)
1066 if (!_internal_has_package_name()) {
1067 return nullptr;
1068 }
1069 _impl_._has_bits_[0] &= ~0x00000001u;
1070 auto* p = _impl_.package_name_.Release();
1071 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1072 if (_impl_.package_name_.IsDefault()) {
1073 _impl_.package_name_.Set("", GetArenaForAllocation());
1074 }
1075 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1076 return p;
1077 }
set_allocated_package_name(std::string * package_name)1078 inline void GraphicsStatsProto::set_allocated_package_name(std::string* package_name) {
1079 if (package_name != nullptr) {
1080 _impl_._has_bits_[0] |= 0x00000001u;
1081 } else {
1082 _impl_._has_bits_[0] &= ~0x00000001u;
1083 }
1084 _impl_.package_name_.SetAllocated(package_name, GetArenaForAllocation());
1085 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1086 if (_impl_.package_name_.IsDefault()) {
1087 _impl_.package_name_.Set("", GetArenaForAllocation());
1088 }
1089 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1090 // @@protoc_insertion_point(field_set_allocated:android.uirenderer.protos.GraphicsStatsProto.package_name)
1091 }
1092
1093 // optional int64 version_code = 2;
_internal_has_version_code()1094 inline bool GraphicsStatsProto::_internal_has_version_code() const {
1095 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1096 return value;
1097 }
has_version_code()1098 inline bool GraphicsStatsProto::has_version_code() const {
1099 return _internal_has_version_code();
1100 }
clear_version_code()1101 inline void GraphicsStatsProto::clear_version_code() {
1102 _impl_.version_code_ = ::int64_t{0};
1103 _impl_._has_bits_[0] &= ~0x00000004u;
1104 }
_internal_version_code()1105 inline ::int64_t GraphicsStatsProto::_internal_version_code() const {
1106 return _impl_.version_code_;
1107 }
version_code()1108 inline ::int64_t GraphicsStatsProto::version_code() const {
1109 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.version_code)
1110 return _internal_version_code();
1111 }
_internal_set_version_code(::int64_t value)1112 inline void GraphicsStatsProto::_internal_set_version_code(::int64_t value) {
1113 _impl_._has_bits_[0] |= 0x00000004u;
1114 _impl_.version_code_ = value;
1115 }
set_version_code(::int64_t value)1116 inline void GraphicsStatsProto::set_version_code(::int64_t value) {
1117 _internal_set_version_code(value);
1118 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.version_code)
1119 }
1120
1121 // optional int64 stats_start = 3;
_internal_has_stats_start()1122 inline bool GraphicsStatsProto::_internal_has_stats_start() const {
1123 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1124 return value;
1125 }
has_stats_start()1126 inline bool GraphicsStatsProto::has_stats_start() const {
1127 return _internal_has_stats_start();
1128 }
clear_stats_start()1129 inline void GraphicsStatsProto::clear_stats_start() {
1130 _impl_.stats_start_ = ::int64_t{0};
1131 _impl_._has_bits_[0] &= ~0x00000008u;
1132 }
_internal_stats_start()1133 inline ::int64_t GraphicsStatsProto::_internal_stats_start() const {
1134 return _impl_.stats_start_;
1135 }
stats_start()1136 inline ::int64_t GraphicsStatsProto::stats_start() const {
1137 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.stats_start)
1138 return _internal_stats_start();
1139 }
_internal_set_stats_start(::int64_t value)1140 inline void GraphicsStatsProto::_internal_set_stats_start(::int64_t value) {
1141 _impl_._has_bits_[0] |= 0x00000008u;
1142 _impl_.stats_start_ = value;
1143 }
set_stats_start(::int64_t value)1144 inline void GraphicsStatsProto::set_stats_start(::int64_t value) {
1145 _internal_set_stats_start(value);
1146 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.stats_start)
1147 }
1148
1149 // optional int64 stats_end = 4;
_internal_has_stats_end()1150 inline bool GraphicsStatsProto::_internal_has_stats_end() const {
1151 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1152 return value;
1153 }
has_stats_end()1154 inline bool GraphicsStatsProto::has_stats_end() const {
1155 return _internal_has_stats_end();
1156 }
clear_stats_end()1157 inline void GraphicsStatsProto::clear_stats_end() {
1158 _impl_.stats_end_ = ::int64_t{0};
1159 _impl_._has_bits_[0] &= ~0x00000010u;
1160 }
_internal_stats_end()1161 inline ::int64_t GraphicsStatsProto::_internal_stats_end() const {
1162 return _impl_.stats_end_;
1163 }
stats_end()1164 inline ::int64_t GraphicsStatsProto::stats_end() const {
1165 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.stats_end)
1166 return _internal_stats_end();
1167 }
_internal_set_stats_end(::int64_t value)1168 inline void GraphicsStatsProto::_internal_set_stats_end(::int64_t value) {
1169 _impl_._has_bits_[0] |= 0x00000010u;
1170 _impl_.stats_end_ = value;
1171 }
set_stats_end(::int64_t value)1172 inline void GraphicsStatsProto::set_stats_end(::int64_t value) {
1173 _internal_set_stats_end(value);
1174 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.stats_end)
1175 }
1176
1177 // optional .android.uirenderer.protos.GraphicsStatsJankSummaryProto summary = 5;
_internal_has_summary()1178 inline bool GraphicsStatsProto::_internal_has_summary() const {
1179 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1180 PROTOBUF_ASSUME(!value || _impl_.summary_ != nullptr);
1181 return value;
1182 }
has_summary()1183 inline bool GraphicsStatsProto::has_summary() const {
1184 return _internal_has_summary();
1185 }
clear_summary()1186 inline void GraphicsStatsProto::clear_summary() {
1187 if (_impl_.summary_ != nullptr) _impl_.summary_->Clear();
1188 _impl_._has_bits_[0] &= ~0x00000002u;
1189 }
_internal_summary()1190 inline const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto& GraphicsStatsProto::_internal_summary() const {
1191 const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* p = _impl_.summary_;
1192 return p != nullptr ? *p : reinterpret_cast<const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto&>(
1193 ::android::uirenderer::protos::_GraphicsStatsJankSummaryProto_default_instance_);
1194 }
summary()1195 inline const ::android::uirenderer::protos::GraphicsStatsJankSummaryProto& GraphicsStatsProto::summary() const {
1196 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.summary)
1197 return _internal_summary();
1198 }
unsafe_arena_set_allocated_summary(::android::uirenderer::protos::GraphicsStatsJankSummaryProto * summary)1199 inline void GraphicsStatsProto::unsafe_arena_set_allocated_summary(
1200 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* summary) {
1201 if (GetArenaForAllocation() == nullptr) {
1202 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.summary_);
1203 }
1204 _impl_.summary_ = summary;
1205 if (summary) {
1206 _impl_._has_bits_[0] |= 0x00000002u;
1207 } else {
1208 _impl_._has_bits_[0] &= ~0x00000002u;
1209 }
1210 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.uirenderer.protos.GraphicsStatsProto.summary)
1211 }
release_summary()1212 inline ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* GraphicsStatsProto::release_summary() {
1213 _impl_._has_bits_[0] &= ~0x00000002u;
1214 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* temp = _impl_.summary_;
1215 _impl_.summary_ = nullptr;
1216 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1217 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1218 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1219 if (GetArenaForAllocation() == nullptr) { delete old; }
1220 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1221 if (GetArenaForAllocation() != nullptr) {
1222 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1223 }
1224 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1225 return temp;
1226 }
unsafe_arena_release_summary()1227 inline ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* GraphicsStatsProto::unsafe_arena_release_summary() {
1228 // @@protoc_insertion_point(field_release:android.uirenderer.protos.GraphicsStatsProto.summary)
1229 _impl_._has_bits_[0] &= ~0x00000002u;
1230 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* temp = _impl_.summary_;
1231 _impl_.summary_ = nullptr;
1232 return temp;
1233 }
_internal_mutable_summary()1234 inline ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* GraphicsStatsProto::_internal_mutable_summary() {
1235 _impl_._has_bits_[0] |= 0x00000002u;
1236 if (_impl_.summary_ == nullptr) {
1237 auto* p = CreateMaybeMessage<::android::uirenderer::protos::GraphicsStatsJankSummaryProto>(GetArenaForAllocation());
1238 _impl_.summary_ = p;
1239 }
1240 return _impl_.summary_;
1241 }
mutable_summary()1242 inline ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* GraphicsStatsProto::mutable_summary() {
1243 ::android::uirenderer::protos::GraphicsStatsJankSummaryProto* _msg = _internal_mutable_summary();
1244 // @@protoc_insertion_point(field_mutable:android.uirenderer.protos.GraphicsStatsProto.summary)
1245 return _msg;
1246 }
set_allocated_summary(::android::uirenderer::protos::GraphicsStatsJankSummaryProto * summary)1247 inline void GraphicsStatsProto::set_allocated_summary(::android::uirenderer::protos::GraphicsStatsJankSummaryProto* summary) {
1248 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1249 if (message_arena == nullptr) {
1250 delete _impl_.summary_;
1251 }
1252 if (summary) {
1253 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1254 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(summary);
1255 if (message_arena != submessage_arena) {
1256 summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1257 message_arena, summary, submessage_arena);
1258 }
1259 _impl_._has_bits_[0] |= 0x00000002u;
1260 } else {
1261 _impl_._has_bits_[0] &= ~0x00000002u;
1262 }
1263 _impl_.summary_ = summary;
1264 // @@protoc_insertion_point(field_set_allocated:android.uirenderer.protos.GraphicsStatsProto.summary)
1265 }
1266
1267 // repeated .android.uirenderer.protos.GraphicsStatsHistogramBucketProto histogram = 6;
_internal_histogram_size()1268 inline int GraphicsStatsProto::_internal_histogram_size() const {
1269 return _impl_.histogram_.size();
1270 }
histogram_size()1271 inline int GraphicsStatsProto::histogram_size() const {
1272 return _internal_histogram_size();
1273 }
clear_histogram()1274 inline void GraphicsStatsProto::clear_histogram() {
1275 _impl_.histogram_.Clear();
1276 }
mutable_histogram(int index)1277 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::mutable_histogram(int index) {
1278 // @@protoc_insertion_point(field_mutable:android.uirenderer.protos.GraphicsStatsProto.histogram)
1279 return _impl_.histogram_.Mutable(index);
1280 }
1281 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >*
mutable_histogram()1282 GraphicsStatsProto::mutable_histogram() {
1283 // @@protoc_insertion_point(field_mutable_list:android.uirenderer.protos.GraphicsStatsProto.histogram)
1284 return &_impl_.histogram_;
1285 }
_internal_histogram(int index)1286 inline const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& GraphicsStatsProto::_internal_histogram(int index) const {
1287 return _impl_.histogram_.Get(index);
1288 }
histogram(int index)1289 inline const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& GraphicsStatsProto::histogram(int index) const {
1290 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.histogram)
1291 return _internal_histogram(index);
1292 }
_internal_add_histogram()1293 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::_internal_add_histogram() {
1294 return _impl_.histogram_.Add();
1295 }
add_histogram()1296 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::add_histogram() {
1297 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* _add = _internal_add_histogram();
1298 // @@protoc_insertion_point(field_add:android.uirenderer.protos.GraphicsStatsProto.histogram)
1299 return _add;
1300 }
1301 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >&
histogram()1302 GraphicsStatsProto::histogram() const {
1303 // @@protoc_insertion_point(field_list:android.uirenderer.protos.GraphicsStatsProto.histogram)
1304 return _impl_.histogram_;
1305 }
1306
1307 // repeated .android.uirenderer.protos.GraphicsStatsHistogramBucketProto gpu_histogram = 7;
_internal_gpu_histogram_size()1308 inline int GraphicsStatsProto::_internal_gpu_histogram_size() const {
1309 return _impl_.gpu_histogram_.size();
1310 }
gpu_histogram_size()1311 inline int GraphicsStatsProto::gpu_histogram_size() const {
1312 return _internal_gpu_histogram_size();
1313 }
clear_gpu_histogram()1314 inline void GraphicsStatsProto::clear_gpu_histogram() {
1315 _impl_.gpu_histogram_.Clear();
1316 }
mutable_gpu_histogram(int index)1317 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::mutable_gpu_histogram(int index) {
1318 // @@protoc_insertion_point(field_mutable:android.uirenderer.protos.GraphicsStatsProto.gpu_histogram)
1319 return _impl_.gpu_histogram_.Mutable(index);
1320 }
1321 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >*
mutable_gpu_histogram()1322 GraphicsStatsProto::mutable_gpu_histogram() {
1323 // @@protoc_insertion_point(field_mutable_list:android.uirenderer.protos.GraphicsStatsProto.gpu_histogram)
1324 return &_impl_.gpu_histogram_;
1325 }
_internal_gpu_histogram(int index)1326 inline const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& GraphicsStatsProto::_internal_gpu_histogram(int index) const {
1327 return _impl_.gpu_histogram_.Get(index);
1328 }
gpu_histogram(int index)1329 inline const ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto& GraphicsStatsProto::gpu_histogram(int index) const {
1330 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.gpu_histogram)
1331 return _internal_gpu_histogram(index);
1332 }
_internal_add_gpu_histogram()1333 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::_internal_add_gpu_histogram() {
1334 return _impl_.gpu_histogram_.Add();
1335 }
add_gpu_histogram()1336 inline ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* GraphicsStatsProto::add_gpu_histogram() {
1337 ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto* _add = _internal_add_gpu_histogram();
1338 // @@protoc_insertion_point(field_add:android.uirenderer.protos.GraphicsStatsProto.gpu_histogram)
1339 return _add;
1340 }
1341 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::uirenderer::protos::GraphicsStatsHistogramBucketProto >&
gpu_histogram()1342 GraphicsStatsProto::gpu_histogram() const {
1343 // @@protoc_insertion_point(field_list:android.uirenderer.protos.GraphicsStatsProto.gpu_histogram)
1344 return _impl_.gpu_histogram_;
1345 }
1346
1347 // optional .android.uirenderer.protos.GraphicsStatsProto.PipelineType pipeline = 8;
_internal_has_pipeline()1348 inline bool GraphicsStatsProto::_internal_has_pipeline() const {
1349 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1350 return value;
1351 }
has_pipeline()1352 inline bool GraphicsStatsProto::has_pipeline() const {
1353 return _internal_has_pipeline();
1354 }
clear_pipeline()1355 inline void GraphicsStatsProto::clear_pipeline() {
1356 _impl_.pipeline_ = 0;
1357 _impl_._has_bits_[0] &= ~0x00000020u;
1358 }
_internal_pipeline()1359 inline ::android::uirenderer::protos::GraphicsStatsProto_PipelineType GraphicsStatsProto::_internal_pipeline() const {
1360 return static_cast< ::android::uirenderer::protos::GraphicsStatsProto_PipelineType >(_impl_.pipeline_);
1361 }
pipeline()1362 inline ::android::uirenderer::protos::GraphicsStatsProto_PipelineType GraphicsStatsProto::pipeline() const {
1363 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.pipeline)
1364 return _internal_pipeline();
1365 }
_internal_set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value)1366 inline void GraphicsStatsProto::_internal_set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value) {
1367 assert(::android::uirenderer::protos::GraphicsStatsProto_PipelineType_IsValid(value));
1368 _impl_._has_bits_[0] |= 0x00000020u;
1369 _impl_.pipeline_ = value;
1370 }
set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value)1371 inline void GraphicsStatsProto::set_pipeline(::android::uirenderer::protos::GraphicsStatsProto_PipelineType value) {
1372 _internal_set_pipeline(value);
1373 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.pipeline)
1374 }
1375
1376 // optional int32 uid = 9;
_internal_has_uid()1377 inline bool GraphicsStatsProto::_internal_has_uid() const {
1378 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1379 return value;
1380 }
has_uid()1381 inline bool GraphicsStatsProto::has_uid() const {
1382 return _internal_has_uid();
1383 }
clear_uid()1384 inline void GraphicsStatsProto::clear_uid() {
1385 _impl_.uid_ = 0;
1386 _impl_._has_bits_[0] &= ~0x00000040u;
1387 }
_internal_uid()1388 inline ::int32_t GraphicsStatsProto::_internal_uid() const {
1389 return _impl_.uid_;
1390 }
uid()1391 inline ::int32_t GraphicsStatsProto::uid() const {
1392 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsProto.uid)
1393 return _internal_uid();
1394 }
_internal_set_uid(::int32_t value)1395 inline void GraphicsStatsProto::_internal_set_uid(::int32_t value) {
1396 _impl_._has_bits_[0] |= 0x00000040u;
1397 _impl_.uid_ = value;
1398 }
set_uid(::int32_t value)1399 inline void GraphicsStatsProto::set_uid(::int32_t value) {
1400 _internal_set_uid(value);
1401 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsProto.uid)
1402 }
1403
1404 // -------------------------------------------------------------------
1405
1406 // GraphicsStatsJankSummaryProto
1407
1408 // optional int32 total_frames = 1;
_internal_has_total_frames()1409 inline bool GraphicsStatsJankSummaryProto::_internal_has_total_frames() const {
1410 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1411 return value;
1412 }
has_total_frames()1413 inline bool GraphicsStatsJankSummaryProto::has_total_frames() const {
1414 return _internal_has_total_frames();
1415 }
clear_total_frames()1416 inline void GraphicsStatsJankSummaryProto::clear_total_frames() {
1417 _impl_.total_frames_ = 0;
1418 _impl_._has_bits_[0] &= ~0x00000001u;
1419 }
_internal_total_frames()1420 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_total_frames() const {
1421 return _impl_.total_frames_;
1422 }
total_frames()1423 inline ::int32_t GraphicsStatsJankSummaryProto::total_frames() const {
1424 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.total_frames)
1425 return _internal_total_frames();
1426 }
_internal_set_total_frames(::int32_t value)1427 inline void GraphicsStatsJankSummaryProto::_internal_set_total_frames(::int32_t value) {
1428 _impl_._has_bits_[0] |= 0x00000001u;
1429 _impl_.total_frames_ = value;
1430 }
set_total_frames(::int32_t value)1431 inline void GraphicsStatsJankSummaryProto::set_total_frames(::int32_t value) {
1432 _internal_set_total_frames(value);
1433 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.total_frames)
1434 }
1435
1436 // optional int32 janky_frames = 2;
_internal_has_janky_frames()1437 inline bool GraphicsStatsJankSummaryProto::_internal_has_janky_frames() const {
1438 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1439 return value;
1440 }
has_janky_frames()1441 inline bool GraphicsStatsJankSummaryProto::has_janky_frames() const {
1442 return _internal_has_janky_frames();
1443 }
clear_janky_frames()1444 inline void GraphicsStatsJankSummaryProto::clear_janky_frames() {
1445 _impl_.janky_frames_ = 0;
1446 _impl_._has_bits_[0] &= ~0x00000002u;
1447 }
_internal_janky_frames()1448 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_janky_frames() const {
1449 return _impl_.janky_frames_;
1450 }
janky_frames()1451 inline ::int32_t GraphicsStatsJankSummaryProto::janky_frames() const {
1452 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.janky_frames)
1453 return _internal_janky_frames();
1454 }
_internal_set_janky_frames(::int32_t value)1455 inline void GraphicsStatsJankSummaryProto::_internal_set_janky_frames(::int32_t value) {
1456 _impl_._has_bits_[0] |= 0x00000002u;
1457 _impl_.janky_frames_ = value;
1458 }
set_janky_frames(::int32_t value)1459 inline void GraphicsStatsJankSummaryProto::set_janky_frames(::int32_t value) {
1460 _internal_set_janky_frames(value);
1461 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.janky_frames)
1462 }
1463
1464 // optional int32 missed_vsync_count = 3;
_internal_has_missed_vsync_count()1465 inline bool GraphicsStatsJankSummaryProto::_internal_has_missed_vsync_count() const {
1466 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1467 return value;
1468 }
has_missed_vsync_count()1469 inline bool GraphicsStatsJankSummaryProto::has_missed_vsync_count() const {
1470 return _internal_has_missed_vsync_count();
1471 }
clear_missed_vsync_count()1472 inline void GraphicsStatsJankSummaryProto::clear_missed_vsync_count() {
1473 _impl_.missed_vsync_count_ = 0;
1474 _impl_._has_bits_[0] &= ~0x00000004u;
1475 }
_internal_missed_vsync_count()1476 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_missed_vsync_count() const {
1477 return _impl_.missed_vsync_count_;
1478 }
missed_vsync_count()1479 inline ::int32_t GraphicsStatsJankSummaryProto::missed_vsync_count() const {
1480 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.missed_vsync_count)
1481 return _internal_missed_vsync_count();
1482 }
_internal_set_missed_vsync_count(::int32_t value)1483 inline void GraphicsStatsJankSummaryProto::_internal_set_missed_vsync_count(::int32_t value) {
1484 _impl_._has_bits_[0] |= 0x00000004u;
1485 _impl_.missed_vsync_count_ = value;
1486 }
set_missed_vsync_count(::int32_t value)1487 inline void GraphicsStatsJankSummaryProto::set_missed_vsync_count(::int32_t value) {
1488 _internal_set_missed_vsync_count(value);
1489 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.missed_vsync_count)
1490 }
1491
1492 // optional int32 high_input_latency_count = 4;
_internal_has_high_input_latency_count()1493 inline bool GraphicsStatsJankSummaryProto::_internal_has_high_input_latency_count() const {
1494 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1495 return value;
1496 }
has_high_input_latency_count()1497 inline bool GraphicsStatsJankSummaryProto::has_high_input_latency_count() const {
1498 return _internal_has_high_input_latency_count();
1499 }
clear_high_input_latency_count()1500 inline void GraphicsStatsJankSummaryProto::clear_high_input_latency_count() {
1501 _impl_.high_input_latency_count_ = 0;
1502 _impl_._has_bits_[0] &= ~0x00000008u;
1503 }
_internal_high_input_latency_count()1504 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_high_input_latency_count() const {
1505 return _impl_.high_input_latency_count_;
1506 }
high_input_latency_count()1507 inline ::int32_t GraphicsStatsJankSummaryProto::high_input_latency_count() const {
1508 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.high_input_latency_count)
1509 return _internal_high_input_latency_count();
1510 }
_internal_set_high_input_latency_count(::int32_t value)1511 inline void GraphicsStatsJankSummaryProto::_internal_set_high_input_latency_count(::int32_t value) {
1512 _impl_._has_bits_[0] |= 0x00000008u;
1513 _impl_.high_input_latency_count_ = value;
1514 }
set_high_input_latency_count(::int32_t value)1515 inline void GraphicsStatsJankSummaryProto::set_high_input_latency_count(::int32_t value) {
1516 _internal_set_high_input_latency_count(value);
1517 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.high_input_latency_count)
1518 }
1519
1520 // optional int32 slow_ui_thread_count = 5;
_internal_has_slow_ui_thread_count()1521 inline bool GraphicsStatsJankSummaryProto::_internal_has_slow_ui_thread_count() const {
1522 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1523 return value;
1524 }
has_slow_ui_thread_count()1525 inline bool GraphicsStatsJankSummaryProto::has_slow_ui_thread_count() const {
1526 return _internal_has_slow_ui_thread_count();
1527 }
clear_slow_ui_thread_count()1528 inline void GraphicsStatsJankSummaryProto::clear_slow_ui_thread_count() {
1529 _impl_.slow_ui_thread_count_ = 0;
1530 _impl_._has_bits_[0] &= ~0x00000010u;
1531 }
_internal_slow_ui_thread_count()1532 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_slow_ui_thread_count() const {
1533 return _impl_.slow_ui_thread_count_;
1534 }
slow_ui_thread_count()1535 inline ::int32_t GraphicsStatsJankSummaryProto::slow_ui_thread_count() const {
1536 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_ui_thread_count)
1537 return _internal_slow_ui_thread_count();
1538 }
_internal_set_slow_ui_thread_count(::int32_t value)1539 inline void GraphicsStatsJankSummaryProto::_internal_set_slow_ui_thread_count(::int32_t value) {
1540 _impl_._has_bits_[0] |= 0x00000010u;
1541 _impl_.slow_ui_thread_count_ = value;
1542 }
set_slow_ui_thread_count(::int32_t value)1543 inline void GraphicsStatsJankSummaryProto::set_slow_ui_thread_count(::int32_t value) {
1544 _internal_set_slow_ui_thread_count(value);
1545 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_ui_thread_count)
1546 }
1547
1548 // optional int32 slow_bitmap_upload_count = 6;
_internal_has_slow_bitmap_upload_count()1549 inline bool GraphicsStatsJankSummaryProto::_internal_has_slow_bitmap_upload_count() const {
1550 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1551 return value;
1552 }
has_slow_bitmap_upload_count()1553 inline bool GraphicsStatsJankSummaryProto::has_slow_bitmap_upload_count() const {
1554 return _internal_has_slow_bitmap_upload_count();
1555 }
clear_slow_bitmap_upload_count()1556 inline void GraphicsStatsJankSummaryProto::clear_slow_bitmap_upload_count() {
1557 _impl_.slow_bitmap_upload_count_ = 0;
1558 _impl_._has_bits_[0] &= ~0x00000020u;
1559 }
_internal_slow_bitmap_upload_count()1560 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_slow_bitmap_upload_count() const {
1561 return _impl_.slow_bitmap_upload_count_;
1562 }
slow_bitmap_upload_count()1563 inline ::int32_t GraphicsStatsJankSummaryProto::slow_bitmap_upload_count() const {
1564 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_bitmap_upload_count)
1565 return _internal_slow_bitmap_upload_count();
1566 }
_internal_set_slow_bitmap_upload_count(::int32_t value)1567 inline void GraphicsStatsJankSummaryProto::_internal_set_slow_bitmap_upload_count(::int32_t value) {
1568 _impl_._has_bits_[0] |= 0x00000020u;
1569 _impl_.slow_bitmap_upload_count_ = value;
1570 }
set_slow_bitmap_upload_count(::int32_t value)1571 inline void GraphicsStatsJankSummaryProto::set_slow_bitmap_upload_count(::int32_t value) {
1572 _internal_set_slow_bitmap_upload_count(value);
1573 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_bitmap_upload_count)
1574 }
1575
1576 // optional int32 slow_draw_count = 7;
_internal_has_slow_draw_count()1577 inline bool GraphicsStatsJankSummaryProto::_internal_has_slow_draw_count() const {
1578 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1579 return value;
1580 }
has_slow_draw_count()1581 inline bool GraphicsStatsJankSummaryProto::has_slow_draw_count() const {
1582 return _internal_has_slow_draw_count();
1583 }
clear_slow_draw_count()1584 inline void GraphicsStatsJankSummaryProto::clear_slow_draw_count() {
1585 _impl_.slow_draw_count_ = 0;
1586 _impl_._has_bits_[0] &= ~0x00000040u;
1587 }
_internal_slow_draw_count()1588 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_slow_draw_count() const {
1589 return _impl_.slow_draw_count_;
1590 }
slow_draw_count()1591 inline ::int32_t GraphicsStatsJankSummaryProto::slow_draw_count() const {
1592 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_draw_count)
1593 return _internal_slow_draw_count();
1594 }
_internal_set_slow_draw_count(::int32_t value)1595 inline void GraphicsStatsJankSummaryProto::_internal_set_slow_draw_count(::int32_t value) {
1596 _impl_._has_bits_[0] |= 0x00000040u;
1597 _impl_.slow_draw_count_ = value;
1598 }
set_slow_draw_count(::int32_t value)1599 inline void GraphicsStatsJankSummaryProto::set_slow_draw_count(::int32_t value) {
1600 _internal_set_slow_draw_count(value);
1601 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.slow_draw_count)
1602 }
1603
1604 // optional int32 missed_deadline_count = 8;
_internal_has_missed_deadline_count()1605 inline bool GraphicsStatsJankSummaryProto::_internal_has_missed_deadline_count() const {
1606 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1607 return value;
1608 }
has_missed_deadline_count()1609 inline bool GraphicsStatsJankSummaryProto::has_missed_deadline_count() const {
1610 return _internal_has_missed_deadline_count();
1611 }
clear_missed_deadline_count()1612 inline void GraphicsStatsJankSummaryProto::clear_missed_deadline_count() {
1613 _impl_.missed_deadline_count_ = 0;
1614 _impl_._has_bits_[0] &= ~0x00000080u;
1615 }
_internal_missed_deadline_count()1616 inline ::int32_t GraphicsStatsJankSummaryProto::_internal_missed_deadline_count() const {
1617 return _impl_.missed_deadline_count_;
1618 }
missed_deadline_count()1619 inline ::int32_t GraphicsStatsJankSummaryProto::missed_deadline_count() const {
1620 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsJankSummaryProto.missed_deadline_count)
1621 return _internal_missed_deadline_count();
1622 }
_internal_set_missed_deadline_count(::int32_t value)1623 inline void GraphicsStatsJankSummaryProto::_internal_set_missed_deadline_count(::int32_t value) {
1624 _impl_._has_bits_[0] |= 0x00000080u;
1625 _impl_.missed_deadline_count_ = value;
1626 }
set_missed_deadline_count(::int32_t value)1627 inline void GraphicsStatsJankSummaryProto::set_missed_deadline_count(::int32_t value) {
1628 _internal_set_missed_deadline_count(value);
1629 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsJankSummaryProto.missed_deadline_count)
1630 }
1631
1632 // -------------------------------------------------------------------
1633
1634 // GraphicsStatsHistogramBucketProto
1635
1636 // optional int32 render_millis = 1;
_internal_has_render_millis()1637 inline bool GraphicsStatsHistogramBucketProto::_internal_has_render_millis() const {
1638 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1639 return value;
1640 }
has_render_millis()1641 inline bool GraphicsStatsHistogramBucketProto::has_render_millis() const {
1642 return _internal_has_render_millis();
1643 }
clear_render_millis()1644 inline void GraphicsStatsHistogramBucketProto::clear_render_millis() {
1645 _impl_.render_millis_ = 0;
1646 _impl_._has_bits_[0] &= ~0x00000001u;
1647 }
_internal_render_millis()1648 inline ::int32_t GraphicsStatsHistogramBucketProto::_internal_render_millis() const {
1649 return _impl_.render_millis_;
1650 }
render_millis()1651 inline ::int32_t GraphicsStatsHistogramBucketProto::render_millis() const {
1652 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsHistogramBucketProto.render_millis)
1653 return _internal_render_millis();
1654 }
_internal_set_render_millis(::int32_t value)1655 inline void GraphicsStatsHistogramBucketProto::_internal_set_render_millis(::int32_t value) {
1656 _impl_._has_bits_[0] |= 0x00000001u;
1657 _impl_.render_millis_ = value;
1658 }
set_render_millis(::int32_t value)1659 inline void GraphicsStatsHistogramBucketProto::set_render_millis(::int32_t value) {
1660 _internal_set_render_millis(value);
1661 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsHistogramBucketProto.render_millis)
1662 }
1663
1664 // optional int32 frame_count = 2;
_internal_has_frame_count()1665 inline bool GraphicsStatsHistogramBucketProto::_internal_has_frame_count() const {
1666 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1667 return value;
1668 }
has_frame_count()1669 inline bool GraphicsStatsHistogramBucketProto::has_frame_count() const {
1670 return _internal_has_frame_count();
1671 }
clear_frame_count()1672 inline void GraphicsStatsHistogramBucketProto::clear_frame_count() {
1673 _impl_.frame_count_ = 0;
1674 _impl_._has_bits_[0] &= ~0x00000002u;
1675 }
_internal_frame_count()1676 inline ::int32_t GraphicsStatsHistogramBucketProto::_internal_frame_count() const {
1677 return _impl_.frame_count_;
1678 }
frame_count()1679 inline ::int32_t GraphicsStatsHistogramBucketProto::frame_count() const {
1680 // @@protoc_insertion_point(field_get:android.uirenderer.protos.GraphicsStatsHistogramBucketProto.frame_count)
1681 return _internal_frame_count();
1682 }
_internal_set_frame_count(::int32_t value)1683 inline void GraphicsStatsHistogramBucketProto::_internal_set_frame_count(::int32_t value) {
1684 _impl_._has_bits_[0] |= 0x00000002u;
1685 _impl_.frame_count_ = value;
1686 }
set_frame_count(::int32_t value)1687 inline void GraphicsStatsHistogramBucketProto::set_frame_count(::int32_t value) {
1688 _internal_set_frame_count(value);
1689 // @@protoc_insertion_point(field_set:android.uirenderer.protos.GraphicsStatsHistogramBucketProto.frame_count)
1690 }
1691
1692 #ifdef __GNUC__
1693 #pragma GCC diagnostic pop
1694 #endif // __GNUC__
1695 // -------------------------------------------------------------------
1696
1697 // -------------------------------------------------------------------
1698
1699 // -------------------------------------------------------------------
1700
1701
1702 // @@protoc_insertion_point(namespace_scope)
1703
1704 } // namespace protos
1705 } // namespace uirenderer
1706 } // namespace android
1707
1708 PROTOBUF_NAMESPACE_OPEN
1709
1710 template <> struct is_proto_enum< ::android::uirenderer::protos::GraphicsStatsProto_PipelineType> : ::std::true_type {};
1711
1712 PROTOBUF_NAMESPACE_CLOSE
1713
1714 // @@protoc_insertion_point(global_scope)
1715
1716 #include <google/protobuf/port_undef.inc>
1717 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2flibs_2fhwui_2fprotos_2fgraphicsstats_2eproto
1718