1 /* 2 * Copyright (C) 2017 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 // Define some of the string constants associated with the region layout. 18 #include "common/vsoc/shm/e2e_test_region_layout.h" 19 20 namespace vsoc { 21 namespace layout { 22 namespace e2e_test { 23 24 const char* E2EPrimaryTestRegionLayout::region_name = "e2e_primary"; 25 const char 26 E2EPrimaryTestRegionLayout::guest_pattern[E2EMemoryFill::kOwnedFieldSize] = 27 "primary guest e2e string"; 28 const char 29 E2EPrimaryTestRegionLayout::host_pattern[E2EMemoryFill::kOwnedFieldSize] = 30 "primary host e2e string"; 31 32 const char* E2ESecondaryTestRegionLayout::region_name = "e2e_secondary"; 33 const char E2ESecondaryTestRegionLayout::guest_pattern 34 [E2EMemoryFill::kOwnedFieldSize] = "secondary guest e2e string"; 35 const char 36 E2ESecondaryTestRegionLayout::host_pattern[E2EMemoryFill::kOwnedFieldSize] = 37 "secondary host e2e string"; 38 39 const char* E2EUnfindableRegionLayout::region_name = "e2e_must_not_exist"; 40 41 const char* E2EManagedTestRegionLayout::region_name = "e2e_managed"; 42 43 const char* E2EManagerTestRegionLayout::region_name = "e2e_manager"; 44 45 } // namespace e2e_test 46 } // namespace layout 47 } // namespace vsoc 48