Home
last modified time | relevance | path

Searched refs:measure (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathMeasureTest.java106 PathMeasure measure = new PathMeasure(circle, false); in testIsClosed() local
107 assertTrue(measure.isClosed()); in testIsClosed()
108 measure.setPath(circle, true); in testIsClosed()
109 assertTrue(measure.isClosed()); in testIsClosed()
114 measure.setPath(line, false); in testIsClosed()
115 assertFalse(measure.isClosed()); in testIsClosed()
116 measure.setPath(line, true); in testIsClosed()
117 assertTrue(measure.isClosed()); in testIsClosed()
/cts/tests/tests/keystore/src/android/keystore/cts/
DPerformanceTestBase.java58 protected void measure(Measurable... measurables) throws Exception { in measure() method in PerformanceTestBase
63 PerformanceTestResult result = measure(measurable); in measure()
104 private PerformanceTestResult measure(Measurable measurable) throws Exception { in measure() method in PerformanceTestBase
111 measurable.measure(); in measure()
121 measurable.measure(); in measure()
150 public abstract void measure() throws Exception; in measure() method in PerformanceTestBase.Measurable
236 public void measure() throws Exception { in measure() method in PerformanceTestBase.KeystoreKeyPairGenMeasurable
259 public void measure() throws Exception { in measure() method in PerformanceTestBase.KeystoreSecretKeyGenMeasurable
DAttestationPerformanceTest.java40 measure(new KeystoreAttestationMeasurable( in testRsaKeyAttestation()
50 measure(new KeystoreAttestationMeasurable( in testEcKeyAttestation()
110 public void measure() throws Exception { in measure() method in AttestationPerformanceTest.KeystoreAttestationMeasurable
DDesCipherPerformanceTest.java57 measure( in testDesCipher()
108 public void measure() throws Exception { in measure() method in DesCipherPerformanceTest.KeystoreDesEncryptMeasurable
139 public void measure() throws Exception { in measure() method in DesCipherPerformanceTest.KeystoreDesDecryptMeasurable
DAesCipherPerformanceTest.java65 measure( in testAesCipher()
116 public void measure() throws Exception { in measure() method in AesCipherPerformanceTest.KeystoreAesEncryptMeasurable
147 public void measure() throws Exception { in measure() method in AesCipherPerformanceTest.KeystoreAesDecryptMeasurable
DEcdsaSignaturePerformanceTest.java63 measure( in testEcdsaSign()
120 public void measure() throws Exception { in measure() method in EcdsaSignaturePerformanceTest.KeystoreEcSignMeasurable
151 public void measure() throws Exception { in measure() method in EcdsaSignaturePerformanceTest.KeystoreEcVerifyMeasurable
DRsaCipherPerformanceTest.java59 measure( in testRsaCipher()
124 public void measure() throws Exception { in measure() method in RsaCipherPerformanceTest.KeystoreRsaEncryptMeasurable
155 public void measure() throws Exception { in measure() method in RsaCipherPerformanceTest.KeystoreRsaDecryptMeasurable
DRsaSignaturePerformanceTest.java96 measure( in testRsaSign()
147 public void measure() throws Exception { in measure() method in RsaSignaturePerformanceTest.KeystoreRsaSignMeasurable
178 public void measure() throws Exception { in measure() method in RsaSignaturePerformanceTest.KeystoreRsaVerifyMeasurable
DHmacMacPerformanceTest.java58 measure( in testHmac()
102 public void measure() throws Exception { in measure() method in HmacMacPerformanceTest.KeystoreHmacMacMeasurable
DDesKeyGenPerformanceTest.java29 measure( in testDesKeyGen()
DAesKeyGenPerformanceTest.java29 measure( in testAesKeyGen()
DRsaKeyGenPerformanceTest.java29 measure( in testRsaKeyGen()
DHmacKeyGenPerformanceTest.java29 measure( in testHmacKeyGen()
DEcKeyGenPerformanceTest.java31 measure( in testEcKeyGen()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java89 double[] applyBatchTimes = MeasureTime.measure(TRANSACTION_RUNS, new MeasureRun() { in testChannels()
125 applyBatchTimes = MeasureTime.measure(TRANSACTION_RUNS, new MeasureRun() { in testChannels()
150 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testChannels()
168 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testChannels()
186 applyBatchTimes = MeasureTime.measure(1, new MeasureRun() { in testChannels()
233 double[] applyBatchTimes = MeasureTime.measure(NUM_CHANNELS, new MeasureRun() { in testPrograms()
262 applyBatchTimes = MeasureTime.measure(NUM_CHANNELS, new MeasureRun() { in testPrograms()
295 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
311 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
333 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DSpaceTest.java82 mSpace.measure(100, 100); in testDrawNothing()
94 mSpace.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in testMeasureSpecs()
98 mSpace.measure(200 | View.MeasureSpec.AT_MOST, in testMeasureSpecs()
103 mSpace.measure(200 | View.MeasureSpec.EXACTLY, in testMeasureSpecs()
DScrollViewTest.java332 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild()
354 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChildWithMargins()
449 mScrollViewRegular.measure( in testFillViewport()
471 mScrollViewRegular.measure( in testFillViewportWithScrollViewPadding()
497 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMargins()
517 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPaddingAlreadyFills()
545 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMarginsAlreadyFills()
DHorizontalScrollViewTest.java318 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild()
340 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChildWithMargins()
437 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY), in testFillViewport()
458 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPadding()
483 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMargins()
503 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPaddingAlreadyFills()
531 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMarginsAlreadyFills()
DAbsSpinnerTest.java197 absSpinner.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in testPointToPosition()
259 mAbsSpinner.measure(View.MeasureSpec.EXACTLY, View.MeasureSpec.EXACTLY); in testOnSaveAndRestoreInstanceState()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java201 PathMeasure measure = new PathMeasure(returnedPath, false); in testStrokeDescriptionGetters_workAsExpected() local
202 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java232 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
256 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
280 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
/cts/tests/tests/view/src/android/view/cts/
DViewStubTest.java148 viewStub.measure(200, 300); in testViewStubHasNoDimensions()
152 viewStub.measure(100, 200); in testViewStubHasNoDimensions()
/cts/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java59 child.measure(width, height); in onMeasure()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java65 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testSort()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java58 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testMeasureTaskSwitching()

12