blob: 4bacf9a68a6245365ae5962636580c6d9cfc4941 [file] [log] [blame]
Christopher Wiley9e1eda92015-11-16 15:23:37 -08001/*
2 * Copyright (C) 2015 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
17package android.os;
18
Christopher Wiley811cd6e2016-06-23 17:45:19 -070019/** @hide */
Tao Baoe78e3fb2016-01-04 17:57:53 -080020oneway interface IUpdateEngineCallback {
Christopher Wiley811cd6e2016-06-23 17:45:19 -070021 /** @hide */
Artur Satayev2b0f10a2019-11-04 19:56:23 +000022 @UnsupportedAppUsage
Christopher Wiley9e1eda92015-11-16 15:23:37 -080023 void onStatusUpdate(int status_code, float percentage);
Christopher Wiley811cd6e2016-06-23 17:45:19 -070024 /** @hide */
Christopher Wiley9e1eda92015-11-16 15:23:37 -080025 void onPayloadApplicationComplete(int error_code);
26}