1 // This file is a dummy section_list.cpp used for test only.
2 #include "section_list.h"
3 
4 namespace android {
5 namespace os {
6 namespace incidentd {
7 
8 const Section* SECTION_LIST[] = {NULL};
9 
10 Privacy sub_field_1{1, 1, NULL, DEST_LOCAL, NULL};
11 Privacy sub_field_2{2, 9, NULL, DEST_AUTOMATIC, NULL};
12 
13 Privacy* list[] = {&sub_field_1, &sub_field_2, NULL};
14 
15 Privacy field_0{0, 11, list, DEST_EXPLICIT, NULL};
16 Privacy field_1{1, 9, NULL, DEST_AUTOMATIC, NULL};
17 
18 Privacy* final_list[] = {&field_0, &field_1};
19 
20 const Privacy** PRIVACY_POLICY_LIST = const_cast<const Privacy**>(final_list);
21 
22 const int PRIVACY_POLICY_COUNT = 2;
23 
24 }  // namespace incidentd
25 }  // namespace os
26 }  // namespace android