blob: 8219838d8fde1c876d07738d62c9afa7ea0e506a [file] [log] [blame]
Jaekyun Seokeeb21882018-01-16 12:51:19 +09001/*
2 * Copyright (C) 2018 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 _INIT_STABLE_PROPERTIES_H
18#define _INIT_STABLE_PROPERTIES_H
19
20#include <set>
21#include <string>
22
23namespace android {
24namespace init {
25
26static constexpr const char* kPartnerPrefixes[] = {
27 "init.svc.vendor.", "ro.vendor.", "persist.vendor.", "vendor.",
28 "init.svc.odm.", "ro.odm.", "persist.odm.", "odm.",
29};
30
31static const std::set<std::string> kExportedActionableProperties = {
32 "init.svc.zygote", "persist.bluetooth.btsnoopenable",
33 "persist.sys.crash_rcu", "persist.sys.zram_enabled",
34 "ro.boot.revision", "ro.bootmode",
35 "ro.build.type", "sys.boot_completed",
36 "sys.retaildemo.enabled", "sys.shutdown.requested",
37 "sys.usb.config", "sys.usb.configfs",
38 "sys.usb.ffs.mtp.ready", "sys.usb.ffs.ready",
39 "sys.user.0.ce_available", "sys.vdso",
40 "vts.native_server.on",
41};
42
43} // namespace init
44} // namespace android
45
46#endif