Searched refs:newToken (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestUtils.java | 52 final TestAppWindowToken newToken = createTestAppWindowToken(dc); in createAppWindowTokenInTask() local 53 task.addChild(newToken, POSITION_TOP); in createAppWindowTokenInTask() 54 return newToken; in createAppWindowTokenInTask()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 373 final Binder newToken = new Binder(); in startDreamLocked() local 374 mCurrentDreamToken = newToken; in startDreamLocked() 383 () -> mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock))); in startDreamLocked()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 221 virtual void notifyFocusChanged(const sp<IBinder>& oldToken, const sp<IBinder>& newToken) = 0; 665 sp<IBinder> newToken; member 1218 const sp<IBinder>& newToken) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 2133 const sp<IBinder>& newToken) { in dispatchPointerDownOutsideFocus() argument 2140 sp<InputWindowHandle> inputWindowHandle = getWindowHandleLocked(newToken); in dispatchPointerDownOutsideFocus() 2148 bool hasFocusChanged = !focusedWindowHandle || focusedWindowHandle->getToken() != newToken; in dispatchPointerDownOutsideFocus() 2156 commandEntry->newToken = newToken; in dispatchPointerDownOutsideFocus() 4060 sp<IBinder> newToken = newFocus != nullptr ? newFocus->getToken() : nullptr; in onFocusChangedLocked() local 4064 commandEntry->newToken = newToken; in onFocusChangedLocked() 4127 sp<IBinder> newToken = commandEntry->newToken; in doNotifyFocusChangedLockedInterruptible() local 4129 mPolicy->notifyFocusChanged(oldToken, newToken); in doNotifyFocusChangedLockedInterruptible() 4182 mPolicy->onPointerDownOutsideFocus(commandEntry->newToken); in doOnPointerDownOutsideFocusLockedInterruptible()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 172 virtual void onPointerDownOutsideFocus(const sp<IBinder>& newToken) { in onPointerDownOutsideFocus() argument 173 mOnPointerDownToken = newToken; in onPointerDownOutsideFocus()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1790 private void notifyFocusChanged(IBinder oldToken, IBinder newToken) { in notifyFocusChanged() argument 1792 if (mFocusedWindow.asBinder() == newToken) { in notifyFocusChanged() 1800 mFocusedWindow = IWindow.Stub.asInterface(newToken); in notifyFocusChanged()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 252 virtual void notifyFocusChanged(const sp<IBinder>& oldToken, const sp<IBinder>& newToken); 761 const sp<IBinder>& newToken) { in notifyFocusChanged() argument 771 jobject newTokenObj = javaObjectForIBinder(env, newToken); in notifyFocusChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 5679 ImportanceToken newToken = new ImportanceToken(pid, token, reason) { in setProcessImportant() local 5686 token.linkToDeath(newToken, 0); in setProcessImportant() 5687 mImportantProcesses.put(pid, newToken); in setProcessImportant() 5688 pr.forcingToImportant = newToken; in setProcessImportant()
|