Searched defs:equal (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DObjects.java27 * Determines whether two possibly-null objects are equal. Returns:
32 * equal according to {@link Object#equals(Object)}.
39 public static boolean equal(Object a, Object b) { method in class:Objects
56 * does not equal the hash code of that object.
/frameworks/support/v4/java/android/support/v4/util/
H A DContainerHelpers.java40 public static boolean equal(Object a, Object b) { method in class:ContainerHelpers
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java209 private void phoneNumberCompare(String phone1, String phone2, boolean equal, argument
218 "THEN 'equal' ELSE 'not equal' END",
224 if (equal) {
226 "equal", cursor.getString(0));
229 "not equal", cursor.getString(0));
/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java61 * Asserts that {@code actual} is not equal {@code unexpected}, according
66 if (equal(unexpected, actual)) {
161 * {@code null} will be considered equal to {@code null} (unlike SQL).
438 * equal if expectedResult is true. (hashCode() is not tested if
439 * expectedResult is false, as unequal objects can have equal hashCodes.)
443 * @param expectedResult True if the objects should compare equal,
459 + "to be equal to null?", expectedResult);
471 "hashCode() values for equal objects should be the same";
552 private static boolean equal(Object a, Object b) { method in class:MoreAsserts
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp97 bool equal = !strcmp(BC_EXT_STR, exts); local
102 if (equal || atStart || atEnd || inMiddle) {
/frameworks/native/libs/gui/
H A DGLConsumer.cpp100 bool equal = !strcmp(CROP_EXT_STR, exts); local
105 return equal || atStart || atEnd || inMiddle;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java579 static <T> boolean equal(T a, T b) { method in class:MediaRouter
1061 if (!equal(mName, descriptor.getName())) {
1065 if (!equal(mDescription, descriptor.getDescription())) {
1107 if (!equal(mExtras, descriptor.getExtras())) {

Completed in 238 milliseconds