/packages/modules/Connectivity/tests/common/java/android/net/ |
D | RouteInfoTest.java | 62 RouteInfo r; in testConstructor() local 65 r = new RouteInfo((IpPrefix) null, null, "rmnet0"); in testConstructor() 70 r = new RouteInfo(Prefix("2001:db8:ace::/49"), Address("2001:db8::1"), "rmnet0", in testConstructor() 76 r = new RouteInfo(Prefix("2001:db8:ace::/49"), Address("192.0.2.1"), "rmnet0", in testConstructor() 82 r = new RouteInfo(Prefix("0.0.0.0/0"), Address("2001:db8::1"), "rmnet0", in testConstructor() 88 r = new RouteInfo((IpPrefix) null, Address("2001:db8::1"), null); in testConstructor() 89 assertEquals(Prefix("::/0"), r.getDestination()); in testConstructor() 90 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor() 91 assertNull(r.getInterface()); in testConstructor() 93 r = new RouteInfo((IpPrefix) null, Address("192.0.2.1"), "wlan0"); in testConstructor() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 42 public static float[] getCornersFromRect(RectF r) { in getCornersFromRect() argument 44 r.left, r.top, in getCornersFromRect() 45 r.right, r.top, in getCornersFromRect() 46 r.right, r.bottom, in getCornersFromRect() 47 r.left, r.bottom in getCornersFromRect() 62 public static boolean inclusiveContains(RectF r, float x, float y) { in inclusiveContains() argument 63 return !(x > r.right || x < r.left || y > r.bottom || y < r.top); in inclusiveContains() 74 RectF r = new RectF(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, in trapToRect() local 79 r.left = (x < r.left) ? x : r.left; in trapToRect() 80 r.top = (y < r.top) ? y : r.top; in trapToRect() [all …]
|
D | CropObject.java | 61 public void getInnerBounds(RectF r) { in getInnerBounds() argument 62 mBoundedRect.setToInner(r); in getInnerBounds() 65 public void getOuterBounds(RectF r) { in getOuterBounds() argument 66 mBoundedRect.setToOuter(r); in getOuterBounds() 295 private static RectF fixedCornerResize(RectF r, int moving_corner, float dx, float dy) { in fixedCornerResize() argument 299 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx, r.top + r.height() in fixedCornerResize() 302 newCrop = new RectF(r.right - r.width() + dx, r.top, r.right, r.top + r.height() in fixedCornerResize() 305 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy, in fixedCornerResize() 306 r.right, r.bottom); in fixedCornerResize() 308 newCrop = new RectF(r.left, r.bottom - r.height() + dy, r.left in fixedCornerResize() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 237 for (SeriesRecording r : seriesRecordings) { in start() 239 !seriesIds.contains(r.getSeriesId()), in start() 243 + r)) { in start() 244 seriesIds.add(r.getSeriesId()); in start() 245 if (isInputAvailable(r.getInputId())) { in start() 246 mSeriesRecordings.put(r.getId(), r); in start() 247 mSeriesId2SeriesRecordings.put(r.getSeriesId(), r); in start() 249 mSeriesRecordingsForRemovedInput.put(r.getId(), r); in start() 252 if (maxId < r.getId()) { in start() 253 maxId = r.getId(); in start() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | DvrDataManagerInMemoryImpl.java | 89 for (SeriesRecording r : mSeriesRecordings.values()) { in getSeriesRecordings() 90 if (TextUtils.equals(r.getInputId(), inputId)) { in getSeriesRecordings() 91 result.add(r); in getSeriesRecordings() 102 for (ScheduledRecording r : temp) { in getNextScheduledStartTimeAfter() 103 if (r.getStartTimeMs() > startTime) { in getNextScheduledStartTimeAfter() 104 return r.getStartTimeMs(); in getNextScheduledStartTimeAfter() 115 for (ScheduledRecording r : temp) { in getScheduledRecordings() 116 if (r.isOverLapping(period) && r.getState() == state) { in getScheduledRecordings() 117 result.add(r); in getScheduledRecordings() 126 for (ScheduledRecording r : mScheduledRecordings.values()) { in getScheduledRecordings() [all …]
|
/packages/modules/Virtualization/microdroid/kernel/android15-6.1/arm64/ |
D | System.map | 33686 ffffffc008a1b010 r __ksymtab_I_BDEV 33690 ffffffc008a1b01c r __ksymtab_LZ4_compress_default 33691 ffffffc008a1b028 r __ksymtab_LZ4_compress_destSize 33692 ffffffc008a1b034 r __ksymtab_LZ4_compress_fast 33693 ffffffc008a1b040 r __ksymtab_LZ4_compress_fast_continue 33694 ffffffc008a1b04c r __ksymtab_LZ4_decompress_fast 33695 ffffffc008a1b058 r __ksymtab_LZ4_decompress_fast_continue 33696 ffffffc008a1b064 r __ksymtab_LZ4_decompress_fast_usingDict 33697 ffffffc008a1b070 r __ksymtab_LZ4_decompress_safe 33698 ffffffc008a1b07c r __ksymtab_LZ4_decompress_safe_continue [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParserTest.java | 67 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingParameters() local 68 assertEquals(1, r.getMaxContentDepth()); in testParsingParameters() 69 assertEquals(1, r.getMaxCumulativeContentItems()); in testParsingParameters() 70 assertEquals(1, r.getMaxRestrictedStringLength()); in testParsingParameters() 91 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_NoSpeedRange() local 92 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_NoSpeedRange() 93 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, r.getActiveRestrictions()); in testParsingMovingState_NoSpeedRange() 102 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_SingleSpeedRange() local 103 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_SingleSpeedRange() 104 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, r.getActiveRestrictions()); in testParsingMovingState_SingleSpeedRange() [all …]
|
/packages/modules/Virtualization/microdroid/kernel/android14-6.1/arm64/ |
D | System.map | 34133 ffffffc008a48460 r __ksymtab_I_BDEV 34137 ffffffc008a4846c r __ksymtab_LZ4_compress_default 34138 ffffffc008a48478 r __ksymtab_LZ4_compress_destSize 34139 ffffffc008a48484 r __ksymtab_LZ4_compress_fast 34140 ffffffc008a48490 r __ksymtab_LZ4_compress_fast_continue 34141 ffffffc008a4849c r __ksymtab_LZ4_decompress_fast 34142 ffffffc008a484a8 r __ksymtab_LZ4_decompress_fast_continue 34143 ffffffc008a484b4 r __ksymtab_LZ4_decompress_fast_usingDict 34144 ffffffc008a484c0 r __ksymtab_LZ4_decompress_safe 34145 ffffffc008a484cc r __ksymtab_LZ4_decompress_safe_continue [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 180 Rect r = computeLayout(); in getHit() local 185 float distX = x - r.centerX(); in getHit() 186 float distY = y - r.centerY(); in getHit() 213 boolean verticalCheck = (y >= r.top - hysteresis) in getHit() 214 && (y < r.bottom + hysteresis); in getHit() 215 boolean horizCheck = (x >= r.left - hysteresis) in getHit() 216 && (x < r.right + hysteresis); in getHit() 219 if ((Math.abs(r.left - x) < hysteresis) && verticalCheck) { in getHit() 222 if ((Math.abs(r.right - x) < hysteresis) && verticalCheck) { in getHit() 225 if ((Math.abs(r.top - y) < hysteresis) && horizCheck) { in getHit() [all …]
|
/packages/modules/Virtualization/microdroid/kernel/android15-6.1/x86_64/ |
D | System.map | 40583 ffffffff82090130 r __ksymtab_IO_APIC_get_PCI_irq_vector 40586 ffffffff8209013c r __ksymtab_I_BDEV 40587 ffffffff82090148 r __ksymtab_LZ4_compress_default 40588 ffffffff82090154 r __ksymtab_LZ4_compress_destSize 40589 ffffffff82090160 r __ksymtab_LZ4_compress_fast 40590 ffffffff8209016c r __ksymtab_LZ4_compress_fast_continue 40591 ffffffff82090178 r __ksymtab_LZ4_decompress_fast 40592 ffffffff82090184 r __ksymtab_LZ4_decompress_fast_continue 40593 ffffffff82090190 r __ksymtab_LZ4_decompress_fast_usingDict 40594 ffffffff8209019c r __ksymtab_LZ4_decompress_safe [all …]
|
/packages/modules/Virtualization/microdroid/kernel/android14-6.1/x86_64/ |
D | System.map | 41927 ffffffff8207eec0 r __ksymtab_IO_APIC_get_PCI_irq_vector 41930 ffffffff8207eecc r __ksymtab_I_BDEV 41931 ffffffff8207eed8 r __ksymtab_LZ4_compress_default 41932 ffffffff8207eee4 r __ksymtab_LZ4_compress_destSize 41933 ffffffff8207eef0 r __ksymtab_LZ4_compress_fast 41934 ffffffff8207eefc r __ksymtab_LZ4_compress_fast_continue 41935 ffffffff8207ef08 r __ksymtab_LZ4_decompress_fast 41936 ffffffff8207ef14 r __ksymtab_LZ4_decompress_fast_continue 41937 ffffffff8207ef20 r __ksymtab_LZ4_decompress_fast_usingDict 41938 ffffffff8207ef2c r __ksymtab_LZ4_decompress_safe [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 44 Resources r = context.getResources(); in AlbumSetPage() local 46 placeholderColor = r.getColor(R.color.albumset_placeholder); in AlbumSetPage() 49 slotViewSpec.rowsLand = r.getInteger(R.integer.albumset_rows_land); in AlbumSetPage() 50 slotViewSpec.rowsPort = r.getInteger(R.integer.albumset_rows_port); in AlbumSetPage() 51 slotViewSpec.slotGap = r.getDimensionPixelSize(R.dimen.albumset_slot_gap); in AlbumSetPage() 54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage() 55 paddingBottom = r.getDimensionPixelSize(R.dimen.albumset_padding_bottom); in AlbumSetPage() 58 labelSpec.labelBackgroundHeight = r.getDimensionPixelSize( in AlbumSetPage() 60 labelSpec.titleOffset = r.getDimensionPixelSize( in AlbumSetPage() 62 labelSpec.countOffset = r.getDimensionPixelSize( in AlbumSetPage() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 30 int r,g,b, a; in rgba2yvu() local 38 r = (*image++); in rgba2yvu() 43 if (r < 0) r = 0; in rgba2yvu() 44 if (r > 255) r = 255; in rgba2yvu() 50 int val = (int) (REDY * r + GREENY * g + BLUEY * b) / 1000 + 16; in rgba2yvu() 55 val = (int) (REDV * r - GREENV * g - BLUEV * b) / 1000 + 128; in rgba2yvu() 60 val = (int) (-REDU * r - GREENU * g + BLUEU * b) / 1000 + 128; in rgba2yvu() 75 int r,g,b; in rgb2yvu() local 83 r = (*image++); in rgb2yvu() 87 if (r < 0) r = 0; in rgb2yvu() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateView.java | 140 float r = sArrowHeight; in onDraw() local 144 drawHorizontalPath(w, h, r, d); in onDraw() 147 drawVerticalDownPath(w, h, r, d); in onDraw() 149 drawVerticalPath(w, h, r, d); in onDraw() 168 private void drawHorizontalPath(float w, float h, float r, float d) { in drawHorizontalPath() argument 176 mPath.lineTo(d, r); in drawHorizontalPath() 177 mPath.lineTo(0, r + d); in drawHorizontalPath() 178 mPath.lineTo(d, r + d + r); in drawHorizontalPath() 183 mPath.lineTo(w, r + d + r); in drawHorizontalPath() 184 mPath.lineTo(w - d, r + d); in drawHorizontalPath() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/util/ |
D | ScanResultUtil.java | 244 public static boolean isScanResultForPskOnlyNetwork(@NonNull ScanResult r) { in isScanResultForPskOnlyNetwork() argument 245 return ScanResultUtil.isScanResultForPskNetwork(r) in isScanResultForPskOnlyNetwork() 246 && !ScanResultUtil.isScanResultForSaeNetwork(r); in isScanResultForPskOnlyNetwork() 252 public static boolean isScanResultForSaeOnlyNetwork(@NonNull ScanResult r) { in isScanResultForSaeOnlyNetwork() argument 253 return !ScanResultUtil.isScanResultForPskNetwork(r) in isScanResultForSaeOnlyNetwork() 254 && ScanResultUtil.isScanResultForSaeNetwork(r); in isScanResultForSaeOnlyNetwork() 260 public static boolean isScanResultForOpenOnlyNetwork(@NonNull ScanResult r) { in isScanResultForOpenOnlyNetwork() argument 261 return ScanResultUtil.isScanResultForOpenNetwork(r) in isScanResultForOpenOnlyNetwork() 262 && !ScanResultUtil.isScanResultForOweNetwork(r); in isScanResultForOpenOnlyNetwork() 268 public static boolean isScanResultForOweOnlyNetwork(@NonNull ScanResult r) { in isScanResultForOweOnlyNetwork() argument [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 506 public static ContentValues toContentValues(ScheduledRecording r) { in toContentValues() argument 508 if (r.getId() != ID_NOT_SET) { in toContentValues() 509 values.put(Schedules._ID, r.getId()); in toContentValues() 511 values.put(Schedules.COLUMN_INPUT_ID, r.getInputId()); in toContentValues() 512 values.put(Schedules.COLUMN_CHANNEL_ID, r.getChannelId()); in toContentValues() 513 values.put(Schedules.COLUMN_PROGRAM_ID, r.getProgramId()); in toContentValues() 514 values.put(Schedules.COLUMN_PROGRAM_TITLE, r.getProgramTitle()); in toContentValues() 515 values.put(Schedules.COLUMN_PRIORITY, r.getPriority()); in toContentValues() 516 values.put(Schedules.COLUMN_START_TIME_UTC_MILLIS, r.getStartTimeMs()); in toContentValues() 517 values.put(Schedules.COLUMN_END_TIME_UTC_MILLIS, r.getEndTimeMs()); in toContentValues() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 67 Rect r = canvas.getClipBounds(); in onDrawShadow() local 70 View.MeasureSpec.makeMeasureSpec(r.right- r.left, View.MeasureSpec.EXACTLY), in onDrawShadow() 71 View.MeasureSpec.makeMeasureSpec(r.bottom - r.top , View.MeasureSpec.EXACTLY)); in onDrawShadow() 72 mShadowView.layout(r.left, r.top, r.right, r.bottom); in onDrawShadow() 80 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow() 81 r.bottom - mPadding, paint); in onDrawShadow() 85 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow() 86 r.bottom - mPadding, paint); in onDrawShadow()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 178 LinkedList<Pair<Integer, List<KeyEvent>>> r = in getkeyEvents() local 180 Log.i(TAG, "getKeyEvents size:" + r.size() + ",this:" + this); in getkeyEvents() 181 return r; in getkeyEvents() 187 LinkedList<Pair<Integer, List<RotaryEvent>>> r = in getRotaryEvents() local 189 Log.i(TAG, "getRotaryEvents size:" + r.size() + ",this:" + this); in getRotaryEvents() 190 return r; in getRotaryEvents() 202 LinkedList<Pair<Integer, List<CustomInputEvent>>> r = in getCustomInputEvents() local 204 Log.i(TAG, "getCustomInputEvents size:" + r.size() + ",this:" + this); in getCustomInputEvents() 205 return r; in getCustomInputEvents() 284 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_mainDisplay() local [all …]
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConcurrentInterpreter.kt | 52 fun interpretMultiple(instr: String, r: T): Any? { in <lambda>() 53 return instr.split(";").map { interpret(it.trim(), r) }.last() in <lambda>() 57 fun interpret(instr: String, r: T): Any? { in <lambda>() 61 return code(this, r, match) in <lambda>() 180 Regex("(.*)//.*") to { i, t, r -> i.interpret(r.strArg(1), t) }, in r() method 182 Regex("""(.*)\s*time\s*(\d+)\.\.(\d+)""") to { i, t, r -> in r() method 184 i.interpret(r.strArg(1), t) in r() 198 assertTrue(maxTime >= r.timeArg(2), in r() 200 assertTrue(minTime <= r.timeArg(3), in r() 204 Regex("""(.*)\s*=\s*(null|\d+)""") to { i, t, r -> in r() method [all …]
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_journal.cc | 25 std::ostream& operator<<(std::ostream& os, const HasJournalRecord& r) { in operator <<() argument 30 struct tm* tstamp = localtime(&r.timestamp.tv_sec); in operator <<() 33 r.timestamp.tv_nsec / 1000000); in operator <<() 36 if (r.is_operation) { in operator <<() 37 os << std::get<HasCtpOp>(r.event); in operator <<() 38 os << ", \"status\": \"" << loghex(r.op_status) << "\""; in operator <<() 40 } else if (r.is_notification) { in operator <<() 41 os << std::get<HasCtpNtf>(r.event) << ", "; in operator <<() 43 } else if (r.is_active_preset_change) { in operator <<() 45 << +std::get<uint8_t>(r.event) << "}"; in operator <<() [all …]
|
/packages/services/Car/cpp/evs/support_library/ |
D | FormatConvert.cpp | 70 for (unsigned r = 0; r < height; r++) { in copyNV21toRGB32() local 72 uint8_t* rowY = srcY + r * strideLum; in copyNV21toRGB32() 73 uint8_t* rowUV = srcUV + (r / 2 * strideColor); in copyNV21toRGB32() 75 uint32_t* rowDest = dst + r * dstStridePixels; in copyNV21toRGB32() 102 for (unsigned r = 0; r < height; r++) { in copyYV12toRGB32() local 104 uint8_t* rowY = srcY + r * strideLum; in copyYV12toRGB32() 105 uint8_t* rowU = srcU + (r / 2 * strideColor); in copyYV12toRGB32() 106 uint8_t* rowV = srcV + (r / 2 * strideColor); in copyYV12toRGB32() 108 uint32_t* rowDest = dst + r * dstStridePixels; in copyYV12toRGB32() 124 for (unsigned r = 0; r < height; r++) { in copyYUYVtoRGB32() local
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_framestitching.cpp | 85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local 106 r[0]=(*temp++)-c[0]; in db_StitchSimilarity3DRaw() 107 r[1]=(*temp++)-c[1]; in db_StitchSimilarity3DRaw() 108 r[2]=(*temp++)-c[2]; in db_StitchSimilarity3DRaw() 113 M[0]+=r[0]*rp[0]; in db_StitchSimilarity3DRaw() 114 M[1]+=r[0]*rp[1]; in db_StitchSimilarity3DRaw() 115 M[2]+=r[0]*rp[2]; in db_StitchSimilarity3DRaw() 116 M[3]+=r[1]*rp[0]; in db_StitchSimilarity3DRaw() 117 M[4]+=r[1]*rp[1]; in db_StitchSimilarity3DRaw() 118 M[5]+=r[1]*rp[2]; in db_StitchSimilarity3DRaw() [all …]
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | FormatConvert.cpp | 67 for (unsigned r = 0; r < height; r++) { in copyNV21toRGB32() local 69 uint8_t* rowY = srcY + r * strideLum; in copyNV21toRGB32() 70 uint8_t* rowUV = srcUV + (r / 2 * strideColor); in copyNV21toRGB32() 72 uint32_t* rowDest = dst + r * dstStridePixels; in copyNV21toRGB32() 99 for (unsigned r = 0; r < height; r++) { in copyYV12toRGB32() local 101 uint8_t* rowY = srcY + r * strideLum; in copyYV12toRGB32() 102 uint8_t* rowU = srcU + (r / 2 * strideColor); in copyYV12toRGB32() 103 uint8_t* rowV = srcV + (r / 2 * strideColor); in copyYV12toRGB32() 105 uint32_t* rowDest = dst + r * dstStridePixels; in copyYV12toRGB32() 121 for (unsigned r = 0; r < height; r++) { in copyYUYVtoRGB32() local
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | CountedDataInputStream.java | 46 int r = in.read(b); in read() local 47 count += (r >= 0) ? r : 0; in read() 48 return r; in read() 53 int r = in.read(b, off, len); in read() local 54 count += (r >= 0) ? r : 0; in read() 55 return r; in read() 60 int r = in.read(); in read() local 61 count += (r >= 0) ? 1 : 0; in read() 62 return r; in read() 86 int r = read(b, off, len); in readOrThrow() local [all …]
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/internal/test/ |
D | LargeParcelableJavaStableAIDLTest.java | 135 StableAIDLTestLargeParcelable r = mBinder.echo(null); in testNullParcelable() local 137 assertThat(r).isNull(); in testNullParcelable() 175 StableAIDLTestLargeParcelable r = mBinder.echo(orig); in doTestLEcho() local 176 r = (StableAIDLTestLargeParcelable) in doTestLEcho() 177 LargeParcelable.reconstructStableAIDLParcelable(r, true); in doTestLEcho() 179 assertThat(r).isNotNull(); in doTestLEcho() 180 assertThat(r.payload).isNotNull(); in doTestLEcho() 181 assertThat(r.payload).isEqualTo(payload); in doTestLEcho() 185 assertThat(r.sharedMemoryFd).isNotNull(); in doTestLEcho() 189 assertThat(r.sharedMemoryFd).isNull(); in doTestLEcho() [all …]
|