/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | NNTestBase.java | 32 import java.util.List; 65 List<InferenceInOutSequence> inOutList, in runBenchmark() 66 List<InferenceResult> resultList, in runBenchmark() 74 List<InferenceInOutSequence> inOutList); in dumpAllLayers() 172 private List<InferenceInOutSequence> getInputOutputAssets() throws IOException { in getInputOutputAssets() 174 List<InferenceInOutSequence> inOutList = new ArrayList<>(); in getInputOutputAssets() 223 List<InferenceInOutSequence> ios = getInputOutputAssets(); in dumpAllLayers() 228 public Pair<List<InferenceInOutSequence>, List<InferenceResult>> runInferenceOnce() in runInferenceOnce() 230 List<InferenceInOutSequence> ios = getInputOutputAssets(); in runInferenceOnce() 232 Pair<List<InferenceInOutSequence>, List<InferenceResult>> output = in runInferenceOnce() [all …]
|
D | EvaluatorInterface.java | 19 import java.util.List; 27 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy() 28 List<InferenceResult> inferenceResults, in EvaluateAccuracy() 29 List<String> outKeys, in EvaluateAccuracy() 30 List<Float> outValues, in EvaluateAccuracy() 31 List<String> outValidationErrors); in EvaluateAccuracy()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | DupFileTest.java | 32 import java.util.List; 51 List<File> jars = getListOfBuiltJars(); in testDupFilesExist() 54 Map<String, List<String>> filesToJars = getMapOfFilesAndJars(jars); in testDupFilesExist() 59 for (Map.Entry<String, List<String>> entry : filesToJars.entrySet()) { in testDupFilesExist() 61 List<String> jarFiles = entry.getValue(); in testDupFilesExist() 78 private Map<String, List<String>> getMapOfFilesAndJars(List<File> jars) throws IOException { in getMapOfFilesAndJars() 79 Map<String, List<String>> map = new LinkedHashMap<String, List<String>>(); in getMapOfFilesAndJars() 81 List<String> jarFileList; in getMapOfFilesAndJars() 101 private List<File> getListOfBuiltJars() throws ConfigurationException { in getListOfBuiltJars() 107 List<File> listOfJars = new ArrayList<File>(); in getListOfBuiltJars() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepo.java | 52 import java.util.List; 78 private Map<String, Map<String, List<String>>> mTestArgs = new HashMap<>(); 79 private Map<String, Map<String, List<String>>> mModuleArgs = new HashMap<>(); 81 private Map<String, List<TestFilter>> mIncludeFilters = new HashMap<>(); 82 private Map<String, List<TestFilter>> mExcludeFilters = new HashMap<>(); 88 private List<IModuleDef> mTokenModules = new ArrayList<>(); 89 private List<IModuleDef> mNonTokenModules = new ArrayList<>(); 130 public List<IModuleDef> getNonTokenModules() { in getNonTokenModules() 138 public List<IModuleDef> getTokenModules() { in getTokenModules() 170 List<String> deviceTokens, List<String> testArgs, List<String> moduleArgs, in initialize() [all …]
|
D | IModuleRepo.java | 24 import java.util.List; 41 List<String> deviceTokens, List<String> testArgs, List<String> moduleArgs, in initialize() 61 List<IModuleDef> getNonTokenModules(); in getNonTokenModules() 66 List<IModuleDef> getTokenModules(); in getTokenModules()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | ProfilingPointRunEntity.java | 34 import java.util.List; 82 private List<String> labels; 85 private List<Long> values; 94 private List<String> options; 117 List<String> labels, in ProfilingPointRunEntity() 118 List<Long> values, in ProfilingPointRunEntity() 121 List<String> options) { in ProfilingPointRunEntity() 153 List<String> labels, in ProfilingPointRunEntity() 154 List<Long> values, in ProfilingPointRunEntity() 157 List<String> options) { in ProfilingPointRunEntity() [all …]
|
D | ProfilingPointSummaryEntity.java | 30 import java.util.List; 85 @Index private List<String> labelCounts; 88 private List<Integer> labelMaxes; 91 private List<Integer> labelMeans; 94 private List<Integer> labelMins; 97 private List<String> labels; 100 private List<Integer> labelSumSqs; 150 List<String> labels, in ProfilingPointSummaryEntity() 258 List<Double> labelMeans = new ArrayList<>(); in toEntity() 259 List<Double> labelSumsqs = new ArrayList<>(); in toEntity() [all …]
|
D | TestAcknowledgmentEntity.java | 38 import java.util.List; 99 List<String> branches, in TestAcknowledgmentEntity() 100 List<String> devices, in TestAcknowledgmentEntity() 101 List<String> testCaseNames, in TestAcknowledgmentEntity() 136 List<String> branches, in TestAcknowledgmentEntity() 137 List<String> devices, in TestAcknowledgmentEntity() 138 List<String> testCaseNames, in TestAcknowledgmentEntity() 195 List<String> branches; in fromEntity() 196 if (e.hasProperty(BRANCHES)) branches = (List<String>) e.getProperty(BRANCHES); in fromEntity() 199 List<String> devices; in fromEntity() [all …]
|
D | TestStatusEntity.java | 26 import java.util.List; 56 private List<Long> failingTestcaseIds; 59 private List<Integer> failingTestcaseOffsets; 70 @Ignore private List<TestCaseReference> failingTestCases; 112 List<TestCaseReference> failingTestCases) { in TestStatusEntity() 142 List<Long> failingTestcaseIds = new ArrayList<>(); in toEntity() 143 List<Integer> failingTestcaseOffsets = new ArrayList<>(); in toEntity() 171 List<TestCaseReference> failingTestCases = new ArrayList<>(); in fromEntity() 183 List<Long> ids = (List<Long>) e.getProperty(FAILING_IDS); in fromEntity() 184 List<Long> offsets = (List<Long>) e.getProperty(FAILING_OFFSETS); in fromEntity()
|
D | TestCaseRunEntity.java | 26 import java.util.List; 54 private List<Integer> results; 56 private List<String> testCaseNames; 59 public final List<TestCase> testCases; 179 List<String> testCaseNames = new ArrayList<>(); in toEntity() 180 List<Integer> results = new ArrayList<>(); in toEntity() 210 List<String> testCaseNames = (List<String>) e.getProperty(TEST_CASE_NAMES); in fromEntity() 211 List<Long> results = (List<Long>) e.getProperty(RESULTS); in fromEntity()
|
D | ApiCoverageEntity.java | 31 import java.util.List; 65 @Getter @Setter List<String> halApi; 68 @Getter @Setter List<String> coveredHalApi; 80 List<String> halApi, in ApiCoverageEntity() 81 List<String> coveredHalApi) { in ApiCoverageEntity() 101 List<String> halApi, in ApiCoverageEntity() 102 List<String> coveredHalApi) { in ApiCoverageEntity() 145 public static List<ApiCoverageEntity> getByInterfaceNameList(String halInterfaceName) { in getByInterfaceNameList() 153 public static List<ApiCoverageEntity> getByPackageNameList(String packageName) { in getByPackageNameList()
|
D | TestRunEntity.java | 39 import java.util.List; 172 @Getter @Setter private List<Long> testCaseIds; 174 @Getter @Setter private List<String> logLinks; 198 List<Long> testCaseIds, in TestRunEntity() 199 List<String> logLinks) { in TestRunEntity() 302 public Optional<List<ApiCoverageEntity>> getApiCoverageEntityList() { in getApiCoverageEntityList() 304 List<ApiCoverageEntity> apiCoverageEntityList = in getApiCoverageEntityList() 370 List<Long> testCaseIds = (List<Long>) e.getProperty(TEST_CASE_IDS); in fromEntity() 374 List<String> links = new ArrayList<>(); in fromEntity() 376 links = (List<String>) e.getProperty(LOG_LINKS); in fromEntity() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | DatastoreRestServlet.java | 47 import java.util.List; 147 List<TestEntity> testEntityList = new ArrayList<>(); in insertTestReport() 148 List<TestRunEntity> testRunEntityList = new ArrayList<>(); in insertTestReport() 149 List<BranchEntity> branchEntityList = new ArrayList<>(); in insertTestReport() 150 List<BuildTargetEntity> buildTargetEntityList = new ArrayList<>(); in insertTestReport() 151 List<CoverageEntity> coverageEntityList = new ArrayList<>(); in insertTestReport() 152 List<CodeCoverageEntity> codeCoverageEntityList = new ArrayList<>(); in insertTestReport() 153 List<DeviceInfoEntity> deviceInfoEntityList = new ArrayList<>(); in insertTestReport() 154 List<ProfilingPointRunEntity> profilingPointRunEntityList = new ArrayList<>(); in insertTestReport() 155 List<TestCaseRunEntity> testCaseRunEntityList = new ArrayList<>(); in insertTestReport() [all …]
|
D | TestDataForDevServlet.java | 66 import java.util.List; 122 private List<Test> testList; 125 private List<TestRun> testRunList; 139 private List<Long> testCaseIds; 140 private List<Long> failingTestcaseIds; 141 private List<Integer> failingTestcaseOffsets; 142 private List<String> links; 144 private List<Coverage> coverageList; 145 private List<Profiling> profilingList; 146 private List<TestCaseRun> testCaseRunList; [all …]
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | BusinessLogic.java | 24 import java.util.List; 40 protected Map<String, List<BusinessLogicRulesList>> mRules; 55 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicFor() 63 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicsFor() 98 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in applyLogicsFor() 210 protected List<BusinessLogicRule> mRulesList; 213 public BusinessLogicRulesList(List<BusinessLogicRule> rulesList) { in BusinessLogicRulesList() 217 public BusinessLogicRulesList(List<BusinessLogicRule> rulesList, String description) { in BusinessLogicRulesList() 226 public List<BusinessLogicRule> getRules() { in getRules() 247 protected List<BusinessLogicRuleCondition> mConditions; [all …]
|
D | DynamicConfig.java | 32 import java.util.List; 52 protected Map<String, List<String>> mDynamicConfigMap = new HashMap<String, List<String>>(); 66 List<String> singleValue = mDynamicConfigMap.get(key); in getValue() 74 public List<String> getValues(String key) { in getValues() 116 public static Map<String, List<String>> createConfigMap(File file) in createConfigMap() 123 public static Map<String, List<String>> createConfigMap(FileInputStream fileStream) in createConfigMap() 126 Map<String, List<String>> dynamicConfigMap = new HashMap<String, List<String>>(); in createConfigMap() 135 List<String> valueList = new ArrayList<String>(); in createConfigMap()
|
D | BusinessLogicFactory.java | 39 import java.util.List; 103 Map<String, List<BusinessLogicRulesList>> rulesMap = new HashMap<>(); in createBL() 128 List<BusinessLogicRulesList> testRulesLists = rulesMap.get(testName); in createBL() 153 List<BusinessLogicRule> rules = new ArrayList<>(); in extractRulesList() 164 List<BusinessLogicRuleCondition> ruleConditions = in extractRulesList() 167 List<BusinessLogicRuleAction> ruleActions = in extractRulesList() 175 private static List<BusinessLogicRuleCondition> extractRuleConditionList( in extractRuleConditionList() 177 List<BusinessLogicRuleCondition> ruleConditions = new ArrayList<>(); in extractRuleConditionList() 193 List<String> methodArgs = new ArrayList<>(); in extractRuleConditionList() 211 private static List<BusinessLogicRuleAction> extractRuleActionList(JSONObject ruleJSONObject) in extractRuleActionList() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowGreenReleaseServlet.java | 46 import java.util.List; 169 public List<Page> getBreadcrumbLinks(HttpServletRequest request) { in getBreadcrumbLinks() 170 List<Page> links = new ArrayList<>(); in getBreadcrumbLinks() 179 private Map<String, List<DeviceBuildInfo>> getBasicParamMap(Map<String, List<String>> param) { in getBasicParamMap() 180 Map<String, List<DeviceBuildInfo>> basicParamMap = new HashMap<>(); in getBasicParamMap() 183 List<DeviceBuildInfo> deviceBuildTargetList = new ArrayList<>(); in getBasicParamMap() 239 Map<String, List<String>> paramInfoMap = new HashMap<>(); in getTestPlanDispatcher() 250 Map<String, List<DeviceBuildInfo>> baseParamMap = getBasicParamMap(paramInfoMap); in getTestPlanDispatcher() 253 List<List<String>> allPassIdLists = new ArrayList<>(); in getTestPlanDispatcher() 254 Map<String, List<TestPlanRunEntity>> allTestPlanRunEntityMap = new HashMap<>(); in getTestPlanDispatcher() [all …]
|
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/ |
D | BaseSequenceEvaluator.java | 10 import java.util.List; 25 List<InferenceInOutSequence> inferenceInOuts, List<InferenceResult> inferenceResults, in EvaluateAccuracy() 26 List<String> outKeys, List<Float> outValues, in EvaluateAccuracy() 27 List<String> outValidationErrors) { in EvaluateAccuracy() 80 List<String> outValidationErrors); in EvaluateSequenceAccuracy() 82 protected abstract void AddValidationResult(List<String> keys, List<Float> values); in AddValidationResult()
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsAlertJobServletTest.java | 34 import java.util.List; 52 private List<DeviceInfoEntity> allDevices; 90 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedAll() 107 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedSpecific() 108 List<String> branches = new ArrayList<>(); in testSeparateAcknowledgedSpecific() 111 List<String> devices = new ArrayList<>(); in testSeparateAcknowledgedSpecific() 114 List<String> testCaseNames = new ArrayList<>(); in testSeparateAcknowledgedSpecific() 133 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() 134 List<String> branches = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() 137 List<String> devices = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() [all …]
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | DynamicConfigHandler.java | 36 import java.util.List; 48 Map<String, List<String>> localConfig = DynamicConfig.createConfigMap(localConfigFile); in getMergedDynamicConfigFile() 49 Map<String, List<String>> apbsConfig = parseJsonToConfigMap(apbsConfigJson); in getMergedDynamicConfigFile() 55 private static void setRemoteConfigRetrieved(Map<String, List<String>> config, in setRemoteConfigRetrieved() 57 List<String> val = Collections.singletonList(Boolean.toString(retrieved)); in setRemoteConfigRetrieved() 61 private static Map<String, List<String>> parseJsonToConfigMap(String apbsConfigJson) in parseJsonToConfigMap() 64 Map<String, List<String>> configMap = new HashMap<String, List<String>>(); in parseJsonToConfigMap() 81 List<String> values = new ArrayList<>(); in parseJsonToConfigMap() 90 private static File storeMergedConfigFile(Map<String, List<String>> configMap, in storeMergedConfigFile()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/ |
D | CompatibilitySuiteModuleLoader.java | 25 import java.util.List; 39 Map<String, List<SuiteTestFilter>> includeFilters, in CompatibilitySuiteModuleLoader() 40 Map<String, List<SuiteTestFilter>> excludeFilters, in CompatibilitySuiteModuleLoader() 41 List<String> testArgs, in CompatibilitySuiteModuleLoader() 42 List<String> moduleArgs) { in CompatibilitySuiteModuleLoader() 54 Map<String, List<SuiteTestFilter>> includeFilters, in addFiltersToTest() 55 Map<String, List<SuiteTestFilter>> excludeFilters) { in addFiltersToTest()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | OptionHelperTest.java | 25 import java.util.List; 57 private List<String> mFilters = new ArrayList<>(); 65 List<String> expectedNames = Arrays.asList(TEST_CLASS, TEST_NAME, TEST_SUITE, in testGetOptionNames() 73 List<String> expectedShortNames = Arrays.asList(TEST_CLASS_SHORTNAME, TEST_SUITE_SHORTNAME); in testGetOptionShortNames() 82 List<String> noValidNames = new ArrayList<String>(); in testGetValidCliArgs() 83 List<String> validSubset = Arrays.asList("--" + TEST_CLASS, "fooclass", in testGetValidCliArgs() 85 List<String> allValidNames = Arrays.asList("--" + TEST_CLASS, "fooclass", in testGetValidCliArgs() 89 List<String> validQuoteSubset = Arrays.asList("-" + TEST_CLASS_SHORTNAME, fakeTestClass, in testGetValidCliArgs() 111 List<String> expectedTokens = Arrays.asList("--" + TEST_FILTER, "a b c"); in testGetValidCliArgs_surroundingQuotes()
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsAlertJobServlet.java | 54 import java.util.List; 115 private static List<TestAcknowledgmentEntity> getTestCaseAcknowledgments(Key testKey) { in getTestCaseAcknowledgments() 118 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in getTestCaseAcknowledgments() 142 private static List<TestRunEntity> getTestRuns(Key testKey, long startTime, long endTime) { in getTestRuns() 157 List<TestRunEntity> testRuns = new ArrayList<>(); in getTestRuns() 178 List<DeviceInfoEntity> devices, in separateAcknowledged() 179 List<TestAcknowledgmentEntity> acks) { in separateAcknowledged() 230 List<TestRunEntity> testRuns, in getTestStatus() 233 List<TestAcknowledgmentEntity> testAcks, in getTestStatus() 234 List<String> emailAddresses, in getTestStatus() [all …]
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | BusinessLogicTest.java | 35 import java.util.List; 138 List<BusinessLogicRule> rulesList1 = bl.mRules.get("testCaseName1").get(0).getRules(); in testCorrectLogic() 141 List<BusinessLogicRuleCondition> rule1Conditions = rule1.mConditions; in testCorrectLogic() 152 List<BusinessLogicRuleAction> rule1Actions = rule1.mActions; in testCorrectLogic() 164 List<BusinessLogicRule> rulesList2 = bl.mRules.get("testCaseName2").get(0).getRules(); in testCorrectLogic() 167 List<BusinessLogicRuleCondition> rule2Conditions = rule2.mConditions; in testCorrectLogic() 178 List<BusinessLogicRuleAction> rule2Actions = rule2.mActions; in testCorrectLogic() 190 List<BusinessLogicRuleCondition> rule3Conditions = rule3.mConditions; in testCorrectLogic() 210 List<BusinessLogicRuleAction> rule3Actions = rule3.mActions; in testCorrectLogic() 227 List<BusinessLogicRule> rulesList3 = bl.mRules.get("testCaseName3").get(0).getRules(); in testCorrectLogic()
|