/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 75 SimSlotState state = SimSlotState.getCurrentState(); in testEmptySlots() local 87 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_nullSlot() local 99 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_inactiveSlot() local 111 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_noSimCard() local 124 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCard() local 137 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInErrorState() local 150 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInRestrictedState() local 164 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithNullCard() local 177 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithoutProfile() local 190 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithProfile() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | ParcelPerfTest.java | 58 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 …]
|
D | StrictModeTest.java | 48 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()
|
D | ParcelArrayPerfTest.java | 86 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
|
D | PackageManagerPerfTest.java | 48 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
|
D | TracePerfTest.java | 56 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
|
D | CpuUsageTrackingPerfTest.java | 43 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/ |
D | PackageVerificationStateTest.java | 32 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/ |
D | AssetManager2_bench.cpp | 38 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 …]
|
D | SparseEntry_bench.cpp | 27 static void BM_SparseEntryGetResourceOldSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparse() 36 static void BM_SparseEntryGetResourceOldNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparse() 45 static void BM_SparseEntryGetResourceSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparse() 54 static void BM_SparseEntryGetResourceNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparse()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | RenderNodePerfTest.java | 37 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
|
D | PathPerfTest.java | 36 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/util/ |
D | ArraySetPerfTest.java | 43 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/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 59 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
|
D | BackspaceTest.java | 61 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/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 70 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 …]
|
D | PrecomputedTextPerfTest.java | 55 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/services/tests/servicestests/src/com/android/server/display/color/ |
D | ColorDisplayServiceTest.java | 575 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffAfterNight_turnsOff() local 590 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffBeforeNight_turnsOff() local 605 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffDuringNight_turnsOff() local 620 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffInFuture_turnsOff() local 635 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnAfterNight_turnsOn() local 650 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnBeforeNight_turnsOff() local 665 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnDuringNight_turnsOff() local 680 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnInFuture_turnsOff() local 695 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffAfterNight_turnsOff() local 710 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffBeforeNight_turnsOff() local [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneConstantConversions.java | 28 public static int convertCallState(PhoneConstants.State state) { in convertCallState() 43 public static PhoneConstants.State convertCallState(int state) { in convertCallState() 58 public static int convertDataState(PhoneConstants.DataState state) { in convertDataState() 77 public static PhoneConstants.DataState convertDataState(int state) { in convertDataState()
|
/frameworks/base/apct-tests/perftests/core/src/android/perftests/ |
D | SystemPerfTest.java | 46 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/rs/tests/lldb/ |
D | run_tests.py | 380 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/ |
D | Pipeline.java | 37 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()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewPrecomputedTextPerfTest.java | 86 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/ |
D | LoginTest.java | 57 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/ |
D | VoLteServiceStateTest.java | 31 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
|