/cts/tests/tests/opengl/libopengltest/ |
D | attach_shader_four.cpp | 28 GLsizei count; in attachShaderFour() local 32 &count, in attachShaderFour() 35 LOGI("ShaderCount %d\n", count); in attachShaderFour() 37 Data data = {error, count, -1}; in attachShaderFour()
|
D | attach_shader_eleven.cpp | 33 GLsizei count; in attachShaderEleven() local 37 &count, in attachShaderEleven() 40 LOGI("ShaderCount %d\n", count); in attachShaderEleven() 42 Data data = {error, count, -1}; in attachShaderEleven()
|
D | attach_shader_two.cpp | 34 GLsizei count; in attachShaderTwo() local 38 &count, in attachShaderTwo() 41 LOGI("ShaderCount %d\n", count); in attachShaderTwo() 44 Data data = {error, count, -1}; in attachShaderTwo()
|
D | attach_shader_ten.cpp | 32 GLsizei count; in attachShaderTen() local 36 &count, in attachShaderTen() 39 LOGI("ShaderCount %d\n", count); in attachShaderTen() 41 Data data = {error, count, -1}; in attachShaderTen()
|
D | attach_shader_five.cpp | 32 GLsizei count; in attachShaderFive() local 36 &count, in attachShaderFive() 39 LOGI("ShaderCount %d\n", count); in attachShaderFive() 41 Data data = {error, count, -1}; in attachShaderFive()
|
D | attach_shader_one.cpp | 49 GLsizei count; in attachShaderOne() local 53 &count, in attachShaderOne() 56 LOGI("ShaderCount %d\n", count); in attachShaderOne() 58 Data data = {error, count, -1}; in attachShaderOne()
|
/cts/libs/commonutil/src/com/android/cts/util/ |
D | MeasureTime.java | 28 public static double[] measure(int count, MeasureRun run) throws Exception { in measure() argument 29 double[] result = new double[count]; in measure() 31 for (int i = 0; i < count; i++) { in measure()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 59 int count = 0; in countFiles() local 64 count += countFiles(file); in countFiles() 66 count++; in countFiles() 70 return count; in countFiles()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationTest.java | 290 void helperFloatCopy(int nElems, int offset, int count, int copyMode) { in helperFloatCopy() argument 296 for (int i = 0; i < count; i++) { in helperFloatCopy() 304 case 2: A.copy1DRangeFrom(offset, count, src); break; in helperFloatCopy() 305 case 3: A.copy1DRangeFromUnchecked(offset, count, src); break; in helperFloatCopy() 309 for (int i = 0; i < count; i++) { in helperFloatCopy() 314 void helperByteCopy(int nElems, int offset, int count, int copyMode) { in helperByteCopy() argument 320 for (int i = 0; i < count; i++) { in helperByteCopy() 328 case 2: A.copy1DRangeFrom(offset, count, src); break; in helperByteCopy() 329 case 3: A.copy1DRangeFromUnchecked(offset, count, src); break; in helperByteCopy() 333 for (int i = 0; i < count; i++) { in helperByteCopy() [all …]
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | richards.js | 126 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) { argument 127 this.addRunningTask(id, priority, queue, new IdleTask(this, 1, count)); 368 function IdleTask(scheduler, v1, count) { argument 371 this.count = count; 375 this.count--; 376 if (this.count == 0) return this.scheduler.holdCurrent(); 474 var count = this.v1.a1; 476 if (count < DATA_SIZE) { 480 v.a1 = this.v1.a2[count]; 481 this.v1.a1 = count + 1;
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 357 int count = 0; in getStorageDevices() local 358 count = Math.max(count, getContext().getExternalCacheDirs().length); in getStorageDevices() 359 count = Math.max(count, getContext().getExternalFilesDirs(null).length); in getStorageDevices() 360 count = Math.max( in getStorageDevices() 361 count, getContext().getExternalFilesDirs(Environment.DIRECTORY_PICTURES).length); in getStorageDevices() 362 count = Math.max(count, getContext().getObbDirs().length); in getStorageDevices() 366 if (count == 1) { in getStorageDevices() 369 return "1 emulated, " + (count - 1) + " physical media"; in getStorageDevices() 372 return count + " physical media"; in getStorageDevices()
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 150 float count = mWorkload * mWorkload; in setUp() local 151 float middle = count / 2.0f; in setUp() 152 float scale = 2.0f / count; in setUp() 157 for (int i = 0; i < count; i++) { in setUp() 158 for (int j = 0; j < count; j++) { in setUp()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AndroidCharacterTest.java | 34 int count = 128; in testGetDirectionalities() local 35 AndroidCharacter.getDirectionalities(src, dest, count); in testGetDirectionalities() 80 int count = 8; in testGetEastAsianWidths() local 81 byte[] dest = new byte[count]; in testGetEastAsianWidths() 82 AndroidCharacter.getEastAsianWidths(src, start, count, dest); in testGetEastAsianWidths()
|
D | SpannableStringBuilderSpanTest.java | 122 int count = 0; in checkSpanPositions() local 128 Object span = mSpanSet.mSpans[count]; in checkSpanPositions() 133 int startStyle = mSpanSet.mSpanStartPositionStyle[count]; in checkSpanPositions() 134 int endStyle = mSpanSet.mSpanEndPositionStyle[count]; in checkSpanPositions() 135 count++; in checkSpanPositions() 239 int count = 0; in checkReplacementSpanPositions() local 242 Object span = mReplacementSpanSet.mSpans[count]; in checkReplacementSpanPositions() 247 count++; in checkReplacementSpanPositions() 363 int count = 0; in initSpans() local 369 spannable.setSpan(mSpans[count], start, end, flag); in initSpans() [all …]
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GpsStatusTest.java | 48 int count = 0; in testGetSatellites() local 50 count++; in testGetSatellites() 53 assertTrue(count <= maxSatellites); in testGetSatellites()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 297 int count = c.getCount(); in onChanged() local 298 if (total == count) { in onChanged() 304 assertEquals(count, i); in onChanged() 318 final int count = 9000; in testManyRowsLong() local 322 for (int i = 0; i < count; i++) { in testManyRowsLong() 339 assertEquals(count, i); in testManyRowsLong() 340 assertEquals(count, testCursor.getCount()); in testManyRowsLong() 360 final int count = 600; // more than two fillWindow needed in testManyRowsTxt() local 361 for (int i = 0; i < count; i++) { in testManyRowsTxt() 374 assertEquals(count, i); in testManyRowsTxt() [all …]
|
/cts/tests/src/android/content/cts/ |
D | MockContentProvider.java | 141 int count; in delete() local 149 count = db.delete("TestTable1", selection, selectionArgs); in delete() 153 count = db.delete("TestTable1", "_id=" + segment + in delete() 158 count = db.delete("TestTable2", selection, selectionArgs); in delete() 162 count = db.delete("TestTable2", "_id=" + segment + in delete() 169 count = 1; in delete() 177 return count; in delete() 317 int count; in update() local 321 count = db.update("TestTable1", values, selection, selectionArgs); in update() 326 count = db.update("TestTable1", values, "_id=" + segment + in update() [all …]
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | Threads.java | 46 public static ExecutorService fixedThreadsExecutor(String name, int count) { in fixedThreadsExecutor() argument 49 return new ThreadPoolExecutor(count, count, 10, TimeUnit.SECONDS, in fixedThreadsExecutor()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CountDownTimerTest.java | 44 int count = (int) (mActivity.MILLISINFUTURE / mActivity.INTERVAL); in testCountDownTimer() local 45 final long TIMEOUT_MSEC = mActivity.MILLISINFUTURE + mActivity.INTERVAL + OFFSET * count; in testCountDownTimer() 61 int count = Long.valueOf(DELAY_MSEC / mActivity.INTERVAL).intValue() + 1; in testCountDownTimerCancel() 62 assertEquals(count, mActivity.tickTimes.size()); in testCountDownTimerCancel()
|
D | MemoryFileTest.java | 55 private void checkWriteBytesInIllegalParameter(int srcOffset, int destOffset, int count) in checkWriteBytesInIllegalParameter() argument 59 mMemoryFile.writeBytes(data, srcOffset, destOffset, count); in checkWriteBytesInIllegalParameter() 138 private void checkReadBytesInIllegalParameter(int srcOffset, int destOffset, int count) in checkReadBytesInIllegalParameter() argument 142 mMemoryFile.readBytes(data, srcOffset, destOffset, count); in checkReadBytesInIllegalParameter()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | OvalShapeTest.java | 60 int count = 0; in testDraw() local 63 count += 1; in testDraw() 66 assertEquals((double)SQUARE / Math.sqrt(2), count, TOLERANCE); in testDraw()
|
D | ArcShapeTest.java | 66 int count = 0; in testDraw() local 69 count += 1; in testDraw() 72 assertEquals((double)SQUARE / 2 / Math.sqrt(2), count, TOLERANCE); in testDraw()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderTest.java | 108 int count = 2; in testBulkInsert() local 109 ContentValues[] values = new ContentValues[count]; in testBulkInsert() 110 for (int i = 0; i < count; i++) { in testBulkInsert() 114 assertEquals(count, mockContentProvider.bulkInsert(uri, values)); in testBulkInsert() 115 assertEquals(count, mockContentProvider.getInsertCount()); in testBulkInsert() 119 assertEquals(count, mockContentProvider.bulkInsert(null, values)); in testBulkInsert() 121 assertEquals(count, mockContentProvider.getInsertCount()); in testBulkInsert()
|
/cts/suite/audio_quality/lib/src/ |
D | Semaphore.cpp | 20 Semaphore::Semaphore(int count) in Semaphore() argument 22 if (sem_init(&mSem, 0, count) != 0) { in Semaphore()
|
/cts/tests/src/android/os/cts/ |
D | FileUtils.java | 152 int count; in readInputStreamFully() local 154 while ((count = is.read(buffer)) != -1) { in readInputStreamFully() 155 os.write(buffer, 0, count); in readInputStreamFully()
|