| Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 1 | /* | 
 | 2 |  * Copyright (C) 2019 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 | #pragma once | 
 | 18 |  | 
 | 19 | #include "builtin_arguments.h" | 
 | 20 | #include "result.h" | 
 | 21 |  | 
 | 22 | namespace android { | 
 | 23 | namespace init { | 
 | 24 |  | 
 | 25 | Result<void> check_chown(const BuiltinArguments& args); | 
 | 26 | Result<void> check_exec(const BuiltinArguments& args); | 
 | 27 | Result<void> check_exec_background(const BuiltinArguments& args); | 
| Tom Cherry | f66b74f | 2019-09-04 15:26:52 -0700 | [diff] [blame] | 28 | Result<void> check_exec_reboot_on_failure(const BuiltinArguments& args); | 
| Daniel Norman | d2533c3 | 2019-08-02 15:13:50 -0700 | [diff] [blame] | 29 | Result<void> check_interface_restart(const BuiltinArguments& args); | 
 | 30 | Result<void> check_interface_start(const BuiltinArguments& args); | 
 | 31 | Result<void> check_interface_stop(const BuiltinArguments& args); | 
| Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 32 | Result<void> check_load_system_props(const BuiltinArguments& args); | 
 | 33 | Result<void> check_loglevel(const BuiltinArguments& args); | 
 | 34 | Result<void> check_mkdir(const BuiltinArguments& args); | 
| Alistair Delva | c631f94 | 2020-05-20 16:24:00 -0700 | [diff] [blame] | 35 | Result<void> check_mount_all(const BuiltinArguments& args); | 
| Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 36 | Result<void> check_restorecon(const BuiltinArguments& args); | 
 | 37 | Result<void> check_restorecon_recursive(const BuiltinArguments& args); | 
 | 38 | Result<void> check_setprop(const BuiltinArguments& args); | 
 | 39 | Result<void> check_setrlimit(const BuiltinArguments& args); | 
| Alistair Delva | afaa5fb | 2020-06-08 11:04:53 -0700 | [diff] [blame] | 40 | Result<void> check_swapon_all(const BuiltinArguments& args); | 
| Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 41 | Result<void> check_sysclktz(const BuiltinArguments& args); | 
| Alistair Delva | c631f94 | 2020-05-20 16:24:00 -0700 | [diff] [blame] | 42 | Result<void> check_umount_all(const BuiltinArguments& args); | 
| Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 43 | Result<void> check_wait(const BuiltinArguments& args); | 
 | 44 | Result<void> check_wait_for_prop(const BuiltinArguments& args); | 
 | 45 |  | 
 | 46 | }  // namespace init | 
 | 47 | }  // namespace android |