Home
last modified time | relevance | path

Searched refs:expected1 (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneNumberWatcherTest.java87 final String expected1 = "650-123"; in testInsertChars() local
97 assertEquals(expected1, number.toString()); in testInsertChars()
116 final String expected1 = "(650) 123 4"; in testStopFormatting() local
126 assertEquals(expected1, number.toString()); in testStopFormatting()
128 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); in testStopFormatting()
160 final String expected1 = "(650) 123 4"; in testRestartFormatting() local
170 assertEquals(expected1, number.toString()); in testRestartFormatting()
172 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); in testRestartFormatting()
212 final String expected1 = ""; in testTextChangedByOtherTextWatcher() local
222 assertEquals(expected1, number.toString()); in testTextChangedByOtherTextWatcher()
/aosp12/art/test/597-deopt-busy-loop/src/
H A DFloatLoop.java47 public void expectEqualToEither(float value, float expected0, float expected1) { in expectEqualToEither() argument
48 if (value != expected0 && value != expected1) { in expectEqualToEither()
49 throw new Error("Expected: " + expected0 + " or "+ expected1 + in expectEqualToEither()
/aosp12/bionic/tests/
H A Dmath_data_test.h55 RT1 expected1; member
62 RT1 expected1; member
69 RT1 expected1; member
235 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
252 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
268 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
284 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/
H A DSysUiStateTest.java98 int expected1 = FLAG_1 | FLAG_2 | FLAG_3 | FLAG_4; in addMultipleRemoveOne_setFlags() local
99 verify(mCallback, times(1)).onSystemUiStateChanged(expected1); in addMultipleRemoveOne_setFlags()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
H A DRingBufferTest.java105 String[] expected1 = {"a", "b", "c", "d", "e"}; in testRingBufferWithWrapping() local
106 assertArrayEquals(expected1, buffer.toArray()); in testRingBufferWithWrapping()
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DLayerCallback_test.cpp915 ExpectedResult expected1; in TEST_F() local
916 expected1.addSurface(ExpectedResult::Transaction::PRESENTED, layer); in TEST_F()
917 expected1.addExpectedPresentTime(time); in TEST_F()
938 EXPECT_NO_FATAL_FAILURE(waitForCallback(callback1, expected1, true)); in TEST_F()
961 ExpectedResult expected1; in TEST_F() local
962 expected1.addSurface(ExpectedResult::Transaction::PRESENTED, layer); in TEST_F()
963 expected1.addExpectedPresentTime(time); in TEST_F()
983 EXPECT_NO_FATAL_FAILURE(waitForCallback(callback1, expected1, true)); in TEST_F()
/aosp12/system/netd/server/
H A DTetherControllerTest.cpp392 TetherStats expected1("bt-pan", "rmnet0", 1708806, 1450, 107471, 1040); in TEST_F() local
398 expectTetherStatsEqual(expected1, result.value()[1]); in TEST_F()
/aosp12/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DHelpersTest.java98 final File expected1 = new File(getContext().getFilesDir(), "file.txt"); in testGenerateSaveFileDupes() local
106 assertEquals(expected1.getAbsolutePath(), actual1); in testGenerateSaveFileDupes()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
H A DCountQuotaTrackerTest.java261 LongArrayQueue expected1 = new LongArrayQueue(); in testAppRemoval() local
262 expected1.addLast(now - 10 * MINUTE_IN_MILLIS); in testAppRemoval()
278 assertTrue(longArrayQueueEquals(expected1, in testAppRemoval()
/aosp12/frameworks/native/libs/vr/libpdx/
H A Dserialization_tests.cpp2179 std::array<std::uint8_t, (1 << 4) - 1> a1, expected1; in TEST() local
2180 for (auto& element : expected1) in TEST()
2184 EXPECT_EQ(expected1, a1); in TEST()
/aosp12/system/apex/apexd/
H A Dapexservice_test.cpp2044 ApexSessionInfo expected1 = CreateSessionInfo(239); in TEST_F() local
2045 expected1.isActivated = true; in TEST_F()
2048 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected1), in TEST_F()
/aosp12/art/test/083-compiler-regressions/src/
H A DMain.java188 long expected1 = 1234L << 5; in wideGetterSetterTest() local
199 if (result1 == expected1 && result2 == expected2) { in wideGetterSetterTest()
204 "result1: " + result1 + " (expecting " + expected1 + "), " + in wideGetterSetterTest()
/aosp12/system/netd/tests/
H A Dbinder_test.cpp1186 std::vector<int64_t> expected1 = { 975, 242, 579, 121 }; in TEST_F() local
1202 EXPECT_EQ(expected1, getStatsVectorByIf(statsVec, extIface1)); in TEST_F()