blob: 1866059ede6d688554e2e1bcb842bb70959a3077 [file] [log] [blame]
Jeff Sharkey068c6be2017-09-06 13:47:40 -06001/*
2 * Copyright (C) 2017 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#ifndef _VOLD_NATIVE_SERVICE_H_
18#define _VOLD_NATIVE_SERVICE_H_
19
20#include <binder/BinderService.h>
21
22#include "android/os/BnVold.h"
23
24namespace android {
25namespace vold {
26
27class VoldNativeService : public BinderService<VoldNativeService>, public os::BnVold {
28public:
29 static status_t start();
30 static char const* getServiceName() { return "vold"; }
31 virtual status_t dump(int fd, const Vector<String16> &args) override;
32
33 binder::Status reset();
34};
35
36} // namespace vold
37} // namespace android
38
39#endif // _VOLD_NATIVE_SERVICE_H_