Home
last modified time | relevance | path

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

12

/work/work-testing/src/main/java/androidx/work/testing/
DTestDriver.java37 void setAllConstraintsMet(@NonNull UUID workSpecId); in setAllConstraintsMet()
47 void setInitialDelayMet(@NonNull UUID workSpecId); in setInitialDelayMet()
57 void setPeriodDelayMet(@NonNull UUID workSpecId); in setPeriodDelayMet()
/work/work-runtime/src/androidTest/java/androidx/work/impl/background/systemalarm/
DAlarmsTest.java55 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testSetAlarm_noPreExistingAlarms() local
66 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testSetAlarm_withPreExistingAlarms() local
81 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testCancelAlarm() local
DSystemAlarmDispatcherTest.java225 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testSchedule() local
241 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testSchedule_whenOriginalWorkDoesNotExist() local
258 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testDelayMet_success() local
276 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testDelayMet_noWorkSpec() local
301 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testDelayMet_withStop() local
330 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testDelayMet_withStopWhenCancelled() local
360 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testDelayMet_withAlwaysRetryWorker() local
400 WorkGenerationalId workSpecId = generationalId(work.getWorkSpec()); in testSchedule_withConstraints() local
439 String workSpecId = work.getStringId(); in testConstraintsChangedMarkedNotScheduled_withNoConstraints() local
/work/work-runtime/src/main/java/androidx/work/impl/
DProcessor.java113 String workSpecId = id.getWorkSpecId(); in startWork() local
192 public void startForeground(@NonNull String workSpecId, in startForeground()
309 public boolean isEnqueued(@NonNull String workSpecId) { in isEnqueued()
340 String workSpecId = id.getWorkSpecId(); in onExecuted() local
355 private @Nullable WorkerWrapper getWorkerWrapperUnsafe(@NonNull String workSpecId) { in getWorkerWrapperUnsafe()
368 public @Nullable WorkSpec getRunningWorkSpec(@NonNull String workSpecId) { in getRunningWorkSpec()
DScheduler.java54 void cancel(@NonNull String workSpecId); in cancel()
DWorkerUpdater.kt43 val workSpecId = newWorkSpec.id in <lambda>() constant
/work/work-runtime/src/main/java/androidx/work/impl/foreground/
DSystemForegroundDispatcher.java261 final String workSpecId = intent.getStringExtra(KEY_WORKSPEC_ID); in handleStartForeground() local
290 String workSpecId = intent.getStringExtra(KEY_WORKSPEC_ID); in handleNotify() local
347 String workSpecId = intent.getStringExtra(KEY_WORKSPEC_ID); in handleCancelWork() local
357 String workSpecId = workSpec.id; in onConstraintsStateChanged() local
397 @NonNull String workSpecId) { in createCancelWorkIntent()
DForegroundProcessor.java37 void startForeground(@NonNull String workSpecId, @NonNull ForegroundInfo foregroundInfo); in startForeground()
/work/work-runtime/src/main/java/androidx/work/impl/utils/
DCancelWorkRunnable.kt97 for (workSpecId in workSpecIds) { in forTag() constant
126 for (workSpecId in workSpecIds) { in forNameInline() constant
148 for (workSpecId in workSpecIds) { in forAll() constant
/work/work-runtime/src/main/java/androidx/work/impl/model/
DWorkName.kt42 @ColumnInfo(name = "work_spec_id") val workSpecId: String constant in androidx.work.impl.model.WorkName
DWorkTag.kt42 @ColumnInfo(name = "work_spec_id") val workSpecId: String constant in androidx.work.impl.model.WorkTag
DDependency.kt48 @ColumnInfo(name = "work_spec_id") val workSpecId: String, constant in androidx.work.impl.model.Dependency
DWorkProgress.kt40 @ColumnInfo(name = "work_spec_id") @PrimaryKey val workSpecId: String, constant in androidx.work.impl.model.WorkProgress
DSystemIdInfo.kt39 @JvmField @ColumnInfo(name = "work_spec_id") val workSpecId: String, constant in androidx.work.impl.model.SystemIdInfo
/work/work-runtime/src/main/java/androidx/work/impl/background/systemalarm/
DDelayMetCommandHandler.java192 String workSpecId = mWorkGenerationalId.getWorkSpecId(); in handleProcessWork() local
227 String workSpecId = mWorkGenerationalId.getWorkSpecId(); in stopWork() local
DSystemAlarmScheduler.java54 public void cancel(@NonNull String workSpecId) { in cancel()
DConstraintsCommandHandler.java87 String workSpecId = workSpec.id; in handleConstraintsChanged() local
DCommandHandler.java95 static Intent createStopWorkIntent(@NonNull Context context, @NonNull String workSpecId) { in createStopWorkIntent()
308 String workSpecId = extras.getString(KEY_WORKSPEC_ID); in handleStopWork() local
/work/work-gcm/src/main/java/androidx/work/impl/background/gcm/
DGcmScheduler.java63 public void cancel(@NonNull String workSpecId) { in cancel()
DWorkManagerGcmDispatcher.java101 String workSpecId = taskParams.getTag(); in onRunTask() local
164 private int reschedule(final @NonNull String workSpecId) { in reschedule()
/work/work-runtime/src/androidTest/java/androidx/work/
DWorkDatabaseMigrationTest.java685 private @NonNull ContentValues contentValuesPre8(String workSpecId) { in contentValuesPre8()
713 private ContentValues contentValuesPre15(String workSpecId) { in contentValuesPre15()
723 private ContentValues contentValuesPre16(String workSpecId) { in contentValuesPre16()
730 private ContentValues contentValuesPre20(String workSpecId) { in contentValuesPre20()
803 private static int queryRequiredNetworkType(SupportSQLiteDatabase db, String workSpecId) { in queryRequiredNetworkType()
814 SupportSQLiteDatabase db, String workSpecId) { in queryContentUris()
/work/work-runtime/src/main/java/androidx/work/impl/background/greedy/
DDelayedWorkTracker.java94 public void unschedule(@NonNull String workSpecId) { in unschedule()
DGreedyScheduler.java211 public void cancel(@NonNull String workSpecId) { in cancel()
/work/work-runtime/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobScheduler.java235 public void cancel(@NonNull String workSpecId) { in cancel()
389 @NonNull String workSpecId) { in getPendingJobIds()
/work/work-runtime/src/androidTest/java/androidx/work/impl/foreground/
DSystemForegroundDispatcherTest.kt164 val workSpecId = WorkGenerationalId("workSpecId", 0) in testStartForeground() constant
176 val workSpecId = WorkGenerationalId("workSpecId", 0) in testNotify() constant

12