Home
last modified time | relevance | path

Searched refs:setReason (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DBrightnessReasonTest.java74 mBrightnessReason.setReason(extremeReason); in setReasonDoesntSetIfModifierIsBeyondExtremes()
78 mBrightnessReason.setReason(extremeReason); in setReasonDoesntSetIfModifierIsBeyondExtremes()
91 brightnessReason.setReason(reason); in getReason()
DBrightnessEventTest.java44 mBrightnessEvent.setReason( in setUp()
112 brightnessReason.setReason(reason); in getReason()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java328 .setReason("testLaunchActivityPermissionDenied") in verifyStartActivityPreconditionsUntracked()
346 .setReason("testLaunchActivityPermissionDenied") in verifyStartActivityPreconditionsUntracked()
469 .setReason("testCreateTaskLayout") in testCreateTaskLayout()
500 final int result = starter.setReason("testSplitScreenDeliverToTop").execute(); in testSplitScreenDeliverToTop()
528 final int result = starter.setReason("testSplitScreenMoveToFront").execute(); in testSplitScreenTaskToFront()
575 final int result = starter.setReason("testDesktopModeDeliverToTop").execute(); in testDesktopModeDeliverToTop()
603 final int result = starter.setReason("testDesktopModeMoveToFront").execute(); in testDesktopModeTaskToFront()
650 final int result = starter.setReason("testMoveVisibleTaskToFront").execute(); in testMoveVisibleTaskToFront()
670 final int result = starter.setReason("testTaskModeViolation").execute(); in testTaskModeViolation()
691 starter.setReason("testActivityStartsLogging_noLoggingWhenDisabled").execute(); in testActivityStartsLogging_noLoggingWhenDisabled()
[all …]
DActivityStartControllerTests.java97 .setReason("Test") in testRecycling()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessReason.java75 setReason(other == null ? REASON_UNKNOWN : other.mReason); in set()
157 public void setReason(int reason) { in setReason() method in BrightnessReason
DBrightnessUtils.java68 brightnessReason.setReason(brightnessChangeReason); in constructDisplayBrightnessState()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayBrightnessStateTest.java52 brightnessReason.setReason(BrightnessReason.REASON_AUTOMATIC); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()
76 reason.setReason(BrightnessReason.REASON_MANUAL); in testFrom()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/
DFactoryResetterTest.java111 () -> FactoryResetter.newBuilder(mContext).setReason(null)); in testFactoryResetBuilder_nullReason()
196 .setReason(REASON) in testFactoryReset_allArgs()
238 .setReason(REASON) in testFactoryReset_allArgs_safetyChecker_replied()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DFallbackBrightnessStrategy.java39 brightnessReason.setReason(BrightnessReason.REASON_MANUAL); in updateBrightness()
DOffloadBrightnessStrategy.java55 brightnessReason.setReason(BrightnessReason.REASON_OFFLOAD); in updateBrightness()
DAutoBrightnessFallbackStrategy.java75 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF_BRIGHTNESS_SENSOR); in updateBrightness()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DTemporaryBrightnessStrategyTest.java53 brightnessReason.setReason(BrightnessReason.REASON_TEMPORARY); in testUpdateBrightnessWhenTemporaryBrightnessIsSet()
DBoostBrightnessStrategyTest.java53 brightnessReason.setReason(BrightnessReason.REASON_BOOST); in testUpdateBrightnessWhenBoostBrightnessIsRequested()
DDozeBrightnessStrategyTest.java50 brightnessReason.setReason(BrightnessReason.REASON_DOZE); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
DOverrideBrightnessStrategyTest.java53 brightnessReason.setReason(BrightnessReason.REASON_OVERRIDE); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
DScreenOffBrightnessStrategyTest.java50 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF); in testUpdateBrightnessWhenScreenOffDisplayState()
DFallbackBrightnessStrategyTest.java52 brightnessReason.setReason(BrightnessReason.REASON_MANUAL); in updateBrightness_currentBrightnessIsSet()
DFollowerBrightnessStrategyTest.java53 brightnessReason.setReason(BrightnessReason.REASON_FOLLOWER); in testUpdateBrightness()
DAutomaticBrightnessStrategyTest.java492 brightnessReason.setReason(BrightnessReason.REASON_AUTOMATIC); in updateBrightness_constructsDisplayBrightnessState_withAdjustmentAutoAdjustmentFlag()
534 brightnessReason.setReason(BrightnessReason.REASON_AUTOMATIC); in updateBrightness_constructsDisplayBrightnessState_withAdjustmentTempAdjustmentFlag()
583 brightnessReason.setReason(BrightnessReason.REASON_AUTOMATIC); in updateBrightness_constructsDisplayBrightnessState_withNoAdjustmentFlag_isSlowChange()
623 brightnessReason.setReason(BrightnessReason.REASON_AUTOMATIC); in updateBrightness_autoBrightnessNotApplied_noAdjustments_isNotSlowChange()
DAutoBrightnessFallbackStrategyTest.java108 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF_BRIGHTNESS_SENSOR); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
DOffloadBrightnessStrategyTest.java64 brightnessReason.setReason(BrightnessReason.REASON_OFFLOAD); in testUpdateBrightnessWhenOffloadBrightnessIsSet()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java276 start.setReason(ApplicationStartInfo.START_REASON_LAUNCHER); in onIntentStarted()
278 start.setReason(ApplicationStartInfo.START_REASON_START_ACTIVITY); in onIntentStarted()
407 start.setReason(serviceRecord.permission != null in handleProcessServiceStart()
432 start.setReason(ApplicationStartInfo.START_REASON_ALARM); in handleProcessBroadcastStart()
434 start.setReason(ApplicationStartInfo.START_REASON_BROADCAST); in handleProcessBroadcastStart()
453 start.setReason(ApplicationStartInfo.START_REASON_CONTENT_PROVIDER); in handleProcessContentProviderStart()
471 start.setReason(ApplicationStartInfo.START_REASON_BACKUP); in handleProcessBackupStart()
DAppExitInfoTracker.java305 raw.setReason(reason); in scheduleNoteAppKill()
315 raw.setReason(ApplicationExitInfo.REASON_CRASH_NATIVE); in scheduleNoteAppRecoverableCrash()
425 info.setReason(raw.getReason()); in handleNoteAppKillLocked()
495 info.setReason(ApplicationExitInfo.REASON_EXIT_SELF); in updateExistingExitInfoRecordLocked()
500 info.setReason(ApplicationExitInfo.REASON_SIGNALED); in updateExistingExitInfoRecordLocked()
509 info.setReason(reason); in updateExistingExitInfoRecordLocked()
1043 info.setReason(ApplicationExitInfo.REASON_UNKNOWN); in obtainRawRecord()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java102 public void setReason(String reason) { in setReason() method in PresResInstanceInfo
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DFactoryResetter.java199 public Builder setReason(String reason) { in setReason() method in FactoryResetter.Builder

12