1/* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17syntax = "proto2"; 18 19package android.os.statsd.healthfitness.ui; 20 21import "frameworks/proto_logging/stats/atoms.proto"; 22import "frameworks/proto_logging/stats/atom_field_options.proto"; 23import "frameworks/proto_logging/stats/enums/healthfitness/ui/enums.proto"; 24 25option java_multiple_files = true; 26option java_package = "com.android.os.healthfitness.ui"; 27 28extend Atom { 29 optional HealthConnectUiImpression health_connect_ui_impression = 623 [(module) = "healthfitness"]; 30 31 optional HealthConnectUiInteraction health_connect_ui_interaction = 624 [(module) = "healthfitness"]; 32 33 optional HealthConnectAppOpenedReported health_connect_app_opened_reported = 625 [(module) = "healthfitness"]; 34 35} 36 37message HealthConnectUiImpression { 38 optional android.healthfitness.ui.PageId page = 1; 39 optional android.healthfitness.ui.ElementId element = 2; 40} 41 42message HealthConnectUiInteraction { 43 optional android.healthfitness.ui.PageId page = 1; 44 optional android.healthfitness.ui.ElementId element = 2; 45 optional android.healthfitness.ui.Action action = 3; 46} 47 48message HealthConnectAppOpenedReported { 49 optional android.healthfitness.ui.Source source = 1; 50} 51