blob: b4debcb9e5d5c4976436f767d0fff2744df45a7b [file] [log] [blame]
/*
* 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 android.apex;
enum InstallationType {
UNKNOWN_INSTALL_TYPE = 0;
STAGED = 1;
REBOOTLESS = 2;
}
enum InstallResultType {
UNKNOWN_INSTALL_RESULT = 0;
INSTALL_SUCCESSFUL = 1;
INSTALL_FAILURE_APEX_READING = 2;
INSTALL_FAILURE_APEX_VALIDATION = 3;
INSTALL_FAILURE_APEX_PREPARATION = 4;
INSTALL_FAILURE_APEX_STAGING = 5;
INSTALL_FAILURE_APEX_INSTALLATION = 6;
INSTALL_FAILURE_APEX_ACTIVATION = 7;
}
enum PreinstallPartition {
PARTITION_UNKNOWN = 0;
PARTITION_OTHER = 1;
PARTITION_PRODUCT = 2;
PARTITION_SYSTEM = 3;
PARTITION_SYSTEM_EXT = 4;
PARTITION_VENDOR = 5;
}