/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | mediaprojection.md | 5 `WindowManagerService` to prevent deadlock. 12 `WindowManagerService -> MediaProjectionManagerService -> DisplayManagerService` 15 the `WindowManagerService` global lock (for example, 17 `ActivityManagerService -> WindowManagerService`). 21 `MediaProjectionManagerService` calls into `WindowManagerService` in the below cases. While handling 22 each invocation, `WindowManagerService` acquires its own lock: 28 `WindowManagerService` calls into `MediaProjectionManagerService`, always while holding 33 Since `WindowManagerService -> MediaProjectionManagerService` is guaranteed to always hold the 34 `WindowManagerService` lock, we must ensure that `MediaProjectionManagerService -> 35 WindowManagerService` is NEVER holding the `MediaProjectionManagerService` lock.
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 84 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() 95 mDeltaX = WindowManagerService.getPropertyInt(tokens, 2, in Watermark() 97 mDeltaY = WindowManagerService.getPropertyInt(tokens, 3, in Watermark() 99 int shadowColor = WindowManagerService.getPropertyInt(tokens, 4, in Watermark() 101 int color = WindowManagerService.getPropertyInt(tokens, 5, in Watermark() 103 int shadowRadius = WindowManagerService.getPropertyInt(tokens, 6, in Watermark() 105 int shadowDx = WindowManagerService.getPropertyInt(tokens, 8, in Watermark() 107 int shadowDy = WindowManagerService.getPropertyInt(tokens, 9, in Watermark()
|
D | RotationWatcherController.java | 33 private final WindowManagerService mService; 45 RotationWatcherController(WindowManagerService wms) { in RotationWatcherController() 179 DisplayRotationWatcher(WindowManagerService wms, IRotationWatcher watcher, int displayId) { in DisplayRotationWatcher() 189 ProposedRotationListener(WindowManagerService wms, IRotationWatcher watcher, in ProposedRotationListener() 197 final WindowManagerService mWms; 201 RotationWatcher(WindowManagerService wms, IRotationWatcher watcher) { in RotationWatcher()
|
D | DisplayAreaPolicy.java | 54 protected final WindowManagerService mWmService; 68 protected DisplayAreaPolicy(WindowManagerService wmService, RootDisplayArea root) { in DisplayAreaPolicy() 106 public DisplayAreaPolicy instantiate(WindowManagerService wmService, in instantiate() 130 WindowManagerService wmService, DisplayContent content) { in configureTrustedHierarchyBuilder() 185 DisplayAreaPolicy instantiate(WindowManagerService wmService, DisplayContent content, in instantiate()
|
D | WindowSurfacePlacer.java | 22 import static com.android.server.wm.WindowManagerService.H.REPORT_WINDOWS_CHANGE; 23 import static com.android.server.wm.WindowManagerService.LAYOUT_REPEAT_THRESHOLD; 38 private final WindowManagerService mService; 64 WindowSurfacePlacer(WindowManagerService service) { in WindowSurfacePlacer()
|
D | SnapshotStartingData.java | 28 private final WindowManagerService mService; 31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot, int typeParams) { in SnapshotStartingData()
|
D | StartingData.java | 42 protected final WindowManagerService mService; 87 protected StartingData(WindowManagerService service, int typeParams) { in StartingData()
|
D | InputConsumerImpl.java | 37 final WindowManagerService mService; 53 InputConsumerImpl(WindowManagerService service, IBinder token, String name, in InputConsumerImpl() 75 mWindowHandle.ownerPid = WindowManagerService.MY_PID; in InputConsumerImpl() 76 mWindowHandle.ownerUid = WindowManagerService.MY_UID; in InputConsumerImpl()
|
D | TaskPositioner.java | 33 import static com.android.server.wm.WindowManagerService.dipToPixel; 77 private final WindowManagerService mService; 107 TaskPositioner(WindowManagerService service) { in TaskPositioner() 227 mDragWindowHandle.ownerPid = WindowManagerService.MY_PID; in register() 228 mDragWindowHandle.ownerUid = WindowManagerService.MY_UID; in register() 482 static TaskPositioner create(WindowManagerService service) { 496 default TaskPositioner create(WindowManagerService service) {
|
D | Letterbox.java | 265 TapEventReceiver(InputChannel inputChannel, WindowManagerService wmService, in TapEventReceiver() 281 private final WindowManagerService mWmService; 283 private DoubleTapListener(WindowManagerService wmService) { in DoubleTapListener() 307 private final WindowManagerService mWmService; 326 mWindowHandle.ownerPid = WindowManagerService.MY_PID; in InputInterceptor() 327 mWindowHandle.ownerUid = WindowManagerService.MY_UID; in InputInterceptor()
|
D | ViewServer.java | 73 private final WindowManagerService mWindowManager; 87 ViewServer(WindowManagerService windowManager, int port) { in ViewServer() 209 class ViewServerWorker implements Runnable, WindowManagerService.WindowChangeListener {
|
D | ActivityRecordInputSink.java | 108 inputWindowHandle.ownerPid = WindowManagerService.MY_PID; in createInputWindowHandle() 109 inputWindowHandle.ownerUid = WindowManagerService.MY_UID; in createInputWindowHandle()
|
D | WindowTracing.java | 66 private final WindowManagerService mService; 84 static WindowTracing createDefaultAndStartLooper(WindowManagerService service, in createDefaultAndStartLooper() 90 private WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing() 95 WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing()
|
D | NonAppWindowAnimationAdapter.java | 67 static RemoteAnimationTarget[] startNonAppWindowAnimations(WindowManagerService service, in startNonAppWindowAnimations() 89 static boolean shouldAttachNavBarToApp(WindowManagerService service, in shouldAttachNavBarToApp() 103 private static void startNonAppWindowAnimationsForKeyguardExit(WindowManagerService service, in startNonAppWindowAnimationsForKeyguardExit()
|
D | ActivityRefresher.java | 48 @NonNull private final WindowManagerService mWmService; 52 ActivityRefresher(@NonNull WindowManagerService wmService, @NonNull Handler handler) { in ActivityRefresher()
|
D | DisplayWindowListenerController.java | 36 private final WindowManagerService mService; 38 DisplayWindowListenerController(WindowManagerService service) { in DisplayWindowListenerController()
|
D | SplashScreenStartingData.java | 28 SplashScreenStartingData(WindowManagerService service, int theme, in SplashScreenStartingData()
|
D | UnknownAppVisibilityController.java | 59 private final WindowManagerService mService; 63 UnknownAppVisibilityController(WindowManagerService service, DisplayContent displayContent) { in UnknownAppVisibilityController()
|
D | TrustedOverlayHost.java | 46 final WindowManagerService mWmService; 48 TrustedOverlayHost(WindowManagerService wms) { in TrustedOverlayHost()
|
D | InputManagerCallback.java | 24 import static com.android.server.wm.WindowManagerService.H.ON_POINTER_DOWN_OUTSIDE_FOCUS; 49 private final WindowManagerService mService; 67 public InputManagerCallback(WindowManagerService service) { in InputManagerCallback()
|
D | WindowToken.java | 28 import static com.android.server.wm.WindowManagerService.UPDATE_FOCUS_NORMAL; 216 protected WindowToken(WindowManagerService service, IBinder _token, int type, in WindowToken() 222 protected WindowToken(WindowManagerService service, IBinder _token, int type, in WindowToken() 777 private final WindowManagerService mService; 790 Builder(WindowManagerService service, IBinder token, int type) { in Builder()
|
D | ClientLifecycleManager.java | 63 private WindowManagerService mWms; 65 void setWindowManager(@NonNull WindowManagerService wms) { in setWindowManager()
|
D | AlertWindowNotification.java | 52 private final WindowManagerService mService; 58 AlertWindowNotification(WindowManagerService service, String packageName) { in AlertWindowNotification()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRuleTest.java | 46 final ArrayList<WeakReference<WindowManagerService>> wmsRefs = new ArrayList<>(); in testRule_ranSuccessfully() 49 final WindowManagerService wms = rule.getWindowManagerService(); in testRule_ranSuccessfully()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceProviderInstanceFactoryImpl.java | 40 import com.android.server.wm.WindowManagerService; 64 (WindowManagerService) ServiceManager.getService(Context.WINDOW_SERVICE), in create()
|