Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java176 boolean result2 = twoSignersDetails.hasAncestor(twoSignersInLineageDetails); in hasAncestor_multipleSigners_returnsFalse()
179 assertFalse(result2); in hasAncestor_multipleSigners_returnsFalse()
189 boolean result2 = unknownDetails.hasAncestor(twoSignersInLineageDetails); in hasAncestor_unknownDetails_returnsFalse()
192 assertFalse(result2); in hasAncestor_unknownDetails_returnsFalse()
203 SigningDetails result2 = otherNoLineageDetails.mergeLineageWith(noLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal() local
206 assertTrue(result2 == otherNoLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal()
218 SigningDetails result2 = lineageDetails.mergeLineageWith(noLineageDetails); in mergeLineageWith_oneHasNoLineage_returnsOther() local
221 assertSigningDetailsContainsLineage(result2, FIRST_SIGNATURE, SECOND_SIGNATURE); in mergeLineageWith_oneHasNoLineage_returnsOther()
234 SigningDetails result2 = secondLineageDetails.mergeLineageWith(firstLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal() local
237 assertTrue(result2 == secondLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal()
[all …]
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp57 llvm::StringRef result2 = m_pTestee->insertString(s2.c_str()); in TEST_F() local
59 EXPECT_STREQ(s2.c_str(), result2.data()); in TEST_F()
60 EXPECT_EQ(result1.data(), result2.data()); in TEST_F()
85 Resolver::Result result2; in TEST_F() local
87 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
98 EXPECT_NE(result1.existent, result2.existent); in TEST_F()
122 Resolver::Result result2; in TEST_F() local
124 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
126 EXPECT_EQ(result1.info, result2.info); in TEST_F()
161 const char* result2 = m_pTestee->insertString(result1); in TEST_F() local
[all …]
/frameworks/wilhelm/src/itf/
DIAndroidEffectCapabilities.cpp103 SLresult result2; in IAndroidEffectCapabilities_Expose() local
104 result2 = android_genericFx_queryEffect(i, &thiz->mFxDescriptors[i]); in IAndroidEffectCapabilities_Expose()
105 if (SL_RESULT_SUCCESS != result2) { in IAndroidEffectCapabilities_Expose()
106 SL_LOGE("Error (SLresult is %d) querying effect %d", result2, i); in IAndroidEffectCapabilities_Expose()
109 result = result2; in IAndroidEffectCapabilities_Expose()
/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DNtpTimeHelperTest.java105 NtpTrustedTime.TimeResult result2 = mock(NtpTrustedTime.TimeResult.class); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed() local
106 doReturn(1L).when(result2).getAgeMillis(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
107 doReturn(MOCK_NTP_TIME).when(result2).getTimeMillis(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
108 doReturn(result2).when(mMockNtpTrustedTime).getCachedTimeResult(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java275 ContentProviderResult result2; in testParcelingResult() local
280 result2 = ContentProviderResult.CREATOR.createFromParcel(parcel); in testParcelingResult()
281 assertEquals("content://goo/bar", result2.uri.toString()); in testParcelingResult()
282 assertNull(result2.count); in testParcelingResult()
292 result2 = ContentProviderResult.CREATOR.createFromParcel(parcel); in testParcelingResult()
293 assertEquals(Integer.valueOf(42), result2.count); in testParcelingResult()
294 assertNull(result2.uri); in testParcelingResult()
/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp47 auto result2 = Idmap::FromBinaryStream(stream); in TEST() local
48 ASSERT_TRUE(result2); in TEST()
49 const auto idmap2 = std::move(*result2); in TEST()
/frameworks/base/core/tests/coretests/src/android/app/
DPropertyInvalidatedCacheTests.java313 String result2 = cache.query(5); in testRefreshSameObject() local
314 assertSame(result1, result2); in testRefreshSameObject()
335 String result2 = cache.query(5); in testRefreshInvalidateRace() local
336 assertEquals(result1, result2); in testRefreshInvalidateRace()
337 assertNotSame(result1, result2); in testRefreshInvalidateRace()
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV7/
DSyn_filt_32_neon.s98 VDUP.S32 Q11, D29[0] @result2
103 VSHL.S32 Q11, Q11, #1 @result2 <<= 1
105 … VADD.S32 Q12, Q12, Q10 @L_tmp = L_tmp - (result1 >>= 11) - (result2 <<= 1)
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypterTest.java189 BackupEncrypter.Result result2 = runBackup(backupData, ImmutableList.of()); in testBackup_forSameData_createsSameDigest() local
190 assertThat(result.getDigest()).isEqualTo(result2.getDigest()); in testBackup_forSameData_createsSameDigest()
199 BackupEncrypter.Result result2 = runBackup(backup2Data, ImmutableList.of()); in testBackup_forDifferentData_createsDifferentDigest() local
200 assertThat(result.getDigest()).isNotEqualTo(result2.getDigest()); in testBackup_forDifferentData_createsDifferentDigest()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java166 FontFamilyResult result2 = FontsContract.fetchFonts( in typefaceNotCacheTest() local
168 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode()); in typefaceNotCacheTest()
170 ctx, null /* cancellation signal */, result2.getFonts()); in typefaceNotCacheTest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java85 final String result2 = "650-123"; in testRemoveLastChars() local
91 assertEquals(result2, number.toString()); in testRemoveLastChars()
92 assertEquals(result2.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java137 ScanResult result2 = buildScanResult("ssid2", BSSID); in updateScoresShouldAddNewNetwork() local
142 assertThat(mScoreCache.isScoredNetwork(result2)).isTrue(); in updateScoresShouldAddNewNetwork()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java256 int result2 = ArtStatsLogUtils.getApkType("/tmp/split1.apk", BASE_APK_PATH, in testGetApkType() local
262 Assert.assertEquals(result2, ArtStatsLog.ART_DATUM_REPORTED__APK_TYPE__ART_APK_TYPE_SPLIT); in testGetApkType()
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java951 CharBuffer result2 = result.asCharBuffer(); in toByteBuffer() local
953 result2.put(input2.get()); in toByteBuffer()
963 ShortBuffer result2 = result.asShortBuffer(); in toByteBuffer() local
965 result2.put(input2.get()); in toByteBuffer()
975 IntBuffer result2 = result.asIntBuffer(); in toByteBuffer() local
977 result2.put(input2.get()); in toByteBuffer()
987 FloatBuffer result2 = result.asFloatBuffer(); in toByteBuffer() local
989 result2.put(input2.get()); in toByteBuffer()
999 DoubleBuffer result2 = result.asDoubleBuffer(); in toByteBuffer() local
1001 result2.put(input2.get()); in toByteBuffer()
[all …]
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp340 aaudio_result_t result2 = AudioStream::release_l(); in release_l() local
341 return (result != AAUDIO_OK) ? result : result2; in release_l()
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1907 LocalHandle result2; in TEST() local
1916 std::tuple<LocalHandle&, LocalHandle&> t1(result1, result2); in TEST()
1924 EXPECT_EQ(1, result2.Get()); in TEST()
1926 result2.Release(); // Don't close fd 1. in TEST()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp2263 String8 result2(kCmdDeadlockedString); in dump() local
2264 write(fd, result2.string(), result2.size()); in dump()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java1555 final int result2 = starter2.setReason("testRecordActivityMovement").execute(); in testRecordActivityMovementBeforeDeliverToTop() local
1557 assertEquals(START_DELIVERED_TO_TOP, result2); in testRecordActivityMovementBeforeDeliverToTop()
/frameworks/base/core/java/android/content/
DIntent.java9303 Object result2 = mExtras.get(name); in getExtra() local
9304 if (result2 != null) { in getExtra()
9305 result = result2; in getExtra()