Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestUtils.java52 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/
DDreamManagerService.java373 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/
DInputDispatcher.h221 virtual void notifyFocusChanged(const sp<IBinder>& oldToken, const sp<IBinder>& newToken) = 0;
665 sp<IBinder> newToken; member
1218 const sp<IBinder>& newToken) REQUIRES(mLock);
DInputDispatcher.cpp2133 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/
DInputDispatcher_test.cpp172 virtual void onPointerDownOutsideFocus(const sp<IBinder>& newToken) { in onPointerDownOutsideFocus() argument
173 mOnPointerDownToken = newToken; in onPointerDownOutsideFocus()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1790 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/
Dcom_android_server_input_InputManagerService.cpp252 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/
DActivityManagerService.java5679 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()