Home
last modified time | relevance | path

Searched refs:times (Results 1 – 15 of 15) sorted by relevance

/cts/suite/cts/deviceTests/opengl/jni/reference/
DReferenceRenderer.cpp47 double times[NUM_SETUP_TIMES]; in setUp() local
49 times[0] = GLUtils::currentTimeMillis(); in setUp()
51 times[1] = GLUtils::currentTimeMillis(); in setUp()
53 times[2] = GLUtils::currentTimeMillis(); in setUp()
55 times[3] = GLUtils::currentTimeMillis(); in setUp()
59 mSetUpTimes[i] += times[i] - times[i - 1]; in setUp()
/cts/apps/CameraITS/tests/scene0/
Dtest_gyro_bias.py51 times = numpy.array([(e["time"] - gyro_events[0]["time"])/1000000000.0
59 times = times[N/2::N]
64 pylab.plot(times, xs, 'r', label="x")
65 pylab.plot(times, ys, 'g', label="y")
66 pylab.plot(times, zs, 'b', label="z")
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DFlashlightTest.java82 times(2)).onTorchModeChanged(id, false); in testSetTorchModeOnOff()
84 times(mFlashCameraIdList.size() + 1)). in testSetTorchModeOnOff()
87 times(1)).onTorchModeChanged(id, true); in testSetTorchModeOnOff()
89 times(1)).onTorchModeChanged(anyString(), eq(true)); in testSetTorchModeOnOff()
114 verify(torchListener, timeout(TORCH_TIMEOUT_MS).times(mFlashCameraIdList.size())). in testSetTorchModeOnOff()
118 times(mFlashCameraIdList.size() * 2)). in testSetTorchModeOnOff()
143 times(NUM_REGISTERS * mFlashCameraIdList.size())). in testTorchCallback()
189 verify(torchListener, timeout(TORCH_TIMEOUT_MS).times(1)). in testCameraDeviceOpenAfterTorchOn()
191 verify(torchListener, timeout(TORCH_TIMEOUT_MS).times(1)). in testCameraDeviceOpenAfterTorchOn()
205 verify(torchListener, timeout(TORCH_TIMEOUT_MS).times(1)). in testCameraDeviceOpenAfterTorchOn()
DCameraDeviceTest.java737 verify(mSessionMockListener, timeout(PREPARE_TIMEOUT_MS).times(1)) in prepareTestByCamera()
744 verify(mSessionMockListener, timeout(PREPARE_TIMEOUT_MS).times(2)) in prepareTestByCamera()
765 verify(mSessionMockListener, timeout(PREPARE_TIMEOUT_MS).times(1)) in prepareTestByCamera()
839 verify(mSessionMockListener, timeout(PREPARE_TIMEOUT_MS).times(1)) in prepareTestByCamera()
DSurfaceViewPreviewTest.java229 timeout(PREPARE_TIMEOUT_MS).times(1)). in preparePerformanceTestByCamera()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveActivity.java133 double[] times = new double[2]; in run() local
142 success = startBenchmark(workload, mNumFrames, times); in run()
148 mFpsValues[i] = mNumFrames * 1000.0f / (times[1] - times[0]); in run()
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DSequentialRWTest.java60 double[] times = FileUtil.measureIO(numberOfFiles, rdAmount, wrAmount, new MeasureRun() { in testSingleSequentialWrite() local
67 double[] mbps = ReportLog.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times); in testSingleSequentialWrite()
105 double[] times = MeasureTime.measure(NUMBER_READ, new MeasureRun() { in testSingleSequentialRead() local
118 double[] mbps = ReportLog.calcRatePerSecArray((double)fileSize / 1024 / 1024, times); in testSingleSequentialRead()
DFileUtil.java290 double[] times = FileUtil.measureIO(runsInOneGo, rdAmount, wrAmount, new MeasureRun() { in doRandomReadTest() local
305 times); in doRandomReadTest()
343 double[] times = FileUtil.measureIO(runsInOneGo, rdAmount, wrAmount, new MeasureRun() { in doRandomWriteTest() local
358 times); in doRandomWriteTest()
390 double[] times = MeasureTime.measure(numberRepeatInOneRun, new MeasureRun() { in doSequentialUpdateTest() local
399 times); in doSequentialUpdateTest()
/cts/suite/cts/deviceTests/opengl/jni/primitive/
DGLPrimitive.cpp68 double times[] = {start, end}; in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() local
69 env->SetDoubleArrayRegion(frameTimes, 0, 2, times); in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java265 verify(mockAvailCb, times(1)).onCameraAvailable(chosenCamera); in testBasicCamera2ActivityEviction()
272 verify(spyStateCb, timeout(OPEN_TIMEOUT).times(1)).onOpened(any(CameraDevice.class)); in testBasicCamera2ActivityEviction()
311 verify(spyStateCb, times(1)).onDisconnected(any(CameraDevice.class)); in testBasicCamera2ActivityEviction()
314 verify(spyStateCb, times(1)).onOpened(any(CameraDevice.class)); in testBasicCamera2ActivityEviction()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py142 times = cam_times + shift*MSEC_TO_NSEC
143 gyro_rots = get_gyro_rotations(gyro_events, times)
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java28 import static org.mockito.Mockito.times;
1058 inOrder.verify(appHostViewListener, times(2)).onUpdateAppWidget( in testPartiallyUpdateAppWidgetViaWidgetId()
1166 firstInOrder.verify(firstAppHostViewListener, times(2)).onUpdateAppWidget( in testPartiallyUpdateAppWidgetViaWidgetIds()
1171 secondInOrder.verify(secondAppHostViewListener, times(2)).onUpdateAppWidget( in testPartiallyUpdateAppWidgetViaWidgetIds()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DCtsTestTest.java285 EasyMock.expect(mMockPackageDef.getTests()).andReturn(TEST_IDENTIFIER_LIST).times(2); in setCreateAndRunTestExpectations()
DDeqpTestRunnerTest.java1682 andReturn("").times(2); in testMultipleInstancesLossOfDeviceMidInstance()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex74436 public int[] times