Home
last modified time | relevance | path

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

12345678910>>...52

/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java59 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getValue() local
68 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getFrameworkValue() local
78 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getValueString() local
87 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getFrameworkStringValue() local
96 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getValueManyConfigurations() local
106 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getText() local
115 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getFont() local
123 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getString() local
131 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getQuantityString() local
139 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getQuantityText() local
[all …]
DOverlayManagerPerfTest.java125 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in setEnabledWarmCache() local
139 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in setEnabledColdCacheSmallOverlay() local
154 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in setEnabledColdCacheLargeOverlay() local
169 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in setEnabledDisable() local
184 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getStringOneSmallOverlay() local
197 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getStringOneLargeOverlay() local
214 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getStringTenOverlays() local
227 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in getStringLargeTenOverlays() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java77 SimSlotState state = SimSlotState.getCurrentState(); in testEmptySlots() local
91 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_nullSlot() local
105 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_inactiveSlot() local
119 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_noSimCard() local
134 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCard() local
149 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInErrorState() local
164 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInRestrictedState() local
180 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithNullCard() local
195 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithoutProfile() local
210 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithProfile() local
[all …]
DServiceStateStatsTest.java125 CellularServiceState state = captor.getValue(); in conclude_inService() local
156 CellularServiceState state = captor.getValue(); in conclude_outOfService() local
223 CellularServiceState state = captor.getValue(); in conclude_noSimCardEmergencyOnly() local
256 CellularServiceState state = captor.getValue(); in conclude_noSimCardOutOfService() local
286 CellularServiceState state = captor.getAllValues().get(0); in conclude_longOnGoingServiceState() local
323 CellularServiceState state = captor.getValue(); in update_sameRats() local
358 CellularServiceState state = serviceStateCaptor.getAllValues().get(0); in update_differentDataRats() local
408 CellularServiceState state = captor.getAllValues().get(0); in update_differentVoiceRats() local
446 CellularServiceState state = captor.getValue(); in update_iwlanButNotWifiCalling() local
485 CellularServiceState state = captor.getAllValues().get(0); in update_endc() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileViewImplTest.kt65 val state = QSTile.State() in testSecondaryLabelNotModified_unavailable() constant
77 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanInactive() constant
89 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanActive() constant
101 val state = QSTile.State() in testSecondaryLabelNotModified_availableNotBoolean_inactive() constant
112 val state = QSTile.State() in testSecondaryLabelNotModified_availableNotBoolean_active() constant
123 val state = QSTile.State() in testSecondaryLabelDescription_unavailable_default() constant
136 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanInactive_default() constant
149 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanActive_default() constant
162 val state = QSTile.BooleanState() in testShowCustomDrawableViewBooleanState() constant
173 val state = QSTile.State() in testShowCustomDrawableViewNonBooleanState() constant
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageVerificationStateTest.java31 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_OnlyRequiredVerifier_AllowedInstall() local
47 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall() local
63 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall() local
89 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall() local
115 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_RequiredAndTwoSufficient_OneSufficientIsEnough() local
142 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_RequiredAndTwoSufficient_SecondSufficientIsEnough() local
174 PackageVerificationState state = new PackageVerificationState(null); in testPackageVerificationState_RequiredAndTwoSufficient_RequiredOverrides() local
213 PackageVerificationState state = new PackageVerificationState(null); in testAreAllVerificationsComplete_onlyVerificationPasses() local
223 PackageVerificationState state = new PackageVerificationState(null); in testAreAllVerificationsComplete_onlyIntegrityCheckPasses() local
233 PackageVerificationState state = new PackageVerificationState(null); in testAreAllVerificationsComplete_bothPasses() local
[all …]
/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
DVibratorPerfTest.java47 final BenchmarkState state = mBenchmarkRule.getState(); in testEffectClick() local
55 final BenchmarkState state = mBenchmarkRule.getState(); in testOneShot() local
64 final BenchmarkState state = mBenchmarkRule.getState(); in testWaveform() local
73 final BenchmarkState state = mBenchmarkRule.getState(); in testCompose() local
85 final BenchmarkState state = mBenchmarkRule.getState(); in testAreEffectsSupported() local
94 final BenchmarkState state = mBenchmarkRule.getState(); in testArePrimitivesSupported() local
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaTranscoderBenchmark.cpp106 static void TranscodeMediaFile(benchmark::State& state, const std::string& srcFileName, in TranscodeMediaFile()
250 static void TranscodeMediaFile(benchmark::State& state, const std::string& srcFileName, in TranscodeMediaFile()
276 static void BM_TranscodeAvc2AvcAudioVideo2AudioVideo(benchmark::State& state) { in BM_TranscodeAvc2AvcAudioVideo2AudioVideo()
282 static void BM_TranscodeAvc2AvcVideo2Video(benchmark::State& state) { in BM_TranscodeAvc2AvcVideo2Video()
288 static void BM_TranscodeAvc2AvcAV2AVMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AVMaxOperatingRate()
294 static void BM_TranscodeAvc2AvcV2VMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcV2VMaxOperatingRate()
300 static void BM_TranscodeAvc2AvcAV2AV720P(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AV720P()
306 static void BM_TranscodeAvc2AvcAV2AV720PMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AV720PMaxOperatingRate()
313 static void BM_TranscodeHevc2AvcAudioVideo2AudioVideo(benchmark::State& state) { in BM_TranscodeHevc2AvcAudioVideo2AudioVideo()
319 static void BM_TranscodeHevc2AvcVideo2Video(benchmark::State& state) { in BM_TranscodeHevc2AvcVideo2Video()
[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/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 …]
DCursorWindow_bench.cpp23 static void BM_CursorWindowWrite(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowWrite()
39 static void BM_CursorWindowWrite4x4(benchmark::State& state) { in BM_CursorWindowWrite4x4()
44 static void BM_CursorWindowWrite1Kx4(benchmark::State& state) { in BM_CursorWindowWrite1Kx4()
49 static void BM_CursorWindowWrite16Kx4(benchmark::State& state) { in BM_CursorWindowWrite16Kx4()
54 static void BM_CursorWindowRead(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowRead()
71 static void BM_CursorWindowRead4x4(benchmark::State& state) { in BM_CursorWindowRead4x4()
76 static void BM_CursorWindowRead1Kx4(benchmark::State& state) { in BM_CursorWindowRead1Kx4()
81 static void BM_CursorWindowRead16Kx4(benchmark::State& state) { in BM_CursorWindowRead16Kx4()
/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/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/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 …]
/frameworks/native/services/powermanager/benchmarks/
DPowerHalControllerBenchmarks.cpp44 static void runBenchmark(benchmark::State& state, HalResult<T> (PowerHalController::*fn)(Args0...), in runBenchmark()
56 static void runCachedBenchmark(benchmark::State& state, in runCachedBenchmark()
74 static void BM_PowerHalControllerBenchmarks_init(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_init()
81 static void BM_PowerHalControllerBenchmarks_initCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_initCached()
91 static void BM_PowerHalControllerBenchmarks_setBoost(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setBoost()
96 static void BM_PowerHalControllerBenchmarks_setBoostCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setBoostCached()
101 static void BM_PowerHalControllerBenchmarks_setMode(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setMode()
106 static void BM_PowerHalControllerBenchmarks_setModeCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setModeCached()
DPowerHalAidlBenchmarks.cpp64 static void runBenchmark(benchmark::State& state, microseconds delay, R (IPower::*fn)(Args0...), in runBenchmark()
91 static void runSessionBenchmark(benchmark::State& state, R (IPowerHintSession::*fn)(Args0...), in runSessionBenchmark()
131 static void BM_PowerHalAidlBenchmarks_isBoostSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isBoostSupported()
137 static void BM_PowerHalAidlBenchmarks_isModeSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isModeSupported()
143 static void BM_PowerHalAidlBenchmarks_setBoost(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setBoost()
148 static void BM_PowerHalAidlBenchmarks_setMode(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setMode()
153 static void BM_PowerHalAidlBenchmarks_createHintSession(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_createHintSession()
181 static void BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate()
186 static void BM_PowerHalAidlBenchmarks_updateTargetWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_updateTargetWorkDuration()
191 static void BM_PowerHalAidlBenchmarks_reportActualWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_reportActualWorkDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java575 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/
DPhoneConstantConversions.java28 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/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt139 val state = PlaybackState.Builder().run { in updateDurationWithPlayback() constant
178 val state = PlaybackState.Builder().run { in updateDurationNegative() constant
199 val state = PlaybackState.Builder().run { in updateDurationZero() constant
216 val state = PlaybackState.Builder().run { in updateDurationNoMetadata() constant
231 val state = PlaybackState.Builder().run { in updateElapsedTime() constant
246 val state = PlaybackState.Builder().run { in updateSeekAvailable() constant
261 val state = PlaybackState.Builder().run { in updateSeekNotAvailable() constant
417 val state = PlaybackState.Builder().run { in queuePollTaskWhenPlaying() constant
431 val state = PlaybackState.Builder().run { in noQueuePollTaskWhenStopped() constant
451 val state = PlaybackState.Builder().run { in queuePollTaskWhenListening() constant
[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

12345678910>>...52