Searched refs:equal (Results 1 - 25 of 42) sorted by relevance

12

/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/base/core/java/android/util/
H A DPair.java47 * equal
55 return Objects.equal(p.first, first) && Objects.equal(p.second, second);
H A DMapCollections.java143 return Objects.equal(e.getKey(), colGetEntry(mIndex, 0))
144 && Objects.equal(e.getValue(), colGetEntry(mIndex, 1));
195 return Objects.equal(foundVal, e.getValue());
/frameworks/base/core/java/android/view/
H A DDisplayAdjustments.java94 return Objects.equal(daj.mCompatInfo, mCompatInfo) &&
95 Objects.equal(daj.mActivityToken, mActivityToken);
H A DDisplayInfo.java232 && Objects.equal(address, other.address)
233 && Objects.equal(name, other.name)
252 && Objects.equal(ownerPackageName, other.ownerPackageName);
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java202 && Objects.equal(name, other.name)
213 && Objects.equal(address, other.address)
215 && Objects.equal(ownerPackageName, other.ownerPackageName);
H A DLogicalDisplay.java188 if (!Objects.equal(mPrimaryDisplayDeviceInfo, deviceInfo)) {
H A DPersistentDataStore.java107 if (!Objects.equal(display.getDeviceAlias(), alias)) {
/frameworks/base/media/lib/java/com/android/media/remotedisplay/
H A DRemoteDisplay.java90 if (!Objects.equal(mMutableInfo.name, name)) {
101 if (!Objects.equal(mMutableInfo.description, description)) {
/frameworks/base/core/java/android/net/
H A DNetworkTemplate.java187 && Objects.equal(mSubscriberId, other.mSubscriberId)
188 && Objects.equal(mNetworkId, other.mNetworkId);
238 && Objects.equal(mSubscriberId, ident.mSubscriberId));
283 return Objects.equal(
H A DNetworkIdentity.java71 && Objects.equal(mSubscriberId, ident.mSubscriberId)
72 && Objects.equal(mNetworkId, ident.mNetworkId);
H A DNetworkPolicy.java162 && Objects.equal(cycleTimezone, other.cycleTimezone)
163 && Objects.equal(template, other.template);
/frameworks/support/v4/java/android/support/v4/util/
H A DContainerHelpers.java40 public static boolean equal(Object a, Object b) { method in class:ContainerHelpers
H A DMapCollections.java141 return ContainerHelpers.equal(e.getKey(), colGetEntry(mIndex, 0))
142 && ContainerHelpers.equal(e.getValue(), colGetEntry(mIndex, 1));
193 return ContainerHelpers.equal(foundVal, e.getValue());
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java143 && Objects.equal(mDeviceAlias, other.mDeviceAlias);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s36 ; * equal to predQP especially when the current block and
44 ; * performed. It is equal to ac_pred_flag in the bit
H A DomxVCM4P2_DecodePadMV_PVOP_s.s38 ; * [in] fcodeForward a code equal to vop_fcode_forward in MPEG-4
41 ; * is not equal to OMX_VC_INTER4V, the destination
/frameworks/base/services/java/com/android/server/input/
H A DPersistentDataStore.java286 if (Objects.equal(mCurrentKeyboardLayout, keyboardLayout)) {
325 if (Objects.equal(mCurrentKeyboardLayout, removedKeyboardLayout)) {
/frameworks/base/services/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java104 if (!Objects.equal(mSelectedDisplayId, id)) {
296 if (!Objects.equal(mDisplayState, state)) {
/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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s38 ; * [in] fcodeForward a code equal to vop_fcode_forward in MPEG-4
41 ; * is not equal to OMX_VC_INTER4V, the destination
H A DomxVCM4P2_PredictReconCoefIntra_s.s36 ; * equal to predQP especially when the current block and
44 ; * performed. It is equal to ac_pred_flag in the bit
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java298 if (Objects.equal(root.rootId, rootId)) {
311 if (Objects.equal(test.rootId, root.rootId)) {
/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/base/services/java/com/android/server/dreams/
H A DDreamManagerService.java326 if (Objects.equal(mCurrentDreamName, name)

Completed in 533 milliseconds

12