Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 | |
| 17 | package com.example.android.systemupdatersample.util; |
| 18 | |
| 19 | /** Utility class for property files in a package. */ |
| 20 | public final class PackagePropertyFiles { |
| 21 | |
| 22 | public static final String PAYLOAD_BINARY_FILE_NAME = "payload.bin"; |
| 23 | |
| 24 | public static final String PAYLOAD_HEADER_FILE_NAME = "payload_header.bin"; |
| 25 | |
| 26 | public static final String PAYLOAD_METADATA_FILE_NAME = "payload_metadata.bin"; |
| 27 | |
| 28 | public static final String PAYLOAD_PROPERTIES_FILE_NAME = "payload_properties.txt"; |
| 29 | |
| 30 | /** The zip entry in an A/B OTA package, which will be used by update_verifier. */ |
| 31 | public static final String CARE_MAP_FILE_NAME = "care_map.txt"; |
| 32 | |
| 33 | public static final String METADATA_FILE_NAME = "metadata"; |
| 34 | |
| 35 | /** |
| 36 | * The zip file that claims the compatibility of the update package to check against the Android |
| 37 | * framework to ensure that the package can be installed on the device. |
| 38 | */ |
| 39 | public static final String COMPATIBILITY_ZIP_FILE_NAME = "compatibility.zip"; |
| 40 | |
| 41 | private PackagePropertyFiles() {} |
| 42 | } |