UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

72 lines 4.19 kB
"use strict"; // // Copyright (C) 2018 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.AndroidPowerConfig_BatteryCountersSchema = exports.AndroidPowerConfig_BatteryCounters = exports.AndroidPowerConfigSchema = exports.file_protos_perfetto_config_power_android_power_config = void 0; const codegenv1_1 = require("@bufbuild/protobuf/codegenv1"); /** * Describes the file protos/perfetto/config/power/android_power_config.proto. */ exports.file_protos_perfetto_config_power_android_power_config = (0, codegenv1_1.fileDesc)("Cjdwcm90b3MvcGVyZmV0dG8vY29uZmlnL3Bvd2VyL2FuZHJvaWRfcG93ZXJfY29uZmlnLnByb3RvEg9wZXJmZXR0by5wcm90b3MiwAMKEkFuZHJvaWRQb3dlckNvbmZpZxIXCg9iYXR0ZXJ5X3BvbGxfbXMYASABKA0STQoQYmF0dGVyeV9jb3VudGVycxgCIAMoDjIzLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkUG93ZXJDb25maWcuQmF0dGVyeUNvdW50ZXJzEhsKE2NvbGxlY3RfcG93ZXJfcmFpbHMYAyABKAgSKwojY29sbGVjdF9lbmVyZ3lfZXN0aW1hdGlvbl9icmVha2Rvd24YBCABKAgSJgoeY29sbGVjdF9lbnRpdHlfc3RhdGVfcmVzaWRlbmN5GAUgASgIIs8BCg9CYXR0ZXJ5Q291bnRlcnMSHwobQkFUVEVSWV9DT1VOVEVSX1VOU1BFQ0lGSUVEEAASGgoWQkFUVEVSWV9DT1VOVEVSX0NIQVJHRRABEiQKIEJBVFRFUllfQ09VTlRFUl9DQVBBQ0lUWV9QRVJDRU5UEAISGwoXQkFUVEVSWV9DT1VOVEVSX0NVUlJFTlQQAxIfChtCQVRURVJZX0NPVU5URVJfQ1VSUkVOVF9BVkcQBBIbChdCQVRURVJZX0NPVU5URVJfVk9MVEFHRRAF"); /** * Describes the message perfetto.protos.AndroidPowerConfig. * Use `create(AndroidPowerConfigSchema)` to create a new message. */ exports.AndroidPowerConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_power_android_power_config, 0); /** * @generated from enum perfetto.protos.AndroidPowerConfig.BatteryCounters */ var AndroidPowerConfig_BatteryCounters; (function (AndroidPowerConfig_BatteryCounters) { /** * @generated from enum value: BATTERY_COUNTER_UNSPECIFIED = 0; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_UNSPECIFIED"] = 0] = "BATTERY_COUNTER_UNSPECIFIED"; /** * Coulomb counter. * * @generated from enum value: BATTERY_COUNTER_CHARGE = 1; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_CHARGE"] = 1] = "BATTERY_COUNTER_CHARGE"; /** * Charge (%). * * @generated from enum value: BATTERY_COUNTER_CAPACITY_PERCENT = 2; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_CAPACITY_PERCENT"] = 2] = "BATTERY_COUNTER_CAPACITY_PERCENT"; /** * Instantaneous current. * * @generated from enum value: BATTERY_COUNTER_CURRENT = 3; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_CURRENT"] = 3] = "BATTERY_COUNTER_CURRENT"; /** * Avg current. * * @generated from enum value: BATTERY_COUNTER_CURRENT_AVG = 4; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_CURRENT_AVG"] = 4] = "BATTERY_COUNTER_CURRENT_AVG"; /** * Instantaneous voltage. * * @generated from enum value: BATTERY_COUNTER_VOLTAGE = 5; */ AndroidPowerConfig_BatteryCounters[AndroidPowerConfig_BatteryCounters["BATTERY_COUNTER_VOLTAGE"] = 5] = "BATTERY_COUNTER_VOLTAGE"; })(AndroidPowerConfig_BatteryCounters || (exports.AndroidPowerConfig_BatteryCounters = AndroidPowerConfig_BatteryCounters = {})); /** * Describes the enum perfetto.protos.AndroidPowerConfig.BatteryCounters. */ exports.AndroidPowerConfig_BatteryCountersSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_power_android_power_config, 0, 0); //# sourceMappingURL=android_power_config_pb.js.map