/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/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/ |
D | ServiceKillTestService.java | 216 for (Benchmark.Measure measure : result.keySet()) { in sendResult() 217 intent.putExtra(measure.name(), result.get(measure)); in sendResult() 218 logDebug("Result " + measure.name() + "=" + result.get(measure)); in sendResult() 498 for (Measure measure : Measure.values()) { in getAllResults() 499 results.put(measure, getResult(measure, range)); in getAllResults() 528 public void addEvent(Measure measure, long timestamp) { in addEvent() argument 529 List<Long> events = getEvents(measure); in addEvent() 531 if (!eventMap.containsKey(measure)) { in addEvent() 532 eventMap.put(measure, events); in addEvent() 536 public void addEvent(Measure measure) { in addEvent() argument [all …]
|
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/ |
D | RequirementTest.java | 35 public void setMeasurement1(int measure) { in setMeasurement1() argument 36 this.<Integer>setMeasuredValue("test_measurement_1", measure); in setMeasurement1() 58 public void setMeasurement1(int measure) { in setMeasurement1() argument 59 this.<Integer>setMeasuredValue("test_measurement_1", measure); in setMeasurement1() 62 public void setMeasurement2(int measure) { in setMeasurement2() argument 63 this.<Integer>setMeasuredValue("test_measurement_2", measure); in setMeasurement2()
|
/cts/tests/tests/keystore/src/android/keystore/cts/performance/ |
D | PerformanceTestBase.java | 61 protected void measure(Measurable... measurables) throws Exception { in measure() method in PerformanceTestBase 68 PerformanceTestResult result = measure(measurable); in measure() 109 private PerformanceTestResult measure(Measurable measurable) throws Exception { in measure() method in PerformanceTestBase 116 measurable.measure(); in measure() 126 measurable.measure(); in measure() 155 public abstract void measure() throws Exception; in measure() method in PerformanceTestBase.Measurable 241 public void measure() throws Exception { in measure() method in PerformanceTestBase.KeystoreKeyPairGenMeasurable 264 public void measure() throws Exception { in measure() method in PerformanceTestBase.KeystoreSecretKeyGenMeasurable
|
D | AttestationPerformanceTest.java | 46 measure(new KeystoreAttestationMeasurable( in testRsaKeyAttestation() 61 measure(new KeystoreAttestationMeasurable( in testEcKeyAttestation() 121 public void measure() throws Exception { in measure() method in AttestationPerformanceTest.KeystoreAttestationMeasurable
|
D | DesCipherPerformanceTest.java | 74 measure( in testDesCipher() 125 public void measure() throws Exception { in measure() method in DesCipherPerformanceTest.KeystoreDesEncryptMeasurable 156 public void measure() throws Exception { in measure() method in DesCipherPerformanceTest.KeystoreDesDecryptMeasurable
|
D | EcdsaSignaturePerformanceTest.java | 70 measure( in testEcdsaSign() 127 public void measure() throws Exception { in measure() method in EcdsaSignaturePerformanceTest.KeystoreEcSignMeasurable 158 public void measure() throws Exception { in measure() method in EcdsaSignaturePerformanceTest.KeystoreEcVerifyMeasurable
|
D | AesCipherPerformanceTest.java | 72 measure( in testAesCipher() 123 public void measure() throws Exception { in measure() method in AesCipherPerformanceTest.KeystoreAesEncryptMeasurable 154 public void measure() throws Exception { in measure() method in AesCipherPerformanceTest.KeystoreAesDecryptMeasurable
|
D | RsaCipherPerformanceTest.java | 65 measure( in testRsaCipher() 130 public void measure() throws Exception { in measure() method in RsaCipherPerformanceTest.KeystoreRsaEncryptMeasurable 161 public void measure() throws Exception { in measure() method in RsaCipherPerformanceTest.KeystoreRsaDecryptMeasurable
|
D | HmacMacPerformanceTest.java | 63 measure( in testHmac() 107 public void measure() throws Exception { in measure() method in HmacMacPerformanceTest.KeystoreHmacMacMeasurable
|
D | RsaSignaturePerformanceTest.java | 109 measure( in testRsaSign() 160 public void measure() throws Exception { in measure() method in RsaSignaturePerformanceTest.KeystoreRsaSignMeasurable 191 public void measure() throws Exception { in measure() method in RsaSignaturePerformanceTest.KeystoreRsaVerifyMeasurable
|
D | DesKeyGenPerformanceTest.java | 34 measure( in testDesKeyGen()
|
D | HmacKeyGenPerformanceTest.java | 34 measure( in testHmacKeyGen()
|
D | AesKeyGenPerformanceTest.java | 34 measure( in testAesKeyGen()
|
D | EcKeyGenPerformanceTest.java | 36 measure( in testEcKeyGen()
|
D | RsaKeyGenPerformanceTest.java | 56 measure(new KeystoreKeyPairGenMeasurable(generator, keySize)); in measureKeyGen()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SpaceTest.java | 90 mSpace.measure(100, 100); in testDrawNothing() 102 mSpace.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in testMeasureSpecs() 106 mSpace.measure(200 | View.MeasureSpec.AT_MOST, in testMeasureSpecs() 111 mSpace.measure(200 | View.MeasureSpec.EXACTLY, in testMeasureSpecs()
|
D | TextViewMinimumFontMetrics.kt | 75 textView.measure( in testMinimumFontHeight_SetToLayout() 106 textView.measure( in testIsUseLocalePreferredLineHeightForMinimum_ForLocale_EmptyLine() 128 textView.measure( in testIsUseLocalePreferredLineHeightForMinimum_ForLocale()
|
D | TextViewUseBoundsForWidthTest.kt | 63 textView.measure(1024, 1024) in testLayoutUseBoundsForTest() 67 textView.measure(1024, 1024) in testLayoutUseBoundsForTest()
|
/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/ServiceKillTest/src/com/android/cts/servicekilltest/ |
D | ServiceKillTests.java | 103 ServiceKillTestService.Benchmark.Measure measure) throws Exception { in test() argument 104 test(testName, runTimeMinutes, measure, DEFAULT_THRESHOLD); in test() 108 ServiceKillTestService.Benchmark.Measure measure, float passThreshold) in test() argument 117 logDebug("Testing " + testId + " " + runTimeMinutes + "min " + measure + " th " + in test() 131 float result = intent.getFloatExtra(measure.name(), 0); in test() 133 assertTrue("Test '" + testName + "' for '" + measure + "' did not reach " + in test()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_ForceLayout.java | 184 mParent.measure(makeMeasureSpec(100, EXACTLY), makeMeasureSpec(100, EXACTLY)); in measure_optimizationFlagOn_measuredTwiceWhileForceLayout_childMeasuredOnce() 189 mParent.measure(makeMeasureSpec(100, EXACTLY), makeMeasureSpec(100, EXACTLY)); in measure_optimizationFlagOn_measuredTwiceWhileForceLayout_childMeasuredOnce() 196 view.measure(makeMeasureSpec(width, EXACTLY), makeMeasureSpec(height, EXACTLY)); in measureAndLayoutForTest() 227 getChildAt(i).measure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 241 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture() 265 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture() 289 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 234 PathMeasure measure = new PathMeasure(returnedPath, false); in testStrokeDescriptionGetters_workAsExpected() local 235 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 59 child.measure(width, height); in onMeasure()
|