Home
last modified time | relevance | path

Searched defs:workSpecId (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DWorkTimer.java57 void startTimer(@NonNull final String workSpecId, in startTimer()
72 void stopTimer(@NonNull final String workSpecId) { in stopTimer()
101 WorkTimerRunnable(@NonNull WorkTimer workTimer, @NonNull String workSpecId) { in WorkTimerRunnable()
125 void onTimeLimitExceeded(@NonNull String workSpecId); in onTimeLimitExceeded()
DCommandHandler.java64 static Intent createScheduleWorkIntent(@NonNull Context context, @NonNull String workSpecId) { in createScheduleWorkIntent()
71 static Intent createDelayMetIntent(@NonNull Context context, @NonNull String workSpecId) { in createDelayMetIntent()
78 static Intent createStopWorkIntent(@NonNull Context context, @NonNull String workSpecId) { in createStopWorkIntent()
99 @NonNull String workSpecId, in createExecutionCompletedIntent()
123 public void onExecuted( in onExecuted()
194 String workSpecId = extras.getString(KEY_WORKSPEC_ID); in handleScheduleWorkIntent() local
234 String workSpecId = extras.getString(KEY_WORKSPEC_ID); in handleDelayMet() local
248 String workSpecId = extras.getString(KEY_WORKSPEC_ID); in handleStopWork() local
285 String workSpecId = extras.getString(KEY_WORKSPEC_ID); in handleExecutionCompleted() local
DAlarms.java57 @NonNull String workSpecId, in setAlarm()
85 @NonNull String workSpecId) { in cancelAlarm()
99 @NonNull String workSpecId, in cancelExactAlarm()
117 @NonNull String workSpecId, in setExactAlarm()
DDelayMetCommandHandler.java65 @NonNull String workSpecId, in DelayMetCommandHandler()
102 public void onExecuted( in onExecuted()
123 public void onTimeLimitExceeded(@NonNull String workSpecId) { in onTimeLimitExceeded()
DConstraintsCommandHandler.java88 String workSpecId = workSpec.id; in handleConstraintsChanged() local
96 String workSpecId = workSpec.id; in handleConstraintsChanged() local
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobService.java59 String workSpecId = params.getTag(); in onStartJob() local
75 String workSpecId = params.getTag(); in onStopJob() local
91 public void onExecuted( in onExecuted()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DCancelWorkRunnable.java47 void cancel(WorkManagerImpl workManagerImpl, String workSpecId) { in cancel()
48 recursivelyCancelWorkAndDependents(workManagerImpl.getWorkDatabase(), workSpecId); in cancel() local
65 private void recursivelyCancelWorkAndDependents(WorkDatabase workDatabase, String workSpecId) { in recursivelyCancelWorkAndDependents()
DStopWorkRunnable.java40 public StopWorkRunnable(WorkManagerImpl workManagerImpl, String workSpecId) { in StopWorkRunnable()
DStartWorkRunnable.java40 String workSpecId, in StartWorkRunnable()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
DAlarmsTest.java64 String workSpecId = work.getStringId(); in testSetAlarm_noPreExistingAlarms() local
75 String workSpecId = work.getStringId(); in testSetAlarm_withPreExistingAlarms() local
90 String workSpecId = work.getStringId(); in testCancelAlarm() local
DSystemAlarmDispatcherTest.java165 String workSpecId = work.getStringId(); in testSchedule() local
179 String workSpecId = work.getStringId(); in testDelayMet_success() local
197 String workSpecId = work.getStringId(); in testDelayMet_withStop() local
222 String workSpecId = work.getStringId(); in testDelayMet_withStopWhenCancelled() local
253 String workSpecId = work.getStringId(); in testSchedule_withConstraints() local
291 String workSpecId = work.getStringId(); in testConstraintsChangedMarkedNotScheduled_withNoConstraints() local
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobService.java64 String workSpecId = extras.getString(SystemJobInfoConverter.EXTRA_WORK_SPEC_ID); in onStartJob() local
112 String workSpecId = params.getExtras().getString(SystemJobInfoConverter.EXTRA_WORK_SPEC_ID); in onStopJob() local
128 public void onExecuted( in onExecuted()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkName.java50 public final String workSpecId; field in WorkName
52 public WorkName(@NonNull String name, @NonNull String workSpecId) { in WorkName()
DDependency.java53 public final String workSpecId; field in Dependency
59 public Dependency(@NonNull String workSpecId, @NonNull String prerequisiteId) { in Dependency()
DWorkTag.java50 public final String workSpecId; field in WorkTag
52 public WorkTag(@NonNull String tag, @NonNull String workSpecId) { in WorkTag()
DSystemIdInfoDao.java46 SystemIdInfo getSystemIdInfo(@NonNull String workSpecId); in getSystemIdInfo()
54 void removeSystemIdInfo(@NonNull String workSpecId); in removeSystemIdInfo()
DSystemIdInfo.java43 public final String workSpecId; field in SystemIdInfo
48 public SystemIdInfo(@NonNull String workSpecId, int systemId) { in SystemIdInfo()
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/
DTestScheduler.java72 public void cancel(@NonNull String workSpecId) { in cancel()
84 void setAllConstraintsMet(@NonNull UUID workSpecId) { in setAllConstraintsMet()
94 public void onExecuted( in onExecuted()
DTestDriver.java39 void setAllConstraintsMet(@NonNull UUID workSpecId); in setAllConstraintsMet()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/
DGreedyScheduler.java94 public synchronized void cancel(@NonNull String workSpecId) { in cancel()
117 public synchronized void onExecuted(@NonNull String workSpecId, in onExecuted()
123 private synchronized void removeConstraintTrackingFor(@NonNull String workSpecId) { in removeConstraintTrackingFor()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/workers/
DConstraintTrackingWorkerTest.java144 String workSpecId = work.getStringId(); in testConstraintTrackingWorker_onConstraintsMet() local
190 String workSpecId = work.getStringId(); in testConstraintTrackingWorker_onConstraintsNotMet() local
235 String workSpecId = work.getStringId(); in testConstraintTrackingWorker_onConstraintsChanged() local
287 String workSpecId = work.getStringId(); in testConstraintTrackingWorker_onConstraintsChangedTwice() local
328 public void onExecuted( in onExecuted()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkerWrapper.java309 private void recursivelyFailWorkAndDependents(String workSpecId) { in recursivelyFailWorkAndDependents()
383 UUID workSpecId = UUID.fromString(workSpec.id); in workerFromWorkSpec() local
407 @NonNull UUID workSpecId, in workerFromClassName()
450 @NonNull String workSpecId) { in Builder()
DExecutionListener.java40 void onExecuted(@NonNull String workSpecId, boolean isSuccessful, boolean needsReschedule); in onExecuted()
DScheduler.java52 void cancel(@NonNull String workSpecId); in cancel()
DProcessor.java164 public synchronized boolean isEnqueued(@NonNull String workSpecId) { in isEnqueued()
189 public synchronized void onExecuted( in onExecuted()

12