/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | types.cpp | 34 bool b2h(status_t from, HStatus* to, in b2h() argument 36 switch (from) { in b2h() 60 if (from & ~mask) { in b2h() 61 *to = static_cast<HStatus>(from); in b2h() 65 *bufferNeedsReallocation = from & BGBP::BUFFER_NEEDS_REALLOCATION; in b2h() 68 *releaseAllBuffers = from & BGBP::RELEASE_ALL_BUFFERS; in b2h() 75 bool h2b(HStatus from, status_t* to) { in h2b() argument 76 switch (from) { in h2b() 96 *to = static_cast<status_t>(from); in h2b() 129 bool b2h(sp<BFence> const& from, HFenceWrapper* to) { in b2h() argument [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | types.cpp | 42 bool b2h(status_t from, HStatus* to, in b2h() argument 44 switch (from) { in b2h() 67 if (from & ~mask) { in b2h() 68 *to = static_cast<HStatus>(from); in b2h() 72 *bufferNeedsReallocation = from & BufferQueueDefs::BUFFER_NEEDS_REALLOCATION; in b2h() 75 *releaseAllBuffers = from & BufferQueueDefs::RELEASE_ALL_BUFFERS; in b2h() 82 bool h2b(HStatus from, status_t* to) { in h2b() argument 83 switch (from) { in h2b() 103 *to = static_cast<status_t>(from); in h2b() 136 bool b2h(sp<BFence> const& from, HFenceWrapper* to) { in b2h() argument [all …]
|
/frameworks/native/libs/input/ |
D | InputWindow.cpp | 106 InputWindowInfo InputWindowInfo::read(const Parcel& from) { in read() argument 109 if (from.readInt32() == 0) { in read() 113 sp<IBinder> token = from.readStrongBinder(); in read() 119 ret.name = from.readString8().c_str(); in read() 120 ret.layoutParamsFlags = from.readInt32(); in read() 121 ret.layoutParamsType = from.readInt32(); in read() 122 ret.dispatchingTimeout = from.readInt64(); in read() 123 ret.frameLeft = from.readInt32(); in read() 124 ret.frameTop = from.readInt32(); in read() 125 ret.frameRight = from.readInt32(); in read() [all …]
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 400 virtual bool simpleMap(C2Config::level_t from, int32_t *to) = 0; 401 virtual bool simpleMap(int32_t from, C2Config::level_t *to) = 0; 402 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) = 0; 403 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) = 0; 406 bool passThroughMap(T from, U *to) { in passThroughMap() 408 if (from >= (T)C2_PROFILE_LEVEL_VENDOR_START && from < (T)INT32_MAX) { in passThroughMap() 409 *to = (U)from; in passThroughMap() 412 return simpleMap(from, to); in passThroughMap() 415 virtual bool mapLevel(C2Config::level_t from, int32_t *to) { in mapLevel() 416 return passThroughMap(from, to); in mapLevel() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 104 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger() local 107 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger() 108 verifyNotification(from, to); in testNotificationOnLinger() 115 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger() local 118 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger() 119 verifyToast(from, to); in testToastOnLinger() 126 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect() local 129 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect() 130 verifyNotification(from, to); in testNotificationClearedAfterDisconnect() 140 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterSwitchingBack() local [all …]
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | LineBreaker.java | 248 private @FloatRange(from = 0.0f) float mWidth = 0; 249 private @FloatRange(from = 0.0f) float mFirstWidth = 0; 250 private @IntRange(from = 0) int mFirstWidthLineCount = 0; 252 private @FloatRange(from = 0) float mDefaultTabStop = 0; 261 public void setWidth(@Px @FloatRange(from = 0.0f) float width) { in setWidth() 273 public void setIndent(@Px @FloatRange(from = 0.0f) float firstWidth, in setIndent() 274 @Px @IntRange(from = 0) int firstWidthLineCount) { in setIndent() argument 288 @Px @FloatRange(from = 0) float defaultTabStop) { in setTabStops() argument 298 public @Px @FloatRange(from = 0.0f) float getWidth() { in getWidth() 307 public @Px @FloatRange(from = 0.0f) float getFirstWidth() { in getFirstWidth() [all …]
|
D | MeasuredText.java | 80 public @FloatRange(from = 0.0) @Px float getWidth( in getWidth() 81 @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in getWidth() argument 107 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() argument 124 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt() 141 @IntRange(from = 0) int start, in nGetWidth() argument 142 @IntRange(from = 0) int end); in nGetWidth() 232 public @NonNull Builder appendStyleRun(@NonNull Paint paint, @IntRange(from = 0) int length, in appendStyleRun() argument 259 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun() argument 358 @IntRange(from = 0) int start, in nAddStyleRun() argument 359 @IntRange(from = 0) int end, in nAddStyleRun() [all …]
|
/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 54 private @IntRange(from = 0) int mSize; 66 public ByteArray(@IntRange(from = 0) int initialCapacity) { in ByteArray() 79 public void resize(@IntRange(from = 0) int newSize) { in resize() 128 public byte get(@IntRange(from = 0) int index) { in get() 135 public void set(@IntRange(from = 0) int index, byte value) { in set() 142 public @IntRange(from = 0) int size() { in size() 163 private @IntRange(from = 0) int mSize; 175 public IntArray(@IntRange(from = 0) int initialCapacity) { in IntArray() 188 public void resize(@IntRange(from = 0) int newSize) { in resize() 206 private void ensureCapacity(@IntRange(from = 0) int count) { in ensureCapacity() [all …]
|
D | PrecomputedText.java | 321 public final @IntRange(from = 0) int paragraphEnd; 328 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 339 private final @IntRange(from = 0) int mStart; 342 private final @IntRange(from = 0) int mEnd; 417 @IntRange(from = 0) int start, @IntRange(from = 0) int end, boolean computeLayout) { in createMeasuredParagraphs() argument 445 private PrecomputedText(@NonNull CharSequence text, @IntRange(from = 0) int start, in PrecomputedText() argument 446 @IntRange(from = 0) int end, @NonNull Params params, in PrecomputedText() 467 public @IntRange(from = 0) int getStart() { in getStart() 475 public @IntRange(from = 0) int getEnd() { in getEnd() 489 public @IntRange(from = 0) int getParagraphCount() { in getParagraphCount() [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | types.h | 42 bool b2h(status_t from, HStatus* to, 47 bool h2b(HStatus from, status_t* to); 73 bool b2h(sp<BFence> const& from, HFenceWrapper* to); 75 bool h2b(native_handle_t const* from, sp<BFence>* to); 83 bool b2h(int from, HConnectionType* to); 84 bool h2b(HConnectionType from, int* to); 92 bool b2h(BRect const& from, HRect* to); 93 bool h2b(HRect const& from, BRect* to); 101 bool b2h(BRegion const& from, HRegion* to); 102 bool h2b(HRegion const& from, BRegion* to); [all …]
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | types.h | 41 bool b2h(status_t from, HStatus* to, 46 bool h2b(HStatus from, status_t* to); 72 bool b2h(sp<BFence> const& from, HFenceWrapper* to); 74 bool h2b(native_handle_t const* from, sp<BFence>* to); 82 bool b2h(int from, HConnectionType* to); 83 bool h2b(HConnectionType from, int* to); 91 bool b2h(BRect const& from, HRect* to); 92 bool h2b(HRect const& from, BRect* to); 100 bool b2h(BRegion const& from, HRegion* to); 101 bool h2b(HRegion const& from, BRegion* to); [all …]
|
/frameworks/base/location/java/android/location/ |
D | GnssMeasurementCorrections.java | 43 @FloatRange(from = -90.0f, to = 90.0f) 46 @FloatRange(from = -180.0f, to = 180.0f) 52 @FloatRange(from = -1000.0, to = 10000.0f) 60 @FloatRange(from = 0.0f) 68 @FloatRange(from = 0.0f) 72 @IntRange(from = 0) 95 @FloatRange(from = -90.0f, to = 90.0f) 101 @FloatRange(from = -180.0f, to = 180.0f) 110 @FloatRange(from = -1000.0f, to = 10000.0f) 119 @FloatRange(from = 0.0f) [all …]
|
D | GnssReflectingPlane.java | 34 @FloatRange(from = -90.0f, to = 90.0f) 37 @FloatRange(from = -180.0f, to = 180.0f) 43 @FloatRange(from = -1000.0f, to = 10000.0f) 47 @FloatRange(from = 0.0f, to = 360.0f) 58 @FloatRange(from = -90.0f, to = 90.0f) 64 @FloatRange(from = -180.0f, to = 180.0f) 73 @FloatRange(from = -1000.0f, to = 10000.0f) 79 @FloatRange(from = 0.0f, to = 360.0f) 139 @FloatRange(from = -90.0f, to = 90.0f) double latitudeDegrees) { in setLatitudeDegrees() 146 @FloatRange(from = -180.0f, to = 180.0f) double longitudeDegrees) { in setLongitudeDegrees() [all …]
|
D | GnssSingleSatCorrection.java | 81 @IntRange(from = 0) 93 @FloatRange(from = 0.0f, fromInclusive = false) 100 @FloatRange(from = 0.0f, to = 1.0f) 106 @FloatRange(from = 0.0f) 110 @FloatRange(from = 0.0f) 159 @IntRange(from = 0) 177 @FloatRange(from = 0.0f, fromInclusive = false) 186 @FloatRange(from = 0.0f, to = 1.0f) 195 @FloatRange(from = 0.0f) 201 @FloatRange(from = 0.0f) [all …]
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Target.java | 143 Target(Target from) { in Target() argument 144 System.arraycopy(from.mSaturationTargets, 0, mSaturationTargets, 0, in Target() 146 System.arraycopy(from.mLightnessTargets, 0, mLightnessTargets, 0, in Target() 148 System.arraycopy(from.mWeights, 0, mWeights, 0, mWeights.length); in Target() 154 @FloatRange(from = 0, to = 1) 162 @FloatRange(from = 0, to = 1) 170 @FloatRange(from = 0, to = 1) 178 @FloatRange(from = 0, to = 1) 186 @FloatRange(from = 0, to = 1) 194 @FloatRange(from = 0, to = 1) [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | wrappers.pb.cc | 328 DoubleValue::DoubleValue(const DoubleValue& from) in DoubleValue() argument 332 MergeFrom(from); in DoubleValue() 471 void DoubleValue::MergeFrom(const ::google::protobuf::Message& from) { in MergeFrom() argument 473 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 478 &from); in MergeFrom() 481 ::google::protobuf::internal::ReflectionOps::Merge(from, this); in MergeFrom() 488 void DoubleValue::MergeFrom(const DoubleValue& from) { in MergeFrom() argument 490 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 493 if (from.value() != 0) { in MergeFrom() 494 set_value(from.value()); in MergeFrom() [all …]
|
D | wrappers.pb.h | 57 DoubleValue(const DoubleValue& from); 59 inline DoubleValue& operator=(const DoubleValue& from) { 60 CopyFrom(from); 79 void CopyFrom(const ::google::protobuf::Message& from); 80 void MergeFrom(const ::google::protobuf::Message& from); 81 void CopyFrom(const DoubleValue& from); 82 void MergeFrom(const DoubleValue& from); 152 FloatValue(const FloatValue& from); 154 inline FloatValue& operator=(const FloatValue& from) { 155 CopyFrom(from); [all …]
|
D | descriptor.pb.cc | 920 FileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from) in FileDescriptorSet() argument 924 MergeFrom(from); in FileDescriptorSet() 1082 void FileDescriptorSet::MergeFrom(const ::google::protobuf::Message& from) { in MergeFrom() argument 1084 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 1089 &from); in MergeFrom() 1092 ::google::protobuf::internal::ReflectionOps::Merge(from, this); in MergeFrom() 1099 void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) { in MergeFrom() argument 1101 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 1104 file_.MergeFrom(from.file_); in MergeFrom() 1105 if (from._internal_metadata_.have_unknown_fields()) { in MergeFrom() [all …]
|
D | duration.pb.cc | 124 Duration::Duration(const Duration& from) in Duration() argument 128 MergeFrom(from); in Duration() 316 void Duration::MergeFrom(const ::google::protobuf::Message& from) { in MergeFrom() argument 318 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 323 &from); in MergeFrom() 326 ::google::protobuf::internal::ReflectionOps::Merge(from, this); in MergeFrom() 333 void Duration::MergeFrom(const Duration& from) { in MergeFrom() argument 335 if (GOOGLE_PREDICT_FALSE(&from == this)) { in MergeFrom() 338 if (from.seconds() != 0) { in MergeFrom() 339 set_seconds(from.seconds()); in MergeFrom() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastRecord.java | 277 private BroadcastRecord(BroadcastRecord from, Intent newIntent) { in BroadcastRecord() argument 281 callerApp = from.callerApp; in BroadcastRecord() 282 callerPackage = from.callerPackage; in BroadcastRecord() 283 callingPid = from.callingPid; in BroadcastRecord() 284 callingUid = from.callingUid; in BroadcastRecord() 285 callerInstantApp = from.callerInstantApp; in BroadcastRecord() 286 ordered = from.ordered; in BroadcastRecord() 287 sticky = from.sticky; in BroadcastRecord() 288 initialSticky = from.initialSticky; in BroadcastRecord() 289 userId = from.userId; in BroadcastRecord() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 179 throw InstallerException.from(e); in createAppData() 189 throw InstallerException.from(e); in restoreconAppData() 199 throw InstallerException.from(e); in migrateAppData() 209 throw InstallerException.from(e); in clearAppData() 219 throw InstallerException.from(e); in destroyAppData() 228 throw InstallerException.from(e); in fixupAppData() 240 throw InstallerException.from(e); in moveCompleteApp() 263 throw InstallerException.from(e); in getAppSize() 279 throw InstallerException.from(e); in getUserSize() 289 throw InstallerException.from(e); in getExternalSize() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 66 AString::AString(const String8 &from) in AString() argument 70 setTo(from.string(), from.length()); in AString() 73 AString::AString(const AString &from) in AString() argument 77 setTo(from, 0, from.size()); in AString() 80 AString::AString(const AString &from, size_t offset, size_t n) in AString() argument 84 setTo(from, offset, n); in AString() 91 AString &AString::operator=(const AString &from) { in operator =() argument 92 if (&from != this) { in operator =() 93 setTo(from, 0, from.size()); in operator =() 120 void AString::setTo(const AString &from, size_t offset, size_t n) { in setTo() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SimpleCursorAdapter.java | 81 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { in SimpleCursorAdapter() argument 84 mOriginalFrom = from; in SimpleCursorAdapter() 85 findColumns(c, from); in SimpleCursorAdapter() 106 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, in SimpleCursorAdapter() argument 110 mOriginalFrom = from; in SimpleCursorAdapter() 111 findColumns(c, from); in SimpleCursorAdapter() 142 final int[] from = mFrom; in bindView() local 150 bound = binder.setViewValue(v, cursor, from[i]); in bindView() 154 String text = cursor.getString(from[i]); in bindView() 329 private void findColumns(Cursor c, String[] from) { in findColumns() argument [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ALookup.h | 30 bool lookup(const T& from, U *to) const; 31 bool rlookup(const U& from, T *to) const; 34 inline bool map(const T& from, V *to) const { return lookup(from, to); } in map() 37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } in map() 49 bool ALookup<T, U>::lookup(const T& from, U *to) const { in lookup() argument 51 if (elem.first == from) { in lookup() 60 bool ALookup<T, U>::rlookup(const U& from, T *to) const { in rlookup() argument 62 if (elem.second == from) { in rlookup()
|
D | AString.h | 33 AString(const String8 &from); // NOLINT, implicit conversion 34 AString(const AString &from); 35 AString(const AString &from, size_t offset, size_t n); 38 AString &operator=(const AString &from); 41 void setTo(const AString &from, size_t offset, size_t n); 55 void append(const AString &from); 56 void append(const AString &from, size_t offset, size_t n); 67 void insert(const AString &from, size_t insertionPos); 68 void insert(const char *from, size_t size, size_t insertionPos);
|