Home
last modified time | relevance | path

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

123

/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/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java216 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/
DRequirementTest.java35 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/
DPerformanceTestBase.java61 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
DAttestationPerformanceTest.java46 measure(new KeystoreAttestationMeasurable( in testRsaKeyAttestation()
61 measure(new KeystoreAttestationMeasurable( in testEcKeyAttestation()
121 public void measure() throws Exception { in measure() method in AttestationPerformanceTest.KeystoreAttestationMeasurable
DDesCipherPerformanceTest.java74 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
DEcdsaSignaturePerformanceTest.java70 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
DAesCipherPerformanceTest.java72 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
DRsaCipherPerformanceTest.java65 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
DHmacMacPerformanceTest.java63 measure( in testHmac()
107 public void measure() throws Exception { in measure() method in HmacMacPerformanceTest.KeystoreHmacMacMeasurable
DRsaSignaturePerformanceTest.java109 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
DDesKeyGenPerformanceTest.java34 measure( in testDesKeyGen()
DHmacKeyGenPerformanceTest.java34 measure( in testHmacKeyGen()
DAesKeyGenPerformanceTest.java34 measure( in testAesKeyGen()
DEcKeyGenPerformanceTest.java36 measure( in testEcKeyGen()
DRsaKeyGenPerformanceTest.java56 measure(new KeystoreKeyPairGenMeasurable(generator, keySize)); in measureKeyGen()
/cts/tests/tests/widget/src/android/widget/cts/
DSpaceTest.java90 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()
DTextViewMinimumFontMetrics.kt75 textView.measure( in testMinimumFontHeight_SetToLayout()
106 textView.measure( in testIsUseLocalePreferredLineHeightForMinimum_ForLocale_EmptyLine()
128 textView.measure( in testIsUseLocalePreferredLineHeightForMinimum_ForLocale()
DTextViewUseBoundsForWidthTest.kt63 textView.measure(1024, 1024) in testLayoutUseBoundsForTest()
67 textView.measure(1024, 1024) in testLayoutUseBoundsForTest()
/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/ServiceKillTest/src/com/android/cts/servicekilltest/
DServiceKillTests.java103 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/
DView_ForceLayout.java184 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/
DEmojiTest.java241 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/
DGestureDescriptionTest.java234 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/
DReferenceViewGroup.java59 child.measure(width, height); in onMeasure()

123