perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
96 lines • 5.8 kB
JavaScript
"use strict";
//
// Copyright 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AndroidInputEventConfig_TraceLevelSchema = exports.AndroidInputEventConfig_TraceLevel = exports.AndroidInputEventConfig_TraceModeSchema = exports.AndroidInputEventConfig_TraceMode = exports.AndroidInputEventConfig_TraceRuleSchema = exports.AndroidInputEventConfigSchema = exports.file_protos_perfetto_config_android_android_input_event_config = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/config/android/android_input_event_config.proto.
*/
exports.file_protos_perfetto_config_android_android_input_event_config = (0, codegenv1_1.fileDesc)("Cj9wcm90b3MvcGVyZmV0dG8vY29uZmlnL2FuZHJvaWQvYW5kcm9pZF9pbnB1dF9ldmVudF9jb25maWcucHJvdG8SD3BlcmZldHRvLnByb3RvcyLTBAoXQW5kcm9pZElucHV0RXZlbnRDb25maWcSQAoEbW9kZRgBIAEoDjIyLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkSW5wdXRFdmVudENvbmZpZy5UcmFjZU1vZGUSQQoFcnVsZXMYAiADKAsyMi5wZXJmZXR0by5wcm90b3MuQW5kcm9pZElucHV0RXZlbnRDb25maWcuVHJhY2VSdWxlEiUKHXRyYWNlX2Rpc3BhdGNoZXJfaW5wdXRfZXZlbnRzGAMgASgIEigKIHRyYWNlX2Rpc3BhdGNoZXJfd2luZG93X2Rpc3BhdGNoGAQgASgIGsgBCglUcmFjZVJ1bGUSSAoLdHJhY2VfbGV2ZWwYASABKA4yMy5wZXJmZXR0by5wcm90b3MuQW5kcm9pZElucHV0RXZlbnRDb25maWcuVHJhY2VMZXZlbBIaChJtYXRjaF9hbGxfcGFja2FnZXMYAiADKAkSGgoSbWF0Y2hfYW55X3BhY2thZ2VzGAMgAygJEhQKDG1hdGNoX3NlY3VyZRgEIAEoCBIjChttYXRjaF9pbWVfY29ubmVjdGlvbl9hY3RpdmUYBSABKAgiPwoJVHJhY2VNb2RlEhgKFFRSQUNFX01PREVfVFJBQ0VfQUxMEAASGAoUVFJBQ0VfTU9ERV9VU0VfUlVMRVMQASJWCgpUcmFjZUxldmVsEhQKEFRSQUNFX0xFVkVMX05PTkUQABIYChRUUkFDRV9MRVZFTF9SRURBQ1RFRBABEhgKFFRSQUNFX0xFVkVMX0NPTVBMRVRFEAI");
/**
* Describes the message perfetto.protos.AndroidInputEventConfig.
* Use `create(AndroidInputEventConfigSchema)` to create a new message.
*/
exports.AndroidInputEventConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_android_android_input_event_config, 0);
/**
* Describes the message perfetto.protos.AndroidInputEventConfig.TraceRule.
* Use `create(AndroidInputEventConfig_TraceRuleSchema)` to create a new message.
*/
exports.AndroidInputEventConfig_TraceRuleSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_android_android_input_event_config, 0, 0);
/**
* Trace modes are tracing presets that are included in the system.
*
* @generated from enum perfetto.protos.AndroidInputEventConfig.TraceMode
*/
var AndroidInputEventConfig_TraceMode;
(function (AndroidInputEventConfig_TraceMode) {
/**
* Preset mode for maximal tracing.
* WARNING: This will bypass all privacy measures on debuggable builds, and
* will record all
* input events processed by the system, regardless of the context
* in which they were processed. It should only be used for tracing
* on a local device or for tests. It should NEVER be used for
* field tracing.
*
* @generated from enum value: TRACE_MODE_TRACE_ALL = 0;
*/
AndroidInputEventConfig_TraceMode[AndroidInputEventConfig_TraceMode["TRACE_ALL"] = 0] = "TRACE_ALL";
/**
* Use the tracing rules defined in this config to specify what events to
* trace.
*
* @generated from enum value: TRACE_MODE_USE_RULES = 1;
*/
AndroidInputEventConfig_TraceMode[AndroidInputEventConfig_TraceMode["USE_RULES"] = 1] = "USE_RULES";
})(AndroidInputEventConfig_TraceMode || (exports.AndroidInputEventConfig_TraceMode = AndroidInputEventConfig_TraceMode = {}));
/**
* Describes the enum perfetto.protos.AndroidInputEventConfig.TraceMode.
*/
exports.AndroidInputEventConfig_TraceModeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_android_android_input_event_config, 0, 0);
/**
* The level of tracing that should be applied to an event.
*
* @generated from enum perfetto.protos.AndroidInputEventConfig.TraceLevel
*/
var AndroidInputEventConfig_TraceLevel;
(function (AndroidInputEventConfig_TraceLevel) {
/**
* Do not trace the input event.
*
* @generated from enum value: TRACE_LEVEL_NONE = 0;
*/
AndroidInputEventConfig_TraceLevel[AndroidInputEventConfig_TraceLevel["NONE"] = 0] = "NONE";
/**
* Trace the event as a redacted event, where certain sensitive fields are
* omitted from the trace, including the coordinates of pointer events and
* the key/scan codes of key events.
*
* @generated from enum value: TRACE_LEVEL_REDACTED = 1;
*/
AndroidInputEventConfig_TraceLevel[AndroidInputEventConfig_TraceLevel["REDACTED"] = 1] = "REDACTED";
/**
* Trace the complete event.
*
* @generated from enum value: TRACE_LEVEL_COMPLETE = 2;
*/
AndroidInputEventConfig_TraceLevel[AndroidInputEventConfig_TraceLevel["COMPLETE"] = 2] = "COMPLETE";
})(AndroidInputEventConfig_TraceLevel || (exports.AndroidInputEventConfig_TraceLevel = AndroidInputEventConfig_TraceLevel = {}));
/**
* Describes the enum perfetto.protos.AndroidInputEventConfig.TraceLevel.
*/
exports.AndroidInputEventConfig_TraceLevelSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_android_android_input_event_config, 0, 1);
//# sourceMappingURL=android_input_event_config_pb.js.map