/frameworks/base/libs/androidfw/include/androidfw/ |
D | ConfigDescription.h | 91 ConfigDescription(const android::ResTable_config& o); // NOLINT(google-explicit-constructor) 92 ConfigDescription(const ConfigDescription& o); 93 ConfigDescription(ConfigDescription&& o) noexcept; 95 ConfigDescription& operator=(const android::ResTable_config& o); 96 ConfigDescription& operator=(const ConfigDescription& o); 97 ConfigDescription& operator=(ConfigDescription&& o) noexcept; 115 bool Dominates(const ConfigDescription& o) const; 122 bool HasHigherPrecedenceThan(const ConfigDescription& o) const; 130 bool ConflictsWith(const ConfigDescription& o) const; 138 bool IsCompatibleWith(const ConfigDescription& o) const; [all …]
|
D | Locale.h | 65 inline bool operator<(const LocaleValue& o) const; 66 inline bool operator<=(const LocaleValue& o) const; 67 inline bool operator==(const LocaleValue& o) const; 68 inline bool operator!=(const LocaleValue& o) const; 69 inline bool operator>=(const LocaleValue& o) const; 70 inline bool operator>(const LocaleValue& o) const; 91 bool LocaleValue::operator<(const LocaleValue& o) const { 92 return compare(o) < 0; 95 bool LocaleValue::operator<=(const LocaleValue& o) const { 96 return compare(o) <= 0; [all …]
|
/frameworks/base/tools/aapt/ |
D | ConfigDescription.h | 32 ConfigDescription(const android::ResTable_config&o) { // NOLINT(google-explicit-constructor) in ConfigDescription() 33 *static_cast<android::ResTable_config*>(this) = o; in ConfigDescription() 37 ConfigDescription(const ConfigDescription&o) in ConfigDescription() 38 : android::ResTable_config(o) { in ConfigDescription() 41 ConfigDescription& operator=(const android::ResTable_config& o) { 42 *static_cast<android::ResTable_config*>(this) = o; 47 ConfigDescription& operator=(const ConfigDescription& o) { 48 *static_cast<android::ResTable_config*>(this) = o; 52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; } 53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; } [all …]
|
D | StringPool.h | 44 entry(const entry& o) : value(o.value), offset(o.offset), in entry() 45 hasStyles(o.hasStyles), indices(o.indices), in entry() 46 configTypeName(o.configTypeName), configs(o.configs) { } in entry() 57 int compare(const entry& o) const; 59 inline bool operator<(const entry& o) const { return compare(o) < 0; } 60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 61 inline bool operator==(const entry& o) const { return compare(o) == 0; } 62 inline bool operator!=(const entry& o) const { return compare(o) != 0; } 63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; } 64 inline bool operator>(const entry& o) const { return compare(o) > 0; } [all …]
|
D | AaptAssets.h | 85 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; } 86 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; } 87 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; } 88 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; } 89 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; } 90 inline bool operator>(const AaptLocaleValue& o) const { return compare(o) > 0; } 112 inline int compare(const AaptGroupEntry& o) const { return mParams.compareLogical(o.mParams); } in compare() 113 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; } 114 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; } 115 inline bool operator==(const AaptGroupEntry& o) const { return compare(o) == 0; } [all …]
|
/frameworks/base/core/java/android/os/ |
D | HidlSupport.java | 118 public static int deepHashCode(Object o) { in deepHashCode() argument 119 if (o == null) { in deepHashCode() 122 Class<?> clazz = o.getClass(); in deepHashCode() 126 return primitiveArrayHashCode(o); in deepHashCode() 128 return Arrays.hashCode(Arrays.stream((Object[])o) in deepHashCode() 133 if (o instanceof List<?>) { in deepHashCode() 134 return Arrays.hashCode(((List<Object>)o).stream() in deepHashCode() 139 throwErrorIfUnsupportedType(o); in deepHashCode() 141 return o.hashCode(); in deepHashCode() 145 private static void throwErrorIfUnsupportedType(Object o) { in throwErrorIfUnsupportedType() argument [all …]
|
D | BaseBundle.java | 1155 Object o = mMap.get(key); in getBoolean() local 1156 if (o == null) { in getBoolean() 1160 return (Boolean) o; in getBoolean() 1162 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 1189 Object o = mMap.get(key); in getByte() local 1190 if (o == null) { in getByte() 1194 return (Byte) o; in getByte() 1196 typeWarning(key, o, "Byte", defaultValue, e); in getByte() 1223 Object o = mMap.get(key); in getChar() local 1224 if (o == null) { in getChar() [all …]
|
/frameworks/rs/ |
D | rsObjectBase.cpp | 235 const ObjectBase * o = rsc->mObjHead; in zeroAllUserRef() local 236 while (o) { in zeroAllUserRef() 238 if (o->zeroUserRef()) { in zeroAllUserRef() 242 if (o == rsc->mObjHead) { in zeroAllUserRef() 247 o = rsc->mObjHead; in zeroAllUserRef() 250 o = o->mNext; in zeroAllUserRef() 267 ObjectBase * o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() local 268 while (o) { in freeAllChildren() 269 if (o->freeChildren()) { in freeAllChildren() 271 o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 911 bool ConfigDescription::Dominates(const ConfigDescription& o) const { in Dominates() 912 if (*this == o) { in Dominates() 919 if (diff(o) & (CONFIG_LOCALE | CONFIG_MCC | CONFIG_MNC)) { in Dominates() 927 return MatchWithDensity(o) && !o.MatchWithDensity(*this) && in Dominates() 928 !isMoreSpecificThan(o) && !o.HasHigherPrecedenceThan(*this); in Dominates() 932 const ConfigDescription& o) const { in HasHigherPrecedenceThan() 937 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan() 938 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan() 939 if (language[0] || o.language[0]) return (!o.language[0]); in HasHigherPrecedenceThan() 940 if (country[0] || o.country[0]) return (!o.country[0]); in HasHigherPrecedenceThan() [all …]
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | byte_swapper.h | 65 const char *o = (const char *)&val; 67 p[0] = o[1]; 68 p[1] = o[0]; 77 const char *o = (const char *)&val; 79 p[0] = o[3]; 80 p[1] = o[2]; 81 p[2] = o[1]; 82 p[3] = o[0]; 91 const char *o = (const char *)&val; 93 p[0] = o[7]; [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 412 public void setTo(DisplayMetrics o) { in setTo() argument 413 if (this == o) { in setTo() 417 widthPixels = o.widthPixels; in setTo() 418 heightPixels = o.heightPixels; in setTo() 419 density = o.density; in setTo() 420 densityDpi = o.densityDpi; in setTo() 421 scaledDensity = o.scaledDensity; in setTo() 422 xdpi = o.xdpi; in setTo() 423 ydpi = o.ydpi; in setTo() 424 noncompatWidthPixels = o.noncompatWidthPixels; in setTo() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedArrayList.java | 62 private void registerChild(Object o) { in registerChild() argument 63 if (mWatching && o instanceof Watchable) { in registerChild() 64 ((Watchable) o).registerObserver(mObserver); in registerChild() 73 private void unregisterChild(Object o) { in unregisterChild() argument 74 if (mWatching && o instanceof Watchable) { in unregisterChild() 75 ((Watchable) o).unregisterObserver(mObserver); in unregisterChild() 86 private void unregisterChildIf(Object o) { in unregisterChildIf() argument 87 if (mWatching && o instanceof Watchable) { in unregisterChildIf() 88 if (!mStorage.contains(o)) { in unregisterChildIf() 89 ((Watchable) o).unregisterObserver(mObserver); in unregisterChildIf() [all …]
|
/frameworks/rs/cpp/util/ |
D | RefBase.h | 40 inline bool operator _op_ (const sp<T>& o) const { \ 41 return m_ptr _op_ o.m_ptr; \ 43 inline bool operator _op_ (const T* o) const { \ 44 return m_ptr _op_ o; \ 47 inline bool operator _op_ (const sp<U>& o) const { \ 48 return m_ptr _op_ o.m_ptr; \ 51 inline bool operator _op_ (const U* o) const { \ 52 return m_ptr _op_ o; \ 156 RefBase(const RefBase& o); 157 RefBase& operator=(const RefBase& o); [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | NotifyingApp.java | 103 public boolean equals(@Nullable Object o) { in equals() argument 104 if (this == o) return true; in equals() 105 if (o == null || getClass() != o.getClass()) return false; in equals() 106 NotifyingApp that = (NotifyingApp) o; in equals() 121 public int compareTo(NotifyingApp o) { in compareTo() argument 122 if (getLastNotified() == o.getLastNotified()) { in compareTo() 123 if (getUserId() == o.getUserId()) { in compareTo() 124 return getPackage().compareTo(o.getPackage()); in compareTo() 126 return Integer.compare(getUserId(), o.getUserId()); in compareTo() 129 return -Long.compare(getLastNotified(), o.getLastNotified()); in compareTo()
|
/frameworks/base/core/java/android/timezone/ |
D | CountryTimeZones.java | 69 public boolean equals(@Nullable Object o) { in equals() argument 70 if (this == o) { in equals() 73 if (o == null || getClass() != o.getClass()) { in equals() 76 TimeZoneMapping that = (TimeZoneMapping) o; in equals() 123 public boolean equals(@Nullable Object o) { in equals() argument 124 if (this == o) { in equals() 127 if (o == null || getClass() != o.getClass()) { in equals() 130 OffsetResult that = (OffsetResult) o; in equals() 275 public boolean equals(@Nullable Object o) { in equals() argument 276 if (this == o) { in equals() [all …]
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.cpp | 46 static bool isValid(const native_handle_t * const o); 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() argument 76 if (!o || memcmp(o, &cHeader, sizeof(cHeader))) { in isValid() 79 const HandleAshmem *other = static_cast<const HandleAshmem*>(o); in isValid() 186 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Fill() local 188 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill() 191 for (size_t i = 0; i < o->size(); ++i) { in Fill() 194 munmap(ptr, o->size()); in Fill() 204 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Verify() local 206 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify() [all …]
|
/frameworks/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 5 ; RUN: %llvm-rs-as -target-api 11 %s -o %t11 7 ; RUN: %llvm-rs-as -target-api 12 %s -o %t12 9 ; RUN: %llvm-rs-as -target-api 13 %s -o %t13 11 ; RUN: %llvm-rs-as -target-api 14 %s -o %t14 13 ; RUN: %llvm-rs-as -target-api 15 %s -o %t15 15 ; RUN: %llvm-rs-as -target-api 16 %s -o %t16 17 ; RUN: %llvm-rs-as -target-api 17 %s -o %t17 19 ; RUN: %llvm-rs-as -target-api 18 %s -o %t18 21 ; RUN: %llvm-rs-as -target-api 19 %s -o %t19 23 ; RUN: %llvm-rs-as -target-api 20 %s -o %t20 [all …]
|
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | allocator.cpp | 46 static bool isValid(const native_handle_t * const o); 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() argument 76 if (!o || memcmp(o, &cHeader, sizeof(cHeader))) { in isValid() 79 const HandleAshmem *other = static_cast<const HandleAshmem*>(o); in isValid() 168 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Fill() local 170 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill() 173 for (size_t i = 0; i < o->size(); ++i) { in Fill() 176 munmap(ptr, o->size()); in Fill() 186 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Verify() local 188 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify() [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | Makefile | 9 %.o : %.c 46 frag1 : frag1.o OpenSLES_IID.o 57 part5gen : part5gen.o OpenSLES_IID.o interfaces.o 63 test : test.o OpenSLES_IID.o IID_to_MPH.o 67 $(RM) part5gen frag1 *.o
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsHeader.java | 77 public boolean equals(Object o) { in equals() argument 78 if (this == o) return true; in equals() 79 if (o == null || getClass() != o.getClass()) return false; in equals() 80 SmsHeader smsHeader = (SmsHeader) o; in equals() 107 public boolean equals(Object o) { in equals() argument 108 if (this == o) return true; in equals() 109 if (o == null || getClass() != o.getClass()) return false; in equals() 110 PortAddrs portAddrs = (PortAddrs) o; in equals() 136 public boolean equals(Object o) { in equals() argument 137 if (this == o) return true; in equals() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | RefreshRateVote.java | 38 public boolean equals(Object o) { in equals() argument 39 if (this == o) return true; in equals() 40 if (!(o instanceof RefreshRateVote that)) return false; in equals() 78 public boolean equals(Object o) { in equals() argument 79 if (!(o instanceof RefreshRateVote.RenderVote)) return false; in equals() 80 return super.equals(o); in equals() 112 public boolean equals(Object o) { in equals() argument 113 if (!(o instanceof RefreshRateVote.PhysicalVote)) return false; in equals() 114 return super.equals(o); in equals()
|
/frameworks/minikin/include/minikin/ |
D | LayoutCache.h | 60 bool operator==(const LayoutCacheKey& o) const { 61 return mId == o.mId && mStart == o.mStart && mCount == o.mCount && mStyle == o.mStyle && 62 mSize == o.mSize && mScaleX == o.mScaleX && mSkewX == o.mSkewX && 63 mLetterSpacing == o.mLetterSpacing && mWordSpacing == o.mWordSpacing && 64 mFontFlags == o.mFontFlags && mLocaleListId == o.mLocaleListId && 65 mFamilyVariant == o.mFamilyVariant && mStartHyphen == o.mStartHyphen && 66 mEndHyphen == o.mEndHyphen && mIsRtl == o.mIsRtl && mNchars == o.mNchars && 67 mFontFeatureSettings == o.mFontFeatureSettings && 68 !memcmp(mChars, o.mChars, mNchars * sizeof(uint16_t));
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStoreCryptoOperationChunkedStreamer.java | 145 byte[] o = mKeyStoreStream.update(mChunk); in update() 146 if (o != null) { in update() 147 output = ArrayUtils.concat(output, o); in update() 156 byte[] o = mKeyStoreStream.update(ArrayUtils.subarray(input, inputOffset, in update() 161 if (o != null) { in update() 162 output = ArrayUtils.concat(output, o); in update() 181 byte[] o = mKeyStoreStream.finish(finalChunk, signature); in doFinal() 183 if (o != null) { in doFinal() 186 mProducedOutputSizeBytes += o.length; in doFinal() 188 output = ArrayUtils.concat(output, o); in doFinal() [all …]
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 246 public int getMatchScore(@NonNull FontStyle o) { in getMatchScore() argument 247 return Math.abs((getWeight() - o.getWeight())) / 100 + (getSlant() == o.getSlant() ? 0 : 2); in getMatchScore() 251 public boolean equals(@Nullable Object o) { in equals() argument 252 if (o == this) { in equals() 255 if (o == null || !(o instanceof FontStyle)) { in equals() 258 FontStyle fontStyle = (FontStyle) o; in equals()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | ConnectivityState.kt | 105 val o = other as ConnectivityState in equals() constant 106 return o.connected == connected && in equals() 107 o.enabled == enabled && in equals() 108 o.level == level && in equals() 109 o.inetCondition == inetCondition && in equals() 110 o.iconGroup === iconGroup && in equals() 111 o.activityIn == activityIn && in equals() 112 o.activityOut == activityOut && in equals() 113 o.rssi == rssi in equals()
|