blob: 4972d101f166f1f18a8d656b4b0c8f5fe16bfe41 [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[] = {
Jaekyun Seokcf2da292018-01-31 18:12:13 +090027 "init.svc.vendor.", "ro.vendor.", "persist.vendor.", "vendor.", "init.svc.odm.", "ro.odm.",
28 "persist.odm.", "odm.", "ro.boot.",
Jaekyun Seokeeb21882018-01-16 12:51:19 +090029};
30
31static const std::set<std::string> kExportedActionableProperties = {
Jaekyun Seok65ce3b22018-04-12 08:16:31 +090032 "dev.bootcomplete",
Jaekyun Seok3b613cc2018-03-12 10:53:32 +090033 "init.svc.console",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090034 "init.svc.mediadrm",
Jaekyun Seok66797802018-04-05 21:20:59 +090035 "init.svc.surfaceflinger",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090036 "init.svc.zygote",
37 "persist.bluetooth.btsnoopenable",
38 "persist.sys.crash_rcu",
Jaekyun Seok56f832e2018-03-19 09:03:57 +090039 "persist.sys.usb.usbradio.config",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090040 "persist.sys.zram_enabled",
Jaekyun Seokf328b0d2018-03-29 14:54:51 +090041 "ro.board.platform",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090042 "ro.bootmode",
43 "ro.build.type",
Jaekyun Seok65ce3b22018-04-12 08:16:31 +090044 "ro.crypto.state",
45 "ro.crypto.type",
Jaekyun Seokfce960c2018-03-28 12:21:03 +090046 "ro.debuggable",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090047 "sys.boot_completed",
Jaekyun Seokf328b0d2018-03-29 14:54:51 +090048 "sys.boot_from_charger_mode",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090049 "sys.retaildemo.enabled",
50 "sys.shutdown.requested",
51 "sys.usb.config",
52 "sys.usb.configfs",
53 "sys.usb.ffs.mtp.ready",
54 "sys.usb.ffs.ready",
55 "sys.user.0.ce_available",
56 "sys.vdso",
Jaekyun Seok65ce3b22018-04-12 08:16:31 +090057 "vold.decrypt",
58 "vold.post_fs_data_done",
Jaekyun Seokeeb21882018-01-16 12:51:19 +090059 "vts.native_server.on",
Jaekyun Seok66797802018-04-05 21:20:59 +090060 "wlan.driver.status",
Jaekyun Seokeeb21882018-01-16 12:51:19 +090061};
62
63} // namespace init
64} // namespace android
65
66#endif