/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | TestResultHistory.java | 55 public TestResultHistory(String testName, Set<ExecutionRecord> executionRecords) { in TestResultHistory() argument 56 this.mTestName = testName; in TestResultHistory() 99 XmlSerializer serializer, TestResultHistory resultHistory, String testName) in serialize() argument 107 String name = getSubTestName(testName, resultHistory.getTestName()); in serialize() 108 if (!name.isEmpty() && !name.equalsIgnoreCase(testName)) { in serialize() 130 protected static String getSubTestName(String testName, String fullTestName) { in getSubTestName() argument 132 testName = testName.replace("[", "\\[").replace("]", "\\]"); in getSubTestName() 133 String subTestName = fullTestName.replaceFirst(testName + ":", ""); in getSubTestName()
|
D | CaseResult.java | 52 public ITestResult getOrCreateResult(String testName) { in getOrCreateResult() argument 53 ITestResult result = mResults.get(testName); in getOrCreateResult() 55 result = new TestResult(this, testName); in getOrCreateResult() 56 mResults.put(testName, result); in getOrCreateResult() 65 public ITestResult getResult(String testName) { in getResult() argument 66 return mResults.get(testName); in getResult()
|
D | BusinessLogic.java | 58 public boolean hasLogicFor(String testName) { in hasLogicFor() argument 59 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicFor() 66 private boolean hasLogicsFor(String testName) { in hasLogicsFor() argument 67 List<BusinessLogicRulesList> rulesLists = mRules.get(testName); in hasLogicsFor() 77 public void applyLogicFor(String testName, BusinessLogicExecutor executor) { in applyLogicFor() argument 78 if (!hasLogicFor(testName)) { in applyLogicFor() 81 if (hasLogicsFor(testName)) { in applyLogicFor() 82 applyLogicsFor(testName, executor); // handle this special case separately in applyLogicFor() 86 BusinessLogicRulesList rulesList = mRules.get(testName).get(0); in applyLogicFor() 99 private void applyLogicsFor(String testName, BusinessLogicExecutor executor) { in applyLogicsFor() argument [all …]
|
D | ICaseResult.java | 33 ITestResult getOrCreateResult(String testName); in getOrCreateResult() argument 41 ITestResult getResult(String testName); in getResult() argument
|
D | ChecksumReporter.java | 291 String packageName, String suiteName, String caseName, String testName, String abi, in generateTestResultSignature() argument 296 String testId = buildTestId(suiteName, caseName, testName, abi); in generateTestResultSignature() 317 String suiteName, String caseName, String testName, String abi) { in buildTestId() argument 321 Strings.emptyToNull(testName)); in buildTestId()
|
D | BusinessLogicFactory.java | 132 String testName = jsonRulesList.getString(TEST_NAME); in createBL() local 133 List<BusinessLogicRulesList> testRulesLists = rulesMap.get(testName); in createBL() 138 rulesMap.put(testName, testRulesLists); in createBL()
|
D | ResultHandler.java | 264 String testName = parser.getAttributeValue(NS, NAME_ATTR); in getResultFromDir() local 265 ITestResult test = testCase.getOrCreateResult(testName); in getResultFromDir()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/dsl/ |
D | FlickerBuilder.kt | 50 private var testName: String, variable in com.android.server.wm.flicker.dsl.FlickerBuilder 96 testName = "", 120 otherBuilder.testName, 134 fun withTestName(testName: () -> String) { in withTestName() 135 val name = testName() in withTestName() 139 this.testName = name in withTestName() 245 testName,
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | Flicker.kt | 60 @JvmField val testName: String, constant in com.android.server.wm.flicker.Flicker 153 Log.v(FLICKER_TAG, "Cleaning up spec $testName") in clear() 176 return this.testName in toString()
|
D | FlickerBlockJUnit4ClassRunner.kt | 106 val testName = "${test::class.java.simpleName}_${flickerTestParameter.name}" in injectFlickerOnTestParams() constant 108 withTestName { testName } in injectFlickerOnTestParams()
|
D | TransitionRunner.kt | 125 it.save(flicker.testName, iteration, resultBuilder) in saveResult()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | CaptureChunkStreamObserverOutputStreamTests.java | 81 String testName, int byteToWrite, int expectedByte) throws Exception { in write_writesAsExpected_singleByte() argument 93 testName, writtenBytes, ImmutableList.of(expectedByteArray)); in write_writesAsExpected_singleByte() 117 String testName, List<byte[]> byteArraysToWrite) throws Exception { in write_writesAsExpected_multipleBytes() argument 128 assertListsContainSameByteArrays(testName, byteArraysToWrite, writtenBytes); in write_writesAsExpected_multipleBytes() 156 String testName, in write_writesAsExpected_multipleBytesOffsetAndLength() argument 172 assertListsContainSameByteArrays(testName, expectedByteArrays, writtenBytes); in write_writesAsExpected_multipleBytesOffsetAndLength()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScreenRecordCollector.java | 106 String testName = description.getDisplayName(); in amendIterations() local 107 mTestIterations.computeIfPresent(testName, (name, iterations) -> iterations + 1); in amendIterations() 108 mTestIterations.computeIfAbsent(testName, name -> 1); in amendIterations()
|
D | ScreenshotOnFailureCollector.java | 103 String testName = description.getDisplayName(); in onTestStart() local 104 mTestIterations.computeIfPresent(testName, (name, iterations) -> iterations + 1); in onTestStart() 105 mTestIterations.computeIfAbsent(testName, name -> 1); in onTestStart()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestRunner.java | 666 String testName = 673 + "/" + testName.replace('.', '_')
|