1syntax = "proto2"; 2 3package android.os.statsd.accessibility; 4 5import "frameworks/proto_logging/stats/atoms.proto"; 6import "frameworks/proto_logging/stats/atom_field_options.proto"; 7import "frameworks/proto_logging/stats/enums/accessibility/enums.proto"; 8 9option java_package = "com.android.os.accessibility"; 10option java_multiple_files = true; 11 12extend Atom { 13 optional AccessibilityCheckResultReported accessibility_check_result_reported = 910 14 [(module) = "accessibility", (restriction_category) = RESTRICTION_DIAGNOSTIC]; 15} 16 17/** Logs the result of an AccessibilityCheck. */ 18message AccessibilityCheckResultReported { 19 // Package name of the app containing the checked View. 20 optional string package_name = 1; 21 // Version code of the app containing the checked View. 22 optional int64 app_version = 2; 23 // The path of the View starting from the root element in the window. Each element is 24 // represented by the View's resource id, when available, or the View's class name. 25 optional string ui_element_path = 3; 26 // Class name of the activity containing the checked View. 27 optional string activity_name = 4; 28 // Title of the window containing the checked View. 29 optional string window_title = 5; 30 // The flattened component name of the app running the AccessibilityService which provided the a11y node. 31 optional string source_component_name = 6; 32 // Version code of the app running the AccessibilityService that provided the a11y node. 33 optional int64 source_version = 7; 34 // Class Name of the AccessibilityCheck that produced the result. 35 optional android.accessibility.AccessibilityCheckClass result_check_class = 8; 36 // Result type of the AccessibilityCheckResult. 37 optional android.accessibility.AccessibilityCheckResultType result_type = 9; 38 // Result ID of the AccessibilityCheckResult. 39 optional int32 result_id = 10; 40} 41