Home
last modified time | relevance | path

Searched refs:put (Results 1 – 25 of 110) sorted by relevance

12345

/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsDeviceInfoCollector.java48 BUILD_KEYS.put("cts:build_id", "ro.build.id");
49 BUILD_KEYS.put("cts:build_product", "ro.product.name");
50 BUILD_KEYS.put("cts:build_device", "ro.product.device");
51 BUILD_KEYS.put("cts:build_board", "ro.product.board");
52 BUILD_KEYS.put("cts:build_manufacturer", "ro.product.vendor.manufacturer");
53 BUILD_KEYS.put("cts:build_brand", "ro.product.brand");
54 BUILD_KEYS.put("cts:build_model", "ro.product.vendor.model");
55 BUILD_KEYS.put("cts:build_type", "ro.build.type");
56 BUILD_KEYS.put("cts:build_tags", "ro.build.tags");
60 BUILD_KEYS.put("cts:build_fingerprint", "ro.odm.build.fingerprint");
[all …]
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DDevicePropertyInfo.java113 propertyMap.put(prefix + "abi", mAbi); in getPropertytMapWithPrefix()
114 propertyMap.put(prefix + "abi2", mAbi2); in getPropertytMapWithPrefix()
115 propertyMap.put(prefix + "abis", mAbis); in getPropertytMapWithPrefix()
116 propertyMap.put(prefix + "abis_32", mAbis32); in getPropertytMapWithPrefix()
117 propertyMap.put(prefix + "abis_64", mAbis64); in getPropertytMapWithPrefix()
118 propertyMap.put(prefix + "board", mBoard); in getPropertytMapWithPrefix()
119 propertyMap.put(prefix + "brand", mBrand); in getPropertytMapWithPrefix()
120 propertyMap.put(prefix + "device", mDevice); in getPropertytMapWithPrefix()
121 propertyMap.put(prefix + "fingerprint", mFingerprint); in getPropertytMapWithPrefix()
122 propertyMap.put(prefix + "vendor_fingerprint", mVendorFingerprint); in getPropertytMapWithPrefix()
[all …]
DCrashUtils.java141 crash.put(PID, pid); in addAllCrashes()
142 crash.put(TID, tid); in addAllCrashes()
143 crash.put(NAME, name); in addAllCrashes()
144 crash.put(FAULT_ADDRESS, faultAddress); in addAllCrashes()
145 crash.put(SIGNAL, signal); in addAllCrashes()
146 crashes.put(crash); in addAllCrashes()
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker_test.py56 lab.put()
59 device.put()
63 schedule.put()
67 build_dict[key].put()
87 lab.put()
91 device.put()
98 schedule_high.put()
105 schedule_medium.put()
109 build_dict[key].put()
124 lab.put()
[all …]
Djob_heartbeat_test.py55 lab.put()
62 device.put()
69 schedule.put()
75 build_dict[key].put()
95 jobs[0].put()
104 jobs[1].put()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java665 deviceItemObject.put(SERIAL, device.getSerialNumber()); in generateJsonDeviceItem()
667 deviceItemObject.put("product_type", device.getProductType()); in generateJsonDeviceItem()
668 deviceItemObject.put("product_variant", device.getProductVariant()); in generateJsonDeviceItem()
669 deviceItemObject.put("build_alias", device.getBuildAlias()); in generateJsonDeviceItem()
670 deviceItemObject.put("build_id", device.getBuildId()); in generateJsonDeviceItem()
671 deviceItemObject.put("build_flavor", device.getBuildFlavor()); in generateJsonDeviceItem()
855 deviceJson.put("sancov_resources_path", sancovDir.getAbsolutePath()); in updateVtsRunnerTestConfig()
860 deviceJson.put("gcov_resources_path", gcovDir.getAbsolutePath()); in updateVtsRunnerTestConfig()
863 deviceArray.put(deviceJson); in updateVtsRunnerTestConfig()
871 testBedItemObject.put(NAME, testName); in updateVtsRunnerTestConfig()
[all …]
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java55 expectedResults.put(createCrashJson(11071, 11189, "AudioOut_D", 3912761344L, "SIGSEGV")); in testGetAllCrashes()
56 expectedResults.put(createCrashJson(12736, 12761, "Binder:12736_2", 0L, "SIGSEGV")); in testGetAllCrashes()
57 expectedResults.put(createCrashJson(26201, 26227, "Binder:26201_3", 0L, "SIGSEGV")); in testGetAllCrashes()
58 expectedResults.put(createCrashJson(26246, 26282, "Binder:26246_5", 0L, "SIGSEGV")); in testGetAllCrashes()
59 expectedResults.put(createCrashJson(245, 245, "installd", null, "SIGABRT")); in testGetAllCrashes()
60 expectedResults.put(createCrashJson(6371, 8072, "media.codec", 3976200192L, "SIGSEGV")); in testGetAllCrashes()
61 expectedResults.put(createCrashJson(8373, 8414, "loo", null, "SIGABRT")); in testGetAllCrashes()
70 json.put(CrashUtils.PID, pid); in createCrashJson()
71 json.put(CrashUtils.TID, tid); in createCrashJson()
72 json.put(CrashUtils.NAME, name); in createCrashJson()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java148 mockBuildInfoMap.put(ROOT_DIR_ATTR, mRootDir.getAbsolutePath()); in setUp()
149 mockBuildInfoMap.put(SUITE_NAME_ATTR, "suite"); in setUp()
150 mockBuildInfoMap.put(START_TIME_MS_ATTR, Long.toString(0)); in setUp()
522 metadata.put("component", "foo"); in testMetadataFilter_matchInclude()
525 includeFilter.put("component", "foo"); in testMetadataFilter_matchInclude()
538 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchValue()
541 includeFilter.put("component", "bar"); in testMetadataFilter_noMatchInclude_mismatchValue()
554 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchKey()
557 includeFilter.put("group", "bar"); in testMetadataFilter_noMatchInclude_mismatchKey()
570 metadata.put("component", "foo"); in testMetadataFilter_matchExclude()
[all …]
/test/vti/test_serving/gae/webapp/src/utils/
Dmodel_util_test.py46 lab.put()
49 device.put()
53 schedule.put()
57 build_dict[key].put()
81 job.put()
92 job.put()
104 device.put()
123 ready_job.put()
131 schedule_from_db.put()
141 device.put()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterBuildInfoTest.java71 buildProperties.put(BUILD_ID, BUILD_ID); in mapBuildInfo()
72 buildProperties.put(BUILD_BRAND, BUILD_BRAND); in mapBuildInfo()
73 buildProperties.put(BUILD_DEVICE, BUILD_DEVICE); in mapBuildInfo()
74 buildProperties.put(BUILD_PRODUCT, BUILD_PRODUCT); in mapBuildInfo()
75 buildProperties.put(BUILD_VERSION_RELEASE, BUILD_VERSION_RELEASE); in mapBuildInfo()
76 buildProperties.put(BUILD_FINGERPRINT, BUILD_FINGERPRINT); in mapBuildInfo()
77 buildProperties.put(BUILD_MANUFACTURER, BUILD_MANUFACTURER); in mapBuildInfo()
78 buildProperties.put(BUILD_MODEL, BUILD_MODEL); in mapBuildInfo()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java409 put( in getNormalizedVersion()
414 put( in getNormalizedVersion()
418 put( in getNormalizedVersion()
466 valuesMap.put("suiteBuildNumber", suiteBuildNumber); in getLabInfraIssueDescription()
467 valuesMap.put("buildId", buildId); in getLabInfraIssueDescription()
468 valuesMap.put("modulesDone", Integer.toString(modulesDone)); in getLabInfraIssueDescription()
469 valuesMap.put("modulesTotal", Integer.toString(modulesTotal)); in getLabInfraIssueDescription()
470 valuesMap.put("hostName", hostName); in getLabInfraIssueDescription()
471 valuesMap.put("resultPath", resultPath); in getLabInfraIssueDescription()
472 valuesMap.put("buildVendorFingerprint", buildVendorFingerprint); in getLabInfraIssueDescription()
[all …]
/test/vti/test_serving/gae/webapp/src/tasks/
Dremoving_outdated_devices_test.py59 device.put()
65 device.put()
71 device.put()
85 device.put()
99 device.put()
Dindexing_test.py50 schedule.put()
76 job.put()
121 schedule.put()
122 schedule.put()
149 job.put()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java103 String put = packageNames.put(packageName, apkName); in testApkPackageNames() local
106 if (put != null && !apkName.equals(put) && !EXCEPTION_LIST.contains(packageName)) { in testApkPackageNames()
109 config.getName(), packageName, apkName, put)); in testApkPackageNames()
DIntegrationTest.java119 mAttributes.put(CompatibilityBuildHelper.ROOT_DIR, mRootDir.getAbsolutePath()); in setUp()
120 mAttributes.put(CompatibilityBuildHelper.SUITE_NAME, suiteName); in setUp()
121 mAttributes.put(CompatibilityBuildHelper.START_TIME_MS, "0"); in setUp()
122 mAttributes.put(CompatibilityBuildHelper.SUITE_VERSION, "10"); in setUp()
123 mAttributes.put(CompatibilityBuildHelper.SUITE_PLAN, "cts"); in setUp()
124 mAttributes.put(CompatibilityBuildHelper.SUITE_BUILD, "good-build"); in setUp()
125 mAttributes.put(CompatibilityBuildHelper.COMMAND_LINE_ARGS, COMMAND_LINE); in setUp()
128 mAttributes.put("cts:build_fingerprint", "fingerprint"); in setUp()
129 mAttributes.put("cts:build_product", "product"); in setUp()
130 mAttributes.put("cts:build_id", "bid"); in setUp()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java120 trie.put(new Runnable() { in setCustomCommands()
126 trie.put(new Runnable() { in setCustomCommands()
132 trie.put(new Runnable() { in setCustomCommands()
138 trie.put(new Runnable() { in setCustomCommands()
144 trie.put(new ArgRunnable<CaptureList>() { in setCustomCommands()
157 trie.put(new ArgRunnable<CaptureList>() { in setCustomCommands()
168 trie.put(new ArgRunnable<CaptureList>() { in setCustomCommands()
174 trie.put(new Runnable() { in setCustomCommands()
197 commandHelp.put(LIST_PATTERN, combinedHelp); in setCustomCommands()
228 commandHelp.put(RUN_PATTERN, combinedRunHelp); in setCustomCommands()
[all …]
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base_test.py109 device.put()
130 device.put()
151 device.put()
187 device.put()
191 device.put()
218 device.put()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DTestDataForDevServlet.java345 resultMap.put("result", "successfully generated!"); in generateSuiteTestData()
426 datastore.put(testStatusEntity.toEntity()); in doPost()
441 datastore.put(coverageEntity.toEntity()); in doPost()
457 datastore.put(profilingEntity.toEntity()); in doPost()
471 datastore.put(testCaseEntity.toEntity()); in doPost()
485 datastore.put(deviceInfoEntity.toEntity()); in doPost()
519 datastore.put(testRunEntity.toEntity()); in doPost()
526 datastore.put(codeCoverageEntity.toEntity()); in doPost()
540 datastore.put(newTestEntity); in doPost()
543 datastore.put(newTestEntity); in doPost()
[all …]
DTestSuiteResultRestServlet.java114 resultMap.put("result", "successfully saved!"); in doPost()
118 resultMap.put("result", "Wrong Service Client ID!"); in doPost()
122 resultMap.put("result", "Access Token Missing!"); in doPost()
/test/mlts/benchmark/src/com/android/nn/benchmark/imageprocessors/
DInception.java71 outputBuffer.put((byte)(redByte & 0xff)); in preprocess()
72 outputBuffer.put((byte)(greenByte & 0xff)); in preprocess()
73 outputBuffer.put((byte)(blueByte & 0xff)); in preprocess()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DPerformanceSummary.java78 summaryMap.put( in addData()
90 summaryMap.put( in addData()
110 summaryMap.put(key, summary); in insertProfilingPointSummary()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DVtsDashboardApiTransportTest.java132 postData.put("a", "aData"); in testPostMethod()
133 postData.put("z", 2343); in testPostMethod()
161 postFiles.put("application/octet-stream", in testPostMultiFile()
163 postFiles.put("application/json", in testPostMultiFile()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsProfilingStatsJobServlet.java164 summaryMap.put(profilingPointSummary.getBranch(), new HashMap<>()); in updateSummaries()
168 deviceMap.put(profilingPointSummary.getBuildFlavor(), profilingPointSummary); in updateSummaries()
175 summaryMap.put(branch, new HashMap<>()); in updateSummaries()
187 deviceMap.put(device, summary); in updateSummaries()
197 datastore.put(tx, puts); in updateSummaries()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparer.java257 paramMap.put("suite_version", suiteVersion); in buildRequestParams()
258 paramMap.put("module_version", mModuleVersion); in buildRequestParams()
259 paramMap.put("oem", String.valueOf(PropertyUtil.getManufacturer(device))); in buildRequestParams()
261 paramMap.put("features", feature); in buildRequestParams()
264 paramMap.put("properties", property); in buildRequestParams()
267 paramMap.put("packages", pkg); in buildRequestParams()
270 paramMap.put("device_info", deviceInfo); in buildRequestParams()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGreenReleaseServlet.java189 basicParamMap.put(branch, deviceBuildTargetList); in getBasicParamMap()
246 paramInfoMap.put(branch, new LinkedList<>(Arrays.asList(target))); in getTestPlanDispatcher()
260 put("branch", new String[] {branchKey}); in getTestPlanDispatcher()
261 put( in getTestPlanDispatcher()
317 allTestPlanRunEntityMap.put( in getTestPlanDispatcher()
434 paramInfoMap.put(branch, new LinkedList<>(Arrays.asList(target))); in getTestSuiteDispatcher()

12345