Home
last modified time | relevance | path

Searched refs:getReason (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DBrightnessReasonTest.java36 mBrightnessReason = getReason(BrightnessReason.REASON_DOZE, in setUp()
43 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_UNKNOWN); in setSetsAppropriateValues()
47 getReason(BrightnessReason.REASON_BOOST, BrightnessReason.MODIFIER_THROTTLED)); in setSetsAppropriateValues()
48 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_BOOST); in setSetsAppropriateValues()
75 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_DOZE); in setReasonDoesntSetIfModifierIsBeyondExtremes()
79 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_DOZE); in setReasonDoesntSetIfModifierIsBeyondExtremes()
89 private BrightnessReason getReason(int reason, int modifier) { in getReason() method in BrightnessReasonTest
DBrightnessEventTest.java45 getReason(BrightnessReason.REASON_DOZE, BrightnessReason.MODIFIER_LOW_POWER)); in setUp()
110 private BrightnessReason getReason(int reason, int modifier) { in getReason() method in BrightnessEventTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DProximityClassifier.java131 0.5, getReason(longSwipeResult, mPercentNear, mPercentCoveredThreshold)) in calculateFalsingResult()
138 private static String getReason(Result longSwipeResult, float percentNear, in getReason() method in ProximityClassifier
145 longSwipeResult.getReason()); in getReason()
DPointerCountClassifier.java67 ? falsed(1, getReason(allowedPointerCount)) : Result.passed(0); in calculateFalsingResult()
70 private String getReason(int allowedPointerCount) { in getReason() method in PointerCountClassifier
DDoubleTapClassifier.java71 reason.append("First gesture is not a tap. ").append(firstTap.getReason()); in isDoubleTap()
77 reason.append("Second gesture is not a tap. ").append(secondTap.getReason()); in isDoubleTap()
DTypeClassifier.java109 return wrongDirection ? falsed(confidence, getReason(interactionType)) : Result.passed(0.5); in calculateFalsingResult()
112 private String getReason(int interactionType) { in getReason() method in TypeClassifier
DDiagonalClassifier.java91 return falsed ? falsed(0.5f, getReason()) : Result.passed(0.5); in calculateFalsingResult()
94 private String getReason() { in getReason() method in DiagonalClassifier
DDistanceClassifier.java168 return !getPassedFlingThreshold() ? falsed(0.5, getReason()) : Result.passed(0.5); in calculateFalsingResult()
171 String getReason() { in getReason() method in DistanceClassifier
191 return longSwipe ? Result.passed(0.5) : falsed(0.5, getReason()); in isLongSwipe()
DZigZagClassifier.java170 ? falsed(0.5, getReason()) : Result.passed(0.5); in calculateFalsingResult()
173 private String getReason() { in getReason() method in ZigZagClassifier
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricFrameworkStatsLogger.java67 sessionType(operationContext.getReason()), in acquired()
93 sessionType(operationContext.getReason()), in authenticate()
144 sessionType(operationContext.getReason()), in error()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DDisplayBrightnessStrategy.java50 int getReason(); in getReason() method
DDozeBrightnessStrategy.java58 public int getReason() { in getReason() method in DozeBrightnessStrategy
DOverrideBrightnessStrategy.java57 public int getReason() { in getReason() method in OverrideBrightnessStrategy
DInvalidBrightnessStrategy.java56 public int getReason() { in getReason() method in InvalidBrightnessStrategy
DScreenOffBrightnessStrategy.java58 public int getReason() { in getReason() method in ScreenOffBrightnessStrategy
DBoostBrightnessStrategy.java56 public int getReason() { in getReason() method in BoostBrightnessStrategy
DFallbackBrightnessStrategy.java59 public int getReason() { in getReason() method in FallbackBrightnessStrategy
DTemporaryBrightnessStrategy.java85 public int getReason() { in getReason() method in TemporaryBrightnessStrategy
DFollowerBrightnessStrategy.java94 public int getReason() { in getReason() method in FollowerBrightnessStrategy
DOffloadBrightnessStrategy.java103 public int getReason() { in getReason() method in OffloadBrightnessStrategy
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java132 public int getReason() { in getReason() method in CaptureFailure
DCameraAccessException.java107 public final int getReason() { in getReason() method in CameraAccessException
/frameworks/base/telephony/java/android/telephony/ims/
DRcsContactTerminatedReason.java72 public String getReason() { in getReason() method in RcsContactTerminatedReason
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DImeVisibilityStateComputerTest.java266 assertThat(result.getReason()).isEqualTo(SHOW_IME_SCREENSHOT_FROM_IMMS); in testOnInteractiveChanged()
272 assertThat(result.getReason()).isEqualTo(REMOVE_IME_SCREENSHOT_FROM_IMMS); in testOnInteractiveChanged()
298 assertThat(result.getReason()).isEqualTo(HIDE_WHEN_INPUT_TARGET_INVISIBLE); in testOnApplyImeVisibilityFromComputer()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DCaptureFailureWrapper.java40 mReason = captureFailure.getReason(); in CaptureFailureWrapper()

1234