Searched refs:mCurrentUxRestrictions (Results 1 – 3 of 3) sorted by relevance
221 private SparseArray<CarUxRestrictions> mCurrentUxRestrictions; field in CarUxRestrictionsManagerService288 mCurrentUxRestrictions.put(displayId, unrestrictedRestrictions);299 mCurrentUxRestrictions.remove(displayId);331 mCurrentUxRestrictions = new SparseArray<>(8); in init()340 mCurrentUxRestrictions.put(displayId, unrestrictedRestrictions); in init()559 if (mCurrentUxRestrictions == null) { in getCurrentUxRestrictions()568 restrictions = mCurrentUxRestrictions.get(displayId); in getCurrentUxRestrictions()861 for (int i = 0; i < mCurrentUxRestrictions.size(); i++) { in dump()862 writer.printf("Display id: %d UXR: %s\n", mCurrentUxRestrictions.keyAt(i), in dump()863 mCurrentUxRestrictions.valueAt(i)); in dump()[all …]
2098 private CarUxRestrictions mCurrentUxRestrictions; field in CarPackageManagerService.UxRestrictionsListener2118 mCurrentUxRestrictions = new CarUxRestrictions(restrictions); in onUxRestrictionsChanged()2119 shouldCheck = mCurrentUxRestrictions.isRequiresDistractionOptimization(); in onUxRestrictionsChanged()2138 if (mCurrentUxRestrictions == null) { in isRestricted()2139 mCurrentUxRestrictions = uxRestrictionsService.getCurrentUxRestrictions( in isRestricted()2142 if (mCurrentUxRestrictions != null) { in isRestricted()2143 return mCurrentUxRestrictions.isRequiresDistractionOptimization(); in isRestricted()
291 private CarUxRestrictions mCurrentUxRestrictions; field in WatchdogPerfHandler310 mCurrentUxRestrictions = new CarUxRestrictions(restrictions);364 mCurrentUxRestrictions = uxRestrictions; in init()1482 if (mCurrentUxRestrictions == null in applyCurrentUxRestrictionsLocked()1483 || mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in applyCurrentUxRestrictionsLocked()