Searched refs:mCurrentUxRestrictions (Results 1 – 3 of 3) sorted by relevance
165 private Map<Integer, CarUxRestrictions> mCurrentUxRestrictions; field in CarUxRestrictionsManagerService207 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 …]
1709 private CarUxRestrictions mCurrentUxRestrictions; field in CarPackageManagerService.UxRestrictionsListener1725 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()
255 private CarUxRestrictions mCurrentUxRestrictions; field in WatchdogPerfHandler280 mCurrentUxRestrictions = new CarUxRestrictions(restrictions);329 mCurrentUxRestrictions = uxRestrictions; in init()1204 if (mCurrentUxRestrictions == null in applyCurrentUxRestrictionsLocked()1205 || mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in applyCurrentUxRestrictionsLocked()