HomeSort by relevance Sort by last modified time
    Searched refs:equalTo (Results 51 - 75 of 113) sorted by null

1 23 4 5

  /cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
ApexShimValidationTest.java 71 assumeThat("Device doesn't support updating APEX", updatable, CoreMatchers.equalTo("true"));
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
PredicatesTest.java 423 * Tests for Predicates.equalTo(x).
427 Predicate<Integer> isOne = Predicates.equalTo(1);
436 .addEqualityGroup(Predicates.equalTo(1), Predicates.equalTo(1))
437 .addEqualityGroup(Predicates.equalTo(2))
438 .addEqualityGroup(Predicates.equalTo(null))
443 Predicate<Integer> isNull = Predicates.equalTo(null);
450 .addEqualityGroup(Predicates.equalTo(null), Predicates.equalTo(null))
451 .addEqualityGroup(Predicates.equalTo(1)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
IterablesTest.java 216 Predicate<String> predicate = Predicates.equalTo("pants");
227 Predicate<String> predicate = Predicates.equalTo("cool");
238 assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool")));
239 assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants")));
252 Iterables.find(list, Predicates.equalTo("cool"), "woot"));
254 Iterables.find(list, Predicates.equalTo("pants"), "woot"));
266 Iterables.tryFind(list, Predicates.equalTo("cool")));
268 Iterables.tryFind(list, Predicates.equalTo("pants")));
    [all...]
IteratorsTest.java 279 Predicates.equalTo("foo"));
337 Predicate<String> predicate = Predicates.equalTo("pants");
348 Predicate<String> predicate = Predicates.equalTo("cool");
360 assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
368 Predicates.equalTo("pants")));
393 Iterators.find(iterator, Predicates.equalTo("cool"), "woot"));
401 Iterators.find(iterator, Predicates.equalTo("pants"), "woot"));
433 Iterators.tryFind(iterator, Predicates.equalTo("cool")).get());
440 Iterators.tryFind(iterator, Predicates.equalTo("pants")).get());
    [all...]
FluentIterableTest.java 205 FluentIterable.from(asList("foo", "bar")).filter(Predicates.equalTo("foo"));
230 Predicate<String> predicate = Predicates.equalTo("pants");
242 Predicate<String> predicate = Predicates.equalTo("cool");
253 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.equalTo("cool")));
254 assertEquals(Optional.of("pants"), iterable.firstMatch(Predicates.equalTo("pants")));
  /frameworks/av/media/codec2/components/gsm/
C2SoftGsmDec.cpp 61 .withFields({C2F(mSampleRate, value).equalTo(8000)})
68 .withFields({C2F(mChannelCount, value).equalTo(1)})
75 .withFields({C2F(mBitrate, value).equalTo(13200)})
  /developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.kt 40 import org.hamcrest.core.IsEqual.equalTo
126 `is`<Int>(equalTo<Int>(expectedState)))
  /developers/samples/android/media/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.kt 40 import org.hamcrest.core.IsEqual.equalTo
126 `is`<Int>(equalTo<Int>(expectedState)))
  /external/caliper/caliper/src/main/java/com/google/caliper/config/
CaliperConfigLoader.java 85 Iterables.removeIf(map.values(), Predicates.equalTo(""));
  /external/guava/guava-testlib/test/com/google/common/testing/
AbstractPackageSanityTestsTest.java 64 sanityTests.ignoreClasses(Predicates.<Object>equalTo(PublicFoo.class));
  /developers/build/prebuilts/gradle/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.java 29 import static org.hamcrest.core.IsEqual.equalTo;
151 is(equalTo(expectedState)));
  /developers/samples/android/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.java 47 import static org.hamcrest.core.IsEqual.equalTo;
150 is(equalTo(expectedState)));
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
AccessibilityUtil.java 151 Matchers.equalTo(TouchTargetSizeViewCheck.class));
154 Matchers.equalTo(DuplicateClickableBoundsViewCheck.class));
  /external/volley/src/test/java/com/android/volley/toolbox/
DiskBasedCacheTest.java 21 import static org.hamcrest.Matchers.equalTo;
598 assertThat(actual.data, is(equalTo(expected.data)));
599 assertThat(actual.etag, is(equalTo(expected.etag)));
600 assertThat(actual.lastModified, is(equalTo(expected.lastModified)));
601 assertThat(actual.responseHeaders, is(equalTo(expected.responseHeaders)));
602 assertThat(actual.serverDate, is(equalTo(expected.serverDate)));
603 assertThat(actual.softTtl, is(equalTo(expected.softTtl)));
604 assertThat(actual.ttl, is(equalTo(expected.ttl)));
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
IteratorsTest.java 232 Predicates.equalTo("foo"));
273 Predicate<String> predicate = Predicates.equalTo("pants");
284 Predicate<String> predicate = Predicates.equalTo("cool");
296 assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
304 Predicates.equalTo("pants")));
329 Iterators.find(iterator, Predicates.equalTo("cool"), "woot"));
337 Iterators.find(iterator, Predicates.equalTo("pants"), "woot"));
369 Iterators.tryFind(iterator, Predicates.equalTo("cool")).get());
376 Iterators.tryFind(iterator, Predicates.equalTo("pants")).get());
    [all...]
  /frameworks/av/media/codec2/components/amr_nb_wb/
C2SoftAmrDec.cpp 77 .withFields({C2F(mSampleRate, value).equalTo(8000)})
80 .withFields({C2F(mSampleRate, value).equalTo(16000)})
88 .withFields({C2F(mChannelCount, value).equalTo(1)})
C2SoftAmrNbEnc.cpp 62 .withFields({C2F(mChannelCount, value).equalTo(1)})
69 .withFields({C2F(mSampleRate, value).equalTo(8000)})
C2SoftAmrWbEnc.cpp 63 .withFields({C2F(mChannelCount, value).equalTo(1)})
70 .withFields({C2F(mSampleRate, value).equalTo(16000)})
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
DisplayCutoutTests.java 29 import static org.hamcrest.Matchers.equalTo;
138 a.getDisplay().getCutout(), equalTo(displayCutout));
191 not(equalTo(ZERO_RECT)));
194 equalTo(ZERO_RECT));
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java 67 * <pre>describedAs("a big decimal equal to %0", equalTo(myBigDecimal), myBigDecimal.toPlainString())</pre>
98 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre>
100 * <pre>assertThat(cheese, equalTo(smelly))</pre>
107 * A shortcut to the frequently used <code>is(equalTo(x))</code>.
111 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre>
241 * assertThat("foo", equalTo("foo"));
242 * assertThat(new String[] {"foo", "bar"}, equalTo(new String[] {"foo", "bar"}));
245 public static <T> org.hamcrest.Matcher<T> equalTo(T operand) {
246 return org.hamcrest.core.IsEqual.equalTo(operand);
289 * <pre>assertThat(cheese, is(not(equalTo(smelly))))</pre
    [all...]
  /frameworks/av/media/codec2/components/g711/
C2SoftG711Dec.cpp 77 .withFields({C2F(mChannelCount, value).equalTo(1)})
84 .withFields({C2F(mBitrate, value).equalTo(64000)})
  /external/guava/guava-tests/test/com/google/common/base/
CharMatcherTest.java 124 doTestSetBits(forPredicate(Predicates.equalTo('c')));
152 doTestEmpty(forPredicate(Predicates.equalTo('c')));
167 doTestNull(forPredicate(Predicates.equalTo('c')));
216 doTestNoMatches(forPredicate(Predicates.equalTo('c')), "abe");
244 doTestAllMatches(forPredicate(Predicates.equalTo('c')), "ccc");
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Iterators.java 22 import static com.google.common.base.Predicates.equalTo;
200 return any(iterator, equalTo(element));
357 return size(filter(iterator, equalTo(element)));
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
BindingGraphValidator.java 73 import static com.google.common.base.Predicates.equalTo;
253 indexOf(keysInPath, equalTo(requestKey)));
473 .filter(Predicates.not(Predicates.equalTo("")))
498 .filter(Predicates.not(Predicates.equalTo("")))
    [all...]
  /frameworks/av/media/codec2/components/vpx/
C2SoftVpxEnc.h 332 C2F(mProfileLevel, profile).equalTo(
335 C2F(mProfileLevel, level).equalTo(

Completed in 1793 milliseconds

1 23 4 5