Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 111) sorted by relevance

12345

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java30 public static boolean isBefore(ITestDevice device, int version) in isBefore() argument
32 return device.getApiLevel() < version; in isBefore()
35 public static boolean isBefore(ITestDevice device, String version) in isBefore() argument
37 return device.getApiLevel() < resolveVersionString(version); in isBefore()
40 public static boolean isAfter(ITestDevice device, int version) in isAfter() argument
42 return device.getApiLevel() > version; in isAfter()
45 public static boolean isAfter(ITestDevice device, String version) in isAfter() argument
47 return device.getApiLevel() > resolveVersionString(version); in isAfter()
50 public static boolean isAtLeast(ITestDevice device, int version) in isAtLeast() argument
52 return device.getApiLevel() >= version; in isAtLeast()
[all …]
/test/vti/dashboard/
Dbuild.gradle36 id "com.github.sherter.google-java-format" version "0.7.1"
45 version = '4'
66 compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.7'
67 compile group: 'org.apache.commons', name: 'commons-math3', version:'3.6.1'
68 compile group: 'commons-codec', name: 'commons-codec', version:'1.9'
69 compile group: 'com.google.cloud', name: 'google-cloud', version: "${googleCloudVersion}"
70 compile group: 'com.google.code.gson', name: 'gson', version:'2.7'
71 compile group: 'com.googlecode.objectify', name: 'objectify', version: "${objectifyVersion}"
72 compile group: 'org.json', name: 'json', version:'20180130'
73 compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jacksonVersion}"
[all …]
/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp85 string GetVersionString(float version, bool for_macro) { in GetVersionString() argument
90 long version_long = version * DEFAULT_FACTOR; in GetVersionString()
149 int GetVersionMajor(const string& version, bool for_macro) { in GetVersionMajor() argument
150 if (for_macro) return std::stoi(version.substr(0, version.find("_"))); in GetVersionMajor()
151 return std::stoi(version.substr(0, version.find("."))); in GetVersionMajor()
154 int GetVersionMinor(const string& version, bool for_macro) { in GetVersionMinor() argument
155 if (for_macro) return std::stoi(version.substr(version.find("_") + 1)); in GetVersionMinor()
156 return std::stoi(version.substr(version.find(".") + 1)); in GetVersionMinor()
/test/vts-testcase/vndk/golden/
Dvndk_data.py91 def GetAbiDumpDirectory(data_file_path, version, binder_bitness, abi_name, argument
112 version_dir = (version if version else
149 def GetAbiDumpPathsFromResources(version, binder_bitness, abi_name, abi_bitness): argument
177 dump_dir = "/".join((version, str(binder_bitness), arch_name,
235 def LoadVndkLibraryLists(data_file_path, version, *tags): argument
249 version_dir = (version if version else
275 def LoadVndkLibraryListsFromResources(version, *tags): argument
292 version_str = (version if version and re.match("\\d+", version) else
/test/vts/utils/native/libprofiling/
DVtsProfilingInterface.cpp62 const string& version) { in GetTraceFile() argument
63 string fullname = package + "@" + version; in GetTraceFile()
72 fd = CreateTraceFile(package, version); in GetTraceFile()
77 fd = CreateTraceFile(package, version); in GetTraceFile()
84 const string& version) { in CreateTraceFile() argument
93 string file_path = trace_file_path_prefix_ + package + "_" + version + "_" + in CreateTraceFile()
110 const char* package, const char* version, const char* interface, in AddTraceEvent() argument
112 std::string version_str = std::string(version); in AddTraceEvent()
127 int fd = GetTraceFile(package, version); in AddTraceEvent()
DVtsProfilingInterface.h46 const char* package, const char* version, const char* interface,
52 int GetTraceFile(const string& package, const string& version);
55 int CreateTraceFile(const string& package, const string& version);
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcQtaguidCtrlTest.py71 (version, patchlevel, sublevel) = self._kernel_version(dut)
72 if version == 4 and patchlevel >= 9 or version > 4:
97 version = int(match.group(1))
101 return (version, patchlevel, sublevel)
/test/vts/utils/python/vndk/
Dvndk_utils.py47 def FormatVndkPath(pattern, bitness, version=""): argument
59 VER=version)
62 def GetVndkDirectory(bitness, version): argument
73 bitness, version)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_gsispl.py80 if args.version:
83 args.version, "%Y-%m-%d")
84 version = "{:04d}-{:02d}-{:02d}".format(
122 version = "{:04d}-{:02d}-{:02d}".format(
135 "system-{}.img".format(version))
139 output_path, version)
Dcommand_dut.py116 self.SetOtherVolumes(adb_proxy, 0, args.version)
121 args.version)
126 def SetOtherVolumes(self, adb_proxy, volume_level, version=None): argument
136 if version and version >= 9.0:
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DTestMsgQ.profiler.cpp23 const char* version, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() argument
30 std::string version_str = std::string(version); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
34 …LOG(WARNING) << "incorrect version. Expect: 1.0 or lower (if version != x.0), actual: " << version; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
105 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
176 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
230 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
284 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
338 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
392 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
438 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
[all …]
DNfc.profiler.cpp15 const char* version, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc() argument
22 std::string version_str = std::string(version); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
26 …LOG(WARNING) << "incorrect version. Expect: 1.0 or lower (if version != x.0), actual: " << version; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
87 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
146 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
205 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
251 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
297 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
343 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
389 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
DNfcClientCallback.profiler.cpp15 const char* version, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback() argument
22 std::string version_str = std::string(version); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
26 …LOG(WARNING) << "incorrect version. Expect: 1.0 or lower (if version != x.0), actual: " << version; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
87 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
138 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
DMemoryTest.profiler.cpp18 const char* version, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest() argument
25 std::string version_str = std::string(version); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
29 …LOG(WARNING) << "incorrect version. Expect: 1.0 or lower (if version != x.0), actual: " << version; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
112 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
177 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
231 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
288 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
334 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
DBar.profiler.cpp26 const char* version, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() argument
33 std::string version_str = std::string(version); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
37 …LOG(WARNING) << "incorrect version. Expect: 1.0 or lower (if version != x.0), actual: " << version; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
116 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
162 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
216 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
294 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
358 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
405 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
469 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]
/test/vts/drivers/hal/libcodecoverage/
DGcdaParser.cpp31 unsigned version; in ParseMagic() local
43 version = gcda_file_->ReadUnsigned(); in ParseMagic()
44 GCOV_UNSIGNED2STRING(v, version); in ParseMagic()
46 if (version != GCOV_VERSION) { in ParseMagic()
/test/vts/drivers/hal/common/include/utils/
DInterfaceSpecUtil.h63 string GetVersionString(float version, bool for_macro=false);
104 int GetVersionMajor(const string& version, bool for_macro = false);
110 int GetVersionMinor(const string& version, bool for_macro = false);
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DApiCoverageExcludedEntity.java75 String version, in ApiCoverageExcludedEntity() argument
86 this.setVersions(version); in ApiCoverageExcludedEntity()
90 private void setVersions(String version) { in setVersions() argument
91 String[] versionArray = version.split("[.]"); in setVersions()
/test/vts-testcase/kernel/api/proc/
DProcQtaguidCtrlTest.py69 (version, patchlevel, sublevel) = dut.kernel_version
70 if version == 4 and patchlevel >= 9 or version > 4:
/test/vts-testcase/fuzz/template/iface_fuzzer_test/
Diface_fuzzer_test.py83 for name, version in imported_hals:
86 vts_spec_utils.HalNameDir(name), version))
99 for name, version in imported_hals:
100 self._PushVtsResources(name, version)
/test/vts/utils/python/profiling/
Dprofiling_utils.py82 def __init__(self, package_name, version, interface_name): argument
84 self.version_major, self.version_minor = version.split(".")
284 package_name, version = package.split("@")
291 package_name, version, interface_name)
294 package_name, version, interface_name)
306 def _GetTotalApis(self, package_name, version, interface_name): argument
328 version, "vts", interface_name[1:] + ".vts")
/test/vti/dashboard/gradle/
Dprofile_default.gradle5 "application.version": project.property("version")
Dprofile_prod.gradle5 "application.version": project.property("application.version")
Dprofile_staging.gradle5 "application.version": project.property("application.version")
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterBuildInfoTest.java37 String version = "gVersion"; in testOverrideBuildProperties() local
41 version + "/" + buildId + "/userdebug-keys"; in testOverrideBuildProperties()
49 assertEquals(invocationInfo.get(ResultReporter.BUILD_VERSION_RELEASE), version); in testOverrideBuildProperties() local

12345