1/* 2 * Copyright (C) 2016 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 TESTS_DATA_BASIC_R_H_ 18#define TESTS_DATA_BASIC_R_H_ 19 20#include <cstdint> 21 22namespace com { 23namespace android { 24namespace basic { 25 26struct R { 27 struct attr { 28 enum : uint32_t { 29 attr1 = 0x7f010000, 30 attr2 = 0x7f010001, 31 }; 32 }; 33 34 struct layout { 35 enum : uint32_t { 36 main = 0x7f020000, 37 }; 38 }; 39 40 struct string { 41 enum : uint32_t { 42 test1 = 0x7f030000, 43 test2 = 0x7f030001, 44 density = 0x7f030002, 45 46 // From feature 47 test3 = 0x80020000, 48 test4 = 0x80020001, 49 }; 50 }; 51 52 struct integer { 53 enum : uint32_t { 54 number1 = 0x7f040000, 55 number2 = 0x7f040001, 56 ref1 = 0x7f040002, 57 ref2 = 0x7f040003, 58 59 // From feature 60 number3 = 0x80030000, 61 }; 62 }; 63 64 struct style { 65 enum : uint32_t { 66 Theme1 = 0x7f050000, 67 Theme2 = 0x7f050001, 68 }; 69 }; 70 71 struct array { 72 enum : uint32_t { 73 integerArray1 = 0x7f060000, 74 }; 75 }; 76}; 77 78} // namespace basic 79} // namespace android 80} // namespace com 81 82#endif /* TESTS_DATA_BASIC_R_H_ */ 83