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.java99 private PriorityQueue<CarModeApp> mCarModeApps = new PriorityQueue<>(2, field in CarModeTracker
113 if (mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleEnterCarMode()
119 if (mCarModeApps.stream().anyMatch(c -> c.getPackageName().equals(packageName))) { in handleEnterCarMode()
128 mCarModeApps.add(new CarModeApp(priority, packageName)); in handleEnterCarMode()
137 if (!mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleExitCarMode()
143 if (priority != UiModeManager.DEFAULT_PRIORITY && !mCarModeApps.stream().anyMatch( in handleExitCarMode()
153 mCarModeApps.removeIf(c -> c.getPriority() == priority); in handleExitCarMode()
157 Optional<CarModeApp> projectingApp = mCarModeApps.stream() in handleSetAutomotiveProjection()
164 mCarModeApps.add(new CarModeApp(packageName)); in handleSetAutomotiveProjection()
183 Optional<String> projectingPackage = mCarModeApps.stream() in handleReleaseAutomotiveProjection()
[all …]