/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseStatementTest.java | 144 long num = c.getLong(numCol); in testStatementLongBinding() local 145 assertEquals(i, num); in testStatementLongBinding() 166 String num = c.getString(numCol); in testStatementStringBinding() local 167 assertEquals(Long.toHexString(i), num); in testStatementStringBinding() local 211 String num = c.getString(numCol); in testSimpleStringBinding() local 212 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding() 237 long num = c.getLong(numCol); in testStatementMultipleBindings() local 239 assertEquals(i, num); in testStatementMultipleBindings() 272 long num = c.getLong(numCol); in run() local 274 assertEquals(i, num); in run() [all …]
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 449 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats() local 456 if (num > 0) { in Raw2YUVStats() 457 stats[0] = sum_x[0] / (float)num; // y average in Raw2YUVStats() 458 stats[1] = sum_x[1] / (float)num; // u average in Raw2YUVStats() 459 stats[2] = sum_x[2] / (float)num; // v average in Raw2YUVStats() 463 stats[3] = sqrtf((sum_xx[0] + 1) * num - sum_x[0] * sum_x[0]) / num; // y stdev in Raw2YUVStats() 464 stats[4] = sqrtf((sum_xx[1] + 1) * num - sum_x[1] * sum_x[1]) / num; // u stdev in Raw2YUVStats() 465 stats[5] = sqrtf((sum_xx[2] + 1) * num - sum_x[2] * sum_x[2]) / num; // v stdev in Raw2YUVStats() 468 stats[6] = (float)(sum_xy[0] + 1 - sum_x[0] * sum_x[1] / num) / num / stats[3] / stats[4]; in Raw2YUVStats() 470 stats[7] = (float)(sum_xy[1] + 1 - sum_x[0] * sum_x[2] / num) / num / stats[3] / stats[5]; in Raw2YUVStats() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresentationSyncTest.java | 391 private void drawFrame(int num, float mult) { in drawFrame() argument 392 num %= 64; in drawFrame() 402 startX = (num % 16) * (mWidth / 16); in drawFrame() 403 startY = (num / 16) * (mHeight / 4); in drawFrame() 404 if ((num >= 16 && num < 32) || (num >= 48)) { in drawFrame()
|
/cts/hostsidetests/securitybulletin/res/ |
D | CVE-2019-2052.pac | 28 var num = {}; 29 num.toString = function(){ 43 reg.lastIndex = num;
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursorTest.java | 578 Number num = (Number) mRows[mPos].get(columnIndex); in getShort() local 579 return num.shortValue(); in getShort() 584 Number num = (Number) mRows[mPos].get(columnIndex); in getInt() local 585 return num.intValue(); in getInt() 590 Number num = (Number) mRows[mPos].get(columnIndex); in getLong() local 591 return num.longValue(); in getLong() 596 Number num = (Number) mRows[mPos].get(columnIndex); in getFloat() local 597 return num.floatValue(); in getFloat() 602 Number num = (Number) mRows[mPos].get(columnIndex); in getDouble() local 603 return num.doubleValue(); in getDouble()
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 1015 int num; in readThisIntArrayXml() local 1017 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 1027 int[] array = new int[num]; in readThisIntArrayXml() 1084 int num; in readThisLongArrayXml() local 1086 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1094 long[] array = new long[num]; in readThisLongArrayXml() 1144 int num; in readThisDoubleArrayXml() local 1146 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1154 double[] array = new double[num]; in readThisDoubleArrayXml() 1204 int num; in readThisStringArrayXml() local [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 987 int num; in readThisIntArrayXml() local 989 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 999 int[] array = new int[num]; in readThisIntArrayXml() 1056 int num; in readThisLongArrayXml() local 1058 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1066 long[] array = new long[num]; in readThisLongArrayXml() 1116 int num; in readThisDoubleArrayXml() local 1118 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1126 double[] array = new double[num]; in readThisDoubleArrayXml() 1176 int num; in readThisStringArrayXml() local [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 988 int num; in readThisIntArrayXml() local 990 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 1000 int[] array = new int[num]; in readThisIntArrayXml() 1057 int num; in readThisLongArrayXml() local 1059 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1067 long[] array = new long[num]; in readThisLongArrayXml() 1117 int num; in readThisDoubleArrayXml() local 1119 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1127 double[] array = new double[num]; in readThisDoubleArrayXml() 1177 int num; in readThisStringArrayXml() local [all …]
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 32 num = False 34 if num: 38 num = not num 248 …for dev, build, codec, size, num, std, avg, p0, p5, p10, p20, p30, p40, p50, p60, p70, p80, p90, p… 256 nice(dict(config=dict(dev=dev, codec=codec, size=str(size), N=num),
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8425/ |
D | poc.c | 50 static int set_affinity(int num) in set_affinity() argument 55 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8426/ |
D | poc.c | 50 static int set_affinity(int num) in set_affinity() argument 55 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6732/ |
D | poc.c | 84 static int set_affinity(int num) in set_affinity() argument 89 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6734/ |
D | poc.c | 89 static int set_affinity(int num) in set_affinity() argument 94 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6735/ |
D | poc.c | 90 static int set_affinity(int num) in set_affinity() argument 95 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6733/ |
D | poc.c | 83 static int set_affinity(int num) in set_affinity() argument 88 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6731/ |
D | poc.c | 92 static int set_affinity(int num) in set_affinity() argument 97 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6730/ |
D | poc.c | 92 static int set_affinity(int num) in set_affinity() argument 97 CPU_SET(num, &mask); in set_affinity()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 126 int num = statsUs.getNum(); in logPerformanceStats() local 129 log.addValue(prefix + "_num", num, ResultType.NEUTRAL, ResultUnit.COUNT); in logPerformanceStats() 132 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6736/ |
D | poc.c | 104 static int set_affinity(int num) in set_affinity() argument 109 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | poc.c | 46 static int set_affinity(int num) in set_affinity() argument 51 CPU_SET(num, &mask); in set_affinity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | PinnedStackTests.java | 368 private void testEnterPipAspectRatio(int num, int denom) throws Exception { in testEnterPipAspectRatio() argument 371 EXTRA_ENTER_PIP_ASPECT_RATIO_NUMERATOR, Integer.toString(num), in testEnterPipAspectRatio() 380 (float) num / denom); in testEnterPipAspectRatio() 393 private void testResizePipAspectRatio(int num, int denom) throws Exception { in testResizePipAspectRatio() argument 396 EXTRA_SET_ASPECT_RATIO_NUMERATOR, Integer.toString(num), in testResizePipAspectRatio() 401 waitForValidAspectRatio(num, denom); in testResizePipAspectRatio() 403 assertFloatEquals((float) bounds.width() / bounds.height(), (float) num / denom); in testResizePipAspectRatio() 418 private void testEnterPipExtremeAspectRatio(int num, int denom) throws Exception { in testEnterPipExtremeAspectRatio() argument 422 EXTRA_ENTER_PIP_ASPECT_RATIO_NUMERATOR, Integer.toString(num), in testEnterPipExtremeAspectRatio() 439 private void testSetPipExtremeAspectRatio(int num, int denom) throws Exception { in testSetPipExtremeAspectRatio() argument [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/ |
D | poc.c | 117 static int set_affinity(int num) { in set_affinity() argument 121 CPU_SET(num, &mask); in set_affinity()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 126 int num = statsUs.getNum(); in logPerformanceStats() local 129 log.addValue(prefix + "_num", num, ResultType.NEUTRAL, ResultUnit.COUNT); in logPerformanceStats() 132 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 69 static int set_affinity(int num) in set_affinity() argument 74 CPU_SET(num, &mask); in set_affinity()
|
/cts/tests/openglperf2/jni/graphics/ |
D | GLUtils.cpp | 49 int num = AAsset_read(asset, buffer, length); in openTextFile() local 51 if (num != length) { in openTextFile()
|