/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | SimplePerfStatResultParserTest.java | 34 List<String> result = SimplePerfStatResultParser.parseSingleLine(emptyString); in testParseSingleLineWithEmptyString() local 41 List<String> result = SimplePerfStatResultParser.parseSingleLine(nullString); in testParseSingleLineWithNullString() local 48 List<String> result = SimplePerfStatResultParser.parseSingleLine(headerString); in testParseSingleLineWithHeaderString() local 55 List<String> result = SimplePerfStatResultParser.parseSingleLine(returnString); in testParseSingleLineWithReturnString() local 62 List<String> result = SimplePerfStatResultParser.parseSingleLine(randomString); in testParseSingleLineWithRandomString() local 69 List<String> result = SimplePerfStatResultParser.parseSingleLine(validMetricString); in testParseSingleLineWithValidMetricString() local 79 List<String> result = SimplePerfStatResultParser.parseSingleLine(validTotalTimeString); in testParseSingleLineWithValidTotalTimeString() local 87 List<String> result = SimplePerfStatResultParser.parseSingleLine(multiplePoundString); in testParseSingleLineWithMultiplePoundString() local 94 List<String> result = SimplePerfStatResultParser.parseSingleLine(multiplePoundString); in testParseSingleLineWithMultipleSpaceString() local 101 SimplePerfResult result = SimplePerfStatResultParser.parseRawOutput(nullString); in testParseRawOutputWithNullString() local [all …]
|
D | NativeCodeCoverageFlusherTest.java | 73 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testClearCoverageMeasurements_rmCommandCalled() local 112 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testFlushCoverageAllProcesses_flushAllCommandCalled() local 135 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testFlushCoverageSpecificProcesses_flushSpecificCommandCalled() local 155 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testFlushNotHandled_flushNotCalled() local 175 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testFlushStatusReadFailed_flushNotCalled() local 194 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testFlushStatusReadEmpty_flushNotCalled() local
|
D | RunUtilFuncTest.java | 107 CommandResult result = in testRunTimedCmd_repeatedOutput() local 123 CommandResult result = RunUtil.getDefault().runTimedCmd(0L, "sleep", "35"); in testRunTimedCmd_noTimeout() local 149 CommandResult result = in testRunTimedCmd_largeOutput() local 172 CommandResult result = in testUnsetEnvVariable() local 198 CommandResult result = runUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout() local 230 CommandResult result = in testRunTimedCmd_WithInputRedirect() local 246 CommandResult result = in testRunTimedCmd_WithOutputRedirect() local
|
D | RunUtilTest.java | 189 CommandResult result = spyUtil.runTimedCmd(VERY_LONG_TIMEOUT_MS, "blahggggwarggg"); in testRunTimedCmd_failed() local 205 CommandResult result = in testRunTimed_output_monitor() local 220 CommandResult result = in testRunTimed_output_monitor_failed() local 235 CommandResult result = in testRunTimed_output_monitor_timeout() local 251 CommandResult result = in testRunTimedCmdWithInput_failed() local 274 CommandResult result = mRunUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout() local 437 CommandResult result = in testRuntimedCmd_withFileOutputStream() local 465 CommandResult result = mRunUtil.runTimedCmd(VERY_LONG_TIMEOUT_MS, null, null, command); in testRuntimedCmd_regularOutput_fileNull() local 493 CommandResult result = in testRuntimedCmd_notWritable() local 542 CommandResult result = in testUnsetPriority() local [all …]
|
D | LogcatEventParserTest.java | 147 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(EVENT_TIMEOUT_MS); in testWaitForEvent() local 156 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(0); in testWaitForEventTimeout() local 183 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(EVENT_TIMEOUT_MS); in testEndToEnd() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | TestRunResultTest.java | 44 TestRunResult result = new TestRunResult(); in testGetNumTestsInState() local 60 TestRunResult result = new TestRunResult(); in testGetNumTestsInState_failed() local 82 TestRunResult result = new TestRunResult(); in testSpecifyElapsedTime() local 95 TestRunResult result = new TestRunResult(); in testMultiRun() local 125 TestRunResult result = new TestRunResult(); in testMultiRun_WithTestCases() local 165 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases() local 186 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs() local 273 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_fullMergeLogicCheck() local 334 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_checkMergingStackTraces() local 411 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_CheckMergeMapAttributes() local [all …]
|
D | DeviceFileReporterTest.java | 88 final String result = "/data/tombstones/tombstone_00\r\n"; in testSimple() local 111 final String result = "/data/tombstones/tombstone_00 \r\n"; in testTrim() local 139 final String result = "/data/tombstones/tombstone_00 \r\n" + filename1 + " " + filename2; in testLine_containingSpace() local 182 String result = ArrayUtil.join("\n", (Object[]) filenames); in testLineEnding_LF() local 214 String result = ArrayUtil.join("\r\n", (Object[]) filenames); in testLineEnding_CRLF() local 367 final String result = file + ": No such file or directory\r\n"; in testNoExist() local 380 final String result = "/data/tombstones/tombstone_00\r\n/data/tombstones/tombstone_01\r\n"; in testTwoFiles() local 417 final String result = in testInferDataTypes() local
|
D | ConsoleResultReporterTest.java | 68 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed() local 79 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed_suppressPassed() local 111 TestResult result = new TestResult(); in createTestResult() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | DisableSELinuxTargetPreparerTest.java | 64 CommandResult result = new CommandResult(); in testSetUpSuccess_permissive() local 76 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_rootBefore() local 94 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_notRootBefore() local 117 CommandResult result = new CommandResult(); in testSetUp_rootFail() local 135 CommandResult result = new CommandResult(); in testSetUp_disableSELinuxFail() local
|
/tools/tradefederation/core/avd_util/javatests/com/android/tradefed/util/avd/ |
D | AcloudUtilTest.java | 44 List<String> result = in testBuildGceCommand() local 91 List<String> result = in testBuildGceCommandWithIpDevice() local 147 List<String> result = in testBuildGceCommandWithEmulatorBuild() local 199 List<String> result = in testBuildGceCommandWithSpecifiedImages() local 242 List<String> result = in testBuildGceCommand_withPreconfiguredVirtualDevice() local 304 List<String> result = in testBuildGceCommandWithExtraFiles() local 356 List<String> result = in testBuildGceCommandWithKernelBuild() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparerTest.java | 108 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_tearDown() local 129 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_fail_tearDown() local 158 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testNoAdb() local 194 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testAdbFromEnv() local 215 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in mockTearDown() local
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | SystraceExtractorTest.kt | 35 val result = extract(buffers) in <lambda>() constant 43 val result = extract(buffers) in <lambda>() constant 54 val result = extract(buffers) in <lambda>() constant 67 val result = extract(listOf(buffer)) in <lambda>() constant
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 134 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable() local 164 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_relativePath() local 193 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_dnae() local 245 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_search() local 279 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_notFound() local 310 CommandResult result = new CommandResult(CommandStatus.FAILED); in testRunHostExecutable_failure() local 356 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testRunHostExecutable_timeout() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/ |
D | DeviceBaselineCheckerTest.java | 79 StatusCheckerResult result = mChecker.preExecutionCheck(mMockDevice); in testSetBaselineSettings_inExperimentList() local 107 StatusCheckerResult result = mChecker.preExecutionCheck(mMockDevice); in testSetBaselineSettings_notInExperimentList() local 134 StatusCheckerResult result = mChecker.preExecutionCheck(mMockDevice); in testFailToSetBaselineSettings() local 161 StatusCheckerResult result = mChecker.preExecutionCheck(mMockDevice); in testSetBaselineSettings_oldDeviceApiLevel() local
|
D | EnforcedSeLinuxCheckerTest.java | 52 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testEnforced() local 63 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testPermissive() local 74 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testEnforced_failed() local
|
D | UserCheckerTest.java | 174 StatusCheckerResult result = checker.postExecutionCheck(postDevice); in testCreateCleanup_cleanupFail() local 217 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSystem() local 233 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSecondary() local 249 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSecondary_fail() local 269 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToGuest() local 286 StatusCheckerResult result = checker.preExecutionCheck(device); in testCreateSecondary() local 304 StatusCheckerResult result = checker.preExecutionCheck(device); in testCreateGuest() local 339 Map<Integer, UserInfo> result = new HashMap<>(); in mockListUsersInfo() local
|
D | LeakedThreadStatusCheckerTest.java | 51 StatusCheckerResult result = thread.mResult; in testNoLeakedThread() local 66 StatusCheckerResult result = thread.mResult; in testLeakedThread() local 85 StatusCheckerResult result = thread.mResult; in testLeakedThread_background() local
|
D | SystemServerStatusCheckerTest.java | 77 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testSystemServerProcessRestartedWithoutDeviceReboot() local 90 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testSystemServerProcessRestartedWithAbnormalDeviceReboot() local
|
/tools/security/remote_provisioning/hwtrust/cxxbridge/ |
D | hwtrust.cpp | 69 std::vector<std::vector<uint8_t>> result; in CosePublicKeys() local 81 auto result = rust::compareRootPublicKeyInDiceChain(**chain_, **other.chain_); in compareRootPublicKey() local 89 auto result = rust::componentNameInDiceChainContains(**chain_, value.data()); in componentNameContains() local 97 auto result = rust::hasNonNormalModeInDiceChain(**chain_); in hasNonNormalMode() local 119 auto result = rust::validateCsr( in validate() local 128 auto result = rust::getDiceChainFromCsr(**mCsr); in getDiceChain() local 148 auto result = rust::compareKeysToSignInCsr(**mCsr, {keysToSign.data(), keysToSign.size()}); in compareKeysToSign() local 156 auto result = rust::compareChallengeInCsr(**mCsr, {challenge.data(), challenge.size()}); in compareChallenge() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 169 TestRunResult result = createResult(null, null); in testShouldRetry() local 176 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure() local 185 TestRunResult result = in testShouldRetry_failure_nonRetriable() local 197 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success() local 211 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure() local 222 TestRunResult result = createResult(FailureDescription.create("failure"), null, failure); in testShouldRetry_runFailure_noFullRetry() local 235 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure_nonRetriable() local 249 TestRunResult result = createResult(null, null, failure); in testShouldRetry_multi_runFailure_nonRetriable() local 264 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_skip_retrying_list() local 325 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_autoRetriable() local [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | EmulatorMemoryCpuCapturerTest.java | 62 long result = EmulatorMemoryCpuCapturer.parsePssMemory(sampleContent); in parsePssMemory() local 70 float result = EmulatorMemoryCpuCapturer.parseCpuUsage(sampleContent); in parseCpuUsage() local 87 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in getCpuUsage() local
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 337 Result result = ApkVerifier.getSigningBlockResult( in testGetResultLineage() local 360 Result result = ApkVerifier.getSigningBlockResult( in testGetResultV3Lineage() local 383 Result result = ApkVerifier.getSigningBlockResult( in testGetResultNoLineageApk() local 403 Result result = ApkVerifier.getSigningBlockResult( in testGetResultNoV31Apk() local 416 Result result = in testGetResultFromV3BlockFromV31SignedApk() local 434 Result result = ApkVerifier.getSigningBlockResult( in testGetResultContainsLineageErrors() local 450 Result result = ApkVerifier.getSigningBlockResult( in testGetResultDigests() local 470 Result result = ApkVerifier.getSigningBlockResult( in testGetV3ResultDigests() local 490 Result result =ApkVerifier.getSigningBlockResult( in testGetV2ResultDigests() local 510 Result result = ApkVerifier.getSigningBlockResult( in testGetResultIncorrectDigests() local [all …]
|
D | ApkSignerTest.java | 1744 ApkSigningBlockUtils.Result result = in testSignApk_stampBlock_noStampGenerated() local 1891 ApkVerifier.Result result = verify(signedApk, null); in testSignApk_apkWithZip64Records_signsAndVerifiesSuccessfully() local 1914 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_extraSigBlock_signatureAppended() local 1936 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v1Only_signatureAppended() local 1981 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v2OnlyAppendV2V3SameSigner_signatureAppended() local 2053 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v1v2IndividuallySign_signaturesAppended() local 2226 ApkVerifier.Result result = verifyForMinSdkVersion(signedApk, in testSetMinSdkVersionForRotation_targetTAndApkMinSdkT_onlySignsV3Block() local 2261 ApkVerifier.Result result = verify(signedApk, null); in testSetMinSdkVersionForRotation_targetTWithSourceStamp_noWarnings() local 2302 ApkVerifier.Result result = verify(signedApk, null); in testSetRotationTargetsDevRelease_target34_v30SignerTargetsAtLeast34() local 2371 ApkVerifier.Result result = verify(signedApk, null); in testV31_rotationMinSdkVersionEqualsMinSdkVersion_v3SignerPresent() local [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 81 ApkSignerInfo result, in verifyV1SourceStamp() 116 ApkSignerInfo result, in verifyV2SourceStamp() 159 result); in verifyV2SourceStamp() local 187 ApkSignerInfo result) in verifySourceStampCertificate() 229 ApkSignerInfo result) { in verifySourceStampSignature() 310 X509Certificate sourceStampCertificate, ApkSignerInfo result) in parseStampAttributes() 343 X509Certificate sourceStampCertificate, ApkSignerInfo result) { in readStampCertificateLineage()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParserTest.java | 257 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordPass() local 273 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordFail() local 290 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapSummary() local 302 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapControllerInfo() local 314 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapUserData() local 325 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapTestNameList() local
|