1syntax = "proto2"; 2 3package android.os.statsd.conscrypt; 4 5option java_package = "com.android.os.conscrypt"; 6 7enum LogListStatus { 8 STATUS_UNKNOWN = 0; 9 STATUS_SUCCESS = 1; // The list was loaded successfully. 10 STATUS_NOT_FOUND = 2; // The list file was not found. 11 STATUS_PARSING_FAILED = 3; // The list file failed to parse. 12 STATUS_EXPIRED = 4; // The timestamp on the list is older than expected for the policy. 13} 14 15enum LogListCompatibilityVersion { 16 COMPAT_VERSION_UNKNOWN = 0; 17 COMPAT_VERSION_V1 = 1; 18} 19enum VerificationResult { 20 RESULT_UNKNOWN = 0; 21 RESULT_SUCCESS = 1; 22 RESULT_GENERIC_FAILURE = 2; 23 RESULT_FAILURE_NO_SCTS_FOUND = 3; 24 RESULT_FAILURE_SCTS_NOT_COMPLIANT = 4; 25 RESULT_FAIL_OPEN_NO_LOG_LIST_AVAILABLE = 5; 26 RESULT_FAIL_OPEN_LOG_LIST_NOT_COMPLIANT = 6; 27} 28 29enum VerificationReason { 30 REASON_UNKNOWN = 0; 31 REASON_DEVICE_WIDE_ENABLED = 1; 32 REASON_SDK_TARGET_DEFAULT_ENABLED = 2; 33 REASON_NSCONFIG_APP_OPT_IN = 3; 34 REASON_NSCONFIG_DOMAIN_OPT_IN = 4; 35} 36