Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarUxRestrictionsManagerService.java165 private Map<Integer, CarUxRestrictions> mCurrentUxRestrictions; field in CarUxRestrictionsManagerService
207 mCurrentUxRestrictions = new HashMap<>(); in init()
209 mCurrentUxRestrictions.put(port, createUnrestrictedRestrictions()); in init()
423 if (mCurrentUxRestrictions == null) { in getCurrentUxRestrictions()
693 for (int port : mCurrentUxRestrictions.keySet()) { in dump()
694 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(port); in dump()
813 Objects.requireNonNull(mCurrentUxRestrictions, in handleDispatchUxRestrictionsLocked()
836 mCurrentUxRestrictions.get(port).getActiveRestrictions(), in handleDispatchUxRestrictionsLocked()
844 if (!mCurrentUxRestrictions.containsKey(port)) { in handleDispatchUxRestrictionsLocked()
860 mCurrentUxRestrictions.get(port), newUxRestrictions.get(port)); in handleDispatchUxRestrictionsLocked()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/pm/
H A DCarPackageManagerService.java1709 private CarUxRestrictions mCurrentUxRestrictions; field in CarPackageManagerService.UxRestrictionsListener
1725 mCurrentUxRestrictions = new CarUxRestrictions(restrictions); in onUxRestrictionsChanged()
1733 if (mCurrentUxRestrictions != null in checkIfTopActivityNeedsBlocking()
1734 && mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in checkIfTopActivityNeedsBlocking()
1750 if (mCurrentUxRestrictions == null) { in isRestricted()
1751 mCurrentUxRestrictions = uxRestrictionsService.getCurrentUxRestrictions(); in isRestricted()
1753 if (mCurrentUxRestrictions != null) { in isRestricted()
1754 return mCurrentUxRestrictions.isRequiresDistractionOptimization(); in isRestricted()
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/
H A DWatchdogPerfHandler.java255 private CarUxRestrictions mCurrentUxRestrictions; field in WatchdogPerfHandler
280 mCurrentUxRestrictions = new CarUxRestrictions(restrictions);
329 mCurrentUxRestrictions = uxRestrictions; in init()
1204 if (mCurrentUxRestrictions == null in applyCurrentUxRestrictionsLocked()
1205 || mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in applyCurrentUxRestrictionsLocked()