Searched refs:equal (Results 1 - 25 of 27) 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);
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java168 && Objects.equal(name, other.name)
179 && Objects.equal(address, other.address);
H A DPersistentDataStore.java98 if (!Objects.equal(display.getDeviceAlias(), alias)) {
144 if (Objects.equal(display.getDeviceAlias(), alias)) {
H A DWifiDisplayController.java747 if (!Objects.equal(mAdvertisedDisplay, display)
766 } else if (oldDisplay != null && !Objects.equal(display, oldDisplay)) {
771 if (!Objects.equal(display, oldDisplay)) {
H A DLogicalDisplay.java183 if (!Objects.equal(mPrimaryDisplayDeviceInfo, deviceInfo)) {
/frameworks/base/core/java/android/net/
H A DNetworkTemplate.java185 && Objects.equal(mSubscriberId, other.mSubscriberId)
186 && Objects.equal(mNetworkId, other.mNetworkId);
236 && Objects.equal(mSubscriberId, ident.mSubscriberId));
281 return Objects.equal(mNetworkId, ident.mNetworkId);
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);
H A DNetworkStats.java327 && Objects.equal(iface, this.iface[i])) {
352 && Objects.equal(iface, this.iface[i])) {
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java107 && Objects.equal(mDeviceAlias, other.mDeviceAlias);
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java189 && Objects.equal(address, other.address)
190 && Objects.equal(name, other.name)
/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)) {
H A DInputManagerService.java962 && !Objects.equal(oldLayout,
991 && !Objects.equal(oldLayout,
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp96 bool equal = !strcmp(BC_EXT_STR, exts); local
101 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/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.java287 if (Objects.equal(mCurrentDreamName, name)
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java125 if (!Objects.equal(mTwilightState, state)) {
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsCollection.java524 && Objects.equal(ident, key.ident);
H A DNetworkPolicyManagerService.java696 return Objects.equal(tele.getSubscriberId(), template.getSubscriberId());
954 && Objects.equal(tele.getSubscriberId(), template.getSubscriberId())) {
/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));

Completed in 320 milliseconds

12