Home
last modified time | relevance | path

Searched refs:inputChannel (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/av/media/libaaudio/src/flowgraph/
DChannelCountConverter.cpp38 int inputChannel = 0; in onProcess() local
43 outputBuffer[outputChannel] = inputBuffer[inputChannel]; in onProcess()
44 inputChannel = (inputChannel == inputChannelCount) in onProcess()
45 ? 0 : inputChannel + 1; in onProcess()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp49 explicit NativeInputChannel(std::unique_ptr<InputChannel> inputChannel);
65 NativeInputChannel::NativeInputChannel(std::unique_ptr<InputChannel> inputChannel) in NativeInputChannel() argument
66 : mInputChannel(std::move(inputChannel)), mDisposeCallback(nullptr) {} in NativeInputChannel()
116 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createInputChannel() argument
118 std::make_unique<NativeInputChannel>(std::move(inputChannel)); in android_view_InputChannel_createInputChannel()
124 std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createJavaObject() argument
125 std::string name = inputChannel->getName(); in android_view_InputChannel_createJavaObject()
126 jlong ptr = android_view_InputChannel_createInputChannel(env, std::move(inputChannel)); in android_view_InputChannel_createJavaObject()
137 inputChannel->getName().c_str()); in android_view_InputChannel_createJavaObject()
208 std::unique_ptr<InputChannel> inputChannel = in android_view_InputChannel_nativeReadFromParcel() local
[all …]
Dandroid_view_InputChannel.h27 const std::shared_ptr<InputChannel>& inputChannel,
40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
Dandroid_view_InputEventSender.cpp56 const std::shared_ptr<InputChannel>& inputChannel,
87 const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventSender() argument
90 mInputPublisher(inputChannel), in NativeInputEventSender()
324 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
326 if (inputChannel == NULL) { in nativeInit()
338 senderWeak, inputChannel, messageQueue); in nativeInit()
Dandroid_view_InputEventReceiver.cpp89 const std::shared_ptr<InputChannel>& inputChannel,
136 JNIEnv* env, jobject receiverWeak, const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventReceiver() argument
139 mInputConsumer(inputChannel), in NativeInputEventReceiver()
517 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
519 if (inputChannel == nullptr) { in nativeInit()
531 receiverWeak, inputChannel, messageQueue); in nativeInit()
/frameworks/base/native/android/
Dsurface_control_input_receiver.cpp40 InputReceiver(const sp<Looper>& looper, const std::shared_ptr<InputChannel>& inputChannel, in InputReceiver() argument
44 mInputConsumer(inputChannel, looper, *this), in InputReceiver()
110 const std::shared_ptr<InputChannel>& inputChannel, in BatchedInputReceiver() argument
114 : InputReceiver(choreographer.getLooper(), inputChannel, clientToken, inputTransferToken, in BatchedInputReceiver()
162 std::shared_ptr<InputChannel> inputChannel = in AInputReceiver_createBatchedInputReceiver() local
168 inputChannel, clientToken, clientInputTransferToken, in AInputReceiver_createBatchedInputReceiver()
180 std::shared_ptr<InputChannel> inputChannel = in AInputReceiver_createUnbatchedInputReceiver() local
185 inputChannel, clientToken, in AInputReceiver_createUnbatchedInputReceiver()
/frameworks/base/core/java/android/view/
DBatchedInputEventReceiver.java43 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument
44 super(inputChannel, looper); in BatchedInputEventReceiver()
47 mTag = inputChannel.getName(); in BatchedInputEventReceiver()
155 public SimpleBatchedInputEventReceiver(InputChannel inputChannel, Looper looper, in SimpleBatchedInputEventReceiver() argument
157 super(inputChannel, looper, choreographer); in SimpleBatchedInputEventReceiver()
DInputEventSender.java51 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
62 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender() argument
63 if (inputChannel == null) { in InputEventSender()
70 mInputChannel = inputChannel; in InputEventSender()
DInputMonitor.java99 @NonNull InputChannel inputChannel, in InputMonitor()
102 this.mInputChannel = inputChannel; in InputMonitor()
165 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor() local
169 this.mInputChannel = inputChannel; in InputMonitor()
DInputEventReceiver.java54 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
70 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() argument
71 if (inputChannel == null) { in InputEventReceiver()
78 mInputChannel = inputChannel; in InputEventReceiver()
DWindowManagerGlobal.java846 InputChannel inputChannel = new InputChannel(); in createInputChannel() local
853 inputTransferToken, surfaceControl.getName(), inputChannel); in createInputChannel()
858 return inputChannel; in createInputChannel()
875 InputChannel inputChannel = createInputChannel(clientToken, hostToken, in registerBatchedSurfaceControlInputReceiver() local
881 new BatchedInputEventReceiver(inputChannel, choreographer.getLooper(), in registerBatchedSurfaceControlInputReceiver()
898 InputChannel inputChannel = createInputChannel(clientToken, hostToken, in registerUnbatchedSurfaceControlInputReceiver() local
904 new InputEventReceiver(inputChannel, looper) { in registerUnbatchedSurfaceControlInputReceiver()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java67 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
69 this("unknown", inputChannel, looper, choreographer, listener); in InputEventReceiver()
72 public InputEventReceiver(String name, InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
75 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver()
DInputConsumerController.java66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
140 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
143 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
147 mInputEventReceiver = new InputEventReceiver(inputChannel, Looper.myLooper(), in registerInputConsumer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
139 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
143 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
149 mInputEventReceiver = new InputEventReceiver(inputChannel, in registerInputConsumer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipInputConsumer.java66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
139 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
143 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
149 mInputEventReceiver = new InputEventReceiver(inputChannel, in registerInputConsumer()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(std::unique_ptr<InputChannel> inputChannel, bool monitor, in Connection() argument
27 inputPublisher(std::move(inputChannel)), in Connection()
DConnection.h61 Connection(std::unique_ptr<InputChannel> inputChannel, bool monitor,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarInputEventReceiver.java33 BubblesNavBarInputEventReceiver(InputChannel inputChannel, in BubblesNavBarInputEventReceiver() argument
35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
DBubblesNavBarGestureTracker.java68 InputChannel inputChannel = mInputMonitor.getInputChannel(); in start() local
73 mInputEventReceiver = new BubblesNavBarInputEventReceiver(inputChannel, in start()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java105 final InputChannel inputChannel = new InputChannel(); in runBenchmark() local
109 Display.DEFAULT_DISPLAY, mRequestedVisibleTypes, inputChannel, in runBenchmark()
120 inputChannel.dispose(); in runBenchmark()
/frameworks/base/services/core/java/com/android/server/wm/
DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument
35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
DInputConsumerImpl.java54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId, in InputConsumerImpl() argument
63 if (inputChannel != null) { in InputConsumerImpl()
64 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
DDragInputEventReceiver.java50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument
52 super(inputChannel, looper); in DragInputEventReceiver()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java48 SurfaceControl sc, InputChannel inputChannel) { in GestureMonitorSpyWindow() argument
50 mClientChannel = inputChannel; in GestureMonitorSpyWindow()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java43 @NonNull InputChannel inputChannel) { in HandwritingEventReceiverSurface() argument
44 mClientChannel = inputChannel; in HandwritingEventReceiverSurface()

12