/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowOnBackInvokedDispatcherTest.java | 19 import static android.window.OnBackInvokedDispatcher.PRIORITY_DEFAULT; 147 .mOnBackInvokedCallbacks.get(PRIORITY_DEFAULT); in assertCallbacksSize() 163 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback1); in registerCallback_samePriority_sameCallback() 169 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback1); in registerCallback_samePriority_sameCallback() 181 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback1); in registerCallback_samePriority_differentCallback() 187 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback2); in registerCallback_samePriority_differentCallback() 206 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback1); in registerCallback_differentPriority_sameCallback() 224 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback2); in registerCallback_differentPriority_differentCallback() 242 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback2); in registerCallback_sameInstanceAddedTwice() 247 mDispatcher.registerOnBackInvokedCallback(PRIORITY_DEFAULT, mCallback1); in registerCallback_sameInstanceAddedTwice() [all …]
|
/frameworks/base/core/java/android/window/ |
D | OnBackInvokedDispatcher.java | 44 PRIORITY_DEFAULT, 59 int PRIORITY_DEFAULT = 0; field
|
D | ProxyOnBackInvokedDispatcher.java | 126 if (priority >= PRIORITY_DEFAULT) { in transferCallbacksToDispatcher()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | FlexibilityController.java | 19 import static android.app.job.JobInfo.PRIORITY_DEFAULT; 497 && js.getEffectivePriority() >= PRIORITY_DEFAULT) in isFlexibilitySatisfiedLocked() 499 || (js.getEffectivePriority() >= PRIORITY_DEFAULT in isFlexibilitySatisfiedLocked() 1193 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put(PRIORITY_DEFAULT, 12 * HOUR_IN_MILLIS); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put() argument 1198 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put(PRIORITY_DEFAULT, 3); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put() argument 1206 .put(PRIORITY_DEFAULT, 2 * MINUTE_IN_MILLIS); in put() argument 1216 .put(PRIORITY_DEFAULT, new int[]{50, 60, 70, 80}); in put() argument 1425 final int[] oldDefault = into.get(PRIORITY_DEFAULT); in parsePercentToDropKeyValueString() 1434 String.valueOf(PRIORITY_DEFAULT), null)); in parsePercentToDropKeyValueString() 1442 into.put(PRIORITY_DEFAULT, in parsePercentToDropKeyValueString() [all …]
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 286 public static final int PRIORITY_DEFAULT = 300; field in JobInfo 317 PRIORITY_DEFAULT, 1249 private int mPriority = PRIORITY_DEFAULT; 2037 if (mPriority == PRIORITY_DEFAULT) { in setExpedited() 2046 mPriority = PRIORITY_DEFAULT; in setExpedited() 2096 if (mPriority == PRIORITY_DEFAULT) { in setUserInitiated() 2105 mPriority = PRIORITY_DEFAULT; in setUserInitiated() 2136 if (mPriority == PRIORITY_DEFAULT) { in setImportantWhileForeground() 2146 mPriority = PRIORITY_DEFAULT; in setImportantWhileForeground() 2350 if (mPriority != PRIORITY_HIGH && mPriority != PRIORITY_DEFAULT) { in enforceValidity() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PriorityExtractor.java | 47 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT); in process()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
D | OnBackAnimationCallbackExtension.kt | 82 @Priority @IntRange(from = 0) priority: Int = OnBackInvokedDispatcher.PRIORITY_DEFAULT, in registerOnBackInvokedCallbackOnViewAttached()
|
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/ |
D | ALooper.h | 50 int32_t priority = PRIORITY_DEFAULT
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/ |
D | GetModel.kt | 325 p0.rawCredentialType, CredentialOption.PRIORITY_DEFAULT in isBiometricFlow() 328 p1.rawCredentialType, CredentialOption.PRIORITY_DEFAULT in isBiometricFlow()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | FlexibilityControllerTest.java | 429 assertEquals(DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.get(JobInfo.PRIORITY_DEFAULT), in testOnConstantsUpdated_FallbackDeadline() 462 .get(JobInfo.PRIORITY_DEFAULT), in testOnConstantsUpdated_PercentsToDropConstraints() 527 assertArrayEquals(defaultPercentsToDrop.get(JobInfo.PRIORITY_DEFAULT), in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues() 528 percentsToDrop.get(JobInfo.PRIORITY_DEFAULT)); in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues() 831 createJobStatus("time", createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT)), in testGetLifeCycleEndElapsedLocked_NonPrefetch() 894 createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT)); in testGetLifeCycleEndElapsedLocked_ScoreAddition() 929 createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT)), in testGetLifeCycleEndElapsedLocked_ScoreAddition() 1119 createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT)); in testAllowlistedAppBypass() 1173 createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT), carrier1Pkg1); in testCarrierPrivilegedAppBypass() 1181 createJob(0).setPriority(JobInfo.PRIORITY_DEFAULT), carrier1Pkg2); in testCarrierPrivilegedAppBypass() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/back/domain/interactor/ |
D | BackActionInteractor.kt | 139 it.registerOnBackInvokedCallback(OnBackInvokedDispatcher.PRIORITY_DEFAULT, callback) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestSessionNotification.java | 99 .setPriority(Notification.PRIORITY_DEFAULT) in createPersistentNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | CredentialPasswordViewBinder.kt | 81 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in <lambda>()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackNavigationControllerTests.java | 445 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in backInfoWindowWithNoActivity() 466 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in backInfoWithAnimationCallback() 567 dispatcher.registerOnBackInvokedCallback(OnBackInvokedDispatcher.PRIORITY_DEFAULT, in testUnregisterCallbacksWithSystemCallback() 607 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in backInfoWindowWithoutDrawn() 727 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in withAppCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 103 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | CreateUserActivity.java | 90 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManagerTest.java | 602 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testPredictiveBackCallback_registration() 617 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testPredictiveBackCallback_invocationHidesBouncer() 637 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer() 655 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testPredictiveBackCallback_forwardsBackDispatches()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
D | SensorUseStartedActivity.kt | 140 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusUsiPowerUI.kt | 163 .setPriority(NotificationCompat.PRIORITY_DEFAULT) in showOrUpdateNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsEditingActivityTest.kt | 88 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testBackCallbackRegistrationAndUnregistration()
|
D | ControlsFavoritingActivityTest.kt | 112 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testBackCallbackRegistrationAndUnregistration()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraDeviceCallbacks.cpp | 42 PRIORITY_DEFAULT); in initializeLooper()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | AidlCameraDeviceCallbacks.cpp | 48 PRIORITY_DEFAULT); in initializeLooper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsProviderSelectorActivity.kt | 167 OnBackInvokedDispatcher.PRIORITY_DEFAULT, mOnBackInvokedCallback) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | LegacyScreenshotViewProxy.kt | 201 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in addPredictiveBackListener()
|