Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 The Android Open Source Project |
Tom Marshall | 5b4a9d8 | 2018-12-17 15:57:44 -0800 | [diff] [blame] | 3 | * Copyright (C) 2019 The LineageOS Project |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | #ifndef _ADB_INSTALL_H |
| 19 | #define _ADB_INSTALL_H |
| 20 | |
Tom Marshall | 668f1c3 | 2018-03-06 22:51:58 +0100 | [diff] [blame] | 21 | void sideload_start(); |
| 22 | void sideload_wait(bool cancel); |
Tom Marshall | e2b6a97 | 2018-06-21 00:57:24 +0200 | [diff] [blame] | 23 | int sideload_install(bool* wipe_cache, const char* install_file, bool verify); |
Tom Marshall | 668f1c3 | 2018-03-06 22:51:58 +0100 | [diff] [blame] | 24 | void sideload_stop(); |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 25 | |
| 26 | #endif |