Searched refs:mCarModeApps (Results 1 – 1 of 1) sorted by relevance
92 private PriorityQueue<CarModeApp> mCarModeApps = new PriorityQueue<>(2, field in CarModeTracker103 if (mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleEnterCarMode()109 if (mCarModeApps.stream().anyMatch(c -> c.getPackageName().equals(packageName))) { in handleEnterCarMode()118 mCarModeApps.add(new CarModeApp(priority, packageName)); in handleEnterCarMode()127 if (!mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleExitCarMode()133 if (priority != UiModeManager.DEFAULT_PRIORITY && !mCarModeApps.stream().anyMatch( in handleExitCarMode()143 mCarModeApps.removeIf(c -> c.getPriority() == priority); in handleExitCarMode()152 return mCarModeApps in getCarModeApps()154 .sorted(mCarModeApps.comparator()) in getCarModeApps()160 return mCarModeApps in getCarModePriorityString()[all …]