Home
last modified time | relevance | path

Searched refs:result1 (Results 1 – 12 of 12) sorted by relevance

/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp48 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/
DSigningDetailsTest.java166 boolean result1 = twoSignersInLineageDetails.hasAncestor(twoSignersDetails); in hasAncestor_multipleSigners_returnsFalse()
169 assertFalse(result1); in hasAncestor_multipleSigners_returnsFalse()
179 boolean result1 = twoSignersInLineageDetails.hasAncestor(unknownDetails); in hasAncestor_unknownDetails_returnsFalse()
182 assertFalse(result1); in hasAncestor_unknownDetails_returnsFalse()
193 SigningDetails result1 = noLineageDetails.mergeLineageWith(otherNoLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal() local
196 assertTrue(result1 == noLineageDetails); in mergeLineageWith_neitherHasLineage_returnsOriginal()
208 SigningDetails result1 = noLineageDetails.mergeLineageWith(lineageDetails); in mergeLineageWith_oneHasNoLineage_returnsOther() local
211 assertTrue(result1 == lineageDetails); in mergeLineageWith_oneHasNoLineage_returnsOther()
224 SigningDetails result1 = firstLineageDetails.mergeLineageWith(secondLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal() local
227 assertTrue(result1 == firstLineageDetails); in mergeLineageWith_bothHaveSameLineage_returnsOriginal()
[all …]
/frameworks/base/core/tests/systemproperties/src/android/os/
DPropertyInvalidatedCacheTest.java122 String result1 = cache.query(5); in testRefreshSameObject() local
123 assertEquals("foo5", result1); in testRefreshSameObject()
125 assertSame(result1, result2); in testRefreshSameObject()
144 String result1 = cache.query(5); in testRefreshInvalidateRace() local
145 assertEquals("foo5", result1); in testRefreshInvalidateRace()
147 assertEquals(result1, result2); in testRefreshInvalidateRace()
148 assertNotSame(result1, result2); in testRefreshInvalidateRace()
/frameworks/base/startop/scripts/app_startup/lib/
Dadb_utils_test.py8 result1 = adb_utils.parse_time_to_milliseconds('+1s7ms')
12 assert result1 == 1007
/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp39 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/services/robotests/src/com/android/server/location/gnss/
DNtpTimeHelperTest.java86 NtpTrustedTime.TimeResult result1 = mock(NtpTrustedTime.TimeResult.class); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed() local
87 doReturn(NtpTimeHelper.NTP_INTERVAL + 1).when(result1).getAgeMillis(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
88 doReturn(result1).when(mMockNtpTrustedTime).getCachedTimeResult(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java274 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/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
DSyn_filt_32_neon.s80 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java61 final String result1 = "(650) 123-4567"; in testRemoveLastChars() local
71 assertEquals(result1, number.toString()); in testRemoveLastChars()
72 assertEquals(result1.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java904 Pair<List<RangingResult>, List<RangingResult>> result1 = in testRangingTimeout() local
930 mDut.onRangingResults(cmdId1, result1.second); in testRangingTimeout()
966 Pair<List<RangingResult>, List<RangingResult>> result1 = in testRangingThrottleBackground() local
989 mDut.onRangingResults(mIntCaptor.getValue(), result1.second); in testRangingThrottleBackground()
992 cbInorder.verify(mockCallback).onRangingResults(result1.second); in testRangingThrottleBackground()
1051 verify(mockMetrics).recordResult(eq(request1), eq(result1.second), anyInt()); in testRangingThrottleBackground()
1099 Pair<List<RangingResult>, List<RangingResult>> result1 = in runTestRangingThrottleBackgroundWorkSources() local
1120 mDut.onRangingResults(mIntCaptor.getValue(), result1.second); in runTestRangingThrottleBackgroundWorkSources()
1123 cbInorder.verify(mockCallback).onRangingResults(result1.second); in runTestRangingThrottleBackgroundWorkSources()
1153 verify(mockMetrics).recordResult(eq(request1), eq(result1.second), anyInt()); in runTestRangingThrottleBackgroundWorkSources()
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1906 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()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp2067 const int result1 = first.get(); in TEST_F() local
2069 EXPECT_TRUE(result1 == ANEURALNETWORKS_BAD_STATE || result1 == ANEURALNETWORKS_NO_ERROR); in TEST_F()
2071 EXPECT_TRUE(result1 == ANEURALNETWORKS_NO_ERROR || result2 == ANEURALNETWORKS_NO_ERROR); in TEST_F()