Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java221 private SparseArray<CarUxRestrictions> mCurrentUxRestrictions; field in CarUxRestrictionsManagerService
288 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 …]
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java2098 private CarUxRestrictions mCurrentUxRestrictions; field in CarPackageManagerService.UxRestrictionsListener
2118 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()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java291 private CarUxRestrictions mCurrentUxRestrictions; field in WatchdogPerfHandler
310 mCurrentUxRestrictions = new CarUxRestrictions(restrictions);
364 mCurrentUxRestrictions = uxRestrictions; in init()
1482 if (mCurrentUxRestrictions == null in applyCurrentUxRestrictionsLocked()
1483 || mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in applyCurrentUxRestrictionsLocked()