Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b61bc8b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "psc: Remove unused methods at ProcessRecordInternal" into main

parents 597d8b1a c322b513
Loading
Loading
Loading
Loading
+0 −26
Original line number Diff line number Diff line
@@ -1256,11 +1256,6 @@ public abstract class ProcessRecordInternal {
        return mCurAdj >= CACHED_APP_MIN_ADJ;
    }

    @GuardedBy("mServiceLock")
    public int getCacheOomRankerUseCount() {
        return mCacheOomRankerUseCount;
    }

    @GuardedBy("mServiceLock")
    public void setSystemNoUi(boolean systemNoUi) {
        mSystemNoUi = systemNoUi;
@@ -1717,27 +1712,6 @@ public abstract class ProcessRecordInternal {
        return mLastCachedTime;
    }

    /**
     * Sets the process memory usage (RSS) and the time it was updated for CacheOomRanker.
     *
     * @param rss The RSS memory usage in bytes.
     * @param rssTimeMs The time in milliseconds since boot when RSS was updated.
     */
    public void setCacheOomRankerRss(long rss, long rssTimeMs) {
        mCacheOomRankerRss = rss;
        mCacheOomRankerRssTimeMs = rssTimeMs;
    }

    @GuardedBy("mServiceLock")
    public long getCacheOomRankerRss() {
        return mCacheOomRankerRss;
    }

    @GuardedBy("mServiceLock")
    public long getCacheOomRankerRssTimeMs() {
        return mCacheOomRankerRssTimeMs;
    }

    /**
     * Lazily initiates and returns the track name for tracing.
     */