/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 106 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/ |
D | PerformanceTestBase.java | 58 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
|
D | AttestationPerformanceTest.java | 40 measure(new KeystoreAttestationMeasurable( in testRsaKeyAttestation() 50 measure(new KeystoreAttestationMeasurable( in testEcKeyAttestation() 110 public void measure() throws Exception { in measure() method in AttestationPerformanceTest.KeystoreAttestationMeasurable
|
D | DesCipherPerformanceTest.java | 57 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
|
D | AesCipherPerformanceTest.java | 65 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
|
D | EcdsaSignaturePerformanceTest.java | 63 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
|
D | RsaCipherPerformanceTest.java | 59 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
|
D | RsaSignaturePerformanceTest.java | 96 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
|
D | HmacMacPerformanceTest.java | 58 measure( in testHmac() 102 public void measure() throws Exception { in measure() method in HmacMacPerformanceTest.KeystoreHmacMacMeasurable
|
D | DesKeyGenPerformanceTest.java | 29 measure( in testDesKeyGen()
|
D | AesKeyGenPerformanceTest.java | 29 measure( in testAesKeyGen()
|
D | RsaKeyGenPerformanceTest.java | 29 measure( in testRsaKeyGen()
|
D | HmacKeyGenPerformanceTest.java | 29 measure( in testHmacKeyGen()
|
D | EcKeyGenPerformanceTest.java | 31 measure( in testEcKeyGen()
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
D | TvProviderPerfTest.java | 89 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/ |
D | SpaceTest.java | 82 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()
|
D | ScrollViewTest.java | 332 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()
|
D | HorizontalScrollViewTest.java | 318 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()
|
D | AbsSpinnerTest.java | 197 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/ |
D | GestureDescriptionTest.java | 201 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/ |
D | EmojiTest.java | 232 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/ |
D | ViewStubTest.java | 148 viewStub.measure(200, 300); in testViewStubHasNoDimensions() 152 viewStub.measure(100, 200); in testViewStubHasNoDimensions()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 59 child.measure(width, height); in onMeasure()
|
/cts/tests/sample/src/android/sample/cts/ |
D | SampleDeviceResultTest.java | 65 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testSort()
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
D | TaskSwitchingDeviceTest.java | 58 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testMeasureTaskSwitching()
|