/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | BrightnessReasonTest.java | 74 mBrightnessReason.setReason(extremeReason); in setReasonDoesntSetIfModifierIsBeyondExtremes() 78 mBrightnessReason.setReason(extremeReason); in setReasonDoesntSetIfModifierIsBeyondExtremes() 91 brightnessReason.setReason(reason); in getReason()
|
D | BrightnessEventTest.java | 44 mBrightnessEvent.setReason( in setUp() 112 brightnessReason.setReason(reason); in getReason()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStarterTests.java | 328 .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 …]
|
D | ActivityStartControllerTests.java | 97 .setReason("Test") in testRecycling()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | BrightnessReason.java | 75 setReason(other == null ? REASON_UNKNOWN : other.mReason); in set() 157 public void setReason(int reason) { in setReason() method in BrightnessReason
|
D | BrightnessUtils.java | 68 brightnessReason.setReason(brightnessChangeReason); in constructDisplayBrightnessState()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayBrightnessStateTest.java | 52 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/ |
D | FactoryResetterTest.java | 111 () -> 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/ |
D | FallbackBrightnessStrategy.java | 39 brightnessReason.setReason(BrightnessReason.REASON_MANUAL); in updateBrightness()
|
D | OffloadBrightnessStrategy.java | 55 brightnessReason.setReason(BrightnessReason.REASON_OFFLOAD); in updateBrightness()
|
D | AutoBrightnessFallbackStrategy.java | 75 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF_BRIGHTNESS_SENSOR); in updateBrightness()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | TemporaryBrightnessStrategyTest.java | 53 brightnessReason.setReason(BrightnessReason.REASON_TEMPORARY); in testUpdateBrightnessWhenTemporaryBrightnessIsSet()
|
D | BoostBrightnessStrategyTest.java | 53 brightnessReason.setReason(BrightnessReason.REASON_BOOST); in testUpdateBrightnessWhenBoostBrightnessIsRequested()
|
D | DozeBrightnessStrategyTest.java | 50 brightnessReason.setReason(BrightnessReason.REASON_DOZE); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
|
D | OverrideBrightnessStrategyTest.java | 53 brightnessReason.setReason(BrightnessReason.REASON_OVERRIDE); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
|
D | ScreenOffBrightnessStrategyTest.java | 50 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF); in testUpdateBrightnessWhenScreenOffDisplayState()
|
D | FallbackBrightnessStrategyTest.java | 52 brightnessReason.setReason(BrightnessReason.REASON_MANUAL); in updateBrightness_currentBrightnessIsSet()
|
D | FollowerBrightnessStrategyTest.java | 53 brightnessReason.setReason(BrightnessReason.REASON_FOLLOWER); in testUpdateBrightness()
|
D | AutomaticBrightnessStrategyTest.java | 492 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()
|
D | AutoBrightnessFallbackStrategyTest.java | 108 brightnessReason.setReason(BrightnessReason.REASON_SCREEN_OFF_BRIGHTNESS_SENSOR); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
|
D | OffloadBrightnessStrategyTest.java | 64 brightnessReason.setReason(BrightnessReason.REASON_OFFLOAD); in testUpdateBrightnessWhenOffloadBrightnessIsSet()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppStartInfoTracker.java | 276 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()
|
D | AppExitInfoTracker.java | 305 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/ |
D | PresResInstanceInfo.java | 102 public void setReason(String reason) { in setReason() method in PresResInstanceInfo
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | FactoryResetter.java | 199 public Builder setReason(String reason) { in setReason() method in FactoryResetter.Builder
|