Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 75) sorted by relevance

123

/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DTestFilterTest.java35 TestFilter filter = TestFilter.createFrom(NAME_FILTER); in testParseNameFilter() local
36 assertNull("Incorrect abi", filter.getAbi()); in testParseNameFilter()
37 assertEquals("Incorrect name", NAME, filter.getName()); in testParseNameFilter()
38 assertNull("Incorrect test", filter.getTest()); in testParseNameFilter()
42 TestFilter filter = TestFilter.createFrom(ABI_NAME_FILTER); in testParseAbiNameFilter() local
43 assertEquals("Incorrect abi", ABI, filter.getAbi()); in testParseAbiNameFilter()
44 assertEquals("Incorrect name", NAME, filter.getName()); in testParseAbiNameFilter()
45 assertNull("Incorrect test", filter.getTest()); in testParseAbiNameFilter()
49 TestFilter filter = TestFilter.createFrom(NAME_TEST_FILTER); in testParseNameTestFilter() local
50 assertNull("Incorrect abi", filter.getAbi()); in testParseNameTestFilter()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DUserEntity.java94 .filter("enable", true) in getAdminUser()
95 .filter("isAdmin", true) in getAdminUser()
104 .filter("enable", true) in getAdminUserList()
105 .filter("isAdmin", true) in getAdminUserList()
113 .filter("enable", true) in getUserList()
114 .filter("isAdmin", false) in getUserList()
124 .filter("enable", true) in getUser()
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base.py198 query = query.filter(
210 query = query.filter(
214 query = query.filter(
222 query = query.filter(
225 query = query.filter(
228 query = query.filter(
232 query = query.filter(
236 query = query.filter(
239 query = query.filter(
243 query = query.filter(
[all …]
Dendpoint_base_test.py115 filter="",
136 filter="",
157 filter="",
172 filter="",
193 filter = [{
198 filter_string = json.dumps(filter)
203 filter=filter_string,
224 filter="",
241 filter="",
Dschedule_info.py73 query = query.filter(
80 query = query.filter(
134 filter_string=request.filter, metaclass=model.ScheduleModel)
/test/vti/dashboard/src/main/java/com/android/vts/util/
DFilterUtil.java312 Filter filter = null; in getProfilingTimeFilter() local
323 filter = startFilter; in getProfilingTimeFilter()
335 filter = endFilter; in getProfilingTimeFilter()
338 filter = CompositeFilterOperator.and(startFilter, endFilter); in getProfilingTimeFilter()
340 return filter; in getProfilingTimeFilter()
359 Filter filter = null; in getDeviceTimeFilter() local
368 filter = startFilter; in getDeviceTimeFilter()
378 filter = endFilter; in getDeviceTimeFilter()
381 filter = CompositeFilterOperator.and(startFilter, endFilter); in getDeviceTimeFilter()
383 return filter; in getDeviceTimeFilter()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DSubPlan.java62 public void addIncludeFilter(String filter) { in addIncludeFilter() argument
63 mIncludes.add(filter); in addIncludeFilter()
78 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
79 mExcludes.add(filter); in addExcludeFilter()
187 private void parseFilter(String abi, String name, String filter, Set<String> filterSet) { in parseFilter() argument
190 filterSet.add(filter); in parseFilter()
193 filterSet.add(new TestFilter(abi, name, filter).toString()); in parseFilter()
DModuleRepo.java315 TestFilter filter = TestFilter.createFrom(filterString); in addFilters() local
316 String abi = filter.getAbi(); in addFilters()
319 addFilter(a.getName(), filter, filters); in addFilters() local
322 addFilter(abi, filter, filters); in addFilters()
327 private void addFilter(String abi, TestFilter filter, in addFilter() argument
329 getFilter(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter()
458 for (TestFilter filter : filters) { in createFilterFile()
459 String filterTest = filter.getTest(); in createFilterFile()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DTestFilter.java42 public static TestFilter createFrom(String filter) { in createFrom() argument
43 if (filter.isEmpty()) { in createFrom()
46 String[] parts = filter.split(" "); in createFrom()
63 parts = filter.split(" ", index + 1); in createFrom()
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.component.ts174 …s_24hrs = (response.jobs == null || response.jobs.length === 0) ? undefined : response.jobs.filter(
191 …completed: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Complete).len…
192 running: jobs.filter(job => job.status != null &&
194 …bootup_err: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Bootup_err).…
195 …infra_err: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Infra_err).le…
196 …expired: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Expired).length,
/test/vti/test_serving/gae/frontend/src/app/shared/filter/
Dfilter.component.ts74 removed(filter: FilterItem) {
75 const index = this.applyingFilters.indexOf(filter);
83 getSign(filter: FilterItem) {
84 return this.filterMethods.find((x) => x.value === filter.method).sign;
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGreenReleaseServlet.java328 .filter(entity -> entity.getFailCount() == 0L) in getTestPlanDispatcher()
386 .filter( in getTestPlanDispatcher()
420 .filter("suitePlan", testPlan) in getTestSuiteDispatcher()
452 .filter("suitePlan", testPlan) in getTestSuiteDispatcher()
453 .filter("branch", branchKey) in getTestSuiteDispatcher()
454 .filter( in getTestSuiteDispatcher()
457 .filter("failedTestCaseCount", 0) in getTestSuiteDispatcher()
473 .filter("suitePlan", testPlan) in getTestSuiteDispatcher()
474 .filter("branch", branchKey) in getTestSuiteDispatcher()
475 .filter( in getTestSuiteDispatcher()
DShowPlanReleaseServlet.java333 .filter("suitePlan", testPlan) in getTestSuiteDispatcher()
334 .filter(this.getTestTypeFieldName(testCategoryType), true); in getTestSuiteDispatcher()
339 testSuiteResultEntityQuery.filter("branch", request.getParameter("branch")); in getTestSuiteDispatcher()
344 testSuiteResultEntityQuery.filter("hostName", request.getParameter("hostName")); in getTestSuiteDispatcher()
349 testSuiteResultEntityQuery.filter("buildId", request.getParameter("buildId")); in getTestSuiteDispatcher()
354 testSuiteResultEntityQuery.filter( in getTestSuiteDispatcher()
/test/vts/tools/build/utils/
Dvts_package_utils.mk29 $(if $(filter $(TARGET_OUT_ROOT)/%,$(ins)),\
31 $(if $(filter $(_module_class_folder), nativetest benchmarktest),\
53 $(if $(filter $(HOST_OUT)/% $(HOST_CROSS_OUT)/%,$(ins)),\
81 $(arch)$(if $(filter $(arch_variant),$(arch)),,_$(arch_variant))) \
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleDefTest.java82 public void addIncludeFilter(String filter) { in addIncludeFilter() argument
83 mIncludeFilters.add(filter); in addIncludeFilter()
102 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
103 mExcludeFilters.add(filter); in addExcludeFilter()
DSubPlanTest.java132 private String generateEntryXml(String abi, String name, String filter, boolean include) { in generateEntryXml() argument
135 if (filter != null) { in generateEntryXml()
136 attributes.add(String.format(XML_ATTR, filterType, filter)); in generateEntryXml()
DSimpleTestStub.java78 public void addIncludeFilter(String filter) { in addIncludeFilter() argument
88 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
DShardableTestStub.java98 public void addIncludeFilter(String filter) { in addIncludeFilter() argument
108 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
/test/vts/utils/python/common/
Dlist_utils.py69 return filter(lambda s: str(s) != '', result) if remove_empty else result
215 lines = filter(lambda line: not line.strip().startswith(comment_char),
219 lines = filter(bool, lines)
/test/vts/testcases/
Drun-on-host.mk21 ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),arm mips x86))
27 ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
/test/vti/test_serving/gae/frontend/src/
Dstyles.scss9 .entity-filter {
12 filter {
/test/framework/build/utils/
Dvtslab_package_utils.mk27 $(if $(filter $(TARGET_OUT_ROOT)/%,$(ins)),\
45 $(if $(filter $(HOST_OUT)/% $(HOST_CROSS_OUT)/%,$(ins)),\
/test/vts/doc/developer_testing/kernel/
Drun_individual_ltp_testcase.md11 Test names in filter can be any of the following formats:
20 Test cases specified in this filter will be run regardless of
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java574 public void addIncludeFilter(String filter) { in addIncludeFilter() argument
575 mIncludeFilters.add(cleanFilter(filter)); in addIncludeFilter()
583 for (String filter : filters) { in addAllIncludeFilters()
584 mIncludeFilters.add(cleanFilter(filter)); in addAllIncludeFilters()
606 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
607 mExcludeFilters.add(cleanFilter(filter)); in addExcludeFilter()
615 for (String filter : filters) { in addAllExcludeFilters()
616 mExcludeFilters.add(cleanFilter(filter)); in addAllExcludeFilters()
636 private String cleanFilter(String filter) { in cleanFilter() argument
637 return filter.replace('#', '.'); in cleanFilter()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_release.jsp42 search = $('#filter-bar').createSearchHeader('Plan: ', '${plan}', refresh);
91 // refresh the page to see the runs matching the specified filter
104 <div id='filter-bar'></div>

123