Home
last modified time | relevance | path

Searched refs:FLAG_IMPORTANT_WHILE_FOREGROUND (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java207 final boolean allowInIdle = ((task.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) in updateTaskStateLocked()
216 if ((jobStatus.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) { in maybeStartTrackingJobLocked()
225 if ((jobStatus.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) { in maybeStopTrackingJobLocked()
/frameworks/base/core/java/android/app/job/
DJobInfo.java265 public static final int FLAG_IMPORTANT_WHILE_FOREGROUND = 1 << 1; field in JobInfo
600 return (flags & FLAG_IMPORTANT_WHILE_FOREGROUND) != 0; in isImportantWhileForeground()
1492 mFlags |= FLAG_IMPORTANT_WHILE_FOREGROUND; in setImportantWhileForeground()
1494 mFlags &= (~FLAG_IMPORTANT_WHILE_FOREGROUND); in setImportantWhileForeground()
1588 if ((mFlags & FLAG_IMPORTANT_WHILE_FOREGROUND) != 0 && mHasEarlyConstraint) { in build()