HomeSort by relevance Sort by last modified time
    Searched full:expectedcount (Results 1 - 25 of 39) sorted by null

1 2

  /cts/tests/tests/content/src/android/content/cts/
ClipboardManagerListenerTest.java 59 private void assertClipChangedCount(final int expectedCount) {
63 return expectedCount == mListener.getCount();
68 private void assertNoClipChange(int expectedCount) throws InterruptedException {
70 assertEquals(expectedCount, mListener.getCount());
  /external/chromium_org/third_party/icu/source/test/intltest/
svccoll.h 35 int32_t expectedCount);
svccoll.cpp 476 * @param expectedCount number of elements of expected, or 0
481 int32_t expectedCount) {
483 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32
496 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) {
525 if (((1<<expectedCount)-1) != seenMask) {
526 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) {
rbbitst.cpp 417 int expectedcount)
424 if (expectedcount > 0) {
426 for (k = 0; k < expectedcount; k ++) {
4467 int expectedcount = 0; local
4641 int expectedcount = 0; local
    [all...]
  /external/icu4c/test/intltest/
svccoll.h 35 int32_t expectedCount);
svccoll.cpp 476 * @param expectedCount number of elements of expected, or 0
481 int32_t expectedCount) {
483 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32
496 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) {
525 if (((1<<expectedCount)-1) != seenMask) {
526 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) {
rbbitst.cpp 358 int expectedcount)
365 if (expectedcount > 0) {
367 for (k = 0; k < expectedcount; k ++) {
3525 int expectedcount = 0; local
3699 int expectedcount = 0; local
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
BarrierConsumer.java 41 * @param expectedCount The number of values to consume.
43 public BarrierConsumer(int expectedCount) {
44 mExpectedCount = expectedCount;
45 mValues = new ArrayList<A>(expectedCount);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TypeTest.java 103 int expectedCount = 8 + 4 + 2 + 1;
104 assertTrue(t.getCount() == expectedCount);
107 expectedCount = 8*8 + 4*4 + 2*2 + 1;
108 assertTrue(t.getCount() == expectedCount);
111 expectedCount = 8*4 + 4*2 + 2*1 + 1;
112 assertTrue(t.getCount() == expectedCount);
115 assertTrue(t.getCount() == expectedCount);
118 expectedCount = 7 + 3 + 1;
119 assertTrue(t.getCount() == expectedCount);
122 expectedCount = 7*3 + 3*1 + 1
    [all...]
  /frameworks/native/libs/ui/tests/
Region_test.cpp 48 void checkTJunctionFreeFromRegion(const Region& original, int expectedCount = -1) {
51 if (expectedCount != -1) {
52 EXPECT_EQ(modified.end() - modified.begin(), expectedCount);
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 187 * @param expectedCount the expected number of roundtrippable permutations
189 static void testBytes(int numBytes, long expectedCount)
191 testBytes(numBytes, expectedCount, 0, -1);
200 * @param expectedCount the expected number of roundtrippable permutations
205 static void testBytes(int numBytes, long expectedCount, long start, long lim)
297 assertEquals(expectedCount, countRoundTripped);
308 * @param expectedCount the expected number of roundtrippable permutations
314 int numBytes, long expectedCount, long start, long lim)
391 assertEquals(expectedCount, countRoundTripped);
  /external/easymock/src/org/easymock/internal/
Range.java 74 public String expectedCount() {
Results.java 68 return getMainInterval().expectedCount();
  /external/guava/guava/src/com/google/common/collect/
TreeMultiset.java 522 private final int expectedCount;
525 private ConditionalSetCountModifier(int expectedCount, int setCount) {
526 checkArgument(setCount >= 0 & expectedCount >= 0);
527 this.expectedCount = expectedCount;
533 return (oldCount == expectedCount) ? setCount : oldCount;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
TreeMultiset.java 518 private final int expectedCount;
521 private ConditionalSetCountModifier(int expectedCount, int setCount) {
522 checkArgument(setCount >= 0 & expectedCount >= 0);
523 this.expectedCount = expectedCount;
529 return (oldCount == expectedCount) ? setCount : oldCount;
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
nodelistindexgetlength.java 64 int expectedCount = 0;
  /cts/tests/tests/provider/src/android/provider/cts/
SearchRecentSuggestionsTest.java 197 final int expectedCount) {
204 return cursor != null && cursor.getCount() == expectedCount;
  /frameworks/base/media/mca/
structgen.py 254 def commandArgAssert(self, linecomps, expectedcount, lineno):
256 if foundcount < expectedcount:
258 "but got only %d!" % (linecomps[0], expectedcount, foundcount))
259 elif foundcount > expectedcount + 1:
261 "but got %d!" % (linecomps[0], expectedcount, foundcount))
  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityRecordTest.java 204 static void assertNoNewNonStaticFieldsAdded(Class<?> clazz, int expectedCount) {
217 assertEquals(message, expectedCount, nonStaticFieldCount);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialPickerLayout.java 354 int expectedCount = 8;
361 if (count == expectedCount) {
364 expectedCount = 7;
366 expectedCount = 14;
368 expectedCount = 4;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 118 int start, int end, boolean measureForwards, float maxWidth, int expectedCount,
136 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0]));
137 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1]));
138 assertEquals(expectedCount, p.breakText(textSpan, start, end, measureForwards, maxWidth,
  /external/chromium_org/chrome/third_party/mock4js/
mock4js.js 132 function CallCounter(expectedCount) {
133 this._expectedCallCount = expectedCount;
  /frameworks/base/core/tests/coretests/src/android/content/
ContentProviderOperationTest.java 431 ContentProviderOperation.Builder builder, Integer expectedCount)
436 field.set(builder, expectedCount);
  /frameworks/wilhelm/tests/automated/
BufferQueue_test.cpp 262 void CheckBufferCount(SLuint32 ExpectedCount, SLuint32 ExpectedPlayIndex) {
266 ASSERT_EQ(ExpectedCount, bufferqueueState.count);
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 639 : Id(Id), ExpectedCount(-1), Count(0) {}
642 // Checks that there were exactly \c ExpectedCount matches.
643 VerifyIdIsBoundTo(llvm::StringRef Id, int ExpectedCount)
644 : Id(Id), ExpectedCount(ExpectedCount), Count(0) {}
650 int ExpectedCount = 1)
651 : Id(Id), ExpectedCount(ExpectedCount), Count(0),
655 if (ExpectedCount != -1)
656 EXPECT_EQ(ExpectedCount, Count)
    [all...]

Completed in 1152 milliseconds

1 2