Home
last modified time | relevance | path

Searched refs:runtimeExtras (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/
DWorker.java124 Extras.RuntimeExtras runtimeExtras = mExtras.getRuntimeExtras(); in getTriggeredContentUris() local
125 return (runtimeExtras == null) ? null : runtimeExtras.triggeredContentUris; in getTriggeredContentUris()
135 Extras.RuntimeExtras runtimeExtras = mExtras.getRuntimeExtras(); in getTriggeredContentAuthorities() local
136 return (runtimeExtras == null) ? null : runtimeExtras.triggeredContentAuthorities; in getTriggeredContentAuthorities()
147 Extras.RuntimeExtras runtimeExtras = mExtras.getRuntimeExtras(); in getNetwork() local
148 return (runtimeExtras == null) ? null : runtimeExtras.network; in getNetwork()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobService.java91 Extras.RuntimeExtras runtimeExtras = null; in onStartJob() local
93 runtimeExtras = new Extras.RuntimeExtras(); in onStartJob()
96 runtimeExtras.triggeredContentUris = params.getTriggeredContentUris(); in onStartJob()
97 runtimeExtras.triggeredContentAuthorities = in onStartJob()
102 runtimeExtras.network = params.getNetwork(); in onStartJob()
106 mWorkManagerImpl.startWork(workSpecId, runtimeExtras); in onStartJob()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DStartWorkRunnable.java41 Extras.RuntimeExtras runtimeExtras) { in StartWorkRunnable() argument
44 mRuntimeExtras = runtimeExtras; in StartWorkRunnable()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DExtras.java47 @Nullable RuntimeExtras runtimeExtras, in Extras() argument
51 mRuntimeExtras = runtimeExtras; in Extras()
DProcessor.java86 public synchronized boolean startWork(String id, Extras.RuntimeExtras runtimeExtras) { in startWork() argument
98 .withRuntimeExtras(runtimeExtras) in startWork()
DWorkerWrapper.java480 public Builder withRuntimeExtras(Extras.RuntimeExtras runtimeExtras) { in withRuntimeExtras() argument
481 mRuntimeExtras = runtimeExtras; in withRuntimeExtras()
DWorkManagerImpl.java491 public void startWork(String workSpecId, Extras.RuntimeExtras runtimeExtras) {
493 new StartWorkRunnable(this, workSpecId, runtimeExtras));
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java641 Extras.RuntimeExtras runtimeExtras = new Extras.RuntimeExtras(); in testFromWorkSpec_hasCorrectRuntimeExtras() local
642 runtimeExtras.triggeredContentAuthorities = new String[]{"tca1", "tca2", "tca3"}; in testFromWorkSpec_hasCorrectRuntimeExtras()
643 runtimeExtras.triggeredContentUris = new Uri[]{Uri.parse("tcu1"), Uri.parse("tcu2")}; in testFromWorkSpec_hasCorrectRuntimeExtras()
648 new Extras(Data.EMPTY, Collections.<String>emptyList(), runtimeExtras, 1)); in testFromWorkSpec_hasCorrectRuntimeExtras()
652 arrayContaining(runtimeExtras.triggeredContentAuthorities)); in testFromWorkSpec_hasCorrectRuntimeExtras()
654 arrayContaining(runtimeExtras.triggeredContentUris)); in testFromWorkSpec_hasCorrectRuntimeExtras()