Home
last modified time | relevance | path

Searched refs:PRIORITY_DEFAULT (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/window/
DWindowOnBackInvokedDispatcherTest.java19 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/
DOnBackInvokedDispatcher.java44 PRIORITY_DEFAULT,
59 int PRIORITY_DEFAULT = 0; field
DProxyOnBackInvokedDispatcher.java126 if (priority >= PRIORITY_DEFAULT) { in transferCallbacksToDispatcher()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java19 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/
DJobInfo.java286 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/
DPriorityExtractor.java47 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT); in process()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtension.kt82 @Priority @IntRange(from = 0) priority: Int = OnBackInvokedDispatcher.PRIORITY_DEFAULT, in registerOnBackInvokedCallbackOnViewAttached()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DALooper.h50 int32_t priority = PRIORITY_DEFAULT
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetModel.kt325 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/
DFlexibilityControllerTest.java429 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/
DBackActionInteractor.kt139 it.registerOnBackInvokedCallback(OnBackInvokedDispatcher.PRIORITY_DEFAULT, callback) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java99 .setPriority(Notification.PRIORITY_DEFAULT) in createPersistentNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DCredentialPasswordViewBinder.kt81 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackNavigationControllerTests.java445 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/
DWorkLockActivity.java103 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DCreateUserActivity.java90 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java602 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/
DSensorUseStartedActivity.kt140 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
DStylusUsiPowerUI.kt163 .setPriority(NotificationCompat.PRIORITY_DEFAULT) in showOrUpdateNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsEditingActivityTest.kt88 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testBackCallbackRegistrationAndUnregistration()
DControlsFavoritingActivityTest.kt112 eq(OnBackInvokedDispatcher.PRIORITY_DEFAULT), in testBackCallbackRegistrationAndUnregistration()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp42 PRIORITY_DEFAULT); in initializeLooper()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraDeviceCallbacks.cpp48 PRIORITY_DEFAULT); in initializeLooper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsProviderSelectorActivity.kt167 OnBackInvokedDispatcher.PRIORITY_DEFAULT, mOnBackInvokedCallback) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DLegacyScreenshotViewProxy.kt201 OnBackInvokedDispatcher.PRIORITY_DEFAULT, in addPredictiveBackListener()

123