Searched refs:uxr (Results 1 – 4 of 4) sorted by relevance
133 @Nullable CarUxRestrictions uxr) { in isRestricted() argument134 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()141 public static String complyString(Context context, String str, CarUxRestrictions uxr) { in complyString() argument143 if (isRestricted(UX_RESTRICTIONS_LIMIT_STRING_LENGTH, uxr)) { in complyString()144 int maxLength = uxr == null in complyString()146 : uxr.getMaxRestrictedStringLength(); in complyString()
208 @CarUxRestrictions.CarUxRestrictionsInfo int uxr) { in createUxRestrictionsEvent() argument212 if (uxr != CarUxRestrictions.UX_RESTRICTIONS_BASELINE) { in createUxRestrictionsEvent()215 CarUxRestrictions.Builder builder = new CarUxRestrictions.Builder(requiresOpt, uxr, in createUxRestrictionsEvent()
16 package com.google.android.car.uxr.sample;