/frameworks/compile/mclinker/unittests/ |
D | NamePoolTest.cpp | 48 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F() local 49 EXPECT_NE(s1, result1.data()); in TEST_F() 50 EXPECT_STREQ(s1, result1.data()); in TEST_F() 56 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F() local 58 EXPECT_STREQ(s1, result1.data()); in TEST_F() 60 EXPECT_EQ(result1.data(), result2.data()); in TEST_F() 72 Resolver::Result result1; in TEST_F() local 74 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F() 76 EXPECT_NE(name, result1.info->name()); in TEST_F() 77 EXPECT_STREQ(name, result1.info->name()); in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 175 boolean result1 = twoSignersInLineageDetails.hasAncestor(twoSignersDetails); in hasAncestor_multipleSigners_returnsFalse() 178 assertFalse(result1); in hasAncestor_multipleSigners_returnsFalse() 188 boolean result1 = twoSignersInLineageDetails.hasAncestor(unknownDetails); in hasAncestor_unknownDetails_returnsFalse() 191 assertFalse(result1); in hasAncestor_unknownDetails_returnsFalse() 202 SigningDetails result1 = noLineageDetails.mergeLineageWith(otherNoLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal() local 205 assertTrue(result1 == noLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal() 217 SigningDetails result1 = noLineageDetails.mergeLineageWith(lineageDetails); in mergeLineageWith_oneHasNoLineage_returnsOther() local 220 assertSigningDetailsContainsLineage(result1, FIRST_SIGNATURE, SECOND_SIGNATURE); in mergeLineageWith_oneHasNoLineage_returnsOther() 233 SigningDetails result1 = firstLineageDetails.mergeLineageWith(secondLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal() local 236 assertTrue(result1 == firstLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | PropertyInvalidatedCacheTests.java | 318 String result1 = cache.query(5); in testRefreshSameObject() local 319 assertEquals("foo5", result1); in testRefreshSameObject() 321 assertSame(result1, result2); in testRefreshSameObject() 340 String result1 = cache.query(5); in testRefreshInvalidateRace() local 341 assertEquals("foo5", result1); in testRefreshInvalidateRace() 343 assertEquals(result1, result2); in testRefreshInvalidateRace() 344 assertNotSame(result1, result2); in testRefreshInvalidateRace()
|
/frameworks/base/services/robotests/src/com/android/server/location/gnss/ |
D | NtpNetworkTimeHelperTest.java | 97 NtpTrustedTime.TimeResult result1 = mock(NtpTrustedTime.TimeResult.class); in demandUtcTimeInjection_injectTimeFailed_injectTimeDelayed() local 98 doReturn(NtpNetworkTimeHelper.NTP_INTERVAL + 1).when(result1).getAgeMillis(); in demandUtcTimeInjection_injectTimeFailed_injectTimeDelayed() 99 doReturn(result1).when(mMockNtpTrustedTime).getCachedTimeResult(); in demandUtcTimeInjection_injectTimeFailed_injectTimeDelayed()
|
/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 39 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST() local 40 ASSERT_TRUE(result1); in TEST() 41 const auto idmap1 = std::move(*result1); in TEST()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 274 ContentProviderResult result1; in testParcelingResult() local 277 result1 = new ContentProviderResult(Uri.parse("content://goo/bar")); in testParcelingResult() 278 result1.writeToParcel(parcel, 0); in testParcelingResult() 289 result1 = new ContentProviderResult(42); in testParcelingResult() 290 result1.writeToParcel(parcel, 0); in testParcelingResult()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/asm/ARMV7/ |
D | Syn_filt_32_neon.s | 80 VDUP.S32 Q10, D29[0] @result1 102 VSHR.S32 Q10, Q10, #11 @result1 >>= 11 105 … VADD.S32 Q12, Q12, Q10 @L_tmp = L_tmp - (result1 >>= 11) - (result2 <<= 1)
|
/frameworks/libs/binary_translation/guest_abi/riscv64/ |
D | guest_arguments_test.cc | 254 auto&& [result1] = HostResultReference<double(int, double), GuestAbi::kLp64d>(&buffer); in TEST() 255 EXPECT_EQ(result1, 1.0 / 2.0); in TEST() 256 result1 = 1.0; in TEST()
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | call_intrinsic.h | 341 auto [result0, result1] = result; in ForwardResults() 356 regs_info.regs_on_stack[result1.num] = kRegIsNotOnStack; in ForwardResults() 357 as.Expand<int64_t, int32_t>(result1, Assembler::rdx); in ForwardResults() 360 regs_info.regs_on_stack[result1.num] = kRegIsNotOnStack; in ForwardResults() 361 as.Mov<int64_t>(result1, Assembler::rdx); in ForwardResults()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 72 final String result1 = "(650) 123-4567"; in testRemoveLastChars() local 82 assertEquals(result1, number.toString()); in testRemoveLastChars() 83 assertEquals(result1.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 255 int result1 = ArtStatsLogUtils.getApkType("/tmp/base.apk", BASE_APK_PATH, SPLIT_APK_PATHS); in testGetApkType() local 261 Assert.assertEquals(result1, ArtStatsLog.ART_DATUM_REPORTED__APK_TYPE__ART_APK_TYPE_BASE); in testGetApkType()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | EnergyConsumerSnapshotTest.java | 253 EnergyConsumerResult[] result1 = new EnergyConsumerResult[]{ in testUpdateAndGetDelta_updatesCameraCharge() local 256 EnergyConsumerDeltaData delta = snapshot.updateAndGetDelta(result1, VOLTAGE_1); in testUpdateAndGetDelta_updatesCameraCharge()
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 1906 LocalHandle result1; in TEST() local 1911 error = Deserialize(&result1, &buffer); in TEST() 1913 EXPECT_EQ(0, result1.Get()); in TEST() 1914 result1.Release(); // Don't close fd 0. in TEST() 1916 std::tuple<LocalHandle&, LocalHandle&> t1(result1, result2); in TEST() 1923 EXPECT_EQ(0, result1.Get()); in TEST() 1925 result1.Release(); // Don't close fd 0. in TEST() 1930 error = Deserialize(&result1, &buffer); in TEST() 1932 EXPECT_EQ(-2, result1.Get()); in TEST()
|