Home
last modified time | relevance | path

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

12

/work/work-runtime/src/main/java/androidx/work/impl/background/systemalarm/
DCommandHandler.java72 Intent intent = new Intent(context, SystemAlarmService.class); in createScheduleWorkIntent() local
77 private static Intent writeWorkGenerationalId(@NonNull Intent intent, in writeWorkGenerationalId()
84 static WorkGenerationalId readWorkGenerationalId(@NonNull Intent intent) { in readWorkGenerationalId()
90 Intent intent = new Intent(context, SystemAlarmService.class); in createDelayMetIntent() local
96 Intent intent = new Intent(context, SystemAlarmService.class); in createStopWorkIntent() local
102 Intent intent = new Intent(context, SystemAlarmService.class); in createStopWorkIntent() local
108 Intent intent = new Intent(context, SystemAlarmService.class); in createConstraintsChangedIntent() local
114 Intent intent = new Intent(context, SystemAlarmService.class); in createRescheduleIntent() local
123 Intent intent = new Intent(context, SystemAlarmService.class); in createExecutionCompletedIntent() local
176 void onHandleIntent( in onHandleIntent()
[all …]
DConstraintProxyUpdateReceiver.java68 Intent intent = new Intent(ACTION); in newConstraintProxyUpdateIntent() local
82 public void onReceive(final @NonNull Context context, final @Nullable Intent intent) { in onReceive()
DRescheduleReceiver.java35 public void onReceive(Context context, Intent intent) { in onReceive()
DSystemAlarmService.java56 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
DConstraintProxy.java34 public void onReceive(Context context, Intent intent) { in onReceive()
DSystemAlarmDispatcher.java143 public boolean add(final @NonNull Intent intent, final int startId) { in add()
350 @NonNull Intent intent, in AddRunnable()
DConstraintsCommandHandler.java88 Intent intent = CommandHandler.createDelayMetIntent(mContext, generationalId(workSpec)); in handleConstraintsChanged() local
DDelayMetCommandHandler.java178 Intent intent = CommandHandler.createConstraintsChangedIntent(mContext); in onExecuted() local
/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
DRemoteService.kt177 val intent = Intent(context.applicationContext, RemoteService::class.java) in enqueueIntent() constant
183 val intent = Intent(context.applicationContext, RemoteService::class.java) in enqueueContinuationIntent() constant
189 val intent = Intent(context.applicationContext, RemoteService::class.java) in enqueueUniquePeriodicIntent() constant
195 val intent = Intent(context.applicationContext, RemoteService::class.java) in updateUniquePeriodicIntent() constant
201 val intent = Intent(context.applicationContext, RemoteService::class.java) in cancelWorkByTagIntent() constant
207 val intent = Intent(context.applicationContext, RemoteService::class.java) in cancelAllWorkIntent() constant
213 val intent = Intent(context.applicationContext, RemoteService::class.java) in queryWorkInfoIntent() constant
/work/work-runtime/src/main/java/androidx/work/impl/foreground/
DSystemForegroundDispatcher.java215 void onStartCommand(@NonNull Intent intent) { in onStartCommand()
259 private void handleStartForeground(@NonNull Intent intent) { in handleStartForeground()
284 private void handleNotify(@NonNull Intent intent) { in handleNotify()
337 void handleStop(@NonNull Intent intent) { in handleStop()
345 private void handleCancelWork(@NonNull Intent intent) { in handleCancelWork()
377 Intent intent = new Intent(context, SystemForegroundService.class); in createStartForegroundIntent() local
398 Intent intent = new Intent(context, SystemForegroundService.class); in createCancelWorkIntent() local
419 Intent intent = new Intent(context, SystemForegroundService.class); in createNotifyIntent() local
436 Intent intent = new Intent(context, SystemForegroundService.class); in createStopForegroundIntent() local
/work/work-runtime/src/androidTest/java/androidx/work/impl/foreground/
DSystemForegroundDispatcherTest.kt128 val intent = in testStartForeground_workSpecHasNoConstraints() constant
146 val intent = in testStartForeground_trackConstraints_workSpecHasConstraints() constant
168 val intent = createNotifyIntent(context, workSpecId, metadata) in testStartForeground() constant
180 val intent = createNotifyIntent(context, workSpecId, metadata) in testNotify() constant
380 val intent = in testStartForeground_trackConstraints_constraintsUnMet() constant
400 val intent = in testCancelForegroundWork() constant
425 val intent = in testStopForegroundWork() constant
451 val intent = in testUseRunningWork() constant
469 val intent = in testTimeoutForeground() constant
/work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/
DStorageNotLowTracker.kt32 val intent = appContext.registerReceiver(null, intentFilter) in readSystemState() constant
DBatteryNotLowTracker.kt39 val intent = appContext.registerReceiver(null, intentFilter) in readSystemState() constant
DBatteryChargingTracker.kt38 val intent = appContext.registerReceiver(null, intentFilter) in readSystemState() constant
/work/work-runtime/src/main/java/androidx/work/impl/utils/
DForceStopRunnable.java372 Intent intent = getIntent(context); in getPendingIntent() local
381 Intent intent = new Intent(); in getIntent() local
414 public void onReceive(@NonNull Context context, @Nullable Intent intent) { in onReceive()
DWorkForegroundUpdater.java96 Intent intent = createNotifyIntent(context, generationalId(workSpec), in setForegroundAsync() local
/work/work-multiprocess/src/main/java/androidx/work/multiprocess/
DRemoteWorkManagerService.java45 public @Nullable IBinder onBind(@NonNull Intent intent) { in onBind()
DRemoteWorkerService.java42 public @Nullable IBinder onBind(@NonNull Intent intent) { in onBind()
DListenableWorkerImplClient.java80 Intent intent = new Intent(); in getListenableWorkerImpl() local
/work/work-runtime/src/main/java/androidx/work/impl/diagnostics/
DDiagnosticsReceiver.java41 public void onReceive(@NonNull Context context, @Nullable Intent intent) { in onReceive()
/work/work-runtime/src/androidTest/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcherTest.java226 final Intent intent = CommandHandler.createScheduleWorkIntent(mContext, workSpecId); in testSchedule() local
242 final Intent intent = CommandHandler.createScheduleWorkIntent(mContext, workSpecId); in testSchedule_whenOriginalWorkDoesNotExist() local
259 final Intent intent = CommandHandler.createDelayMetIntent(mContext, workSpecId); in testDelayMet_success() local
277 final Intent intent = CommandHandler.createDelayMetIntent(mContext, workSpecId); in testDelayMet_noWorkSpec() local
776 public boolean add(@NonNull Intent intent, int startId) { in add()
792 private void update(Intent intent) { in update()
/work/work-runtime/src/androidTest/java/androidx/work/impl/constraints/trackers/
DBatteryChargingTrackerTest.java68 Intent intent = new Intent(Intent.ACTION_BATTERY_CHANGED); in createBatteryChangedIntent() local
DBatteryNotLowTrackerTest.java75 Intent intent = new Intent(Intent.ACTION_BATTERY_CHANGED); in createBatteryChangedIntent() local
/work/work-multiprocess/src/androidTest/java/androidx/work/multiprocess/
DRemoteWorkManagerClientTest.kt94 val intent = mock(Intent::class.java) in <lambda>() constant
/work/work-runtime/src/main/java/androidx/work/impl/
DProcessor.java203 Intent intent = createStartForegroundIntent(mAppContext, in startForeground() local
395 Intent intent = createStopForegroundIntent(mAppContext); in stopForegroundService() local

12