Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 144) sorted by relevance

123456

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DWindowLayoutParams.kt107 var result = type in hashCode() variable
108 result = 31 * result + x in hashCode()
109 result = 31 * result + y in hashCode()
110 result = 31 * result + width in hashCode()
111 result = 31 * result + height in hashCode()
112 result = 31 * result + horizontalMargin.hashCode() in hashCode()
113 result = 31 * result + verticalMargin.hashCode() in hashCode()
114 result = 31 * result + gravity in hashCode()
115 result = 31 * result + softInputMode in hashCode()
116 result = 31 * result + format in hashCode()
[all …]
DDisplayContent.kt121 var result = super.hashCode() in <lambda>() variable
122 result = 31 * result + id in <lambda>()
123 result = 31 * result + focusedRootTaskId in <lambda>()
124 result = 31 * result + resumedActivity.hashCode() in <lambda>()
125 result = 31 * result + singleTaskInstance.hashCode() in <lambda>()
126 result = 31 * result + defaultPinnedStackBounds.hashCode() in <lambda>()
127 result = 31 * result + pinnedStackMovementBounds.hashCode() in <lambda>()
128 result = 31 * result + displayRect.hashCode() in <lambda>()
129 result = 31 * result + appRect.hashCode() in <lambda>()
130 result = 31 * result + dpi in <lambda>()
[all …]
DTask.kt66 val result = mutableSetOf<String>() in <lambda>() constant
68 result.add(this._resumedActivity) in <lambda>()
73 result.addAll(activitiesInChildren) in <lambda>()
74 return result.toTypedArray() in <lambda>()
131 var result = super.hashCode() in <lambda>() variable
132 result = 31 * result + activityType in <lambda>()
133 result = 31 * result + isFullscreen.hashCode() in <lambda>()
134 result = 31 * result + bounds.hashCode() in <lambda>()
135 result = 31 * result + taskId in <lambda>()
136 result = 31 * result + rootTaskId in <lambda>()
[all …]
DWindowState.kt99 var result = attributes.hashCode() in hashCode() variable
100 result = 31 * result + displayId in hashCode()
101 result = 31 * result + stackId in hashCode()
102 result = 31 * result + layer in hashCode()
103 result = 31 * result + isSurfaceShown.hashCode() in hashCode()
104 result = 31 * result + windowType in hashCode()
105 result = 31 * result + frame.hashCode() in hashCode()
106 result = 31 * result + containingFrame.hashCode() in hashCode()
107 result = 31 * result + parentFrame.hashCode() in hashCode()
108 result = 31 * result + contentFrame.hashCode() in hashCode()
[all …]
DWindowManagerPolicy.kt99 var result = focusedAppToken.hashCode() in hashCode() variable
100 result = 31 * result + forceStatusBar.hashCode() in hashCode()
101 result = 31 * result + forceStatusBarFromKeyguard.hashCode() in hashCode()
102 result = 31 * result + keyguardDrawComplete.hashCode() in hashCode()
103 result = 31 * result + keyguardOccluded.hashCode() in hashCode()
104 result = 31 * result + keyguardOccludedChanged.hashCode() in hashCode()
105 result = 31 * result + keyguardOccludedPending.hashCode() in hashCode()
106 result = 31 * result + lastSystemUiFlags in hashCode()
107 result = 31 * result + orientation in hashCode()
108 result = 31 * result + rotation in hashCode()
[all …]
DConfiguration.kt63 var result = windowConfiguration?.hashCode() ?: 0 in hashCode() variable
64 result = 31 * result + densityDpi in hashCode()
65 result = 31 * result + orientation in hashCode()
66 result = 31 * result + screenHeightDp in hashCode()
67 result = 31 * result + screenWidthDp in hashCode()
68 result = 31 * result + smallestScreenWidthDp in hashCode()
69 result = 31 * result + screenLayout in hashCode()
70 result = 31 * result + uiMode in hashCode()
71 return result in hashCode()
DTaskFragment.kt57 var result = super.hashCode() in hashCode() variable
58 result = 31 * result + activityType in hashCode()
59 result = 31 * result + displayId in hashCode()
60 result = 31 * result + minWidth in hashCode()
61 result = 31 * result + minHeight in hashCode()
62 return result in hashCode()
DActivity.kt65 var result = super.hashCode() in hashCode() variable
66 result = 31 * result + state.hashCode() in hashCode()
67 result = 31 * result + frontOfTask.hashCode() in hashCode()
68 result = 31 * result + procId in hashCode()
69 result = 31 * result + isTranslucent.hashCode() in hashCode()
70 return result in hashCode()
DWindowConfiguration.kt60 var result = windowingMode in hashCode() variable
61 result = 31 * result + activityType in hashCode()
62 result = 31 * result + appBounds.hashCode() in hashCode()
63 result = 31 * result + bounds.hashCode() in hashCode()
64 result = 31 * result + maxBounds.hashCode() in hashCode()
65 return result in hashCode()
DWindowContainer.kt129 var result = title.hashCode() in <lambda>() variable
130 result = 31 * result + token.hashCode() in <lambda>()
131 result = 31 * result + orientation in <lambda>()
132 result = 31 * result + children.contentHashCode() in <lambda>()
133 result = 31 * result + isVisible.hashCode() in <lambda>()
134 result = 31 * result + name.hashCode() in <lambda>()
135 result = 31 * result + isFullscreen.hashCode() in <lambda>()
136 result = 31 * result + bounds.hashCode() in <lambda>()
137 return result in <lambda>()
DConfigurationContainer.kt58 var result = overrideConfiguration?.hashCode() ?: 0 in hashCode() variable
59 result = 31 * result + (fullConfiguration?.hashCode() ?: 0) in hashCode()
60 result = 31 * result + (mergedOverrideConfiguration?.hashCode() ?: 0) in hashCode()
61 return result in hashCode()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/
DLayer.kt389 var result = name.hashCode() in hashCode() variable
390 result = 31 * result + id in hashCode()
391 result = 31 * result + parentId in hashCode()
392 result = 31 * result + z in hashCode()
393 result = 31 * result + (visibleRegion?.hashCode() ?: 0) in hashCode()
394 result = 31 * result + activeBuffer.hashCode() in hashCode()
395 result = 31 * result + flags in hashCode()
396 result = 31 * result + bounds.hashCode() in hashCode()
397 result = 31 * result + color.hashCode() in hashCode()
398 result = 31 * result + shadowRadius.hashCode() in hashCode()
[all …]
DDisplay.kt52 var result = id.toInt() in hashCode() variable
53 result = 31 * result + name.hashCode() in hashCode()
54 result = 31 * result + layerStackId in hashCode()
55 result = 31 * result + size.hashCode() in hashCode()
56 result = 31 * result + layerStackSpace.hashCode() in hashCode()
57 result = 31 * result + transform.hashCode() in hashCode()
58 result = 31 * result + isVirtual.hashCode() in hashCode()
59 return result in hashCode()
DBaseLayerTraceEntry.kt77 var result = timestamp.hashCode() in <lambda>() variable
78 result = 31 * result + hwcBlob.hashCode() in <lambda>()
79 result = 31 * result + where.hashCode() in <lambda>()
80 result = 31 * result + displays.contentHashCode() in <lambda>()
81 result = 31 * result + isVisible.hashCode() in <lambda>()
82 result = 31 * result + flattenedLayers.contentHashCode() in <lambda>()
83 return result in <lambda>()
DTransform.kt76 val result = mutableListOf<String>() constant
79 result.add("IDENTITY")
83 result.add("SCALE")
87 result.add("TRANSLATE")
91 type.isFlagSet(ROT_INVALID_VAL) -> result.add("ROT_INVALID")
92 type.isFlagSet(ROT_90_VAL or FLIP_V_VAL or FLIP_H_VAL) -> result.add("ROT_270")
93 type.isFlagSet(FLIP_V_VAL or FLIP_H_VAL) -> result.add("ROT_180")
96 result.add("ROT_90")
99 result.add("FLIP_V")
102 result.add("FLIP_H")
[all …]
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java26 import com.android.tradefed.result.CollectingTestListener;
27 import com.android.tradefed.result.TestDescription;
28 import com.android.tradefed.result.TestResult;
29 import com.android.tradefed.result.TestRunResult;
90 TestRunResult result = results.iterator().next(); in testBaseListenerRuns() local
91 assertFalse(result.isRunFailure()); in testBaseListenerRuns()
92 assertFalse(result.hasFailedTests()); in testBaseListenerRuns()
94 assertTrue(result.getRunMetrics().containsKey("run_start")); in testBaseListenerRuns()
95 assertTrue(result.getRunMetrics().containsKey("run_end")); in testBaseListenerRuns()
97 for (TestResult res : result.getTestResults().values()) { in testBaseListenerRuns()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DFlicker.kt97 var result: FlickerResult? = null variable in com.android.server.wm.flicker.Flicker
106 val result = runner.execute(this) in <lambda>() constant
107 this.result = result in <lambda>()
116 val result = result in checkHasSuccessfullyExecutedATransitionRun() constant
117 if (result == null) { in checkHasSuccessfullyExecutedATransitionRun()
120 if (result.successfulRuns.isEmpty()) { in checkHasSuccessfullyExecutedATransitionRun()
126 val executionError = if (result.executionErrors.size == 1) { in checkHasSuccessfullyExecutedATransitionRun()
127 result.executionErrors[0] in checkHasSuccessfullyExecutedATransitionRun()
129 result.combinedExecutionError in checkHasSuccessfullyExecutedATransitionRun()
145 val result = result in checkAssertion() constant
[all …]
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DEventLogSubjectTest.kt37 val result = builder.buildEventLogResult(RUN_SUCCESS).eventLogSubject in canDetectFocusChanges() constant
38 requireNotNull(result) { "Event log subject was not built" } in canDetectFocusChanges()
39 result.focusChanges("WinA", "WinB", "WinC") in canDetectFocusChanges()
41 result.focusChanges("WinA", "WinB").forAllEntries() in canDetectFocusChanges()
42 result.focusChanges("WinB", "WinC").forAllEntries() in canDetectFocusChanges()
43 result.focusChanges("WinA").forAllEntries() in canDetectFocusChanges()
44 result.focusChanges("WinB").forAllEntries() in canDetectFocusChanges()
45 result.focusChanges("WinC").forAllEntries() in canDetectFocusChanges()
51 val result = builder.buildEventLogResult(RUN_SUCCESS).eventLogSubject in canDetectFocusDoesNotChange() constant
52 require(result != null) { "Event log subject was not built" } in canDetectFocusDoesNotChange()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DActiveBuffer.kt41 var result = height in prettyPrint() variable
42 result = 31 * result + width in prettyPrint()
43 result = 31 * result + stride in prettyPrint()
44 result = 31 * result + format in prettyPrint()
45 return result in prettyPrint()
DMatrix22.kt53 var result = dsdx.hashCode() in hashCode() variable
54 result = 31 * result + dtdx.hashCode() in hashCode()
55 result = 31 * result + dsdy.hashCode() in hashCode()
56 result = 31 * result + dtdy.hashCode() in hashCode()
57 return result in hashCode()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DStatsdStatsHelperTest.java257 private static void verifyAtomStats(Map<String, Long> result, int atomsCount) { in verifyAtomStats() argument
266 result.get(MetricUtility.constructKey(metricKeyPrefix, "count")), in verifyAtomStats()
269 result.get(MetricUtility.constructKey(metricKeyPrefix, "error_count")), in verifyAtomStats()
275 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigAlertStats() argument
283 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigAlertStats()
288 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMatcherStats() argument
296 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigMatcherStats()
301 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigConditionStats() argument
309 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigConditionStats()
314 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMetricStats() argument
[all …]
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcherTest.kt40 val result = matcher.compareBitmaps( in diffColor_exactMatch() constant
47 assertThat(result.matches).isTrue() in diffColor_exactMatch()
48 assertThat(result.diff).isNull() in diffColor_exactMatch()
62 val result = matcher.compareBitmaps( in diffColor_almostMatchLowRed() constant
69 assertThat(result.matches).isTrue() in diffColor_almostMatchLowRed()
70 assertThat(result.diff).isNull() in diffColor_almostMatchLowRed()
84 val result = matcher.compareBitmaps( in diffColor_almostMatchHighRed() constant
91 assertThat(result.matches).isTrue() in diffColor_almostMatchHighRed()
92 assertThat(result.diff).isNull() in diffColor_almostMatchHighRed()
106 val result = matcher.compareBitmaps( in diffColor_notMatch() constant
[all …]
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DMSSIMMatcherTest.kt38 val result = matcher.calculateSSIM( in performDiff_sameBitmaps() constant
44 assertThat(result.SSIM).isEqualTo(1.0) in performDiff_sameBitmaps()
54 val result = matcher.calculateSSIM( in performDiff_noPixelsCompared() constant
59 assertThat(result.numPixelsCompared).isEqualTo(0) in performDiff_noPixelsCompared()
78 val result = matcher.calculateSSIM( in performDiff_sameRegion() constant
84 assertThat(result.SSIM).isEqualTo(1.0) in performDiff_sameRegion()
94 val result = matcher.calculateSSIM( in performDiff_checkedAgainstUnchecked() constant
99 assertThat(result.SSIM).isWithin(0.001).of(0.490) in performDiff_checkedAgainstUnchecked()
109 val result = matcher.calculateSSIM( in performDiff_differentBorders() constant
114 assertThat(result.SSIM).isWithin(0.001).of(0.951) in performDiff_differentBorders()
[all …]
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCaseResult.java53 ITestResult result = mResults.get(testName); in getOrCreateResult() local
54 if (result == null) { in getOrCreateResult()
55 result = new TestResult(this, testName); in getOrCreateResult()
56 mResults.put(testName, result); in getOrCreateResult()
58 return result; in getOrCreateResult()
75 for (ITestResult result : mResults.values()) { in getResults()
76 if (result.getResultStatus() == status) { in getResults()
77 results.add(result); in getResults()
99 for (ITestResult result : mResults.values()) { in countResults()
100 if (result.getResultStatus() == status) { in countResults()
DLightInvocationResult.java51 public LightInvocationResult(IInvocationResult result) { in LightInvocationResult() argument
52 mTimestamp = result.getStartTime(); in LightInvocationResult()
53 mInvocationInfo = new HashMap<String, String>(result.getInvocationInfo()); in LightInvocationResult()
54 mSerials = new HashSet<String>(result.getDeviceSerials()); in LightInvocationResult()
55 mBuildFingerprint = result.getBuildFingerprint(); in LightInvocationResult()
56 mTestPlan = result.getTestPlan(); in LightInvocationResult()
57 mCommandLineArgs = result.getCommandLineArgs(); in LightInvocationResult()
58 mNotExecuted = result.getNotExecuted(); in LightInvocationResult()
59 mModuleCompleteCount = result.getModuleCompleteCount(); in LightInvocationResult()
61 mRetryDirectory = result.getRetryDirectory(); in LightInvocationResult()
[all …]

123456