/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ServiceState.java | 103 public void setMemFactor(int memFactor, long now) { in setMemFactor() argument 105 setRestarting(true, memFactor, now); in setMemFactor() 108 setStarted(true, memFactor, now); in setMemFactor() 111 setBound(true, memFactor, now); in setMemFactor() 114 setExecuting(true, memFactor, now); in setMemFactor() 117 setForeground(true, memFactor, now); in setMemFactor() 283 private void updateRunning(int memFactor, long now) { in updateRunning() argument 286 ? memFactor : STATE_NOTHING; in updateRunning() 299 public void setStarted(boolean started, int memFactor, long now) { in setStarted() argument 304 updateStartedState(memFactor, now); in setStarted() [all …]
|
D | ProcessState.java | 376 public void setState(int state, int memFactor, long now, in setState() argument 380 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState() 382 state = PROCESS_STATE_TO_STATE[state] + (memFactor*STATE_COUNT); in setState() 469 public void incStartedServices(int memFactor, long now, String serviceName) { in incStartedServices() argument 477 mCommonProcess.incStartedServices(memFactor, now, serviceName); in incStartedServices() 481 setCombinedState(STATE_SERVICE_RESTARTING + (memFactor*STATE_COUNT), now); in incStartedServices() 485 public void decStartedServices(int memFactor, long now, String serviceName) { in decStartedServices() argument 493 mCommonProcess.decStartedServices(memFactor, now, serviceName); in decStartedServices()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 149 public boolean setMemFactorLocked(int memFactor, boolean screenOn, long now) { in setMemFactorLocked() argument 150 mMemFactorLowered = memFactor < mLastMemOnlyState; in setMemFactorLocked() 151 mLastMemOnlyState = memFactor; in setMemFactorLocked() 156 memFactor += ProcessStats.ADJ_SCREEN_ON; in setMemFactorLocked() 158 if (memFactor != mProcessStats.mMemFactor) { in setMemFactorLocked() 163 mProcessStats.mMemFactor = memFactor; in setMemFactorLocked() 177 service.setMemFactor(memFactor, now); in setMemFactorLocked()
|
D | ActiveServices.java | 3416 int memFactor = mAm.mProcessStats.getMemFactorLocked(); in bringDownServiceLocked() local 3419 r.tracker.setStarted(false, memFactor, now); in bringDownServiceLocked() 3420 r.tracker.setBound(false, memFactor, now); in bringDownServiceLocked() 3612 int memFactor = mAm.mProcessStats.getMemFactorLocked(); in serviceProcessGoneLocked() local 3614 r.tracker.setExecuting(false, memFactor, now); in serviceProcessGoneLocked() 3615 r.tracker.setForeground(false, memFactor, now); in serviceProcessGoneLocked() 3616 r.tracker.setBound(false, memFactor, now); in serviceProcessGoneLocked() 3617 r.tracker.setStarted(false, memFactor, now); in serviceProcessGoneLocked() 3659 final int memFactor = mAm.mProcessStats.getMemFactorLocked(); in serviceDoneExecutingLocked() local 3661 r.tracker.setExecuting(false, memFactor, now); in serviceDoneExecutingLocked() [all …]
|
D | ServiceRecord.java | 539 public void makeRestarting(int memFactor, long now) { in makeRestarting() argument 551 restartTracker.setRestarting(true, memFactor, now); in makeRestarting()
|
D | ActivityManagerService.java | 17857 final void setProcessTrackerStateLocked(ProcessRecord proc, int memFactor, long now) { in setProcessTrackerStateLocked() argument 17862 procState, memFactor, now, proc.pkgList.mPkgList); in setProcessTrackerStateLocked() 17980 int memFactor; in updateLowMemStateLocked() local 17982 memFactor = mLowMemDetector.getMemFactor(); in updateLowMemStateLocked() 17994 memFactor = ProcessStats.ADJ_MEM_FACTOR_CRITICAL; in updateLowMemStateLocked() 17996 memFactor = ProcessStats.ADJ_MEM_FACTOR_LOW; in updateLowMemStateLocked() 17998 memFactor = ProcessStats.ADJ_MEM_FACTOR_MODERATE; in updateLowMemStateLocked() 18001 memFactor = ProcessStats.ADJ_MEM_FACTOR_NORMAL; in updateLowMemStateLocked() 18007 if (DEBUG_OOM_ADJ) Slog.d(TAG_OOM_ADJ, "oom: memFactor=" + memFactor in updateLowMemStateLocked() 18010 if (memFactor > mLastMemoryLevel) { in updateLowMemStateLocked() [all …]
|