Home
last modified time | relevance | path

Searched refs:BenchmarkState (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelPerfTest.java23 import android.perftests.utils.BenchmarkState;
58 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataPosition()
66 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataPosition()
74 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataSize()
82 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataSize()
90 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataCapacity()
98 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataCapacity()
106 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByte()
116 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByte()
125 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteInt()
[all …]
DParcelArrayPerfTest.java19 import android.perftests.utils.BenchmarkState;
86 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByteArray()
95 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateByteArray()
104 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByteArray()
113 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteIntArray()
122 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateIntArray()
131 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadIntArray()
140 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteLongArray()
149 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateLongArray()
158 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadLongArray()
DStrictModeTest.java24 import android.perftests.utils.BenchmarkState;
48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeVmViolation()
55 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeVmViolationNoStrictMode()
59 private static void causeVmViolations(BenchmarkState state) { in causeVmViolations()
71 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeThreadViolation()
79 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeThreadViolationNoStrictMode()
83 private static void causeThreadViolations(BenchmarkState state) throws IOException { in causeThreadViolations()
93 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCrossBinderThreadViolation()
101 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCrossBinderThreadViolationNoStrictMode()
105 private static void causeCrossProcessThreadViolations(BenchmarkState state) in causeCrossProcessThreadViolations()
DPackageManagerPerfTest.java22 import android.perftests.utils.BenchmarkState;
48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCheckPermissionExists()
59 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCheckPermissionDoesntExist()
70 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testQueryIntentActivities()
81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetPackageInfo()
92 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetApplicationInfo()
103 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetActivityInfo()
DTracePerfTest.java20 import android.perftests.utils.BenchmarkState;
56 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testEnabled()
64 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBeginEndSection()
73 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAsyncBeginEnd()
82 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCounter()
DCpuUsageTrackingPerfTest.java19 import android.perftests.utils.BenchmarkState;
43 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSystemThread()
52 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadStatFileDirectly()
62 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadPidProcDirectly()
72 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadThreadProcDirectly()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java21 import android.perftests.utils.BenchmarkState;
36 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testReset()
45 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddReset()
55 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRewind()
64 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddRewind()
74 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsEmpty()
84 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsConvex()
94 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetSetFillType()
105 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsRect()
DRenderNodePerfTest.java21 import android.perftests.utils.BenchmarkState;
37 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasureRenderNodeJniOverhead()
46 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNodeNoName()
54 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNode()
62 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsValid()
71 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEnd()
81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEndDeepHierarchy()
99 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testHasIdentityMatrix()
108 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetOutline()
DTypefaceCreatePerfTest.java23 import android.perftests.utils.BenchmarkState;
53 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_fromFamily()
62 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_fromFamilyName()
71 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_fromAsset()
82 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_fromFile()
113 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_fromResources()
DOutlinePerfTest.java20 import android.perftests.utils.BenchmarkState;
35 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetEmpty()
45 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetRoundRect()
DCanvasPerfTest.java25 import android.perftests.utils.BenchmarkState;
42 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBasicViewGroupDraw()
71 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRecordSimpleBitmapView()
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
DSystemPerfTest.java19 import android.perftests.utils.BenchmarkState;
46 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNanoTimePerf()
54 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkOverhead()
65 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkPauseResumeOverhead()
75 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayNoop()
84 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayGetLength()
93 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayCriticalAccess()
102 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayBasicAccess()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DArraySetPerfTest.java19 import android.perftests.utils.BenchmarkState;
43 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_InBounds()
55 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_OutOfBounds_Negative()
74 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_OutOfBounds_EdgeCase()
94 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_Base()
108 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveNothing()
123 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveAll()
138 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveHalf()
157 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Large_Base()
171 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Large_RemoveNothing()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java22 import android.perftests.utils.BenchmarkState;
70 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_FixedText_NoStyle_Greedy_NoHyphenation()
82 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Greedy_NoHyphenation()
97 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Greedy_Hyphenation()
112 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Balanced_NoHyphenation()
127 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Balanced_Hyphenation()
142 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_Styled_Greedy_NoHyphenation()
157 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation()
174 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
193 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation()
[all …]
DPrecomputedTextPerfTest.java19 import android.perftests.utils.BenchmarkState;
55 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_Hyphenation()
72 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_NoHyphenation()
89 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_Hyphenation_WidthOnly()
106 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_NoHyphenation_WidthOnly()
123 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_Hyphenation()
140 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_NoHyphenation()
157 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_Hyphenation_WidthOnly()
174 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_NoHyphenation_WidthOnly()
DStaticLayoutGetOffsetForHorizontalPerfTest.java19 import android.perftests.utils.BenchmarkState;
58 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetOffsetForHorizontal_LTR()
73 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetOffsetForHorizontal_RTL()
88 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetOffsetForHorizontal_BiDi()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java24 import android.perftests.utils.BenchmarkState;
73 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getText()
81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getColor()
89 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getInteger()
97 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getLayoutAndTravese()
DPendingIntentPerfTest.java21 import android.perftests.utils.BenchmarkState;
59 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in create()
79 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in createWithCancelFlag()
101 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in createWithUpdateFlag()
123 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in cancel()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java25 import android.perftests.utils.BenchmarkState;
86 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_RandomText()
105 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_RandomText_Selectable()
125 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_PrecomputedText()
147 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_PrecomputedText_Selectable()
170 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_RandomText()
187 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_RandomText_Selectable()
205 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_PrecomputedText()
225 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_PrecomputedText_Selectable()
246 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testOnMeasure_RandomText()
[all …]
DTextViewOnMeasurePerfTest.java26 import android.perftests.utils.BenchmarkState;
105 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasure_AtMost()
122 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasure_Exactly()
139 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasure_Unspecified()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabasePerfTest.java25 import android.perftests.utils.BenchmarkState;
79 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSelect()
99 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSelectMultipleRows()
127 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCursorIterateForward()
150 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCursorIterateBackwards()
176 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testInnerJoin()
199 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testInsert()
217 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testDelete()
233 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testUpdate()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java22 import android.perftests.utils.BenchmarkState;
57 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_noService()
82 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_serviceDoesNotAutofill()
121 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_autofillBothFields()
172 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_autofillUsernameOnly()
251 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in changeTest()
286 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCallbacks()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfStatusReporter.java55 private final BenchmarkState mState = new BenchmarkState();
57 public BenchmarkState getBenchmarkState() { in getBenchmarkState()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java20 import android.perftests.utils.BenchmarkState;
39 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSimpleViewInflate()
50 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testTwelveKeyInflate()
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/
DTextClassificationManagerPerfTest.java19 import android.perftests.utils.BenchmarkState;
52 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetTextClassifier_systemTextClassifierDisabled()
68 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetTextClassifier_systemTextClassifierEnabled()

123