/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 247 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 …]
|
D | MessageQueueTest.cpp | 104 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/ |
D | RequestThrottleTest.kt | 54 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/ |
D | FullBackupJobTest.java | 87 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 …]
|
D | KeyValueBackupJobTest.java | 77 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/ |
D | VibratorCallbackSchedulerTest.cpp | 73 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/ |
D | SelinuxAuditLogsService.java | 78 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/ |
D | SystemZenRules.java | 123 @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()
|
D | ScheduleCalendar.java | 55 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/ |
D | VsyncModulator.cpp | 49 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()
|
D | VsyncSchedule.cpp | 42 schedule(); in makeVsyncCallback() 49 schedule(); in PredictedVsyncTracer() 53 void schedule() { mRegistration.schedule({0, 0, 0}); } in schedule() function in android::scheduler::VsyncSchedule::PredictedVsyncTracer
|
D | VSyncDispatch.h | 135 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/ |
D | BiasSchedulingTest.java | 73 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/ |
D | NotifPipelineChoreographer.kt | 38 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/ |
D | KeyValueBackupJob.java | 67 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/ |
D | CollectorThread.java | 70 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/ |
D | NotifPipelineChoreographerTest.kt | 60 pipelineChoreographer.schedule() in scheduleThenEvalFrameCallback() 79 pipelineChoreographer.schedule() in scheduleThenEvalTimeoutCallback() 96 pipelineChoreographer.schedule() in scheduleThenCancel()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraStatsJobService.java | 62 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/ |
D | PruneInstantAppsJobService.java | 38 public static void schedule(Context context) { in schedule() method in PruneInstantAppsJobService 46 jobScheduler.schedule(pruneJob); in schedule()
|
D | ZramWriteback.java | 129 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()
|
D | PreloadsFileCacheExpirationJobService.java | 50 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/ |
D | ReportWatchlistJobService.java | 62 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/ |
D | InactiveAssociationsRemovalService.java | 68 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/ |
D | BlobStoreIdleJobService.java | 57 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/ |
D | PowerStatsCollectorTest.java | 84 mCollector.schedule(); in throttlePeriod() 91 mCollector.schedule(); // Should be throttled in throttlePeriod() 98 mCollector.schedule(); in throttlePeriod()
|