Home
last modified time | relevance | path

Searched refs:expected2 (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/net/java/com/android/internal/util/
DRingBufferTest.java103 String[] expected2 = new String[capacity]; in testRingBufferWithWrapping() local
107 expected2[firstIndex] = "e"; in testRingBufferWithWrapping()
110 expected2[i] = "x"; in testRingBufferWithWrapping()
112 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
115 expected2[firstIndex] = "x"; in testRingBufferWithWrapping()
116 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
119 for (String s : expected2) { in testRingBufferWithWrapping()
123 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
126 expected2[lastIndex] = "a"; in testRingBufferWithWrapping()
127 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java102 final String expected2 = "(650) 145-6723"; in testInsertChars() local
108 assertEquals(expected2, number.toString()); in testInsertChars()
131 final String expected2 ="(650 123"; in testStopFormatting() local
139 assertEquals(expected2, number.toString()); in testStopFormatting()
181 final String expected2 = "650-1234"; in testRestartFormatting() local
188 assertEquals(expected2, number.toString()); in testRestartFormatting()
190 assertEquals(expected2.length(), Selection.getSelectionEnd(number)); in testRestartFormatting()
280 String expected2 = "1 650-123-4567"; in testAutoCompleteUnformattedWithUnformattedNumber() local
281 testReplacement(init2, replacement2, expected2); in testAutoCompleteUnformattedWithUnformattedNumber()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/
DSysUiStateTest.java100 int expected2 = FLAG_1 | FLAG_3 | FLAG_4; in addMultipleRemoveOne_setFlags() local
101 verify(mCallback, times(1)).onSystemUiStateChanged(expected2); in addMultipleRemoveOne_setFlags()
/frameworks/native/services/surfaceflinger/tests/
DLayerCallback_test.cpp799 ExpectedResult expected2; in TEST_F() local
800 expected2.addSurface(ExpectedResult::Transaction::PRESENTED, layer, in TEST_F()
803 expected2.addExpectedPresentTime(time); in TEST_F()
806 EXPECT_NO_FATAL_FAILURE(waitForCallback(callback2, expected2, true)); in TEST_F()
844 ExpectedResult expected2; in TEST_F() local
845 expected2.addSurface(ExpectedResult::Transaction::PRESENTED, layer, in TEST_F()
850 EXPECT_NO_FATAL_FAILURE(waitForCallback(callback2, expected2, true)); in TEST_F()
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp42 const Matrix3x4 expected2 = {{101.f, 202.f, 303.f, 404.f}, member in __anon1a5e25210111::TrivialTest
122 ASSERT_EQ(CompareMatrices(expected2, actual), 0); in TEST_F()
177 ASSERT_EQ(CompareMatrices(expected2, actual), 0); in TEST_F()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java263 LongArrayQueue expected2 = new LongArrayQueue(); in testAppRemoval() local
264 expected2.addLast(now - 70 * MINUTE_IN_MILLIS); in testAppRemoval()
280 assertTrue(longArrayQueueEquals(expected2, in testAppRemoval()