Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java43 private class CarModeApp { class in CarModeTracker
48 public CarModeApp(@NonNull String packageName) { in CarModeApp() method in CarModeTracker.CarModeApp
52 public CarModeApp(int priority, @NonNull String packageName) { in CarModeApp() method in CarModeTracker.CarModeApp
56 … private CarModeApp(boolean automotiveProjection, int priority, @NonNull String packageName) { in CarModeApp() method in CarModeTracker.CarModeApp
99 private PriorityQueue<CarModeApp> mCarModeApps = new PriorityQueue<>(2,
101 Comparator.comparing(CarModeApp::hasSetAutomotiveProjection)
102 .thenComparing(CarModeApp::getPriority)
128 mCarModeApps.add(new CarModeApp(priority, packageName)); in handleEnterCarMode()
157 Optional<CarModeApp> projectingApp = mCarModeApps.stream() in handleSetAutomotiveProjection()
158 .filter(CarModeApp::hasSetAutomotiveProjection) in handleSetAutomotiveProjection()
[all …]