Home
last modified time | relevance | path

Searched refs:WindowManagerService (Results 1 – 25 of 129) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/media/projection/
Dmediaprojection.md5 `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/
DWatermark.java84 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()
DRotationWatcherController.java33 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()
DDisplayAreaPolicy.java54 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()
DWindowSurfacePlacer.java22 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()
DSnapshotStartingData.java28 private final WindowManagerService mService;
31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot, int typeParams) { in SnapshotStartingData()
DStartingData.java42 protected final WindowManagerService mService;
87 protected StartingData(WindowManagerService service, int typeParams) { in StartingData()
DInputConsumerImpl.java37 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()
DTaskPositioner.java33 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) {
DLetterbox.java265 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()
DViewServer.java73 private final WindowManagerService mWindowManager;
87 ViewServer(WindowManagerService windowManager, int port) { in ViewServer()
209 class ViewServerWorker implements Runnable, WindowManagerService.WindowChangeListener {
DActivityRecordInputSink.java108 inputWindowHandle.ownerPid = WindowManagerService.MY_PID; in createInputWindowHandle()
109 inputWindowHandle.ownerUid = WindowManagerService.MY_UID; in createInputWindowHandle()
DWindowTracing.java66 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()
DNonAppWindowAnimationAdapter.java67 static RemoteAnimationTarget[] startNonAppWindowAnimations(WindowManagerService service, in startNonAppWindowAnimations()
89 static boolean shouldAttachNavBarToApp(WindowManagerService service, in shouldAttachNavBarToApp()
103 private static void startNonAppWindowAnimationsForKeyguardExit(WindowManagerService service, in startNonAppWindowAnimationsForKeyguardExit()
DActivityRefresher.java48 @NonNull private final WindowManagerService mWmService;
52 ActivityRefresher(@NonNull WindowManagerService wmService, @NonNull Handler handler) { in ActivityRefresher()
DDisplayWindowListenerController.java36 private final WindowManagerService mService;
38 DisplayWindowListenerController(WindowManagerService service) { in DisplayWindowListenerController()
DSplashScreenStartingData.java28 SplashScreenStartingData(WindowManagerService service, int theme, in SplashScreenStartingData()
DUnknownAppVisibilityController.java59 private final WindowManagerService mService;
63 UnknownAppVisibilityController(WindowManagerService service, DisplayContent displayContent) { in UnknownAppVisibilityController()
DTrustedOverlayHost.java46 final WindowManagerService mWmService;
48 TrustedOverlayHost(WindowManagerService wms) { in TrustedOverlayHost()
DInputManagerCallback.java24 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()
DWindowToken.java28 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()
DClientLifecycleManager.java63 private WindowManagerService mWms;
65 void setWindowManager(@NonNull WindowManagerService wms) { in setWindowManager()
DAlertWindowNotification.java52 private final WindowManagerService mService;
58 AlertWindowNotification(WindowManagerService service, String packageName) { in AlertWindowNotification()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRuleTest.java46 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/
DGameServiceProviderInstanceFactoryImpl.java40 import com.android.server.wm.WindowManagerService;
64 (WindowManagerService) ServiceManager.getService(Context.WINDOW_SERVICE), in create()

123456