Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java465 final ProcessRecord clientApp = addProcessRecord( in performTestServiceDistinctBindingOomAdj() local
484 if (clientAppFixer != null) clientAppFixer.accept(clientApp); in performTestServiceDistinctBindingOomAdj()
489 clientApp.getThread(), // caller in performTestServiceDistinctBindingOomAdj()
502 if (clientApp.isFreezable()) { in performTestServiceDistinctBindingOomAdj()
505 .freezeAppAsyncAtEarliestLSP(eq(clientApp)); in performTestServiceDistinctBindingOomAdj()
515 removeProcessRecord(clientApp); in performTestServiceDistinctBindingOomAdj()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java5965 private int getServiceBindingOomAdjPolicyForAddLocked(ProcessRecord clientApp, in getServiceBindingOomAdjPolicyForAddLocked() argument
5968 if (Flags.serviceBindingOomAdjPolicy() && clientApp != null && hostApp != null) { in getServiceBindingOomAdjPolicyForAddLocked()
5969 if (clientApp == hostApp) { in getServiceBindingOomAdjPolicyForAddLocked()
5971 } else if (clientApp.isCached()) { in getServiceBindingOomAdjPolicyForAddLocked()
5973 if (clientApp.isFreezable()) { in getServiceBindingOomAdjPolicyForAddLocked()
5981 if (!mAm.mOomAdjuster.evaluateServiceConnectionAdd(clientApp, hostApp, cr)) { in getServiceBindingOomAdjPolicyForAddLocked()
5991 private int getServiceBindingOomAdjPolicyForRemovalLocked(ProcessRecord clientApp, in getServiceBindingOomAdjPolicyForRemovalLocked() argument
5994 if (Flags.serviceBindingOomAdjPolicy() && clientApp != null && hostApp != null in getServiceBindingOomAdjPolicyForRemovalLocked()
5996 if (clientApp == hostApp) { in getServiceBindingOomAdjPolicyForRemovalLocked()
5999 if (!mAm.mOomAdjuster.evaluateServiceConnectionRemoval(clientApp, hostApp, cr)) { in getServiceBindingOomAdjPolicyForRemovalLocked()