/frameworks/base/libs/androidfw/include/androidfw/ |
D | ConfigDescription.h | 85 ConfigDescription(const android::ResTable_config& o); // NOLINT(google-explicit-constructor) 86 ConfigDescription(const ConfigDescription& o); 87 ConfigDescription(ConfigDescription&& o) noexcept; 89 ConfigDescription& operator=(const android::ResTable_config& o); 90 ConfigDescription& operator=(const ConfigDescription& o); 91 ConfigDescription& operator=(ConfigDescription&& o) noexcept; 109 bool Dominates(const ConfigDescription& o) const; 116 bool HasHigherPrecedenceThan(const ConfigDescription& o) const; 124 bool ConflictsWith(const ConfigDescription& o) const; 132 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 …]
|
D | Util.h | 59 unique_cptr(unique_cptr&& o) noexcept : ptr_(o.ptr_) { o.ptr_ = nullptr; } in unique_cptr() argument 63 inline unique_cptr& operator=(unique_cptr&& o) noexcept { 64 if (&o == this) { 69 ptr_ = o.ptr_; 70 o.ptr_ = nullptr; 98 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } in swap() argument 106 inline bool operator==(const unique_cptr& o) const { return ptr_ == o.ptr_; } 108 inline bool operator!=(const unique_cptr& o) const { return ptr_ != o.ptr_; }
|
/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 | 201 Object o = mMap.valueAt(0); in getPairValue() local 203 return (String) o; in getPairValue() 205 typeWarning("getPairValue()", o, "String", e); in getPairValue() 936 Object o = mMap.get(key); in getBoolean() local 937 if (o == null) { in getBoolean() 941 return (Boolean) o; in getBoolean() 943 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 970 Object o = mMap.get(key); in getByte() local 971 if (o == null) { in getByte() 975 return (Byte) o; in getByte() [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 | 884 bool ConfigDescription::Dominates(const ConfigDescription& o) const { in Dominates() 885 if (*this == o) { in Dominates() 892 if (diff(o) & (CONFIG_LOCALE | CONFIG_MCC | CONFIG_MNC)) { in Dominates() 900 return MatchWithDensity(o) && !o.MatchWithDensity(*this) && in Dominates() 901 !isMoreSpecificThan(o) && !o.HasHigherPrecedenceThan(*this); in Dominates() 905 const ConfigDescription& o) const { in HasHigherPrecedenceThan() 910 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan() 911 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan() 912 if (language[0] || o.language[0]) return (!o.language[0]); in HasHigherPrecedenceThan() 913 if (country[0] || o.country[0]) return (!o.country[0]); in HasHigherPrecedenceThan() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 326 public void setTo(DisplayMetrics o) { in setTo() argument 327 if (this == o) { in setTo() 331 widthPixels = o.widthPixels; in setTo() 332 heightPixels = o.heightPixels; in setTo() 333 density = o.density; in setTo() 334 densityDpi = o.densityDpi; in setTo() 335 scaledDensity = o.scaledDensity; in setTo() 336 xdpi = o.xdpi; in setTo() 337 ydpi = o.ydpi; in setTo() 338 noncompatWidthPixels = o.noncompatWidthPixels; in setTo() [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/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/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 !memcmp(mChars, o.mChars, mNchars * sizeof(uint16_t));
|
D | Font.h | 44 inline bool operator==(const FontFakery& o) const { 45 return mFakeBold == o.mFakeBold && mFakeItalic == o.mFakeItalic; 47 inline bool operator!=(const FontFakery& o) const { return !(*this == o); } 55 inline bool operator==(const FakedFont& o) const { 56 return font == o.font && fakery == o.fakery; 58 inline bool operator!=(const FakedFont& o) const { return !(*this == o); } 183 Font(Font&& o) = delete; 184 Font& operator=(Font&& o) = delete; 185 Font(const Font& o) = delete; 186 Font& operator=(const Font& o) = delete;
|
/frameworks/av/media/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/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/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/av/media/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/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/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/packages/SettingsLib/src/com/android/settingslib/ |
D | SignalIcon.java | 120 public boolean equals(Object o) { in equals() argument 121 if (!o.getClass().equals(getClass())) { in equals() 124 State other = (State) o; in equals() 209 public boolean equals(Object o) { in equals() argument 210 return super.equals(o) in equals() 211 && Objects.equals(((MobileState) o).networkName, networkName) in equals() 212 && Objects.equals(((MobileState) o).networkNameData, networkNameData) in equals() 213 && ((MobileState) o).dataSim == dataSim in equals() 214 && ((MobileState) o).dataConnected == dataConnected in equals() 215 && ((MobileState) o).isEmergency == isEmergency in equals() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 3951 public final int copyFrom(LayoutParams o) { in copyFrom() argument 3954 if (width != o.width) { in copyFrom() 3955 width = o.width; in copyFrom() 3958 if (height != o.height) { in copyFrom() 3959 height = o.height; in copyFrom() 3962 if (x != o.x) { in copyFrom() 3963 x = o.x; in copyFrom() 3966 if (y != o.y) { in copyFrom() 3967 y = o.y; in copyFrom() 3970 if (horizontalWeight != o.horizontalWeight) { in copyFrom() [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
|