/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ConfigurationContainer.java | 191 * Returns whether the two bounds are equal to each other or are a combination of null or empty. 193 public static boolean equivalentBounds(Rect bounds, Rect other) { argument 194 return bounds == other 195 || (bounds != null && (bounds.equals(other) || (bounds.isEmpty() && other == null))) 196 || (other != null && other.isEmpty() && bounds == null); 398 public boolean hasCompatibleActivityType(ConfigurationContainer other) { argument 400 /*@WindowConfiguration.ActivityType*/ int otherType = other.getActivityType(); 409 // Otherwise we are compatible if us or other i [all...] |
H A D | WindowSurfaceController.java | 126 void reparentChildrenInTransaction(WindowSurfaceController other) { argument 127 if (SHOW_TRANSACTIONS) Slog.i(TAG, "REPARENT from: " + this + " to: " + other); 128 if ((mSurfaceControl != null) && (other.mSurfaceControl != null)) { 129 mSurfaceControl.reparentChildren(other.getHandle());
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 73 const RawString* other = ValueCast<RawString>(value); local 74 if (!other) { 77 return *this->value == *other->value; 109 const Reference* other = ValueCast<Reference>(value); local 110 if (!other) { 113 return reference_type == other->reference_type && 114 private_reference == other->private_reference && id == other->id && 115 name == other->name; 235 const String* other local 291 const StyledString* other = ValueCast<StyledString>(value); local 343 const FileReference* other = ValueCast<FileReference>(value); local 395 const BinaryPrimitive* other = ValueCast<BinaryPrimitive>(value); local 543 const Attribute* other = ValueCast<Attribute>(value); local 870 const Style* other = ValueCast<Style>(value); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 83 * This should be spread to other technologies, 94 * This should be spread to other technologies, 150 * @deprecated this constructor is no longer supported. Use the other constructor which takes 669 ApnSetting other = (ApnSetting) o; 671 return carrier.equals(other.carrier) 672 && id == other.id 673 && numeric.equals(other.numeric) 674 && apn.equals(other.apn) 675 && proxy.equals(other.proxy) 676 && mmsc.equals(other 754 similar(ApnSetting other) argument [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
H A D | MediaRouteProviderService.java | 585 public boolean hasMessenger(Messenger other) { argument 586 return mMessenger.getBinder() == other.getBinder(); 644 * This handler should not be used to handle any messages other than those
|
/frameworks/support/print/src/main/java/androidx/print/ |
H A D | PrintHelper.java | 537 * Create a build with a copy from the other print attributes. 539 * @param other The other print attributes 541 * @return A builder that will build print attributes that match the other attributes 544 private static PrintAttributes.Builder copyAttributes(PrintAttributes other) { argument 546 .setMediaSize(other.getMediaSize()) 547 .setResolution(other.getResolution()) 548 .setMinMargins(other.getMinMargins()); 550 if (other.getColorMode() != 0) { 551 b.setColorMode(other [all...] |
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
H A D | DiffUtilTest.java | 466 public Item(Item other) { argument 467 id = other.id; 468 newItem = other.newItem; 469 changed = other.changed; 470 payload = other.payload; 471 data = other.data;
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 45 CameraMetadata::CameraMetadata(const CameraMetadata &other) : argument 47 mBuffer = clone_camera_metadata(other.mBuffer); 55 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { argument 56 return operator=(other.mBuffer); 131 void CameraMetadata::acquire(CameraMetadata &other) { argument 136 acquire(other.release()); 139 status_t CameraMetadata::append(const CameraMetadata &other) { argument 140 return append(other.mBuffer); 143 status_t CameraMetadata::append(const camera_metadata_t* other) { argument 148 size_t extraEntries = get_camera_metadata_entry_count(other); 684 swap(CameraMetadata& other) argument [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 36 // a value between "other" + 1 and "other" + INT32_MAX, the choice of 38 // In general, this means (new_self) returned is max(self, other) + 1. 40 static uint32_t incrementSequence(uint32_t self, uint32_t other) { argument 41 int32_t diff = (int32_t) self - (int32_t) other; 43 return self + 1; // we're already ahead of other. 45 return other + 1; // we're behind, so move just ahead of other. 183 // On the other hand, this barrier is required. 304 case EINTR: // wait was interrupted by signal or other spuriou [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityServiceInfo.java | 594 * @param other The info from which to update the properties. 598 public void updateDynamicallyConfigurableProperties(AccessibilityServiceInfo other) { argument 599 eventTypes = other.eventTypes; 600 packageNames = other.packageNames; 601 feedbackType = other.feedbackType; 602 notificationTimeout = other.notificationTimeout; 603 flags = other.flags; 822 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; 824 if (other.mComponentName != null) { 827 } else if (!mComponentName.equals(other [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 211 public PrintJobInfo(PrintJobInfo other) { argument 212 mId = other.mId; 213 mLabel = other.mLabel; 214 mPrinterId = other.mPrinterId; 215 mPrinterName = other.mPrinterName; 216 mState = other.mState; 217 mAppId = other.mAppId; 218 mTag = other.mTag; 219 mCreationTime = other.mCreationTime; 220 mCopies = other [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 191 * @param other 193 public Time(Time other) { argument 194 initialize(other.timezone); 195 set(other); 255 * the other fields. Requires that it be normalized for MONTH_DAY and 734 * field. On the other hand, if you are adding 991 * hour at 12am on April 25, 2008 and there are a few other places that 1260 // Read-only fields that are derived from other information above.
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 35 * windows can be descendants of other windows, which is the windows are 446 * @param info The other info. 572 AccessibilityWindowInfo other = (AccessibilityWindowInfo) obj; 573 return (mId == other.mId); 685 * @param other The new state. 690 public boolean changed(AccessibilityWindowInfo other) { argument 691 if (other.mId != mId) { 694 if (other.mType != mType) { 697 if (!mBoundsInScreen.equals(other.mBoundsInScreen)) { 700 if (mLayer != other 730 differenceFrom(AccessibilityWindowInfo other) argument [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassifierImpl.java | 536 public boolean equals(Object other) { argument 537 if (this == other) { 539 } else if (other == null || !ModelFile.class.isAssignableFrom(other.getClass())) { 542 final ModelFile otherModel = (ModelFile) other;
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 818 public LayoutParams(ViewGroup.LayoutParams other) { argument 819 super(other); 822 public LayoutParams(LayoutParams other) { argument 823 super((LinearLayout.LayoutParams) other); 824 isOverflowButton = other.isOverflowButton;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ServiceState.java | 203 public void add(ServiceState other) { argument 204 mDurations.addDurations(other.mDurations); 205 mRunCount += other.mRunCount; 206 mStartedCount += other.mStartedCount; 207 mBoundCount += other.mBoundCount; 208 mExecCount += other.mExecCount;
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 712 public int compareTo(DecodedFilename other) { argument 714 return key.compareTo(other.key);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Matrix.cpp | 165 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local 166 *obj = *other; 266 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local 267 obj->preConcat(*other); 310 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local 311 matrix->postConcat(*other);
|
H A D | Region.cpp | 151 static jboolean Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) { argument 152 bool result = GetSkRegion(env, region)->quickReject(*GetSkRegion(env, other));
|
/frameworks/base/core/jni/ |
H A D | android_os_HwRemoteBinder.cpp | 434 // equals iff other is also a non-null android.os.HwRemoteBinder object 436 // In particular, if other is an android.os.HwBinder object (for stubs) then 438 static jboolean JHwRemoteBinder_equals(JNIEnv* env, jobject thiz, jobject other) argument 440 if (env->IsSameObject(thiz, other)) { 443 if (other == NULL) { 449 return hardware::interfacesEqual(toIBase(env, clazz.get(), thiz), toIBase(env, clazz.get(), other));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarSignalPolicy.java | 332 protected void copyTo(SignalIconState other) { argument 333 other.visible = visible; 334 other.activityIn = activityIn; 335 other.activityOut = activityOut; 336 other.slot = slot; 337 other.contentDescription = contentDescription; 361 public void copyTo(WifiIconState other) { argument 362 super.copyTo(other); 363 other.resId = resId; 364 other 432 copyTo(MobileIconState other) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 382 public void stealFocusFrom(RemoteInputView other) { argument 383 other.close(); 384 setPendingIntent(other.mPendingIntent); 385 setRemoteInput(other.mRemoteInputs, other.mRemoteInput); 386 setRevealParameters(other.mRevealCx, other.mRevealCy, other.mRevealR); 502 // We might get reattached but then the other one of HUN / expanded might steal
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 123 // enclosed socket factory and connection pool. Avoid creating other Network objects. 175 LingerTimer other = (LingerTimer) o; 176 return (request.requestId == other.request.requestId) && (expiryMs == other.expiryMs); 181 public int compareTo(LingerTimer other) { argument 182 return (expiryMs != other.expiryMs) ? 183 Long.compare(expiryMs, other.expiryMs) : 184 Integer.compare(request.requestId, other.request.requestId); 219 // it depends on the state of other networks and requests, which only ConnectivityService knows. 316 // Should only happen if the requestId wraps. If that happens lots of other thing 620 compareTo(NetworkAgentInfo other) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 266 // Write the code paths used by other apps. 391 // This is a code path used by other apps line. 525 // In case the package was marked as used by other apps in a previous version 534 // The package is not used by other apps and we removed all its dex files 569 * If the package is left with no records of secondary dex usage and is not used by other 590 // If no secondary dex info is left and the package is not used by other apps 692 // The app's code paths that are used by other apps. 698 // Keeps track of whether or not this package was used by other apps before 716 // Creates a deep copy of the `other`. 717 public PackageUseInfo(PackageUseInfo other) { argument 811 DexUseInfo(DexUseInfo other) argument [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
H A D | RouterAdvertisementDaemon.java | 134 public RaParams(RaParams other) { argument 135 hasDefaultRoute = other.hasDefaultRoute; 136 mtu = other.mtu; 137 prefixes = (HashSet) other.prefixes.clone(); 138 dnses = (HashSet) other.dnses.clone();
|