Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java92 private PriorityQueue<CarModeApp> mCarModeApps = new PriorityQueue<>(2, field in CarModeTracker
103 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 …]