Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelPerfTest.java58 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataPosition() local
66 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataPosition() local
74 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataSize() local
82 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataSize() local
90 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataCapacity() local
98 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeGetDataCapacity() local
106 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByte() local
116 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByte() local
125 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteInt() local
135 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadInt() local
[all …]
DStrictModeTest.java48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeVmViolation() local
55 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeVmViolationNoStrictMode() local
59 private static void causeVmViolations(BenchmarkState state) { in causeVmViolations()
71 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeThreadViolation() local
79 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeThreadViolationNoStrictMode() local
83 private static void causeThreadViolations(BenchmarkState state) throws IOException { in causeThreadViolations()
93 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCrossBinderThreadViolation() local
101 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCrossBinderThreadViolationNoStrictMode() local
105 private static void causeCrossProcessThreadViolations(BenchmarkState state) in causeCrossProcessThreadViolations()
DParcelArrayPerfTest.java86 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByteArray() local
95 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateByteArray() local
104 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByteArray() local
113 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteIntArray() local
122 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateIntArray() local
131 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadIntArray() local
140 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteLongArray() local
149 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateLongArray() local
158 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadLongArray() local
DPackageManagerPerfTest.java48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCheckPermissionExists() local
59 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCheckPermissionDoesntExist() local
70 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testQueryIntentActivities() local
81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetPackageInfo() local
92 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetApplicationInfo() local
103 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetActivityInfo() local
DTracePerfTest.java56 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testEnabled() local
64 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBeginEndSection() local
73 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAsyncBeginEnd() local
82 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCounter() local
DCpuUsageTrackingPerfTest.java43 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSystemThread() local
52 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadStatFileDirectly() local
62 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadPidProcDirectly() local
72 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadThreadProcDirectly() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageVerificationStateTest.java32 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_OnlyRequiredVerifier_AllowedInstall() local
47 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall() local
62 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall() local
87 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall() local
112 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_OneSufficientIsEnough() local
138 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_SecondSufficientIsEnough() local
169 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_RequiredOverrides() local
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp38 static void BM_AssetManagerLoadAssets(benchmark::State& state) { in BM_AssetManagerLoadAssets()
48 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadAssetsOld()
61 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssets()
71 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssetsOld()
84 static void BM_AssetManagerGetResource(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResource()
90 static void BM_AssetManagerGetResourceOld(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResourceOld()
97 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) { in BM_AssetManagerGetLibraryResource()
105 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) { in BM_AssetManagerGetLibraryResourceOld()
115 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocale()
123 static void BM_AssetManagerGetResourceFrameworkLocaleOld(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocaleOld()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/util/
DArraySetPerfTest.java43 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_InBounds() local
55 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_OutOfBounds_Negative() local
74 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testValueAt_OutOfBounds_EdgeCase() local
94 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_Base() local
108 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveNothing() local
123 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveAll() local
138 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Small_RemoveHalf() local
157 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Large_Base() local
171 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Large_RemoveNothing() local
186 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRemoveIf_Large_RemoveAll() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DRenderNodePerfTest.java37 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasureRenderNodeJniOverhead() local
46 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNodeNoName() local
54 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNode() local
62 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsValid() local
71 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEnd() local
81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEndDeepHierarchy() local
99 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testHasIdentityMatrix() local
108 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetOutline() local
DPathPerfTest.java36 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testReset() local
45 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddReset() local
55 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRewind() local
64 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddRewind() local
74 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsEmpty() local
84 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsConvex() local
94 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetSetFillType() local
105 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsRect() local
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java70 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_FixedText_NoStyle_Greedy_NoHyphenation() local
82 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Greedy_NoHyphenation() local
97 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Greedy_Hyphenation() local
112 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Balanced_NoHyphenation() local
127 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_NoStyled_Balanced_Hyphenation() local
142 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_RandomText_Styled_Greedy_NoHyphenation() local
157 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() local
174 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent() local
193 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation() local
210 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_PrecomputedText_NoStyled_Balanced_NoHyphenation() local
[all …]
DPrecomputedTextPerfTest.java55 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_Hyphenation() local
72 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_NoHyphenation() local
89 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_Hyphenation_WidthOnly() local
106 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_NoStyled_NoHyphenation_WidthOnly() local
123 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_Hyphenation() local
140 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_NoHyphenation() local
157 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_Hyphenation_WidthOnly() local
174 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreate_Styled_NoHyphenation_WidthOnly() local
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java59 private void forwardDelete(final EditorState state, int modifiers) { in forwardDelete()
75 EditorState state = new EditorState(); in testCombiningEnclosingKeycaps() local
95 EditorState state = new EditorState(); in testVariationSelector() local
143 EditorState state = new EditorState(); in testEmojiZeroWidthJoinerSequence() local
186 EditorState state = new EditorState(); in testFlags() local
243 EditorState state = new EditorState(); in testEmojiModifier() local
268 EditorState state = new EditorState(); in testMixedEdgeCases() local
DBackspaceTest.java61 private void backspace(final EditorState state, int modifiers) { in backspace()
77 EditorState state = new EditorState(); in testCombiningEnclosingKeycaps() local
105 EditorState state = new EditorState(); in testVariationSelector() local
169 EditorState state = new EditorState(); in testEmojiZWJSequence() local
249 EditorState state = new EditorState(); in testFlags() local
311 EditorState state = new EditorState(); in testEmojiModifier() local
340 EditorState state = new EditorState(); in testMixedEdgeCases() local
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java561 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffAfterNight_turnsOff() local
576 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffBeforeNight_turnsOff() local
591 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffDuringNight_turnsOff() local
606 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffInFuture_turnsOff() local
621 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnAfterNight_turnsOn() local
636 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnBeforeNight_turnsOff() local
651 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnDuringNight_turnsOff() local
666 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnInFuture_turnsOff() local
681 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffAfterNight_turnsOff() local
696 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffBeforeNight_turnsOff() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
DSystemPerfTest.java46 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNanoTimePerf() local
54 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkOverhead() local
65 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkPauseResumeOverhead() local
75 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayNoop() local
84 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayGetLength() local
93 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayCriticalAccess() local
102 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayBasicAccess() local
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java32 public static int convertCallState(PhoneConstants.State state) { in convertCallState()
47 public static PhoneConstants.State convertCallState(int state) { in convertCallState()
62 public static int convertDataState(PhoneConstants.DataState state) { in convertDataState()
79 public static PhoneConstants.DataState convertDataState(int state) { in convertDataState()
/frameworks/rs/tests/lldb/
Drun_tests.py380 def _launch_emulator(state): argument
458 def _restart_emulator(state): argument
468 def _run_test(state, name, bundle_type): argument
555 def _check_lldbserver_exists(state): argument
576 def _suite_pre_run(state): argument
644 def _suite_post_run(state): argument
701 def _discover_tests(state): argument
736 def _deduce_python_path(state): argument
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DPipeline.java37 public void initBuffers(VrState state); in initBuffers()
43 public void setupTriangles(VrState state); in setupTriangles()
49 public void rasterizeTriangles(VrState state); in rasterizeTriangles()
55 public void raycast(VrState state); in raycast()
DBasicPipeline.java40 public void initBuffers(VrState state) { in initBuffers()
45 public void setupTriangles(VrState state) { in setupTriangles()
51 public void rasterizeTriangles(VrState state) { in rasterizeTriangles()
66 public void raycast(VrState state) { in raycast()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java86 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_RandomText() local
105 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_RandomText_Selectable() local
125 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_PrecomputedText() local
147 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNewLayout_PrecomputedText_Selectable() local
170 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_RandomText() local
187 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_RandomText_Selectable() local
205 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_PrecomputedText() local
225 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetText_PrecomputedText_Selectable() local
246 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testOnMeasure_RandomText() local
266 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testOnMeasure_RandomText_Selectable() local
[all …]
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java57 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_noService() local
82 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_serviceDoesNotAutofill() local
121 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_autofillBothFields() local
172 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testFocus_autofillUsernameOnly() local
251 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in changeTest() local
286 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCallbacks() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVoLteServiceStateTest.java31 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); in testGetState() local
37 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_FAILED); in testParcel() local
56 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_CANCELED); in testFillInNotifierBundle() local
63 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); in testCopy() local
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java241 SavedState state = new SavedState(); in onSaveInstanceState() local
264 public void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState()
425 protected int getExtraLayoutSpace(RecyclerView.State state) { in getExtraLayoutSpace()
434 public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, in smoothScrollToPosition()
642 public void onLayoutCompleted(RecyclerView.State state) { in onLayoutCompleted()
659 void onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, in onAnchorReady()
667 RecyclerView.State state, int startOffset, int endOffset) { in layoutForPredictiveAnimations()
721 private void updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state, in updateAnchorInfoForLayout()
750 RecyclerView.State state, AnchorInfo anchorInfo) { in updateAnchorFromChildren()
902 RecyclerView.State state, boolean canOffsetChildren) { in fixLayoutStartGap()
[all …]

12345678910>>...43