Home
last modified time | relevance | path

Searched refs:result2 (Results 1 – 20 of 20) sorted by relevance

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestAnalyzer.java33 TestResultTable result2, boolean withPowerPolicyData) { in checkIfTestResultMatch() argument
34 if ((result1 == null || result2 == null)) { in checkIfTestResultMatch()
35 return result1 == result2; in checkIfTestResultMatch()
39 if (size != result2.size()) { in checkIfTestResultMatch()
44 TestResultTable.RecordEntry entry2 = result2.get(i); in checkIfTestResultMatch()
103 public static TestResultTable getDiff(TestResultTable result1, TestResultTable result2) { in getDiff() argument
106 if (result1 != null && result2 != null) { in getDiff()
108 TestResultTable shortResult = result2; in getDiff()
110 longResult = result2; in getDiff()
126 diff = result2; in getDiff()
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchResultCtsTest.java38 AppSearchResult<String> result2 = AppSearchResult.newSuccessfulResult("String"); in testResultEquals_identical() local
40 assertThat(result1).isEqualTo(result2); in testResultEquals_identical()
41 assertThat(result1.hashCode()).isEqualTo(result2.hashCode()); in testResultEquals_identical()
57 AppSearchResult<String> result2 = AppSearchResult.newSuccessfulResult("Wrong"); in testResultEquals_failure() local
60 assertThat(result1).isNotEqualTo(result2); in testResultEquals_failure()
61 assertThat(result1.hashCode()).isNotEqualTo(result2.hashCode()); in testResultEquals_failure()
DAppSearchBatchResultCtsTest.java47 AppSearchBatchResult<String, Integer> result2 = in testIsSuccess_false() local
57 assertThat(result2.isSuccess()).isFalse(); in testIsSuccess_false()
68 AppSearchBatchResult<String, Integer> result2 = in testIsSuccess_replace() local
75 assertThat(result2.isSuccess()).isTrue(); in testIsSuccess_replace()
DAppSearchSessionCtsTestBase.java8290 SearchSuggestionResult result2 = in testSearchSuggestion_differentRankingStrategy() local
8305 assertThat(suggestions).containsExactly(result2, result1, result3); in testSearchSuggestion_differentRankingStrategy()
8317 assertThat(suggestions).containsExactly(result1, result2, result3).inOrder(); in testSearchSuggestion_differentRankingStrategy()
8329 assertThat(suggestions).containsExactly(result3, result2, result1).inOrder(); in testSearchSuggestion_differentRankingStrategy()
/cts/hostsidetests/locale/src/android/localemanager/cts/
DApplicationLocalesChangedAtomTests.java114 AtomsProto.ApplicationLocalesChanged result2 = data2.get(0) in testAtomLogging_localesChangeFromApp_logsAtomSuccessfully() local
120 AtomsProto.ApplicationLocalesChanged.Caller.CALLER_APPS, result2); in testAtomLogging_localesChangeFromApp_logsAtomSuccessfully()
148 AtomsProto.ApplicationLocalesChanged result2 = data2.get(0) in testAtomLogging_localesChangeFromDelegate_logsAtomSuccessfully() local
154 AtomsProto.ApplicationLocalesChanged.Caller.CALLER_DELEGATE, result2); in testAtomLogging_localesChangeFromDelegate_logsAtomSuccessfully()
182 AtomsProto.ApplicationLocalesChanged result2 = data2.get(0) in testAtomLogging_localesChangeFromLocaleConfigOverride_logsAtomSuccessfully() local
188 AtomsProto.ApplicationLocalesChanged.Caller.CALLER_DYNAMIC_LOCALES_CHANGE, result2); in testAtomLogging_localesChangeFromLocaleConfigOverride_logsAtomSuccessfully()
217 AtomsProto.ApplicationLocalesChanged result2 = data2.get(0) in testAtomLogging_localesChangeFromAppUpdate_logsAtomSuccessfully() local
224 result2); in testAtomLogging_localesChangeFromAppUpdate_logsAtomSuccessfully()
335 AtomsProto.ApplicationLocalesChanged result2 = data.get(1) in testAtomLogging_noConfigChange_logsAtomWithConfigUncommitted() local
343 AtomsProto.ApplicationLocalesChanged.Caller.CALLER_APPS, result2); in testAtomLogging_noConfigChange_logsAtomWithConfigUncommitted()
DAppSupportedLocalesChangedAtomTest.java106 AppSupportedLocalesChanged result2 = data2.get(0).getAtom().getAppSupportedLocalesChanged(); in testAtomLogging_removeOverride_logsAtomSuccessfully() local
109 false, false, AppSupportedLocalesChanged.Status.SUCCESS, result2); in testAtomLogging_removeOverride_logsAtomSuccessfully() local
151 AppSupportedLocalesChanged result2 = data2.get(0).getAtom().getAppSupportedLocalesChanged(); in testAtomLogging_sameAsPrevLocaleConfig_logsAtomUnspecified() local
154 false, true, AppSupportedLocalesChanged.Status.STATUS_UNSPECIFIED, result2); in testAtomLogging_sameAsPrevLocaleConfig_logsAtomUnspecified() local
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp337 aaudio_result_t result2 = AAUDIO_OK; in stopAudio() local
346 result2 = AAudioStream_requestStop(mInputStream); in stopAudio()
348 return result1 != AAUDIO_OK ? result1 : result2; in stopAudio()
353 aaudio_result_t result2 = AAUDIO_OK; in closeAudio() local
362 result2 = AAudioStream_close(mInputStream); in closeAudio()
365 return result1 != AAUDIO_OK ? result1 : result2; in closeAudio()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanResultTest.java121 ScanResult result2 = new ScanResult(device, 0x11, primaryPhy, secondaryPhy, in constructor() local
123 assertTrue(result2.isLegacy()); in constructor()
124 assertTrue(result2.isConnectable()); in constructor()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java247 int result2 = mPlayer.teardownStream(); in stop() local
248 playerResult = result1 != StreamBase.OK ? result1 : result2; in stop()
254 int result2 = mRecorder.teardownStream(); in stop() local
255 recorderResult = result1 != StreamBase.OK ? result1 : result2; in stop()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DBedsteadServiceLocatorTest.kt64 val result2 = locator.get(ExampleClass::class) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused() constant
68 assertThat(result1).isSameInstanceAs(result2) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DTextRunShaperTest.java100 PositionedGlyphs result2 = TextRunShaper.shapeTextRun( in shapeText_differentPaint() local
105 assertThat(result1.getAdvance()).isNotEqualTo(result2.getAdvance()); in shapeText_differentPaint()
108 assertThat(result1.glyphCount()).isEqualTo(result2.glyphCount()); in shapeText_differentPaint()
110 assertThat(result1.getGlyphId(i)).isEqualTo(result2.getGlyphId(i)); in shapeText_differentPaint()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java320 final String result2 = queryPrefixed(uri, "2"); in processUri() local
321 if (!result2.equals(RESULT_OK)) { in processUri()
322 return result2; in processUri()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDropTarget.java323 final String result2 = queryPrefixed(uri, "2"); in processUri() local
324 if (!result2.equals(RESULT_OK)) { in processUri()
325 return result2; in processUri()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java107 CaptureResult result2 = resultListener.getCaptureResult(WAIT_FOR_FRAMES_TIMEOUT_MS); in camera2TestByCamera() local
109 Long timestamp2 = result2.get(CaptureResult.SENSOR_TIMESTAMP); in camera2TestByCamera()
DCaptureResultTest.java337 Pair<TotalCaptureResult, Long> result2 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps() local
343 validateTimestamps("Result 2 Preview", result2.first, in testResultTimestamps()
344 prevImage, result2.second); in testResultTimestamps()
345 validateTimestamps("Result 2 Jpeg", result2.first, in testResultTimestamps()
346 jpegImage, result2.second); in testResultTimestamps()
352 result2.second); in testResultTimestamps()
DOfflineSessionTest.java142 CaptureResult result2 = resultListener.getCaptureResult(WAIT_FOR_FRAMES_TIMEOUT_MS); in testInvalidOutput() local
144 Long timestamp2 = result2.get(CaptureResult.SENSOR_TIMESTAMP); in testInvalidOutput()
794 CaptureResult result2 = resultListener.getCaptureResult(WAIT_FOR_FRAMES_TIMEOUT_MS); in checkInitialResults() local
796 Long timestamp2 = result2.get(CaptureResult.SENSOR_TIMESTAMP); in checkInitialResults()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadReceiverTest.java244 Bundle result2 = sendBroadcastAndValidate(fdRefreshIntent, MbmsDownloadReceiver.RESULT_OK); in testRequestRefreshedFileDescriptors() local
246 result2.getParcelableArrayList(VendorUtils.EXTRA_PAUSED_URI_LIST); in testRequestRefreshedFileDescriptors()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPkgInstallSignatureVerificationTest.java2097 String result2 = getDevice().uninstallPackage(TEST_PKG2); in uninstallPackage() local
2098 return result1 != null ? result1 : result2; in uninstallPackage()
2103 String result2 = getDevice().uninstallPackage(COMPANION2_TEST_PKG); in uninstallCompanionPackages() local
2105 return Stream.of(result1, result2, result3) in uninstallCompanionPackages()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java2111 String result2 = formatter.format(date2); in assertDateEquals() local
2113 assertEquals(message, result1, result2); in assertDateEquals()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java1988 boolean result2 = mAudioManager.isHotwordStreamSupported(true); in testIsHotwordStreamSupported()