/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | BusinessLogicTest.java | 136 String description = bl.mRules.get("testCaseName1").get(0).getDescription(); in testCorrectLogic() 138 List<BusinessLogicRule> rulesList1 = bl.mRules.get("testCaseName1").get(0).getRules(); in testCorrectLogic() 140 BusinessLogicRule rule1 = rulesList1.get(0); in testCorrectLogic() 143 BusinessLogicRuleCondition rule1Condition = rule1Conditions.get(0); in testCorrectLogic() 151 rule1Condition.mMethodArgs.get(0)); in testCorrectLogic() 154 BusinessLogicRuleAction rule1Action = rule1Actions.get(0); in testCorrectLogic() 160 rule1Action.mMethodArgs.get(0)); in testCorrectLogic() 162 rule1Action.mMethodArgs.get(1)); in testCorrectLogic() 164 List<BusinessLogicRule> rulesList2 = bl.mRules.get("testCaseName2").get(0).getRules(); in testCorrectLogic() 166 BusinessLogicRule rule2 = rulesList2.get(0); in testCorrectLogic() [all …]
|
/test/vts/script/ |
D | setup.sh | 19 sudo apt-get -y install python-dev 22 sudo apt-get -y install python-protobuf 23 sudo apt-get -y install protobuf-compiler 26 sudo apt-get -y install python-setuptools 27 sudo apt-get -y install python-pip 28 sudo apt-get -y install python3-pip 29 sudo apt-get -y install python-virtualenv 30 sudo apt-get -y install build-essential 33 sudo apt-get -y install python-tk 34 sudo apt-get -y install libjpeg-dev [all …]
|
D | host_controller_setup.sh | 21 sudo apt-get -y install python-dev 24 sudo apt-get -y install python-setuptools 25 sudo apt-get -y install python-pip 26 sudo apt-get -y install python-virtualenv
|
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
D | DynamicConfigHandlerTest.java | 105 assertEquals("override-config-val-1", configMap.get("override-config-1").get(0)); in testDynamicConfigHandler() 106 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler() 108 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler() 110 assertTrue(configMap.get("override-config-list-3").size() == 0); in testDynamicConfigHandler() 112 assertEquals("test config 1", configMap.get("test-config-1").get(0)); in testDynamicConfigHandler() 113 assertTrue(configMap.get("config-list").contains("config2")); in testDynamicConfigHandler() 115 assertEquals("override-config-val-2", configMap.get("override-config-2").get(0)); in testDynamicConfigHandler() 116 assertEquals(1, configMap.get("override-config-list-2").size()); in testDynamicConfigHandler() 117 assertTrue(configMap.get("override-config-list-2") in testDynamicConfigHandler()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/ |
D | CompatibilityBuildHelper.java | 74 return mBuildInfo.getBuildAttributes().get(RETRY_COMMAND_LINE_ARGS); in getCommandLineArgs() 78 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getCommandLineArgs() 83 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getRecentCommandLineArgs() 87 return mBuildInfo.getBuildAttributes().get(SUITE_BUILD); in getSuiteBuild() 91 return mBuildInfo.getBuildAttributes().get(SUITE_NAME); in getSuiteName() 95 return mBuildInfo.getBuildAttributes().get(SUITE_FULL_NAME); in getSuiteFullName() 99 return mBuildInfo.getBuildAttributes().get(SUITE_VERSION); in getSuiteVersion() 103 return mBuildInfo.getBuildAttributes().get(SUITE_PLAN); in getSuitePlan() 107 return mBuildInfo.getBuildAttributes().get(DYNAMIC_CONFIG_OVERRIDE_URL); in getDynamicConfigUrl() 111 return Long.parseLong(mBuildInfo.getBuildAttributes().get(START_TIME_MS)); in getStartTime() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporterBuildInfoTest.java | 45 assertEquals(invocationInfo.get(ResultReporter.BUILD_ID), buildId); in testOverrideBuildProperties() 46 assertEquals(invocationInfo.get(ResultReporter.BUILD_BRAND), brand); in testOverrideBuildProperties() 47 assertEquals(invocationInfo.get(ResultReporter.BUILD_DEVICE), device); in testOverrideBuildProperties() 48 assertEquals(invocationInfo.get(ResultReporter.BUILD_PRODUCT), product); in testOverrideBuildProperties() 49 assertEquals(invocationInfo.get(ResultReporter.BUILD_VERSION_RELEASE), version); in testOverrideBuildProperties() 50 assertEquals(invocationInfo.get(ResultReporter.BUILD_FINGERPRINT), fingerprint); in testOverrideBuildProperties() 51 assertEquals(invocationInfo.get(ResultReporter.BUILD_MANUFACTURER), manufacture); in testOverrideBuildProperties() 52 assertEquals(invocationInfo.get(ResultReporter.BUILD_MODEL), model); in testOverrideBuildProperties()
|
/test/vts/testcases/template/mobly/ |
D | mobly_test.py | 222 type = doc.get(RESULT_KEY_TYPE) 230 handler = self.result_handlers.get(type) 245 logging.debug('Adding result for %s' % doc.get(records.TestResultEnums.RECORD_NAME)) 246 record = records.TestResultRecord(doc.get(records.TestResultEnums.RECORD_NAME)) 247 record.test_class = doc.get(records.TestResultEnums.RECORD_CLASS) 248 record.begin_time = doc.get(records.TestResultEnums.RECORD_BEGIN_TIME) 249 record.end_time = doc.get(records.TestResultEnums.RECORD_END_TIME) 250 record.result = doc.get(records.TestResultEnums.RECORD_RESULT) 251 record.uid = doc.get(records.TestResultEnums.RECORD_UID) 252 record.extras = doc.get(records.TestResultEnums.RECORD_EXTRAS) [all …]
|
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/ |
D | _schedule-theme.scss | 2 $primary: map-get($theme, primary); 3 $accent: map-get($theme, accent); 4 $warn: map-get($theme, warn); 5 $background: map-get($theme, background); 6 $foreground: map-get($theme, foreground);
|
/test/vti/test_serving/gae/frontend/src/app/menu/job/ |
D | _job-theme.scss | 2 $primary: map-get($theme, primary); 3 $accent: map-get($theme, accent); 4 $warn: map-get($theme, warn); 5 $background: map-get($theme, background); 6 $foreground: map-get($theme, foreground);
|
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
D | TestCaseRunEntityTest.java | 48 String testCaseName = testCaseNames.get(index); in saveTest() 49 int result = results.get(index); in saveTest() 56 (Integer) loadedTestCaseRunEntity.getTestCases().get(0).result, results.get(0)); in saveTest() 57 assertEquals(loadedTestCaseRunEntity.getTestCases().get(0).name, testCaseNames.get(0)); in saveTest()
|
/test/vti/test_serving/gae/frontend/src/app/shared/navbar/ |
D | _navbar-theme.scss | 2 $primary: map-get($theme, primary); 3 $accent: map-get($theme, accent); 4 $warn: map-get($theme, warn); 5 $background: map-get($theme, background); 6 $foreground: map-get($theme, foreground);
|
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 76 ASSERT_NE(cfd.get(), -1); in SetUp() 83 ASSERT_NE(lfd.get(), -1); in SetUp() 85 ASSERT_NE(ffd.get(), -1); in SetUp() 86 ASSERT_EQ(ioctl(lfd.get(), LOOP_SET_FD, ffd.get()), 0); in SetUp() 91 EXPECT_NE(lfd.get(), -1); in TearDown() 235 ASSERT_NE(fd.get(), -1); in PrepareFile() 239 write(fd.get(), buffer, sizeof(buffer)); in PrepareFile() 248 ASSERT_NE(fd_.get(), -1); in SetUp() 261 EXPECT_EQ(ioctl(fd_.get(), BLKDISCARD, range), 0); in Discard() 281 EXPECT_NE(fd.get(), -1); in FindChanged() [all …]
|
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/ |
D | BaseSequenceEvaluator.java | 32 int dataSize = inferenceInOuts.get(0).mDatasize; in EvaluateAccuracy() 33 int outputSize = inferenceInOuts.get(0).get(0).mExpectedOutputs[targetOutputIndex].length in EvaluateAccuracy() 38 int sequenceLength = inferenceInOuts.get(sequenceIndex % inferenceInOuts.size()).size(); in EvaluateAccuracy() 42 InferenceResult result = inferenceResults.get(inferenceIndex); in EvaluateAccuracy() 56 InferenceInOut inOut = inferenceInOuts.get(result.mInputOutputSequenceIndex) in EvaluateAccuracy() 57 .get(result.mInputOutputIndex); in EvaluateAccuracy()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | ProfilingPointSummary.java | 65 return statSummaries.get(labelIndices.get(label)); in getStatSummary() 88 statSummaries.add(ppSummary.getLabelStats().get(label)); in update() 91 summary.merge(ppSummary.getLabelStats().get(label)); in update() 143 String label = labels.get(currentIndex++); in iterator() 144 return statSummaries.get(labelIndices.get(label)); in iterator()
|
D | LineGraph.java | 120 ProfilingPointRunEntity profilingRun = profilingRuns.get(profilingRuns.size() - 1); in toJson() 125 String label = profilingRun.getLabels().get(i); in toJson() 132 ProfilingPointRunEntity pt = profilingRuns.get(reportIndex); in toJson() 134 String label = pt.getLabels().get(i); in toJson() 139 int labelIndex = tickIndexMap.get(label); in toJson() 141 lineGraphValues[labelIndex][reportIndex] = pt.getValues().get(i); in toJson()
|
D | TestResults.java | 128 testCaseRunMap.get(testRun.getKey()).add(testCaseRunEntity); in addTestRun() 142 TestRunEntity mostRecentRun = testRuns.get(0); in generateToTBreakdown() 143 List<TestCaseRunEntity> testCaseResults = testCaseRunMap.get(mostRecentRun.getKey()); in generateToTBreakdown() 144 List<DeviceInfoEntity> deviceInfos = deviceInfoMap.get(mostRecentRun.getKey()); in generateToTBreakdown() 146 DeviceInfoEntity totDevice = deviceInfos.get(0); in generateToTBreakdown() 206 Map<Key, Entity> devices = datastore.get(deviceGets); in processDeviceInfos() 208 Entity device = devices.get(key); in processDeviceInfos() 215 deviceInfoMap.get(device.getParent()).add(deviceEntity); in processDeviceInfos() 249 resultsGrid[testCaseNameMap.get(testCaseName)][0] = testCaseName; in processReport() 254 TestRunEntity testRun = testRuns.get(col); in processReport() [all …]
|
/test/vts-testcase/vndk/abi/ |
D | vts_vndk_abi_test.py | 43 serial_number = os.environ.get("ANDROID_SERIAL", "") 87 symbol.get("name", "") for symbol in dump_obj.get(key, []) if 88 symbol.get("binding", "global") == "global") 172 for record_type in dump_obj.get("record_types", []): 175 type_name_symbol = record_type.get("unique_id", "") 179 type_name_symbol = record_type.get("linker_set_key", "") 193 for index, entry in enumerate(record_type.get("vtable_components", 196 entry_kind = entry.get("kind", default_vtable_component_kind) 197 entry_symbol = entry.get("mangled_component_name", "") 198 entry_is_pure = entry.get("is_pure", False)
|
D | VtsVndkAbiTest.py | 93 symbol.get("name", "") for symbol in dump_obj.get(key, []) if 94 symbol.get("binding", "global") == "global") 177 for record_type in dump_obj.get("record_types", []): 180 type_name_symbol = record_type.get("unique_id", "") 184 type_name_symbol = record_type.get("linker_set_key", "") 198 for index, entry in enumerate(record_type.get("vtable_components", 201 entry_kind = entry.get("kind", default_vtable_component_kind) 202 entry_symbol = entry.get("mangled_component_name", "") 203 entry_is_pure = entry.get("is_pure", False)
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | DynamicConfig.java | 66 List<String> singleValue = mDynamicConfigMap.get(key); in getValue() 71 return singleValue.get(0); in getValue() 76 return mDynamicConfigMap.get(key); in getValues() 86 String val = mDynamicConfigMap.get(REMOTE_CONFIG_REQUIRED_KEY).get(0); in remoteConfigRequired() 94 String val = mDynamicConfigMap.get(REMOTE_CONFIG_RETRIEVED_KEY).get(0); in remoteConfigRetrieved()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | ValidateTestsAbi.java | 128 TestSuiteInfo.getInstance().getTargetArchs().get(0)); in testApksAbis() 189 TestSuiteInfo.getInstance().getTargetArchs().get(0)); in testBinariesAbis() 194 String base = subSet.get(0).substring(0, subSet.get(0).length() - 2); in testBinariesAbis() 196 assertEquals(base, subSet.get(j).substring(0, subSet.get(j).length() - 2)); in testBinariesAbis() 200 assertTrue(subSet.get(i).endsWith(bitness)); in testBinariesAbis()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsole.java | 140 String parameter = args.get(2).get(0); in setCustomCommands() 163 String arg = args.get(2).get(0); in setCustomCommands() 178 flatArgs[i - 2] = args.get(i).get(0); in setCustomCommands() 200 String listHelp = commandHelp.get(LIST_PATTERN); in setCustomCommands() 226 String runHelp = commandHelp.get(RUN_PATTERN); in setCustomCommands() 373 splittedModules.get(shardIndex).add(module); in splitModules() 445 holders.get(holder).getName(), in listResults() 448 .get(CertificationResultXml.SUITE_PLAN_ATTR) in listResults() 449 .get(0), in listResults() 463 if (map.get(key) == null) { in printAttributes() [all …]
|
/test/vti/test_serving/gae/webapp/src/handlers/ |
D | base.py | 43 server_host = os.environ.get('ENDPOINTS_SERVICE_NAME') 44 request_host = self.request.headers.get('Host') 45 request_referer = self.request.headers.get('Referer') 125 def get(self, *args, **kwargs): member in BaseHandler 155 method = self.request.POST.get('__method__') 157 method = self.request.POST.get('_method') 178 'dest_url': str(self.request.get('dest_url', '')),
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | ProfilingPointSummaryEntity.java | 220 String label = profilingRun.getLabels().get(i); in update() 228 StatSummary summary = this.labelStats.get(label); in update() 229 summary.updateStats(profilingRun.getValues().get(i)); in update() 265 StatSummary labelStat = this.labelStats.get(label); in toEntity() 342 labels.get(i), in fromEntity() 343 labelMins.get(i), in fromEntity() 344 labelMaxes.get(i), in fromEntity() 345 labelMeans.get(i), in fromEntity() 346 labelSumsqs.get(i), in fromEntity() 347 labelCounts.get(i).intValue(), in fromEntity() [all …]
|
/test/vts/testcases/template/gtest_binary_test/ |
D | gtest_binary_test.py | 194 asserts.assertEqual(root.get('tests'), '1', 'No tests available') 196 if root.get('errors') != '0' or root.get('failures') != '0': 197 messages = [x.get('message') for x in root.findall('.//failure')] 211 asserts.skipIf(root.get('disabled') == '1', 'Gtest test case disabled') 249 test_suite.get('name'), 250 test_case.get('name'), '', test_case_original.tag, 256 failure_message = sub.get('message')
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowGcsLogServlet.java | 115 this.storage = optionalVtsReportStorage.get(); in init() 116 this.vtsReportBucket = storage.get(GCS_BUCKET_NAME); in init() 124 this.storage = optionalVtsInfraStorage.get(); in init() 125 this.vtsInfraLogBucket = storage.get(GCS_INFRA_LOG_BUCKET_NAME); in init() 173 Path filePathInfo = Paths.get(file); in downloadHandler() 175 Blob blobFile = vtsInfraLogBucket.get(filePathInfo.toString()); in downloadHandler() 204 Path pathInfo = Paths.get(path); in defaultHandler() 214 Blob blobFile = (Blob) this.syncCache.get(path.toString()); in defaultHandler() 216 blobFile = vtsReportBucket.get(path); in defaultHandler() 292 fileList.add(Paths.get(blob.getName()).getFileName().toString()); in defaultHandler()
|