Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/devtools/mobileharness/api/query/proto/filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ message DeviceFilter {
StringMatchCondition condition = 1;
}

// Condition to match the host name of a device.
// This is used for filtering the devices from a specific host.
message HostNameMatchCondition {
StringMatchCondition condition = 1;
}

// Condition to match the dimension of a device.
message StatusMatchCondition {
StringMatchCondition condition = 1;
Expand Down Expand Up @@ -105,6 +111,7 @@ message DeviceFilter {
DecoratorMatchCondition decorator_match_condition = 6;
DimensionMatchCondition dimension_match_condition = 7;
ExecutorMatchCondition executor_match_condition = 8;
HostNameMatchCondition host_name_match_condition = 9;
}
}

Expand Down