/* * Copyright (C) 2023 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. */ syntax = "proto2"; package perfetto.protos; // Next: 8 message AdServicesUiMetric { optional double common_service_initialization_latency = 1; optional double common_service_permission_check_latency = 2; optional double common_service_ux_engine_flow_latency = 3; optional double main_activity_creation_latency = 4; optional double consent_manager_initialization_latency = 5; optional double consent_manager_read_latency = 6; optional double consent_manager_write_latency = 7; } // Next: 2 message AdServicesAdIdMetric { optional double latency = 1; } // Next: 2 message AdServicesAppSetIdMetric { optional double latency = 1; } // Next: 5 message OnDevicePersonalizationMetric { optional double managing_service_initialization_latency = 1; optional double service_delegate_execute_flow_latency = 2; optional double service_delegate_request_surface_package_latency = 3; optional double service_delegate_register_web_trigger_latency = 4; } // Next: 5 message AdServicesMetric { repeated AdServicesUiMetric ui_metric = 1; repeated AdServicesAdIdMetric ad_id_metric = 2; repeated AdServicesAppSetIdMetric app_set_id_metric = 3; repeated OnDevicePersonalizationMetric odp_metric = 4; }