/* * Copyright (C) 2025 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 android.security.advancedprotection; option java_outer_classname = "AdvancedProtectionProtoEnums"; option java_multiple_files = true; // Enum should be the same as in AdvancedProtectionManager.java enum FeatureId { FEATURE_ID_UNKNOWN = 0; FEATURE_ID_DISALLOW_CELLULAR_2G = 1; FEATURE_ID_DISALLOW_INSTALL_UNKNOWN_SOURCES = 2; FEATURE_ID_DISALLOW_USB = 3; FEATURE_ID_DISALLOW_WEP = 4; FEATURE_ID_ENABLE_MTE = 5; } enum DialogueType { DIALOGUE_TYPE_UNKNOWN = 0; DIALOGUE_TYPE_BLOCKED_INTERACTION = 1; DIALOGUE_TYPE_DISABLED_SETTING = 2; }