Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 20 of 20) sorted by relevance

/test/vts/script/
Dtest_time_breakdown.py26 tokens = line.split()
28 if len(tokens) < 4:
32 date_time_str = "%s-%s %s" % (THIS_YEAR, tokens[0], tokens[1])
39 if (len(tokens[2]) > 2 and tokens[2] == "D/ModuleDef:" and
40 tokens[3][-1] == ":"):
41 return True, tokens[3][:-1], tokens[4], timestamp
58 tokens = line.split()
61 if len(tokens) < 7:
65 if len(tokens[0]) > 2 and tokens[0][0] == "[" and tokens[0][-1] == "]":
66 test_module_name = tokens[0][1:-1]
[all …]
/test/vts-testcase/security/system_property/
DVtsTrebleSysPropTest.py139 tokens = line.strip().rstrip("\n").split()
140 if len(tokens) > 0 and not tokens[0].startswith("#"):
142 property_dict[tokens[0]] = tokens
143 elif len(tokens) >= 4 and tokens[2] == "exact":
144 property_dict[tokens[0]] = tokens
198 violation_list = [(name, tokens) for name, tokens in
200 if not check_function(tokens[1].split(":")[2])]
206 "\n".join("name: %s, type: %s" % (name, tokens[1])
207 for name, tokens in violation_list))
Dvts_treble_sys_prop_test.py195 tokens = line.strip().rstrip("\n").split()
196 if len(tokens) > 0 and not tokens[0].startswith("#"):
198 property_dict[tokens[0]] = tokens
199 elif len(tokens) >= 4 and tokens[2] == "exact":
200 property_dict[tokens[0]] = tokens
256 violation_list = [(name, tokens) for name, tokens in
258 if not check_function(tokens[1].split(":")[2])]
264 "\n".join("name: %s, type: %s" % (name, tokens[1])
265 for name, tokens in violation_list))
/test/vts/runners/host/
Dconfig_parser.py161 tokens = item.split(':')
162 if len(tokens) > 2:
164 if len(tokens) == 1:
166 test_cls_name = tokens[0]
169 elif len(tokens) == 2:
172 test_cls_name, test_case_names = tokens
Dutils.py583 tokens = re.split("_|-", model)
584 for t in tokens:
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java570 String[] tokens = requirement.split(">="); in isPipModuleInstalled() local
571 if (tokens.length != 2) { in isPipModuleInstalled()
574 name = tokens[0]; in isPipModuleInstalled()
575 version = tokens[1]; in isPipModuleInstalled()
649 String[] tokens = line.split("\\s+");
650 if (tokens.length != 2) {
654 pipInstallList.put(tokens[0], tokens[1]);
/test/vts/utils/python/controllers/
Dadb.py103 tokens = line.split(" tcp:")
104 if len(tokens) != 3:
106 used_ports.append(int(tokens[1]))
Dandroid_device.py169 tokens = line.strip().split('\t')
170 if len(tokens) == 2 and tokens[1] == key:
171 results.append(tokens[0])
505 tokens = lines[0].split(' ')
506 if len(tokens) > 1:
507 return tokens[1].lower()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DProcessHelper.java116 String[] tokens = newReadPrint.split("\\s+"); in run() local
117 if (tokens.length >= 4) { in run()
118 String level = tokens[3]; in run()
119 switch (tokens[3]) { in run()
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DKernelProcFileTestBase.py128 self.tokens = [
132 self.tokens.remove('error')
133 self.tokens.remove('ignore')
/test/vts-testcase/kernel/api/proc/
DKernelProcFileTestBase.py129 self.tokens = [
133 self.tokens.remove('error')
134 self.tokens.remove('ignore')
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepo.java353 Set<String> tokens = moduleDef.getTokens(); in addModuleDef() local
354 if (tokens != null && !tokens.isEmpty()) { in addModuleDef()
524 Set<String> tokens = mDeviceTokens.get(serial); in getModules() local
525 if (tokens != null && !tokens.isEmpty()) { in getModules()
529 if (tokens.equals(def.getTokens())) { in getModules()
/test/vti/dashboard/gradle/
Dprofile_default.gradle4 filter ReplaceTokens, tokens: [
Dprofile_prod.gradle4 filter ReplaceTokens, tokens: [
Dprofile_staging.gradle4 filter ReplaceTokens, tokens: [
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DCtsConfigLoadingTest.java395 private void checkTokens(String configName, List<String> tokens) throws ConfigurationException { in checkTokens() argument
396 if (tokens == null) { in checkTokens()
399 for (String token : tokens) { in checkTokens()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java198 Set<String> tokens = deviceTokens.get(SERIAL3); in testInitialization() local
199 assertEquals("Wrong number of tokens", 1, tokens.size()); in testInitialization()
200 assertTrue("Unexpected device token", tokens.contains(FOOBAR_TOKEN)); in testInitialization()
259 List<String> tokens = new ArrayList<>(); in testGetModules_TokenModules_multiDevices() local
260 tokens.add(String.format("%s:%s", SERIAL1, FOOBAR_TOKEN)); in testGetModules_TokenModules_multiDevices()
261 tokens.add(String.format("%s:%s", SERIAL2, "foobar2")); in testGetModules_TokenModules_multiDevices()
262 mRepo.initialize(2, null, mTestsDir, ABIS, tokens, TEST_ARGS, MODULE_ARGS, in testGetModules_TokenModules_multiDevices()
/test/vts-testcase/fuzz/iface_fuzzer/
DAndroid.bp54 "-Wno-extra-tokens",
/test/vti/dashboard/
Dbuild.gradle210 filter(ReplaceTokens, tokens: [PROJECT_ID: projectId])
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...