/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/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/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 | 103 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger() local 106 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger() 107 verifyNotification(from, to); in testNotificationOnLinger() 114 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger() local 117 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger() 118 verifyToast(from, to); in testToastOnLinger() 125 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect() local 128 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect() 129 verifyNotification(from, to); in testNotificationClearedAfterDisconnect() 139 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 …]
|
D | MeasuredParagraph.java | 87 private @IntRange(from = 0) int mTextStart; 90 private @IntRange(from = 0) int mTextLength; 110 private @FloatRange(from = 0.0f) float mWholeWidth; 188 public Directions getDirections(@IntRange(from = 0) int start, // inclusive in getDirections() argument 189 @IntRange(from = 0) int end) { // exclusive in getDirections() 205 public @FloatRange(from = 0.0f) float getWholeWidth() { in getWholeWidth() 283 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() argument 293 public float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt() 312 @IntRange(from = 0) int start, in buildForBidi() argument 313 @IntRange(from = 0) int end, in buildForBidi() [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) 140 @FloatRange(from = -90.0f, to = 90.0f) double latitudeDegrees) { in setLatitudeDegrees() 147 @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/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 | 182 throw InstallerException.from(e); in createAppData() 192 throw InstallerException.from(e); in restoreconAppData() 202 throw InstallerException.from(e); in migrateAppData() 212 throw InstallerException.from(e); in clearAppData() 222 throw InstallerException.from(e); in destroyAppData() 231 throw InstallerException.from(e); in fixupAppData() 243 throw InstallerException.from(e); in moveCompleteApp() 266 throw InstallerException.from(e); in getAppSize() 282 throw InstallerException.from(e); in getUserSize() 292 throw InstallerException.from(e); in getExternalSize() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 69 AString::AString(const String8 &from) in AString() argument 73 setTo(from.string(), from.length()); in AString() 76 AString::AString(const AString &from) in AString() argument 80 setTo(from, 0, from.size()); in AString() 83 AString::AString(const AString &from, size_t offset, size_t n) in AString() argument 87 setTo(from, offset, n); in AString() 94 AString &AString::operator=(const AString &from) { in operator =() argument 95 if (&from != this) { in operator =() 96 setTo(from, 0, from.size()); in operator =() 123 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);
|
/frameworks/native/libs/gui/ |
D | DebugEGLImageTracker.cpp | 74 void DebugEGLImageTrackerImpl::create(const char *from) { in create() argument 76 mCreateTracker[from]++; in create() 80 void DebugEGLImageTrackerImpl::destroy(const char *from) { in destroy() argument 82 mDestroyTracker[from]++; in destroy() 91 for (const auto &[from, count] : mCreateTracker) { in dump() 92 StringAppendF(&result, "\t%s: %" PRIi64 "\n", from.c_str(), count); in dump() 95 for (const auto &[from, count] : mDestroyTracker) { in dump() 96 StringAppendF(&result, "\t%s: %" PRIi64 "\n", from.c_str(), count); in dump()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 76 @FloatRange(from = 0.0, to = 1.0) 214 public static void RGBToHSL(@IntRange(from = 0x0, to = 0xFF) int r, in RGBToHSL() argument 215 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToHSL() 340 @IntRange(from = 0x0, to = 0xFF) int alpha) { in setAlphaComponent() argument 371 public static void RGBToLAB(@IntRange(from = 0x0, to = 0xFF) int r, in RGBToLAB() argument 372 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToLAB() 417 public static void RGBToXYZ(@IntRange(from = 0x0, to = 0xFF) int r, in RGBToXYZ() argument 418 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToXYZ() 453 public static void XYZToLAB(@FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_X) double x, 454 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Y) double y, [all …]
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
D | SocketConnect.java | 13 private InputStream from; field in SocketConnect 16 public SocketConnect(Socket from, Socket to) throws IOException { in SocketConnect() argument 17 this.from = from.getInputStream(); in SocketConnect() 28 int r = from.read(buffer); in run() 34 from.close(); in run()
|