/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 56 int index, other; local 64 other = (index == 0 ? 1 : 0); 66 if (buffer_states[other] == BUFFER_EMPTY) 67 empty_index = other; 90 int index, other; local 98 other = (index == 0 ? 1 : 0); 100 if (buffer_states[other] == BUFFER_FULL) 101 full_index = other;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRouterClientState.java | 39 * Globally selected routes override any other route selections that applications 120 public RouteInfo(RouteInfo other) { argument 121 id = other.id; 122 name = other.name; 123 description = other.description; 124 supportedTypes = other.supportedTypes; 125 enabled = other.enabled; 126 statusCode = other.statusCode; 127 playbackType = other.playbackType; 128 playbackStream = other [all...] |
H A D | RemoteDisplayState.java | 119 public RemoteDisplayInfo(RemoteDisplayInfo other) { argument 120 id = other.id; 121 name = other.name; 122 description = other.description; 123 status = other.status; 124 volume = other.volume; 125 volumeMax = other.volumeMax; 126 volumeHandling = other.volumeHandling; 127 presentationDisplayId = other.presentationDisplayId;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | WiFiKeyManager.java | 78 public int compareTo(AliasEntry other) { argument 79 return Integer.compare(getPreference(), other.getPreference());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewTransform.java | 81 public void copyFrom(TaskViewTransform other) { argument 82 translationZ = other.translationZ; 83 scale = other.scale; 84 alpha = other.alpha; 85 visible = other.visible; 86 dimAlpha = other.dimAlpha; 87 viewOutlineAlpha = other.viewOutlineAlpha; 88 rect.set(other.rect); 92 * @return whether {@param other} is the same transform as this 94 public boolean isSame(TaskViewTransform other) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | LocationRequestStatistics.java | 73 public boolean equals(Object other) { argument 74 if (!(other instanceof PackageProviderKey)) { 78 PackageProviderKey otherKey = (PackageProviderKey) other;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CrossProfileIntentFilter.java | 136 boolean equalsIgnoreFilter(CrossProfileIntentFilter other) { argument 137 return mTargetUserId == other.mTargetUserId 138 && mOwnerPackage.equals(other.mOwnerPackage) 139 && mFlags == other.mFlags;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.java | 146 public boolean equals(Object other) { argument 147 if (this == other) { 151 if (!(other instanceof CellIdentityCdma)) { 155 CellIdentityCdma o = (CellIdentityCdma) other;
|
H A D | CellIdentityGsm.java | 162 public boolean equals(Object other) { argument 163 if (this == other) { 167 if (!(other instanceof CellIdentityGsm)) { 171 CellIdentityGsm o = (CellIdentityGsm) other;
|
H A D | CellIdentityLte.java | 153 public boolean equals(Object other) { argument 154 if (this == other) { 158 if (!(other instanceof CellIdentityLte)) { 162 CellIdentityLte o = (CellIdentityLte) other;
|
H A D | CellIdentityWcdma.java | 154 public boolean equals(Object other) { argument 155 if (this == other) { 159 if (!(other instanceof CellIdentityWcdma)) { 163 CellIdentityWcdma o = (CellIdentityWcdma) other;
|
H A D | CellInfo.java | 118 public boolean equals(Object other) { argument 119 if (other == null) { 122 if (this == other) { 126 CellInfo o = (CellInfo) other;
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.java | 349 public boolean equals(Object other) { argument 350 if (other == null) return false; 351 if (!(other instanceof ProcessError)) return false; 352 ProcessError peOther = (ProcessError) other;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | ModelMethod.java | 87 public boolean isBetterArgMatchThan(ModelMethod other, List<ModelClass> args) { argument 89 final ModelClass[] otherParameterTypes = other.getParameterTypes(); 93 final ModelClass thatParameter = other.getParameter(i, otherParameterTypes);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | FlagSet.java | 66 public boolean intersect(FlagSet other, int bucketIndex) { argument 67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0; 90 public FlagSet andNot(FlagSet other) { argument 92 final int min = Math.min(buckets.length, other.buckets.length); 94 result.buckets[i] &= ~(other.buckets[i]); 99 public FlagSet or(FlagSet other) { argument 100 final FlagSet result = new FlagSet(buckets, other.buckets.length); 101 for (int i = 0; i < other.buckets.length; i ++) { 102 result.buckets[i] |= other.buckets[i]; 132 public boolean bitsEqual(FlagSet other) { argument [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | Location.java | 58 public Location(Location other) { argument 59 startOffset = other.startOffset; 60 endOffset = other.endOffset; 61 startLine = other.startLine; 62 endLine = other.endLine; 152 public boolean contains(Location other) { argument 153 if (startLine > other.startLine) { 156 if (startLine == other.startLine && startOffset > other.startOffset) { 159 if (endLine < other [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | learning_rate_controller-inl.h | 109 void CopyFrom(const LearningRateController &other) { argument 110 iteration_num_ = other.iteration_num_; 111 sample_num_ = other.sample_num_; 112 mini_batch_size_ = other.mini_batch_size_; 113 mini_batch_counter_ = other.mini_batch_counter_; 114 mode_ = other.mode_; 115 is_first_sample_ = other.is_first_sample_;
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : argument 134 mId(other.mId), mGeneration(other.mGeneration), mControllerNumber(other.mControllerNumber), 135 mIdentifier(other.mIdentifier), mAlias(other.mAlias), mIsExternal(other.mIsExternal), 136 mHasMic(other.mHasMic), mSources(other.mSources), 137 mKeyboardType(other [all...] |
/frameworks/native/opengl/libagl/ |
H A D | Tokenizer.cpp | 32 Tokenizer::Tokenizer(const Tokenizer& other) argument 33 : mRanges(other.mRanges)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandDetails.java | 44 public boolean compareTo(CommandDetails other) { argument 45 return (this.compRequired == other.compRequired && 46 this.commandNumber == other.commandNumber && 47 this.commandQualifier == other.commandQualifier && 48 this.typeOfCommand == other.typeOfCommand);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/util/ |
H A D | StateMachine.java | 109 public final boolean equals(Object other) { argument 110 return this == other;
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.h | 105 WebmStream &operator=(const WebmStream &other) { argument 106 mType = other.mType; 107 mName = other.mName; 108 mMakeTrack = other.mMakeTrack;
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerInternal.java | 115 * may choose to make the physical display mirror some other logical display. 157 * have to micro-manage screen off animations, auto-brightness and other effects. 228 public DisplayPowerRequest(DisplayPowerRequest other) { argument 229 copyFrom(other); 236 public void copyFrom(DisplayPowerRequest other) { argument 237 policy = other.policy; 238 useProximitySensor = other.useProximitySensor; 239 screenBrightness = other.screenBrightness; 240 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment; 241 brightnessSetByUser = other 257 equals(DisplayPowerRequest other) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | LocaleList.java | 94 public boolean equals(Object other) { argument 95 if (other == this) 97 if (!(other instanceof LocaleList)) 99 final Locale[] otherList = ((LocaleList) other).mList; 471 * is an indication that the system has set the default locale to one of the user's other 531 * default locale may have been chosen to be a locale other than the first locale in the locale
|
H A D | WorkSource.java | 151 * @param other The WorkSource to compare against. 154 public boolean diff(WorkSource other) { argument 156 if (N != other.mNum) { 160 final int[] uids2 = other.mUids; 162 final String[] names2 = other.mNames; 176 * work source. If <var>other</var> is null, the current work source 179 public void set(WorkSource other) { argument 180 if (other == null) { 184 mNum = other.mNum; 185 if (other 229 setReturningDiffs(WorkSource other) argument 250 add(WorkSource other) argument 257 addReturningNewbs(WorkSource other) argument 322 remove(WorkSource other) argument 357 removeUids(WorkSource other) argument 389 removeUidsAndNames(WorkSource other) argument 427 updateLocked(WorkSource other, boolean set, boolean returnNewbs) argument 451 updateUidsLocked(WorkSource other, boolean set, boolean returnNewbs) argument 527 compare(WorkSource other, int i1, int i2) argument 543 updateUidsAndNamesLocked(WorkSource other, boolean set, boolean returnNewbs) argument [all...] |