blob: bd568f06cbf2187d10b923d372dbf446de57f081 [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 Seokcba467e2018-03-12 10:53:32 +090032 "init.svc.console",
Jaekyun Seokcf2da292018-01-31 18:12:13 +090033 "init.svc.mediadrm",
34 "init.svc.zygote",
35 "persist.bluetooth.btsnoopenable",
36 "persist.sys.crash_rcu",
37 "persist.sys.zram_enabled",
38 "ro.bootmode",
39 "ro.build.type",
40 "sys.boot_completed",
41 "sys.retaildemo.enabled",
42 "sys.shutdown.requested",
43 "sys.usb.config",
44 "sys.usb.configfs",
45 "sys.usb.ffs.mtp.ready",
46 "sys.usb.ffs.ready",
47 "sys.user.0.ce_available",
48 "sys.vdso",
Jaekyun Seokeeb21882018-01-16 12:51:19 +090049 "vts.native_server.on",
50};
51
52} // namespace init
53} // namespace android
54
55#endif