Searched refs:contextToken (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RotationWatcherController.java | 60 void registerProposedRotationListener(IRotationWatcher listener, IBinder contextToken) { in registerProposedRotationListener() argument 64 if (contextToken == watcher.mToken || listenerBinder == watcher.mWatcher.asBinder()) { in registerProposedRotationListener() 70 register(listenerBinder, new ProposedRotationListener(mService, listener, contextToken), in registerProposedRotationListener() 142 WindowContainer<?> getAssociatedWindowContainer(IBinder contextToken) { in getAssociatedWindowContainer() argument 143 final WindowContainer<?> wc = ActivityRecord.forTokenLocked(contextToken); in getAssociatedWindowContainer() 147 return mService.mWindowContextListenerController.getContainer(contextToken); in getAssociatedWindowContainer()
|
D | WindowManagerService.java | 4790 public int registerProposedRotationListener(IBinder contextToken, IRotationWatcher listener) { in registerProposedRotationListener() argument 4793 mRotationWatcherController.getAssociatedWindowContainer(contextToken); in registerProposedRotationListener() 4799 mRotationWatcherController.registerProposedRotationListener(listener, contextToken); in registerProposedRotationListener()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerGlobal.java | 714 public void registerProposedRotationListener(IBinder contextToken, Executor executor, in registerProposedRotationListener() argument 721 delegate = mProposedRotationListenerMap.get(contextToken); in registerProposedRotationListener() 724 mProposedRotationListenerMap.put(contextToken, in registerProposedRotationListener() 738 contextToken, delegate); in registerProposedRotationListener() 746 public void unregisterProposedRotationListener(IBinder contextToken, IntConsumer listener) { in unregisterProposedRotationListener() argument 752 delegate = mProposedRotationListenerMap.get(contextToken); in unregisterProposedRotationListener() 758 mProposedRotationListenerMap.remove(contextToken); in unregisterProposedRotationListener()
|
D | WindowManagerImpl.java | 377 final IBinder contextToken = Context.getToken(mContext); in addProposedRotationListener() local 378 if (contextToken == null) { in addProposedRotationListener() 383 mGlobal.registerProposedRotationListener(contextToken, executor, listener); in addProposedRotationListener()
|
D | IWindowManager.aidl | 315 int registerProposedRotationListener(IBinder contextToken, IRotationWatcher listener); in registerProposedRotationListener() argument
|