blob: b7e814fea079be22b311bec292c6524ce21d32ed [file] [log] [blame]
Adam Lesinski60293192014-10-21 18:36:42 -07001/*
Adam Lesinski4c67a472016-11-10 16:43:59 -08002 * Copyright (C) 2016 The Android Open Source Project
Adam Lesinski60293192014-10-21 18:36:42 -07003 *
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
Adam Lesinski4c67a472016-11-10 16:43:59 -080017#ifndef TESTS_DATA_BASIC_R_H_
18#define TESTS_DATA_BASIC_R_H_
Adam Lesinski833f3cc2014-06-18 15:06:01 -070019
Adam Lesinski4c67a472016-11-10 16:43:59 -080020#include <cstdint>
Adam Lesinski833f3cc2014-06-18 15:06:01 -070021
Adam Lesinski4c67a472016-11-10 16:43:59 -080022namespace com {
23namespace android {
24namespace basic {
25
26struct R {
27 struct attr {
28 enum : uint32_t {
29 attr1 = 0x7f010000,
30 attr2 = 0x7f010001,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070031 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080032 };
Adam Lesinski833f3cc2014-06-18 15:06:01 -070033
Adam Lesinski4c67a472016-11-10 16:43:59 -080034 struct layout {
35 enum : uint32_t {
36 main = 0x7f020000,
Adam Lesinskid9c809c2017-12-28 13:01:35 -080037 layoutt = 0x7f020001,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070038 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080039 };
Adam Lesinski833f3cc2014-06-18 15:06:01 -070040
Adam Lesinski4c67a472016-11-10 16:43:59 -080041 struct string {
42 enum : uint32_t {
43 test1 = 0x7f030000,
44 test2 = 0x7f030001,
45 density = 0x7f030002,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070046
Adam Lesinski4c67a472016-11-10 16:43:59 -080047 // From feature
Adam Lesinski0e25d9a2017-03-10 15:14:27 -080048 test3 = 0x80020000,
49 test4 = 0x80020001,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070050 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080051 };
Adam Lesinski833f3cc2014-06-18 15:06:01 -070052
Adam Lesinski4c67a472016-11-10 16:43:59 -080053 struct integer {
54 enum : uint32_t {
55 number1 = 0x7f040000,
56 number2 = 0x7f040001,
Adam Lesinski0c405242017-01-13 20:47:26 -080057 ref1 = 0x7f040002,
58 ref2 = 0x7f040003,
Adam Lesinskid9c809c2017-12-28 13:01:35 -080059 deep_ref = 0x7f040004,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070060
Adam Lesinski4c67a472016-11-10 16:43:59 -080061 // From feature
Adam Lesinski0e25d9a2017-03-10 15:14:27 -080062 number3 = 0x80030000,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070063 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080064 };
Adam Lesinski833f3cc2014-06-18 15:06:01 -070065
Adam Lesinski4c67a472016-11-10 16:43:59 -080066 struct style {
67 enum : uint32_t {
68 Theme1 = 0x7f050000,
69 Theme2 = 0x7f050001,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070070 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080071 };
Adam Lesinski833f3cc2014-06-18 15:06:01 -070072
Adam Lesinski4c67a472016-11-10 16:43:59 -080073 struct array {
74 enum : uint32_t {
75 integerArray1 = 0x7f060000,
Adam Lesinski833f3cc2014-06-18 15:06:01 -070076 };
Adam Lesinski4c67a472016-11-10 16:43:59 -080077 };
78};
Adam Lesinski833f3cc2014-06-18 15:06:01 -070079
Adam Lesinski4c67a472016-11-10 16:43:59 -080080} // namespace basic
81} // namespace android
82} // namespace com
Adam Lesinski833f3cc2014-06-18 15:06:01 -070083
Adam Lesinski4c67a472016-11-10 16:43:59 -080084#endif /* TESTS_DATA_BASIC_R_H_ */