/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyTestAnalyzer.java | 32 public static boolean checkIfTestResultMatch(TestResultTable result1, in checkIfTestResultMatch() argument 34 if ((result1 == null || result2 == null)) { in checkIfTestResultMatch() 35 return result1 == result2; in checkIfTestResultMatch() 38 int size = result1.size(); in checkIfTestResultMatch() 43 TestResultTable.RecordEntry entry1 = result1.get(i); in checkIfTestResultMatch() 103 public static TestResultTable getDiff(TestResultTable result1, TestResultTable result2) { in getDiff() argument 106 if (result1 != null && result2 != null) { in getDiff() 107 TestResultTable longResult = result1; in getDiff() 111 shortResult = result1; in getDiff() 125 } else if (result1 == null) { in getDiff() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchResultCtsTest.java | 37 AppSearchResult<String> result1 = 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() 56 AppSearchResult<String> result1 = AppSearchResult.newSuccessfulResult("String"); in testResultEquals_failure() local 60 assertThat(result1).isNotEqualTo(result2); in testResultEquals_failure() 61 assertThat(result1.hashCode()).isNotEqualTo(result2.hashCode()); in testResultEquals_failure() 62 assertThat(result1).isNotEqualTo(resultNull); in testResultEquals_failure() 63 assertThat(result1.hashCode()).isNotEqualTo(resultNull.hashCode()); in testResultEquals_failure()
|
D | AppSearchBatchResultCtsTest.java | 40 AppSearchBatchResult<String, Integer> result1 = in testIsSuccess_false() local 56 assertThat(result1.isSuccess()).isFalse(); in testIsSuccess_false() 62 AppSearchBatchResult<String, Integer> result1 = in testIsSuccess_replace() local 74 assertThat(result1.isSuccess()).isFalse(); in testIsSuccess_replace()
|
D | AppSearchSessionCtsTestBase.java | 8288 SearchSuggestionResult result1 = 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/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/ |
D | BedsteadServiceLocatorTest.kt | 63 val result1 = locator.get(ExampleClass::class) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused() constant 68 assertThat(result1).isSameInstanceAs(result2) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused() 69 assertThat(result1).isSameInstanceAs(result3) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused() 70 assertThat(result1).isSameInstanceAs(result4) in callGetFewTimes_executeGetDependencyOnce_dependencyInstanceIsReused()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | NativeAudioAnalyzer.cpp | 336 aaudio_result_t result1 = AAUDIO_OK; in stopAudio() local 341 result1 = AAudioStream_requestStop(mOutputStream); in stopAudio() 348 return result1 != AAUDIO_OK ? result1 : result2; in stopAudio() 352 aaudio_result_t result1 = AAUDIO_OK; in closeAudio() local 356 result1 = AAudioStream_close(mOutputStream); in closeAudio() 365 return result1 != AAUDIO_OK ? result1 : result2; in closeAudio()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/ |
D | DuplexAudioManager.java | 246 int result1 = mPlayer.stopStream(); in stop() local 248 playerResult = result1 != StreamBase.OK ? result1 : result2; in stop() 253 int result1 = mRecorder.stopStream(); in stop() local 255 recorderResult = result1 != StreamBase.OK ? result1 : result2; in stop()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | TextRunShaperTest.java | 96 PositionedGlyphs result1 = 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() 109 for (int i = 0; i < result1.glyphCount(); ++i) { 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/ |
D | DropTarget.java | 316 final String result1 = queryPrefixed(uri, "1"); in processUri() local 317 if (!result1.equals(RESULT_OK)) { in processUri() 318 return result1; in processUri()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DropTarget.java | 319 final String result1 = queryPrefixed(uri, "1"); in processUri() local 320 if (!result1.equals(RESULT_OK)) { in processUri() 321 return result1; in processUri()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 2096 String result1 = getDevice().uninstallPackage(TEST_PKG); in uninstallPackage() local 2098 return result1 != null ? result1 : result2; in uninstallPackage() 2102 String result1 = getDevice().uninstallPackage(COMPANION_TEST_PKG); in uninstallCompanionPackages() local 2105 return Stream.of(result1, result2, result3) in uninstallCompanionPackages()
|
/cts/hostsidetests/locale/src/android/localemanager/cts/ |
D | ApplicationLocalesChangedAtomTests.java | 326 AtomsProto.ApplicationLocalesChanged result1 = data.get(0) in testAtomLogging_noConfigChange_logsAtomWithConfigUncommitted() local 332 AtomsProto.ApplicationLocalesChanged.Caller.CALLER_APPS, result1); in testAtomLogging_noConfigChange_logsAtomWithConfigUncommitted()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 2110 String result1 = formatter.format(date1); in assertDateEquals() local 2113 assertEquals(message, result1, result2); in assertDateEquals()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioManagerTest.java | 1987 boolean result1 = mAudioManager.isHotwordStreamSupported(false); in testIsHotwordStreamSupported()
|