Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DLowPowerStandbyController.java947 StandbyPortsLock standbyPortsLock = new StandbyPortsLock(token, uid, ports); in acquireStandbyPorts() local
953 if (standbyPortsLock.linkToDeath()) { in acquireStandbyPorts()
954 mStandbyPortLocks.add(standbyPortsLock); in acquireStandbyPorts()
978 StandbyPortsLock standbyPortsLock = mStandbyPortLocks.remove(index); in releaseStandbyPorts() local
979 standbyPortsLock.unlinkToDeath(); in releaseStandbyPorts()
980 if (mEnableStandbyPorts && isEnabled() && isPackageExempt(standbyPortsLock.getUid())) { in releaseStandbyPorts()
995 for (StandbyPortsLock standbyPortsLock : mStandbyPortLocks) { in getActiveStandbyPorts()
996 int standbyPortsAppid = UserHandle.getAppId(standbyPortsLock.getUid()); in getActiveStandbyPorts()
998 activeStandbyPorts.addAll(standbyPortsLock.getPorts()); in getActiveStandbyPorts()