Home
last modified time | relevance | path

Searched refs:setProcState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DScreenPowerCalculatorTest.java67 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_TOP, true, in testMeasuredEnergyBasedModel()
73 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_CACHED_EMPTY, false, in testMeasuredEnergyBasedModel()
76 setProcState(APP_UID2, ActivityManager.PROCESS_STATE_TOP, true, in testMeasuredEnergyBasedModel()
84 setProcState(APP_UID2, ActivityManager.PROCESS_STATE_TOP_SLEEPING, false, in testMeasuredEnergyBasedModel()
156 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_TOP, true, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay()
162 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_CACHED_EMPTY, false, in testMeasuredEnergyBasedModel_multiDisplay()
164 setProcState(APP_UID2, ActivityManager.PROCESS_STATE_TOP, true, in testMeasuredEnergyBasedModel_multiDisplay()
186 setProcState(APP_UID2, ActivityManager.PROCESS_STATE_TOP_SLEEPING, false, in testMeasuredEnergyBasedModel_multiDisplay()
245 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_TOP, true, in testPowerProfileBasedModel()
251 setProcState(APP_UID1, ActivityManager.PROCESS_STATE_CACHED_EMPTY, false, in testPowerProfileBasedModel()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java211 void setSetProcState(int setProcState) { in setSetProcState() argument
212 mSetProcState = setProcState; in setSetProcState()
DProcessStateRecord.java651 void setSetProcState(int setProcState) { in setSetProcState() argument
653 && !ActivityManager.isProcStateCached(setProcState)) { in setSetProcState()
656 mSetProcState = setProcState; in setSetProcState()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java159 .setProcState(procState) in testRecycleLaunchActivityItem()
DTestUtils.java185 LaunchActivityItemBuilder setProcState(int procState) { in setProcState() method in TestUtils.LaunchActivityItemBuilder
DTransactionParcelTests.java200 .setProcState(procState) in testLaunch()