Lines Matching refs:importance

3152          * Constant for {@link #importance}: This process is running the
3159 * Constant for {@link #importance}: This process is running a foreground
3167 * Constant for {@link #importance}: This process is running the foreground
3176 * Constant for {@link #importance}: This process is running something
3186 * Constant for {@link #importance}: {@link #IMPORTANCE_PERCEPTIBLE} had this wrong value
3201 * Constant for {@link #importance}: This process is not something the user
3207 * Constant for {@link #importance}: {@link #IMPORTANCE_CANT_SAVE_STATE} had
3225 * Constant for {@link #importance}: This process is running an
3233 * Constant for {@link #importance}: This process is contains services
3242 * Constant for {@link #importance}: This process process contains
3254 * Constant for {@link #importance}: This process is empty of any
3262 * Constant for {@link #importance}: This process does not exist.
3312 final int importance = procStateToImportance(procState);
3316 switch (importance) {
3323 return importance;
3327 public static int importanceToProcState(@Importance int importance) {
3328 if (importance == IMPORTANCE_GONE) {
3330 } else if (importance >= IMPORTANCE_CACHED) {
3332 } else if (importance >= IMPORTANCE_SERVICE) {
3334 } else if (importance > IMPORTANCE_CANT_SAVE_STATE) {
3336 } else if (importance >= IMPORTANCE_PERCEPTIBLE) {
3338 } else if (importance >= IMPORTANCE_VISIBLE) {
3340 } else if (importance >= IMPORTANCE_TOP_SLEEPING) {
3342 } else if (importance >= IMPORTANCE_FOREGROUND_SERVICE) {
3350 * The relative importance level that the system places on this process.
3354 public @Importance int importance;
3357 * An additional ordering within a particular {@link #importance}
3392 * The reason for {@link #importance}, if any.
3410 * When {@link #importanceReasonPid} is non-0, this is the importance
3422 importance = IMPORTANCE_FOREGROUND;
3444 dest.writeInt(importance);
3460 importance = source.readInt();
3539 * Return the importance of a given package name, based on the processes that are
3540 * currently running. The return value is one of the importance constants defined
3541 * in {@link RunningAppProcessInfo}, giving you the highest importance of all the
3559 * Return the importance of a given uid, based on the processes that are
3560 * currently running. The return value is one of the importance constants defined
3561 * in {@link RunningAppProcessInfo}, giving you the highest importance of all the
3579 * Callback to get reports about changes to the importance of a uid. Use with
3586 * The importance if a given uid has changed. Will be one of the importance
3591 * @param uid The uid whose importance has changed.
3592 * @param importance The new importance value as per {@link RunningAppProcessInfo}.
3594 void onUidImportance(int uid, @RunningAppProcessInfo.Importance int importance);
3600 * @param importanceCutpoint The level of importance in which the caller is interested
3602 * is used here, you will receive a call each time a uids importance transitions between
3637 * Remove an importance listener that was previously registered with
3666 * {@link RunningAppProcessInfo#importance},