Searched refs:mProto (Results 1 – 10 of 10) sorted by relevance
131 } else if (newLayer.mProto != null) { in fromFlattenedLayers()134 newLayer.mProto = proto; in fromFlattenedLayers()153 int orphanId = orphan.mChildren.get(0).mProto.parent; in fromFlattenedLayers()195 for (RectProto rectProto : layer.mProto.visibleRegion.rect) { in coversRegion()211 Rect r = extract(layer.mProto.visibleRegion); in coversRegion()212 reason += "\n" + layer.mProto.name + r.toString(); in coversRegion()231 if (layer.mProto.name.contains(layerName)) { in hasVisibleRegion()240 Rect visibleRegion = extract(layer.mProto.visibleRegion); in hasVisibleRegion()243 layer.mProto.name + "has visible region " + expectedVisibleRegion); in hasVisibleRegion()245 reason = layer.mProto.name + " has visible region:" + visibleRegion + " " in hasVisibleRegion()[all …]
102 private final WindowManagerTraceProto mProto; field in WindowManagerTrace.Entry105 mProto = proto; in Entry()138 return mProto.elapsedRealtimeNanos; in getTimestamp()145 StackProto[] stacks = mProto.windowManagerService.rootWindowContainer in getTopVisibleAppWindow()166 WindowTokenProto[] windowTokenProtos = mProto.windowManagerService in isAboveAppWindowVisible()177 WindowTokenProto[] windowTokenProtos = mProto.windowManagerService in isBelowAppWindowVisible()189 WindowTokenProto[] windowTokenProtos = mProto.windowManagerService in isImeWindowVisible()213 StackProto[] stacks = mProto.windowManagerService.rootWindowContainer in isAppWindowVisible()
69 mProto = std::make_unique<ProtoOutputStream>(); in EventMetricProducer()79 mProto->clear(); in dropDataLocked()105 mProto->clear(); in clearPastBucketsLocked()116 if (mProto->size() <= 0) { in onDumpReportLocked()120 size_t bufferSize = mProto->size(); in onDumpReportLocked()123 std::unique_ptr<std::vector<uint8_t>> buffer = serializeProtoLocked(*mProto); in onDumpReportLocked()129 mProto->clear(); in onDumpReportLocked()148 mProto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onMatchedLogEventInternalLocked()151 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_ELAPSED_TIMESTAMP_NANOS, (long long) elapsedTimeNs); in onMatchedLogEventInternalLocked()153 uint64_t eventToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_ATOMS); in onMatchedLogEventInternalLocked()[all …]
71 std::unique_ptr<android::util::ProtoOutputStream> mProto; variable
104 mProto.clear(); in writeToOutputLocked()110 uint64_t atomToken = mProto.start(util::FIELD_TYPE_MESSAGE | in writeToOutputLocked()112 event->ToProto(mProto); in writeToOutputLocked()113 mProto.end(atomToken); in writeToOutputLocked()119 size_t bufferSize = mProto.size(); in writeToOutputLocked()123 mProto.flush(mOutput); in writeToOutputLocked()125 mProto.clear(); in writeToOutputLocked()208 uint64_t atomToken = mProto.start(util::FIELD_TYPE_MESSAGE | in onLogEvent()210 event.ToProto(mProto); in onLogEvent()211 mProto.end(atomToken); in onLogEvent()[all …]
99 android::util::ProtoOutputStream mProto; variable
104 if (!WriteStringToFile(mProto.SerializeAsString(), kLastBootFile)) { in storeParameters()135 if (!mProto.ParseFromString(contents)) { in parseBootParameters()168 mProto.set_silent_boot((volume == 0) || (volume == -1000) || bootAnimationDisabled); in parseLegacyBootParameters()177 auto userParameter = mProto.add_user_parameter(); in parseLegacyBootParameters()190 mIsSilentBoot = mProto.silent_boot(); in loadStateFromProto()192 for (const auto ¶m : mProto.user_parameter()) { in loadStateFromProto()
68 android::things::proto::BootParameters mProto; variable
69 String msg = "Layers:\n" + flattenedLayers.stream().map(layer -> layer.mProto.name) in canParseAllLayers()88 .map(layer -> layer.mProto.name) in canParseVisibleLayers()104 assertThat(layers.get(0).mChildren).hasSize(layers.get(0).mProto.children.length); in canParseLayerHierarchy()105 assertThat(layers.get(1).mChildren).hasSize(layers.get(1).mProto.children.length); in canParseLayerHierarchy()
315 protos::GraphicsStatsServiceDumpProto& proto() { return mProto; } in proto()320 protos::GraphicsStatsServiceDumpProto mProto; member in android::uirenderer::GraphicsStatsService::Dump