blob: b8c62ced9d264b56092284a1f34d6bc85bc9aeeb [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
17#include "update_engine/binder_service.h"
18
19using android::OK;
20using android::String16;
21using android::os::IUpdateEnginePayloadApplicationCallback;
22using android::sp;
23using android::status_t;
24using std::vector;
25
26namespace chromeos_update_engine {
27
28status_t BinderService::applyPayload(
29 const String16& url,
30 const vector<String16>& header_kv_pairs,
31 const sp<IUpdateEnginePayloadApplicationCallback>& callback,
32 int32_t* return_value) {
33 *return_value = 0;
34 return OK;
35}
36
37status_t BinderService::suspend() {
38 return OK;
39}
40
41status_t BinderService::resume() {
42 return OK;
43}
44
45status_t BinderService::cancel() {
46 return OK;
47}
48
49} // namespace chromeos_update_engine