2. Expose Dest values in IIncidentReportArgs.h Please see bug for detail descriptions. Bug: 67869340 Test: unit tested and on-device test. Ran command: $ out/host/linux-x86/bin/incident-section-gen incidentd to test various of privacy taggings. Change-Id: I12af3d7da4c7c72bd63598893fe2c1f70b09baa4
27 lines
599 B
C++
27 lines
599 B
C++
// This file is a dummy section_list.cpp used for test only.
|
|
#include "section_list.h"
|
|
|
|
const Section* SECTION_LIST[] = {
|
|
NULL
|
|
};
|
|
|
|
Privacy sub_field_1 { 1, 1, NULL, DEST_LOCAL, NULL };
|
|
Privacy sub_field_2 { 2, 9, NULL, DEST_AUTOMATIC, NULL };
|
|
|
|
Privacy* list[] = {
|
|
&sub_field_1,
|
|
&sub_field_2,
|
|
NULL };
|
|
|
|
Privacy field_0 { 0, 11, list, DEST_EXPLICIT, NULL };
|
|
Privacy field_1 { 1, 9, NULL, DEST_AUTOMATIC, NULL };
|
|
|
|
Privacy* final_list[] = {
|
|
&field_0,
|
|
&field_1
|
|
};
|
|
|
|
const Privacy** PRIVACY_POLICY_LIST = const_cast<const Privacy**>(final_list);
|
|
|
|
const int PRIVACY_POLICY_COUNT = 2;
|