Searched refs:CarUxRestrictionsUtil (Results 1 – 6 of 6) sorted by relevance
42 public class CarUxRestrictionsUtil { class51 private static CarUxRestrictionsUtil sInstance = null;53 private CarUxRestrictionsUtil(Context context) { in CarUxRestrictionsUtil() method in CarUxRestrictionsUtil104 public static CarUxRestrictionsUtil getInstance(Context context) { in getInstance()106 sInstance = new CarUxRestrictionsUtil(context); in getInstance()
42 private CarUxRestrictionsUtil mCarUxRestrictionsUtil;44 private CarUxRestrictionsUtil.OnUxRestrictionsChangedListener mListener;67 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(context); in init()111 return CarUxRestrictionsUtil.complyString(getContext(), source.toString(), in getTransformation()
41 private CarUxRestrictionsUtil mCarUxRestrictionsUtil;50 private final CarUxRestrictionsUtil.OnUxRestrictionsChangedListener mListener =85 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(context); in init()123 return CarUxRestrictionsUtil.isRestricted(mRestrictions, mActiveCarUxRestrictions); in isRestricted()
52 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testNullActiveRestriction()64 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testOneActiveRestriction()78 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testMultipleActiveRestrictions()
36 import com.android.car.apps.common.CarUxRestrictionsUtil;54 private final CarUxRestrictionsUtil mCarUxRestrictionsUtil;55 private final CarUxRestrictionsUtil.OnUxRestrictionsChangedListener mListener;209 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(context); in PagedRecyclerView()
50 import com.android.car.apps.common.CarUxRestrictionsUtil;107 private CarUxRestrictionsUtil mCarUxRestrictionsUtil;111 private final CarUxRestrictionsUtil.OnUxRestrictionsChangedListener mListener =262 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(this); in onCreate()276 return CarUxRestrictionsUtil.isRestricted(mRestrictions, mActiveCarUxRestrictions); in isUxRestricted()