blob: ad998b9a7a4c95ac0940061dcac04c264ed88e4e [file] [log] [blame]
Winson62ac8b52019-12-04 08:36:48 -08001/*
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
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020017#ifndef IDMAP2_TESTS_R_H_
18#define IDMAP2_TESTS_R_H_
Winson62ac8b52019-12-04 08:36:48 -080019
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020020#include <string>
21
22#include "idmap2/ResourceUtils.h"
Winson62ac8b52019-12-04 08:36:48 -080023
24namespace android::idmap2 {
25
Winson62ac8b52019-12-04 08:36:48 -080026// clang-format off
27namespace R::target {
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020028 namespace integer { // NOLINT(runtime/indentation_namespace)
Winson62ac8b52019-12-04 08:36:48 -080029 constexpr ResourceId int1 = 0x7f010000;
Winson62ac8b52019-12-04 08:36:48 -080030 }
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020031 namespace string { // NOLINT(runtime/indentation_namespace)
Winson62ac8b52019-12-04 08:36:48 -080032 constexpr ResourceId not_overlayable = 0x7f020003;
33 constexpr ResourceId other = 0x7f020004;
Winsonf56ade32019-12-04 11:32:41 -080034 constexpr ResourceId policy_actor = 0x7f020005;
Zoran Jovanovic9336d9e2020-06-09 18:51:57 +020035 constexpr ResourceId policy_config_signature = 0x7f020006;
36 constexpr ResourceId policy_odm = 0x7f020007;
37 constexpr ResourceId policy_oem = 0x7f020008;
38 constexpr ResourceId policy_product = 0x7f020009;
39 constexpr ResourceId policy_public = 0x7f02000a;
40 constexpr ResourceId policy_signature = 0x7f02000b;
41 constexpr ResourceId policy_system = 0x7f02000c;
42 constexpr ResourceId policy_system_vendor = 0x7f02000d;
43 constexpr ResourceId str1 = 0x7f02000e;
Jeremy Meyer65871022022-07-12 22:45:08 +000044 constexpr ResourceId str2 = 0x7f02000f;
Zoran Jovanovic9336d9e2020-06-09 18:51:57 +020045 constexpr ResourceId str3 = 0x7f020010;
46 constexpr ResourceId str4 = 0x7f020011;
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020047 } // namespace string
48} // namespace R::target
Winson62ac8b52019-12-04 08:36:48 -080049
50namespace R::overlay {
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020051 namespace integer { // NOLINT(runtime/indentation_namespace)
Winson62ac8b52019-12-04 08:36:48 -080052 constexpr ResourceId int1 = 0x7f010000;
Ryan Mitchell30dc2e02020-12-02 11:43:18 -080053 constexpr ResourceId not_in_target = 0x7f010001;
Winson62ac8b52019-12-04 08:36:48 -080054 }
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020055 namespace string { // NOLINT(runtime/indentation_namespace)
Ryan Mitchell30dc2e02020-12-02 11:43:18 -080056 constexpr ResourceId not_overlayable = 0x7f020000;
57 constexpr ResourceId other = 0x7f020001;
58 constexpr ResourceId policy_actor = 0x7f020002;
59 constexpr ResourceId policy_config_signature = 0x7f020003;
60 constexpr ResourceId policy_odm = 0x7f020004;
61 constexpr ResourceId policy_oem = 0x7f020005;
62 constexpr ResourceId policy_product = 0x7f020006;
63 constexpr ResourceId policy_public = 0x7f020007;
64 constexpr ResourceId policy_signature = 0x7f020008;
65 constexpr ResourceId policy_system = 0x7f020009;
66 constexpr ResourceId policy_system_vendor = 0x7f02000a;
67 constexpr ResourceId str1 = 0x7f02000b;
68 constexpr ResourceId str3 = 0x7f02000c;
69 constexpr ResourceId str4 = 0x7f02000d;
Mårten Kongstad1195a6b2021-05-11 12:57:01 +000070 } // namespace string
71} // namespace R::overlay
Winson62ac8b52019-12-04 08:36:48 -080072// clang-format on
73
74} // namespace android::idmap2
75
Mårten Kongstadc4799eb2020-06-04 20:48:11 +020076#endif // IDMAP2_TESTS_R_H_