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 | |
Jooyung Han | 39e8be4 | 2024-02-16 17:23:34 +0900 | [diff] [blame^] | 22 | #include <vector> |
| 23 | |
| 24 | #include <property_info_serializer/property_info_serializer.h> |
| 25 | |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 26 | namespace android { |
| 27 | namespace init { |
| 28 | |
| 29 | Result<void> check_chown(const BuiltinArguments& args); |
| 30 | Result<void> check_exec(const BuiltinArguments& args); |
| 31 | Result<void> check_exec_background(const BuiltinArguments& args); |
Tom Cherry | f66b74f | 2019-09-04 15:26:52 -0700 | [diff] [blame] | 32 | Result<void> check_exec_reboot_on_failure(const BuiltinArguments& args); |
Daniel Norman | d2533c3 | 2019-08-02 15:13:50 -0700 | [diff] [blame] | 33 | Result<void> check_interface_restart(const BuiltinArguments& args); |
| 34 | Result<void> check_interface_start(const BuiltinArguments& args); |
| 35 | Result<void> check_interface_stop(const BuiltinArguments& args); |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 36 | Result<void> check_load_system_props(const BuiltinArguments& args); |
| 37 | Result<void> check_loglevel(const BuiltinArguments& args); |
| 38 | Result<void> check_mkdir(const BuiltinArguments& args); |
Alistair Delva | c631f94 | 2020-05-20 16:24:00 -0700 | [diff] [blame] | 39 | Result<void> check_mount_all(const BuiltinArguments& args); |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 40 | Result<void> check_restorecon(const BuiltinArguments& args); |
| 41 | Result<void> check_restorecon_recursive(const BuiltinArguments& args); |
| 42 | Result<void> check_setprop(const BuiltinArguments& args); |
| 43 | Result<void> check_setrlimit(const BuiltinArguments& args); |
Alistair Delva | afaa5fb | 2020-06-08 11:04:53 -0700 | [diff] [blame] | 44 | Result<void> check_swapon_all(const BuiltinArguments& args); |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 45 | Result<void> check_sysclktz(const BuiltinArguments& args); |
Alistair Delva | c631f94 | 2020-05-20 16:24:00 -0700 | [diff] [blame] | 46 | Result<void> check_umount_all(const BuiltinArguments& args); |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 47 | Result<void> check_wait(const BuiltinArguments& args); |
| 48 | Result<void> check_wait_for_prop(const BuiltinArguments& args); |
| 49 | |
Jooyung Han | 39e8be4 | 2024-02-16 17:23:34 +0900 | [diff] [blame^] | 50 | Result<void> InitializeHostPropertyInfoArea( |
| 51 | const std::vector<properties::PropertyInfoEntry>& property_infos); |
| 52 | |
Tom Cherry | 4772f1d | 2019-07-30 09:34:41 -0700 | [diff] [blame] | 53 | } // namespace init |
| 54 | } // namespace android |