Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 7 of 7) sorted by relevance

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DFeatureUtil.java39 public static boolean hasSystemFeature(ITestDevice device, String feature) in hasSystemFeature() argument
41 return device.hasFeature(feature); in hasSystemFeature()
47 for (String feature : features) { in hasAnySystemFeature()
48 if (device.hasFeature(feature)) { in hasAnySystemFeature()
58 for (String feature : features) { in hasAllSystemFeatures()
59 if (!device.hasFeature(feature)) { in hasAllSystemFeatures()
71 for (String feature : output.split("[\\r?\\n]+")) { in getAllFeatures()
72 allFeatures.add(feature.substring("feature:".length())); in getAllFeatures()
/test/vts/runners/target/vts_hal_hidl_target/
DVtsCoreUtil.cpp28 bool checkSubstringInCommandOutput(const char* cmd, const char* feature) { in checkSubstringInCommandOutput() argument
41 if (strstr(line, feature)) { in checkSubstringInCommandOutput()
52 feature, hasFeature ? "" : "not "); in checkSubstringInCommandOutput()
58 bool deviceSupportsFeature(const char* feature) { in deviceSupportsFeature() argument
59 return checkSubstringInCommandOutput("/system/bin/pm list features", feature); in deviceSupportsFeature()
DVtsCoreUtil.h21 bool checkSubstringInCommandOutput(const char* cmd, const char* feature);
22 bool deviceSupportsFeature(const char* feature);
/test/vts/utils/python/precondition/
Dprecondition_utils.py114 feature = str(
116 if feature:
129 or feature not in cmd_results[const.STDOUT][0]):
130 logging.warn("The required feature %s not found.", feature)
/test/vts-testcase/hal/treble/vintf/
Dutils.cpp82 bool DeviceSupportsFeature(const char *feature) { in DeviceSupportsFeature() argument
89 if (strstr(line, feature)) { in DeviceSupportsFeature()
Dutils.h96 bool DeviceSupportsFeature(const char* feature);
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparer.java259 for (String feature : getBusinessLogicFeatures(device, buildInfo)) { in buildRequestParams()
260 paramMap.put("features", feature); in buildRequestParams()