Home
last modified time | relevance | path

Searched refs:schedule (Results 1 – 25 of 174) sorted by relevance

1234567

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp247 mDispatch->schedule(cb, in TEST_F()
261 mDispatch->schedule(cb, in TEST_F()
281 mDispatch->schedule(cb, in TEST_F()
317 mDispatch->schedule(cb, {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
334 const auto result = mDispatch->schedule(cb, in TEST_F()
349 mDispatch->schedule(cb, in TEST_F()
363 mDispatch->schedule(cb, in TEST_F()
378 mDispatch->schedule(cb, in TEST_F()
400 mDispatch->schedule(cb, in TEST_F()
435 mDispatch->schedule(cb0, {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
[all …]
DMessageQueueTest.cpp104 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(scheduleResult)); in TEST_F()
121 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(scheduleResult)); in TEST_F()
131 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(scheduleResult)); in TEST_F()
148 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(scheduleResult)); in TEST_F()
177 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timingAfterCallback)) in TEST_F()
192 EXPECT_CALL(*mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(scheduleResult)); in TEST_F()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/
DRequestThrottleTest.kt54 request.schedule() in simpleThrottle()
55 val thread = startThread { request.schedule() } in simpleThrottle()
56 request.schedule() in simpleThrottle()
81 request.schedule() in exceptionInRequest()
82 val thread = startThread { request.schedule() } in exceptionInRequest()
83 request.schedule() in exceptionInRequest()
113 request.schedule() in scheduleWhileRunning()
118 request.schedule() in scheduleWhileRunning()
119 (0..5).map { startThread { request.schedule() } } in scheduleWhileRunning()
141 request.schedule() in backoffRetry()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DFullBackupJobTest.java87 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_afterScheduling_jobExists()
88 FullBackupJob.schedule(mUserTwoId, mContext, 0, mUserBackupManagerService); in testSchedule_afterScheduling_jobExists()
98 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_notWatch_requiresDeviceIdle()
107 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_isWatch_doesNotRequireDeviceIdle()
115 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testCancel_afterCancelling_jobDoesntExist()
116 FullBackupJob.schedule(mUserTwoId, mContext, 0, mUserBackupManagerService); in testCancel_afterCancelling_jobDoesntExist()
127 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_isNoopIfDisabled()
135 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_schedulesJobIfEnabled()
142 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_onlySchedulesForRequestedUser()
150 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testCancel_onlyCancelsForRequestedUser()
[all …]
DKeyValueBackupJobTest.java77 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testSchedule_isNoopIfDisabled()
85 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testSchedule_schedulesJobIfEnabled()
98 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testIsScheduled_afterScheduling_returnsTrue()
99 KeyValueBackupJob.schedule(mUserTwoId, mContext, mUserBackupManagerService); in testIsScheduled_afterScheduling_returnsTrue()
107 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testIsScheduled_afterCancelling_returnsFalse()
108 KeyValueBackupJob.schedule(mUserTwoId, mContext, mUserBackupManagerService); in testIsScheduled_afterCancelling_returnsFalse()
118 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()
126 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()
127 KeyValueBackupJob.schedule(mUserTwoId, mContext, mUserBackupManagerService); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()
/frameworks/native/services/vibratorservice/test/
DVibratorCallbackSchedulerTest.cpp73 mScheduler->schedule(createCallback(1), callbackDuration); in TEST_F()
84 mScheduler->schedule(createCallback(1), 50ms + 2 * TEST_TIMEOUT); in TEST_F()
85 mScheduler->schedule(createCallback(2), 50ms + TEST_TIMEOUT); in TEST_F()
86 mScheduler->schedule(createCallback(3), 50ms); in TEST_F()
95 mScheduler->schedule(createCallback(1), 100ms); in TEST_F()
/frameworks/base/services/core/java/com/android/server/selinux/
DSelinuxAuditLogsService.java78 public static void schedule(Context context) { in schedule() method in SelinuxAuditLogsService
93 propertiesListener.schedule(); in schedule()
154 schedule(); in onPropertiesChanged()
160 schedule(); in onPropertiesChanged()
164 private void schedule() { in schedule() method in SelinuxAuditLogsService.LogsCollectorJobScheduler
171 if (mJobScheduler.schedule( in schedule()
/frameworks/base/core/java/android/service/notification/
DSystemZenRules.java123 @NonNull ScheduleInfo schedule) { in getTriggerDescriptionForScheduleTime() argument
125 String daysSummary = getShortDaysSummary(context, schedule); in getTriggerDescriptionForScheduleTime()
134 timeString(context, schedule.startHour, schedule.startMinute), in getTriggerDescriptionForScheduleTime()
135 timeString(context, schedule.endHour, schedule.endMinute))); in getTriggerDescriptionForScheduleTime()
145 private static String getShortDaysSummary(Context context, @NonNull ScheduleInfo schedule) { in getShortDaysSummary() argument
148 final int[] days = schedule.days; in getShortDaysSummary()
DScheduleCalendar.java55 public void setSchedule(ScheduleInfo schedule) { in setSchedule() argument
56 if (Objects.equals(mSchedule, schedule)) return; in setSchedule()
57 mSchedule = schedule; in setSchedule()
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncModulator.cpp49 VsyncModulator::VsyncConfigOpt VsyncModulator::setTransactionSchedule(TransactionSchedule schedule, in setTransactionSchedule() argument
52 switch (schedule) { in setTransactionSchedule()
78 if (mEarlyWakeupRequests.empty() && schedule == Schedule::EarlyEnd) { in setTransactionSchedule()
84 if (schedule == mTransactionSchedule || mTransactionSchedule == Schedule::EarlyEnd) { in setTransactionSchedule()
87 mTransactionSchedule = schedule; in setTransactionSchedule()
DVsyncSchedule.cpp42 schedule(); in makeVsyncCallback()
49 schedule(); in PredictedVsyncTracer()
53 void schedule() { mRegistration.schedule({0, 0, 0}); } in schedule() function in android::scheduler::VsyncSchedule::PredictedVsyncTracer
DVSyncDispatch.h135 virtual std::optional<ScheduleResult> schedule(CallbackToken token,
179 std::optional<ScheduleResult> schedule(VSyncDispatch::ScheduleTiming scheduleTiming);
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBiasSchedulingTest.java73 mJobScheduler.schedule(job); in testLowerBiasJobPreempted()
81 mJobScheduler.schedule(jobHigher); in testLowerBiasJobPreempted()
105 mJobScheduler.schedule(job); in testHigherBiasJobNotPreempted()
113 mJobScheduler.schedule(jobLower); in testHigherBiasJobNotPreempted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographer.kt38 fun schedule() in schedule() method
79 override fun schedule() { in schedule() method in com.android.systemui.statusbar.notification.collection.NotifPipelineChoreographerImpl
125 override fun schedule() { in schedule() method in com.android.systemui.statusbar.notification.collection.FakeNotifPipelineChoreographer
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java67 public static void schedule(int userId, Context ctx, in schedule() method in KeyValueBackupJob
69 schedule(userId, ctx, 0, userBackupManagerService); in schedule()
72 public static void schedule(int userId, Context ctx, long delay, in schedule() method in KeyValueBackupJob
111 js.schedule(builder.build()); in schedule()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java70 schedule(); in handleMessage()
74 public void schedule() { in schedule() method in CollectorThread.WatchdogHandler
162 mWatchdog.schedule(); in markInteractionStart()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographerTest.kt60 pipelineChoreographer.schedule() in scheduleThenEvalFrameCallback()
79 pipelineChoreographer.schedule() in scheduleThenEvalTimeoutCallback()
96 pipelineChoreographer.schedule() in scheduleThenCancel()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraStatsJobService.java62 public static void schedule(Context context) { in schedule() method in CameraStatsJobService
69 js.schedule(new JobInfo.Builder(CAMERA_REPORTING_JOB_ID, sCameraStatsJobServiceName) in schedule()
/frameworks/base/services/core/java/com/android/server/
DPruneInstantAppsJobService.java38 public static void schedule(Context context) { in schedule() method in PruneInstantAppsJobService
46 jobScheduler.schedule(pruneJob); in schedule()
DZramWriteback.java129 js.schedule(new JobInfo.Builder(WRITEBACK_IDLE_JOB_ID, sZramWriteback) in schedNextWriteback()
178 js.schedule(new JobInfo.Builder(MARK_IDLE_JOB_ID, sZramWriteback) in scheduleZramWriteback()
185 js.schedule(new JobInfo.Builder(WRITEBACK_IDLE_JOB_ID, sZramWriteback) in scheduleZramWriteback()
DPreloadsFileCacheExpirationJobService.java50 public static void schedule(Context context) { in schedule() method in PreloadsFileCacheExpirationJobService
71 jobScheduler.schedule(expirationJob); in schedule()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DReportWatchlistJobService.java62 public static void schedule(Context context) { in schedule() method in ReportWatchlistJobService
66 scheduler.schedule(new JobInfo.Builder(REPORT_WATCHLIST_RECORDS_JOB_ID, in schedule()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DInactiveAssociationsRemovalService.java68 public static void schedule(Context context) { in schedule() method in InactiveAssociationsRemovalService
78 jobScheduler.schedule(job); in schedule()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreIdleJobService.java57 static void schedule(Context context) { in schedule() method in BlobStoreIdleJobService
66 jobScheduler.schedule(job); in schedule()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsCollectorTest.java84 mCollector.schedule(); in throttlePeriod()
91 mCollector.schedule(); // Should be throttled in throttlePeriod()
98 mCollector.schedule(); in throttlePeriod()

1234567