From 0197096482cb2d50ed6c6b3ff7920af9b0573952 Mon Sep 17 00:00:00 2001 From: Anthony Lee Date: Wed, 3 Aug 2022 16:48:30 +0000 Subject: Add BUILD_ANALYZER_TASK_LABELS to analytics Test: N/A Bug: 239705886 Change-Id: Ic8b77b93439a3d04c526ff2ecf9c58f98cbab371 --- protos/src/main/proto/analytics_enums.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/src/main/proto/analytics_enums.proto b/protos/src/main/proto/analytics_enums.proto index a5d9361..9fcfaba 100644 --- a/protos/src/main/proto/analytics_enums.proto +++ b/protos/src/main/proto/analytics_enums.proto @@ -555,6 +555,7 @@ enum BooleanOption { MISSING_LINT_BASELINE_IS_EMPTY_BASELINE = 153; LEGACY_TRANSFORM_TASK_FORCE_NON_INCREMENTAL = 154; PRIVACY_SANDBOX_SDK_SUPPORT = 155; + BUILD_ANALYZER_TASK_LABELS = 156; } enum OptionalBooleanOption { -- cgit v1.2.3 From 9795e18e9771ca98fb773307e52810f5be7cbe75 Mon Sep 17 00:00:00 2001 From: Maksim Lazeba Date: Thu, 11 Aug 2022 13:04:55 +0100 Subject: Update studio_stats.proto Logs-Approval: cl/466922443 Bug: 241262777 Test: N/A Change-Id: I33943ecc815726c62af0d80bbee16965a37f478e --- protos/src/main/proto/studio_stats.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto index 05188ca..b7b716f 100644 --- a/protos/src/main/proto/studio_stats.proto +++ b/protos/src/main/proto/studio_stats.proto @@ -9737,6 +9737,7 @@ message BuildAttributionUiEvent { CONFIGURE_GC = 7; CONFIGURATION_CACHING = 8; JETIFIER_MIGRATION = 9; + DOWNLOADS_INFO = 10; } // Filter consists of items that might be included or not. -- cgit v1.2.3 From defd8c8cde03300f1dce6b3a1546ca87d84efd1e Mon Sep 17 00:00:00 2001 From: Luke Edgar Date: Mon, 20 Jun 2022 17:30:13 +0100 Subject: Add ENABLE_DEFAULT_DEBUG_SIGNING_CONFIG to analytics Bug: 236351248 Test: N/a Change-Id: Ifeafde674dd2384e8f171cf6d5f498ab96573b80 --- protos/src/main/proto/analytics_enums.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/src/main/proto/analytics_enums.proto b/protos/src/main/proto/analytics_enums.proto index 9fcfaba..09b9cd6 100644 --- a/protos/src/main/proto/analytics_enums.proto +++ b/protos/src/main/proto/analytics_enums.proto @@ -556,6 +556,7 @@ enum BooleanOption { LEGACY_TRANSFORM_TASK_FORCE_NON_INCREMENTAL = 154; PRIVACY_SANDBOX_SDK_SUPPORT = 155; BUILD_ANALYZER_TASK_LABELS = 156; + ENABLE_DEFAULT_DEBUG_SIGNING_CONFIG = 157; } enum OptionalBooleanOption { -- cgit v1.2.3 From 9370a9dbf614fa71688defd7e6514333ce76cfbe Mon Sep 17 00:00:00 2001 From: Jens Ole Lauridsen Date: Thu, 11 Aug 2022 13:37:07 -0700 Subject: Update studio_stats.proto Logs-Approval: cl/466987386 Bug: 241803996 Test: N/A Change-Id: Ie316435bdc97e63d657051ff2b1ff6dd548e00af --- protos/src/main/proto/studio_stats.proto | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto index b7b716f..5073ac2 100644 --- a/protos/src/main/proto/studio_stats.proto +++ b/protos/src/main/proto/studio_stats.proto @@ -7503,6 +7503,8 @@ message DynamicLayoutInspectorSession { optional DynamicLayoutInspectorSystemNode system = 5; // Session data around goto declaration optional DynamicLayoutInspectorGotoDeclaration goto_declaration = 6; + // Session data around attachment to process + optional DynamicLayoutInspectorAttachToProcess attach = 7; } // Session data for dynamic layout inspector (inspector v2) around live mode @@ -7527,6 +7529,8 @@ message DynamicLayoutInspectorRotation { optional uint32 component_tree_clicks_in_2d = 4; } +// Session data for dynamic layout inspector (inspector v2) around the system +// view toggle message DynamicLayoutInspectorCompose { // Is the kotlin reflection library included in the project optional bool kotlin_reflection_available = 1; @@ -7546,6 +7550,8 @@ message DynamicLayoutInspectorCompose { optional uint32 recomposition_reset_clicks = 8; } +// Session data for dynamic layout inspector (inspector v2) around hiding of +// system nodes message DynamicLayoutInspectorSystemNode { // Number of selections while the system views are hidden optional uint32 clicks_with_hidden_system_views = 1; @@ -7581,6 +7587,28 @@ message DynamicLayoutInspectorGotoDeclaration { optional uint32 double_clicks = 3; } +// Session data for dynamic layout inspector (inspector v2) process attaching +message DynamicLayoutInspectorAttachToProcess { + // Client type: Legacy or AppInspection + optional ClientType client_type = 1; + // True if the attach to process succeeded + optional bool success = 2; + // Error information if the attach failed + optional DynamicLayoutInspectorErrorInfo error_info = 3; + + // The Client type + enum ClientType { + // Unknown client + UNKNOWN_CLIENT_TYPE = 0; + // Client using DdmClient.dumpViewHierarchy to retrieve View information + LEGACY_CLIENT = 1; + // Client using app inspection to retrieve View and Compose information + APP_INSPECTION_CLIENT = 2; + // Data loaded from a file + SNAPSHOT_CLIENT = 3; + } +} + // Kotlin support information message KotlinSupport { // True if "Include Kotlin Support" option checked -- cgit v1.2.3 From 42768447b1d89ed38be657c92e72b94e82aeecfc Mon Sep 17 00:00:00 2001 From: Amr Afifiy Date: Thu, 30 Jun 2022 15:54:13 +0100 Subject: Add enum value for resources source API access Test: AnalyticsEnabledSourcesTest Bug: 237303854 Change-Id: I6816964f955e73a221f3d61487df79b024df8211 --- protos/src/main/proto/analytics_enums.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/src/main/proto/analytics_enums.proto b/protos/src/main/proto/analytics_enums.proto index 09b9cd6..644ab8f 100644 --- a/protos/src/main/proto/analytics_enums.proto +++ b/protos/src/main/proto/analytics_enums.proto @@ -808,4 +808,5 @@ enum VariantPropertiesMethodType { SCOPED_ARTIFACTS_APPEND = 129; CODE_MINIFICATION = 130; SHRINK_RESOURCES = 131; + SOURCES_RESOURCES_ACCESS = 132; } -- cgit v1.2.3 From 759178e7de87032a561a26d670a7e170bd269086 Mon Sep 17 00:00:00 2001 From: Sergio Murguia Date: Tue, 16 Aug 2022 11:47:47 -0700 Subject: Update studio_stats.proto Logs-Approval: cl/467981260 Bug: b241834612 Test: existing Change-Id: Idad3dba15f62a1fba1594c787c7b3a339ff3f793 --- protos/src/main/proto/studio_stats.proto | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto index 5073ac2..df15300 100644 --- a/protos/src/main/proto/studio_stats.proto +++ b/protos/src/main/proto/studio_stats.proto @@ -529,6 +529,11 @@ message AndroidStudioEvent { // set when kind = MEMORY_USAGE_REPORT_EVENT optional MemoryUsageReportEvent memory_usage_report_event = 151; + // set when kind = SDK_INDEX_LOADED_CORRECTLY + // or kind = SDK_INDEX_CACHING_ERROR + // or kind = SDK_INDEX_DEFAULT_DATA_ERROR + optional SdkIndexLoadingDetails sdk_index_loading_details = 152; + enum EventCategory { // The event was not grouped into any specific category (default). NO_EVENT_CATEGORY = 0; @@ -9744,6 +9749,12 @@ message BuildAttributionUiEvent { CONFIGURATION_CACHE_PLUGIN_WARNING = 27; JETIFIER_USAGE_WARNING = 28; DOWNLOADS_INFO = 29; + // Group by Task Category page in critical path window. + TASK_CATEGORY_PAGE = 30; + // Single task category page. + TASK_CATEGORY_CRITICAL_PATH_TASKS_ROOT = 31; + // Task page in Group by Category page. + TASK_CATEGORY_CRITICAL_PATH_TASK_PAGE = 32; } // Type of current page. optional PageType page_type = 1; @@ -11541,6 +11552,45 @@ message SdkIndexLibraryDetails { optional string version_string = 3; } +message SdkIndexLoadingDetails { + enum SourceType { + UNKNOWN_SOURCE = 0; + // Test data, not to be used in production + TEST_DATA = 1; + // Cache file is too old but no network is available + CACHE_FILE_EXPIRED_NO_NETWORK = 2; + // Cache file is too old, network is available but was not able to update + CACHE_FILE_EXPIRED_NETWORK_ERROR = 3; + // Cache file exist but cannot tell if too old + CACHE_FILE_EXPIRED_UNKNOWN = 4; + // Cache file exists and has not expired + CACHE_FILE_RECENT = 5; + // Cache file and was just downloaded + CACHE_FILE_NEW = 6; + // Default data was used + DEFAULT_DATA = 7; + } + + enum ReadErrorType { + NO_ERROR = 0; + // Function used to get the data caused an exception + DATA_FUNCTION_EXCEPTION = 1; + // Function used to get the data returned null + DATA_FUNCTION_NULL_ERROR = 2; + // There was an exception while decompressing the raw data + GZIP_EXCEPTION = 3; + // Exception while parsing decompressed data + INDEX_PARSE_EXCEPTION = 4; + // Resulted Index was null after parsing + INDEX_PARSE_NULL_ERROR = 5; + } + + // Specify the source of the Index data + optional SourceType source_type = 1; + // What is the type of error when the Index could not be loaded + optional ReadErrorType read_error_type = 2; +} + message LiveEditEvent { enum Status { UNKNOWN = 0; -- cgit v1.2.3