Home
last modified time | relevance | path

Searched refs:isCandidate (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAlarmsAndRemindersDetailPreferenceControllerTest.java64 doReturn(false).when(mController).isCandidate(); in getAvailabilityStatus_notCandidate_shouldReturnUnavailable()
72 doReturn(true).when(mController).isCandidate(); in getAvailabilityStatus_isCandidate_shouldReturnAvailable()
95 mController.isCandidate(); in isCandidate_nullPackageInfo_shouldNotCrash()
DLongBackgroundTasksDetailsPreferenceControllerTest.java69 doReturn(false).when(mController).isCandidate(); in getAvailabilityStatus_notCandidate_shouldReturnUnavailable()
77 doReturn(true).when(mController).isCandidate(); in getAvailabilityStatus_isCandidate_shouldReturnAvailable()
101 mController.isCandidate(); in isCandidate_nullPackageInfo_shouldNotCrash()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAlarmsAndRemindersDetailPreferenceController.java42 return isCandidate() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
61 boolean isCandidate() { in isCandidate() method in AlarmsAndRemindersDetailPreferenceController
DLongBackgroundTasksDetailsPreferenceController.java59 return isCandidate() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
78 boolean isCandidate() { in isCandidate() method in LongBackgroundTasksDetailsPreferenceController
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java568 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in shouldNudgeOutOfIme()
891 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in chooseBestNudgeCandidate()
915 private boolean isCandidate(@NonNull Rect sourceBounds, in isCandidate() method in Navigator
950 return FocusFinder.isCandidate(sourceBounds, nodeBounds, direction); in isCandidate()
DFocusFinder.java126 static boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() method in FocusFinder
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java582 assertFalse(assertMsg, FocusFinder.isCandidate(src, dest, direction)); in assertIsNotCandidate()
598 assertTrue(assertMsg, FocusFinder.isCandidate(src, dest, direction)); in assertDirectionIsCandidate()