/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 87 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 D | FloatLoop.java | 47 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 D | math_data_test.h | 55 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 D | SysUiStateTest.java | 98 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 D | RingBufferTest.java | 105 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 D | LayerCallback_test.cpp | 915 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 D | TetherControllerTest.cpp | 392 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 D | HelpersTest.java | 98 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 D | CountQuotaTrackerTest.java | 261 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 D | serialization_tests.cpp | 2179 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 D | apexservice_test.cpp | 2044 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 D | Main.java | 188 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 D | binder_test.cpp | 1186 std::vector<int64_t> expected1 = { 975, 242, 579, 121 }; in TEST_F() local 1202 EXPECT_EQ(expected1, getStatsVectorByIf(statsVec, extIface1)); in TEST_F()
|