Home
last modified time | relevance | path

Searched refs:InputTransferToken (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_window_InputTransferToken.cpp36 sp<InputTransferToken> inputTransferToken = sp<InputTransferToken>::make(); in nativeCreate()
49 sp<InputTransferToken> inputTransferToken = sp<InputTransferToken>::make(token); in nativeCreateFromBinder()
55 InputTransferToken* inputTransferToken = reinterpret_cast<InputTransferToken*>(nativeObj); in nativeWriteToParcel()
61 sp<InputTransferToken> inputTransferToken = sp<InputTransferToken>::make(); in nativeReadFromParcel()
69 sp<InputTransferToken> inputTransferToken = reinterpret_cast<InputTransferToken*>(nativeObj); in nativeGetBinderToken()
74 sp<InputTransferToken> inputTransferToken = reinterpret_cast<InputTransferToken*>(nativeObj); in nativeGetBinderTokenRef()
78 InputTransferToken* android_window_InputTransferToken_getNativeInputTransferToken( in android_window_InputTransferToken_getNativeInputTransferToken()
82 return reinterpret_cast<InputTransferToken*>( in android_window_InputTransferToken_getNativeInputTransferToken()
91 JNIEnv* env, const InputTransferToken& inputTransferToken) { in android_window_InputTransferToken_getJavaInputTransferToken()
97 static void release(InputTransferToken* inputTransferToken) { in release()
[all …]
Dandroid_view_WindowManagerGlobal.h24 const sp<IBinder>& clientToken, const InputTransferToken& hostInputTransferToken,
26 const InputTransferToken& clientInputTransferTokenObj);
Dandroid_view_WindowManagerGlobal.cpp40 const sp<IBinder>& clientToken, const InputTransferToken& hostInputTransferToken, in createInputChannel()
41 const SurfaceControl& surfaceControl, const InputTransferToken& clientInputTransferToken) { in createInputChannel()
/frameworks/base/core/java/android/window/
DInputTransferToken.java54 public final class InputTransferToken implements Parcelable { class
65 NativeAllocationRegistry.createMalloced(InputTransferToken.class.getClassLoader(),
73 private InputTransferToken(long nativeObject) { in InputTransferToken() method in InputTransferToken
81 public InputTransferToken(@NonNull IBinder token) { in InputTransferToken() method in InputTransferToken
88 public InputTransferToken() { in InputTransferToken() method in InputTransferToken
99 private InputTransferToken(Parcel in) { in InputTransferToken() method in InputTransferToken
119 public static final @NonNull Creator<InputTransferToken> CREATOR = new Creator<>() {
120 public InputTransferToken createFromParcel(Parcel in) {
121 return new InputTransferToken(in);
124 public InputTransferToken[] newArray(int size) {
[all …]
DInputTransferToken.aidl21 parcelable InputTransferToken;
/frameworks/base/native/android/
Dinput_transfer_token.cpp28 extern void InputTransferToken_acquire(InputTransferToken* inputTransferToken) { in InputTransferToken_acquire()
33 void InputTransferToken_release(InputTransferToken* inputTransferToken) { in InputTransferToken_release()
41 InputTransferToken* inputTransferToken = in AInputTransferToken_fromJava()
53 const InputTransferToken* inputTransferToken = in AInputTransferToken_toJava()
54 reinterpret_cast<const InputTransferToken*>(aInputTransferToken); in AInputTransferToken_toJava()
60 InputTransferToken* inputTransferToken = in AInputTransferToken_release()
61 reinterpret_cast<InputTransferToken*>(aInputTransferToken); in AInputTransferToken_release()
Dsurface_control_input_receiver.cpp29 extern void InputTransferToken_acquire(InputTransferToken* inputTransferToken);
41 const sp<IBinder>& clientToken, const sp<InputTransferToken>& inputTransferToken, in InputReceiver()
104 const sp<InputTransferToken> mInputTransferToken;
112 const sp<InputTransferToken>& inputTransferToken, in BatchedInputReceiver()
160 sp<InputTransferToken> clientInputTransferToken = sp<InputTransferToken>::make(); in AInputReceiver_createBatchedInputReceiver()
163 createInputChannel(clientToken, reinterpret_cast<const InputTransferToken&>(*hostToken), in AInputReceiver_createBatchedInputReceiver()
178 sp<InputTransferToken> clientInputTransferToken = sp<InputTransferToken>::make(); in AInputReceiver_createUnbatchedInputReceiver()
181 createInputChannel(clientToken, reinterpret_cast<const InputTransferToken&>(*hostToken), in AInputReceiver_createUnbatchedInputReceiver()
/frameworks/native/libs/gui/include/gui/
DInputTransferToken.h26 struct InputTransferToken : public RefBase, Parcelable { struct
28 InputTransferToken() { mToken = new BBinder(); } in InputTransferToken() function
30 InputTransferToken(const sp<IBinder>& token) { mToken = token; } in InputTransferToken() argument
45 static inline bool operator==(const sp<InputTransferToken>& token1, argument
46 const sp<InputTransferToken>& token2) {
/frameworks/base/core/java/android/view/
DSurfaceControlViewHost.java34 import android.window.InputTransferToken;
157 private final InputTransferToken mInputTransferToken;
162 InputTransferToken inputTransferToken, in SurfacePackage()
196 mInputTransferToken = InputTransferToken.CREATOR.createFromParcel(in); in SurfacePackage()
303 public InputTransferToken getInputTransferToken() { in getInputTransferToken()
352 this(context, display, hostToken == null ? null : new InputTransferToken(hostToken), in SurfaceControlViewHost()
371 @Nullable InputTransferToken hostInputTransferToken) { in SurfaceControlViewHost()
390 @Nullable InputTransferToken hostToken, @NonNull String callsite) { in SurfaceControlViewHost()
570 public InputTransferToken getInputTransferToken() { in getInputTransferToken()
596 InputTransferToken embeddedToken = getInputTransferToken(); in transferTouchGestureToHost()
[all …]
DAttachedSurfaceControl.java27 import android.window.InputTransferToken;
201 default InputTransferToken getInputTransferToken() { in getInputTransferToken()
DWindowManagerGlobal.java45 import android.window.InputTransferToken;
844 @NonNull InputTransferToken hostToken, @NonNull SurfaceControl surfaceControl, in createInputChannel()
845 @Nullable InputTransferToken inputTransferToken) { in createInputChannel()
870 InputTransferToken registerBatchedSurfaceControlInputReceiver( in registerBatchedSurfaceControlInputReceiver()
871 @NonNull InputTransferToken hostToken, @NonNull SurfaceControl surfaceControl, in registerBatchedSurfaceControlInputReceiver()
874 InputTransferToken inputTransferToken = new InputTransferToken(); in registerBatchedSurfaceControlInputReceiver()
893 InputTransferToken registerUnbatchedSurfaceControlInputReceiver( in registerUnbatchedSurfaceControlInputReceiver()
894 @NonNull InputTransferToken hostToken, @NonNull SurfaceControl surfaceControl, in registerUnbatchedSurfaceControlInputReceiver()
897 InputTransferToken inputTransferToken = new InputTransferToken(); in registerUnbatchedSurfaceControlInputReceiver()
945 boolean transferTouchGesture(@NonNull InputTransferToken transferFromToken, in transferTouchGesture()
[all …]
DWindowlessWindowManager.java35 import android.window.InputTransferToken;
63 InputTransferToken mInputTransferToken;
93 final InputTransferToken mHostInputTransferToken;
94 private final InputTransferToken mInputTransferToken = new InputTransferToken();
103 InputTransferToken hostInputTransferToken) { in WindowlessWindowManager()
114 InputTransferToken getInputTransferToken(IBinder window) { in getInputTransferToken()
214 state.mInputTransferToken = new InputTransferToken(); in addToDisplay()
631 InputTransferToken hostInputToken, int flags, int privateFlags, int inputFeatures, in grantInputChannel()
632 int type, IBinder windowToken, InputTransferToken embeddedInputTransferToken, in grantInputChannel()
647 public void grantEmbeddedWindowFocus(IWindow callingWindow, InputTransferToken targetInputToken, in grantEmbeddedWindowFocus()
DWindowManagerImpl.java42 import android.window.InputTransferToken;
538 public InputTransferToken registerBatchedSurfaceControlInputReceiver( in registerBatchedSurfaceControlInputReceiver()
539 @NonNull InputTransferToken hostInputTransferToken, in registerBatchedSurfaceControlInputReceiver()
552 public InputTransferToken registerUnbatchedSurfaceControlInputReceiver( in registerUnbatchedSurfaceControlInputReceiver()
553 @NonNull InputTransferToken hostInputTransferToken, in registerUnbatchedSurfaceControlInputReceiver()
578 public boolean transferTouchGesture(@NonNull InputTransferToken transferFromToken, in transferTouchGesture()
579 @NonNull InputTransferToken transferToToken) { in transferTouchGesture()
DIWindowSession.aidl40 import android.window.InputTransferToken;
326 in @nullable InputTransferToken hostInputTransferToken, int flags, int privateFlags, in grantInputChannel()
328 in InputTransferToken embeddedInputTransferToken, String inputHandleName, in grantInputChannel()
349 void grantEmbeddedWindowFocus(IWindow window, in InputTransferToken inputToken, in grantEmbeddedWindowFocus()
DIWindowManager.aidl76 import android.window.InputTransferToken;
1096 boolean transferTouchGesture(in InputTransferToken transferFromToken, in transferTouchGesture()
1097 in InputTransferToken transferToToken); in transferTouchGesture()
/frameworks/base/services/core/java/com/android/server/wm/
DEmbeddedWindowController.java36 import android.window.InputTransferToken;
52 private ArrayMap<InputTransferToken /*input transfer token */, EmbeddedWindow>
78 final InputTransferToken inputTransferToken = window.getInputTransferToken(); in add()
140 EmbeddedWindow getByInputTransferToken(InputTransferToken inputTransferToken) { in getByInputTransferToken()
183 boolean transferToHost(@NonNull InputTransferToken embeddedWindowToken, in transferToHost()
194 @NonNull InputTransferToken transferToToken) { in transferToEmbedded()
221 private final InputTransferToken mInputTransferToken;
239 int displayId, InputTransferToken inputTransferToken, String inputHandleName, in EmbeddedWindow()
323 InputTransferToken getInputTransferToken() { in getInputTransferToken()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_window_InputTransferToken.h25 extern InputTransferToken* android_window_InputTransferToken_getNativeInputTransferToken(
29 JNIEnv* env, const InputTransferToken& inputTransferToken);
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DIAttachEmbeddedWindow.aidl23 import android.window.InputTransferToken;
29 in InputTransferToken inputTransferToken); in attachEmbeddedSurfaceControl()
DEmbeddedWindowService.java45 import android.window.InputTransferToken;
122 InputTransferToken inputTransferToken) { in attachEmbeddedSurfaceControl()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java29 import android.window.InputTransferToken;
75 new InputTransferToken(hostToken), "SurfaceViewRequestReceiver"); in onReceive()
/frameworks/base/core/java/android/service/games/
DGameSessionService.java32 import android.window.InputTransferToken;
127 new InputTransferToken(), "GameSessionService"); in doCreate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceControlViewHostTests.java45 import android.window.InputTransferToken;
154 InputTransferToken inputTransferToken) { in TestWindowlessWindowManager()
DWindowManagerServiceTests.java111 import android.window.InputTransferToken;
1152 final InputTransferToken inputTransferToken = mock(InputTransferToken.class); in testGrantInputChannel_sanitizeSpyWindowForApplications()
1170 final InputTransferToken inputTransferToken = mock(InputTransferToken.class); in testGrantInputChannel_allowSpyWindowForInputMonitorPermission()
1190 final InputTransferToken inputTransferToken = mock(InputTransferToken.class); in testUpdateInputChannel_sanitizeSpyWindowForApplications()
1214 final InputTransferToken inputTransferToken = mock(InputTransferToken.class); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission()
1240 final InputTransferToken inputTransferToken = mock(InputTransferToken.class); in testUpdateInputChannel_sanitizeInputFeatureSensitive_forUntrustedWindows()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeInputListener.java56 import android.window.InputTransferToken;
105 final InputTransferToken inputTransferToken = new InputTransferToken(); in DragResizeInputListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DFullscreenMagnificationControllerTest.java52 import android.window.InputTransferToken;
92 new InputTransferToken(), "FullscreenMagnification"))); in setUp()

12