1/* 2 * Copyright (C) 2024 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.telephony.iwlan; 20 21import "frameworks/proto_logging/stats/atom_field_options.proto"; 22import "frameworks/proto_logging/stats/atoms.proto"; 23import "frameworks/proto_logging/stats/enums/telephony/iwlan/enums.proto"; 24 25option java_package = "com.android.os.telephony.iwlan"; 26option java_multiple_files = true; 27 28extend Atom { 29 optional IwlanUnderlyingNetworkValidationResultReported iwlan_underlying_network_validation_result_reported = 923 30 [(module) = "iwlan"]; 31} 32 33/** 34 * Logs when Iwlan trigger underlying network validation. pushed 35 * 36 * Logged from: 37 * packages/services/Iwlan/src/com/google/android/iwlan/epdg/EpdgTunnelManager.java 38 */ 39message IwlanUnderlyingNetworkValidationResultReported { 40 // Underlying network validation trigger event 41 optional android.telephony.iwlan.UnderlyingNetworkValidationEvent trigger_event = 1; 42 43 // Underlying network validation result 44 optional android.telephony.iwlan.UnderlyingNetworkValidationResult validation_result = 2; 45 46 // Underlying network transport type 47 optional android.telephony.iwlan.TransportType transport_type = 3; 48 49 // Time for receiving the validation result 50 optional int32 validation_duration_millis = 4; 51 52 // Whether a new instance of validation check is triggered 53 optional bool validation_triggered = 5; 54} 55