From 50b409f845b26c1646eedd73ce00b42a64bf23d4 Mon Sep 17 00:00:00 2001 From: DeviceInfra Date: Tue, 11 Nov 2025 23:04:50 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 831230883 --- src/devtools/mobileharness/api/query/proto/lab_query.proto | 3 +++ .../mobileharness/infra/master/central/proto/device.proto | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/devtools/mobileharness/api/query/proto/lab_query.proto b/src/devtools/mobileharness/api/query/proto/lab_query.proto index dd5fd00385..f4cf27bb75 100644 --- a/src/devtools/mobileharness/api/query/proto/lab_query.proto +++ b/src/devtools/mobileharness/api/query/proto/lab_query.proto @@ -248,6 +248,9 @@ message LabQuery { LabViewRequest lab_view_request = 4; DeviceViewRequest device_view_request = 5; } + + // Whether to use persisted dimensions. + bool use_persisted_dimensions = 6; } // Paging information to return a sub list of the result. diff --git a/src/devtools/mobileharness/infra/master/central/proto/device.proto b/src/devtools/mobileharness/infra/master/central/proto/device.proto index 261539db02..a9395d7178 100644 --- a/src/devtools/mobileharness/infra/master/central/proto/device.proto +++ b/src/devtools/mobileharness/infra/master/central/proto/device.proto @@ -28,7 +28,7 @@ message DeviceProfile { .mobileharness.api.model.DeviceFeature feature = 1; // Required. } -// Next ID: 18 +// Next ID: 19 message DeviceCondition { // Optional. Device allocation in Master. Client and Lab Server may have delay // to get this allocation info. @@ -101,6 +101,9 @@ message DeviceCondition { // Optional: The last sign up time. This is the Lab Server side time. int64 last_sign_up_time_ms_from_lab = 17; + + // Optional: The last known good values of persisted dimensions. + repeated .mobileharness.api.model.DeviceDimension persisted_dimension = 18; } message TempDimension {