Home
last modified time | relevance | path

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

12345

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
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 …]
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()
DWindowToken.kt43 var result = super.hashCode() in hashCode() variable
44 result = 31 * result + isVisible.hashCode() in hashCode()
45 return result in hashCode()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DEventLogMonitorTest.kt45 val result = FlickerRunResult.Builder() in canCaptureFocusEventLogs() constant
46 monitor.save("test", result) in canCaptureFocusEventLogs()
48 assertEquals(2, result.eventLog?.size) in canCaptureFocusEventLogs()
51 result.eventLog?.get(0)?.window) in canCaptureFocusEventLogs()
52 assertEquals(FocusEvent.Focus.LOST, result.eventLog?.get(0)?.focus) in canCaptureFocusEventLogs()
55 result.eventLog?.get(1)?.window) in canCaptureFocusEventLogs()
56 assertEquals(FocusEvent.Focus.GAINED, result.eventLog?.get(1)?.focus) in canCaptureFocusEventLogs()
57 assertTrue(result.eventLog?.get(0)?.timestamp ?: 0 in canCaptureFocusEventLogs()
58 <= result.eventLog?.get(1)?.timestamp ?: 0) in canCaptureFocusEventLogs()
59 assertEquals(result.eventLog?.get(0)?.reason, "test") in canCaptureFocusEventLogs()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/
DLayer.kt359 var result = name.hashCode() in hashCode() variable
360 result = 31 * result + id in hashCode()
361 result = 31 * result + parentId in hashCode()
362 result = 31 * result + z in hashCode()
363 result = 31 * result + (visibleRegion?.hashCode() ?: 0) in hashCode()
364 result = 31 * result + activeBuffer.hashCode() in hashCode()
365 result = 31 * result + flags in hashCode()
366 result = 31 * result + bounds.hashCode() in hashCode()
367 result = 31 * result + color.hashCode() in hashCode()
368 result = 31 * result + shadowRadius.hashCode() in hashCode()
[all …]
DDisplay.kt48 var result = id.toInt() in hashCode() variable
49 result = 31 * result + name.hashCode() in hashCode()
50 result = 31 * result + layerStackId in hashCode()
51 result = 31 * result + size.hashCode() in hashCode()
52 result = 31 * result + layerStackSpace.hashCode() in hashCode()
53 result = 31 * result + transform.hashCode() in hashCode()
54 return result in hashCode()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DEventLogSubjectTest.kt36 val result = builder.buildEventLogResult().eventLogSubject in canDetectFocusChanges() constant
37 requireNotNull(result) { "Event log subject was not built" } in canDetectFocusChanges()
38 result.focusChanges("WinA", "WinB", "WinC") in canDetectFocusChanges()
40 result.focusChanges("WinA", "WinB").forAllEntries() in canDetectFocusChanges()
41 result.focusChanges("WinB", "WinC").forAllEntries() in canDetectFocusChanges()
42 result.focusChanges("WinA").forAllEntries() in canDetectFocusChanges()
43 result.focusChanges("WinB").forAllEntries() in canDetectFocusChanges()
44 result.focusChanges("WinC").forAllEntries() in canDetectFocusChanges()
49 val result = FlickerRunResult.Builder().buildEventLogResult().eventLogSubject in canDetectFocusDoesNotChange() constant
50 require(result != null) { "Event log subject was not built" } in canDetectFocusDoesNotChange()
[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/traces/common/
DBuffer.kt30 var result = height in prettyPrint() variable
31 result = 31 * result + width in prettyPrint()
32 result = 31 * result + stride in prettyPrint()
33 result = 31 * result + format in prettyPrint()
34 return result in prettyPrint()
DColor.kt43 var result = r.hashCode() in hashCode() variable
44 result = 31 * result + g.hashCode() in hashCode()
45 result = 31 * result + b.hashCode() in hashCode()
46 result = 31 * result + a.hashCode() in hashCode()
47 return result in hashCode()
DRect.kt77 var result = left in hashCode() variable
78 result = 31 * result + top in hashCode()
79 result = 31 * result + right in hashCode()
80 result = 31 * result + bottom in hashCode()
81 return result in hashCode()
DPoint.kt35 var result = x in hashCode() variable
36 result = 31 * result + y in hashCode()
37 return result in hashCode()
DSize.kt36 var result = width in prettyPrint() variable
37 result = 31 * result + height in prettyPrint()
38 return result in prettyPrint()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DTransitionRunnerCached.kt29 private var result: FlickerResult? = null variable in com.android.server.wm.flicker.TransitionRunnerCached
35 if (result?.isEmpty() != false) { in run()
36 result = runner.run(flicker) in run()
39 return result ?: error("Result should not be empty") in run()
54 result?.cleanUp() in cleanUp()
55 result = null in cleanUp()
DFlicker.kt102 var result: FlickerResult? = null variable in com.android.server.wm.flicker.Flicker
111 val result = runner.execute(this) in <lambda>() constant
112 this.result = result in <lambda>()
120 if (result == null) { in checkIsExecuted()
123 val error = result?.error in checkIsExecuted()
137 val result = result in checkAssertion() constant
138 requireNotNull(result) in checkAssertion()
140 val failures = result.checkAssertion(assertion) in checkAssertion()
153 result?.cleanUp() in clear()
154 result = null in clear()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DStatsdStatsHelperTest.java256 private static void verifyAtomStats(Map<String, Long> result, int atomsCount) { in verifyAtomStats() argument
265 result.get(MetricUtility.constructKey(metricKeyPrefix, "count")), in verifyAtomStats()
268 result.get(MetricUtility.constructKey(metricKeyPrefix, "error_count")), in verifyAtomStats()
274 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigAlertStats() argument
282 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigAlertStats()
287 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMatcherStats() argument
295 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigMatcherStats()
300 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigConditionStats() argument
308 assertEquals(result.get(metricKey), Long.valueOf(i + 2)); in verifyConfigConditionStats()
313 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMetricStats() argument
[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 …]

12345