Home
last modified time | relevance | path

Searched refs:newToken (Results 1 – 10 of 10) 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/native/services/inputflinger/dispatcher/include/
DInputDispatcherPolicyInterface.h55 virtual void notifyFocusChanged(const sp<IBinder>& oldToken, const sp<IBinder>& newToken) = 0;
/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/dispatcher/
DEntry.h218 sp<IBinder> newToken; member
DInputDispatcher.cpp2128 const sp<IBinder>& newToken) { in dispatchPointerDownOutsideFocus() argument
2135 sp<InputWindowHandle> inputWindowHandle = getWindowHandleLocked(newToken); in dispatchPointerDownOutsideFocus()
2143 bool hasFocusChanged = !focusedWindowHandle || focusedWindowHandle->getToken() != newToken; in dispatchPointerDownOutsideFocus()
2151 commandEntry->newToken = newToken; in dispatchPointerDownOutsideFocus()
4054 sp<IBinder> newToken = newFocus != nullptr ? newFocus->getToken() : nullptr; in onFocusChangedLocked() local
4058 commandEntry->newToken = newToken; in onFocusChangedLocked()
4119 sp<IBinder> newToken = commandEntry->newToken; in doNotifyFocusChangedLockedInterruptible() local
4121 mPolicy->notifyFocusChanged(oldToken, newToken); in doNotifyFocusChangedLockedInterruptible()
4173 mPolicy->onPointerDownOutsideFocus(commandEntry->newToken); in doOnPointerDownOutsideFocusLockedInterruptible()
DInputDispatcher.h387 const sp<IBinder>& newToken) REQUIRES(mLock);
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp174 virtual void onPointerDownOutsideFocus(const sp<IBinder>& newToken) { in onPointerDownOutsideFocus() argument
175 mOnPointerDownToken = newToken; in onPointerDownOutsideFocus()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp254 virtual void notifyFocusChanged(const sp<IBinder>& oldToken, const sp<IBinder>& newToken);
736 const sp<IBinder>& newToken) { in notifyFocusChanged() argument
746 jobject newTokenObj = javaObjectForIBinder(env, newToken); in notifyFocusChanged()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1867 private void notifyFocusChanged(IBinder oldToken, IBinder newToken) { in notifyFocusChanged() argument
1869 if (mFocusedWindow.asBinder() == newToken) { in notifyFocusChanged()
1877 mFocusedWindow = IWindow.Stub.asInterface(newToken); in notifyFocusChanged()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5708 ImportanceToken newToken = new ImportanceToken(pid, token, reason) { in setProcessImportant() local
5715 token.linkToDeath(newToken, 0); in setProcessImportant()
5716 mImportantProcesses.put(pid, newToken); in setProcessImportant()
5717 pr.forcingToImportant = newToken; in setProcessImportant()