/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
IconInfo.java | 64 IconInfo that = (IconInfo) thatObject; local 65 return mHeight == that.mHeight && 66 mWidth == that.mWidth && 67 mFileName.equals(that.mFileName) && 68 mIconType.equals(that.mIconType) && 69 mLanguage.equals(that.mLanguage);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/ |
ExpandedEAPMethod.java | 61 ExpandedEAPMethod that = (ExpandedEAPMethod) thatObject; local 62 return that.getVendorID() == getVendorID() && that.getVendorType() == getVendorType();
|
/libcore/luni/src/main/java/libcore/reflect/ |
ParameterizedTypeImpl.java | 87 ParameterizedType that = (ParameterizedType) o; local 88 return Objects.equals(getRawType(), that.getRawType()) && 89 Objects.equals(getOwnerType(), that.getOwnerType()) && 90 Arrays.equals(args.getResolvedTypes(), that.getActualTypeArguments());
|
TypeVariableImpl.java | 39 TypeVariable<?> that = (TypeVariable<?>) o; local 40 return getName().equals(that.getName()) && 41 getGenericDeclaration().equals(that.getGenericDeclaration());
|
/libcore/luni/src/test/java/libcore/java/io/ |
ObjectOutputStreamTest.java | 67 CallsCloseInWriteObjectMethod that = (CallsCloseInWriteObjectMethod) o; local 69 return message.equals(that.message);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
AccessDescription.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 94 AccessDescription that = (AccessDescription)obj; local 96 if (this == that) { 99 return (accessMethod.equals(that.getAccessMethod()) && 100 accessLocation.equals(that.getAccessLocation()));
|
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
ConfigBundle.java | 75 // Note, we assume that nothing will quickly insert a symlink after createSubFile() 76 // that might invalidate the guarantees about name existing beneath targetDir. 114 ConfigBundle that = (ConfigBundle) o; local 116 if (!Arrays.equals(bytes, that.bytes)) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
LedConfiguration.java | 55 public LedConfiguration(LedConfiguration that) { 56 this.color0 = that.color0; 57 this.color1 = that.color1; 58 this.pulse = that.pulse; 66 final LedConfiguration that = (LedConfiguration)o; local 67 return areColorsEqual(that) 68 && this.pulse == that.pulse 69 && this.isTransient == that.isTransient; 72 public boolean areColorsEqual(LedConfiguration that) { 73 if (that == null) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactRequest.java | 60 final ContactRequest that = (ContactRequest) o; local 62 // Only count email, so we can pull results out of the cache that are from other contact 65 if (mEmail != null ? !mEmail.equals(that.mEmail) : that.mEmail != null) { 74 // Only count email, so we can pull results out of the cache that are from other contact 108 * This ContactRequest wrapper provides implementations of equals() and hashcode() that 132 final ContactRequestHolder that = (ContactRequestHolder) o; local 134 if (contactRequest != null ? !contactRequest.equals(that.contactRequest) 135 : that.contactRequest != null) { 139 if (destination != null ? !destination.equals(that.destination [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
streams.rb | 11 modification, are permitted provided that the following conditions 104 <i>bare-minimum lightweight information</i> that the recognizer needs, 147 ``abstract'' pseudo-methods that demand implementation when it is mixed in to a 148 class that wants to be a Stream. Right now this exists as an artifact of porting class in class:ANTLR3 151 interfaces aren't that useful as programmatic entities -- in fact, it's mildly 158 duck-typing and not type checking on objects. This means that the methods which 159 manipulate stream objects don't usually bother checking that the object is a 160 Stream and assume that the object implements the proper stream interface. Thus, 161 it is not strictly necessary that custom stream objects include ANTLR3::Stream, 295 yield tokens that have the same value for <tt>channel</tt>. The stream skip [all...] |
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 202 public int match(final AuthScope that) { 204 if (LangUtils.equals(this.scheme, that.scheme)) { 207 if (this.scheme != ANY_SCHEME && that.scheme != ANY_SCHEME) { 211 if (LangUtils.equals(this.realm, that.realm)) { 214 if (this.realm != ANY_REALM && that.realm != ANY_REALM) { 218 if (this.port == that.port) { 221 if (this.port != ANY_PORT && that.port != ANY_PORT) { 225 if (LangUtils.equals(this.host, that.host)) { 228 if (this.host != ANY_HOST && that.host != ANY_HOST) { 249 AuthScope that = (AuthScope) o local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectGraphMeasurer.java | 34 * A tool that can qualitatively measure the footprint 121 Footprint that = (Footprint) o; local 122 return this.objects == that.objects 123 && this.nonNullRefs == that.nonNullRefs 124 && this.nullRefs == that.nullRefs 125 && this.primitives.equals(that.primitives); 144 * reached through that, excluding static fields, {@code Class} objects, 161 * reached through that, excluding static fields, {@code Class} objects, 168 * @param objectAcceptor a predicate that returns {@code true} for objects
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Host.java | 65 Host that = (Host) obj; local 66 return this.properties.equals(that.properties);
|
VmSpec.java | 65 VmSpec that = (VmSpec) obj; local 66 return this.properties.equals(that.properties) 67 && this.options.equals(that.options);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
BenchmarkClass.java | 42 * destroying instances of that class. 134 BenchmarkClass that = (BenchmarkClass) obj; local 135 return this.theClass.equals(that.theClass);
|
Instrument.java | 70 * Indicates that trials using this instrument can be run in parallel with other trials. 98 Instrumentation that = (Instrumentation) obj; local 99 return Instrument.this.equals(that.instrument()) 100 && this.benchmarkMethod.equals(that.benchmarkMethod); 145 * Defines the list of options applicable to this instrument. Implementations that use options 153 * Returns some arguments that should be added to the command line when invoking 169 * <p>A message is some piece of user visible data that should be displayed to the user along 179 * A default implementation of {@link MeasurementCollectingVisitor} that collects measurements for
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 151 AllocationStats that = (AllocationStats) obj; local 152 return allocationCount == that.allocationCount 153 && allocationSize == that.allocationSize 154 && reps == that.reps 155 && Objects.equal(allocations, that.allocations);
|
/external/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 153 * Returns a {@code Converter} that converts strings from this format to {@code targetFormat}. 185 StringConverter that = (StringConverter) object; local 186 return sourceFormat.equals(that.sourceFormat) 187 && targetFormat.equals(that.targetFormat);
|
Enums.java | 111 * Returns a converter that converts between strings and {@code enum} values of type 144 StringConverter<?> that = (StringConverter<?>) object; local 145 return this.enumClass.equals(that.enumClass);
|
Equivalence.java | 61 * false} (provided that neither {@code x} nor {@code y} is modified). 95 * that the hash be distributable across <i>inequivalence</i>. If {@code equivalence(x, y)} 118 * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of 130 * <p>Note that {@code function} must be consistent according to {@code this} equivalence 131 * relation. That is, invoking {@link Function#apply} multiple times for a given value must return 134 * because it's not guaranteed that {@link Object#toString}) always returns the same string 144 * Returns a wrapper of {@code reference} that implements 145 * {@link Wrapper#equals(Object) Object.equals()} such that 155 * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an 159 * that tests equivalence using their lengths 196 Wrapper<?> that = (Wrapper<?>) obj; \/\/ note: not necessarily a Wrapper<T> local 277 EquivalentToPredicate<?> that = (EquivalentToPredicate<?>) obj; local [all...] |
Functions.java | 48 * Returns a function that calls {@code toString()} on its argument. The function does not accept 100 * IllegalArgumentException} if given a key that does not exist in the map. See also {@link 105 * function that also supports reverse conversion. 127 FunctionForMapNoDefault<?, ?> that = (FunctionForMapNoDefault<?, ?>) o; local 128 return map.equals(that.map); 146 * this method returns {@code defaultValue} for all inputs that do not belong to the map's key 149 * @param map source map that determines the function behavior 150 * @param defaultValue the value to return for inputs that aren't map keys 151 * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code 175 ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o local 221 FunctionComposition<?, ?, ?> that = (FunctionComposition<?, ?, ?>) obj; local 263 PredicateFunction<?> that = (PredicateFunction<?>) obj; local 304 ConstantFunction<?> that = (ConstantFunction<?>) obj; local 347 SupplierFunction<?> that = (SupplierFunction<?>) obj; local [all...] |
Suppliers.java | 46 * {@code function} to that value. Note that the resulting supplier will not 72 SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj; local 73 return function.equals(that.function) && supplier.equals(that.supplier); 91 * call to {@code get()} and returns that value on subsequent calls to 143 * Returns a supplier that caches the instance supplied by the delegate and 154 * @param duration the length of time after a value is created that it 156 * @param unit the unit that {@code duration} is expressed in 195 // In the very unlikely event that nanos is 0, set it to 1 236 SupplierOfInstance<?> that = (SupplierOfInstance<?>) obj; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Cut.java | 60 * (only in the case of types that are unbounded below) BELOW_ALL. 68 public int compareTo(Cut<C> that) { 69 if (that == belowAll()) { 72 if (that == aboveAll()) { 75 int result = Range.compareOrThrow(endpoint, that.endpoint); 81 this instanceof AboveValue, that instanceof AboveValue); 92 Cut<C> that = (Cut<C>) obj; local 94 int compareResult = compareTo(that);
|
EmptyContiguousSet.java | 106 Set<?> that = (Set<?>) object; local 107 return that.isEmpty();
|
/external/guava/guava/src/com/google/common/net/ |
HostAndPort.java | 57 * <p>Note that this is not an exhaustive list, because these methods are only 87 * Returns the portion of this {@code HostAndPort} instance that should 160 * Note that the host-only formats will leave the port field undefined. You 210 * @return an array with 2 strings: host and port, in that order. 258 * <p>URI formatting requires that IPv6 literals be surrounded by brackets, 261 * that don't contain these brackets. 263 * <p>Note that this parser identifies IPv6 literals solely based on the 281 HostAndPort that = (HostAndPort) other; local 282 return Objects.equal(this.host, that.host) 283 && this.port == that.por [all...] |