Home
last modified time | relevance | path

Searched refs:send (Results 1 – 25 of 239) sorted by relevance

12345678910

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java238 send(downEvent()); in testAlternativeTransitions_areWorking()
270 send(downEvent()); in testNonTransitions_dontChangeState()
271 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y)); in testNonTransitions_dontChangeState()
453 send(downEvent());
458 send(downEvent());
467 send(downEvent());
468 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y));
472 send(pointerEvent(ACTION_MOVE, DEFAULT_X * 2, DEFAULT_Y * 3));
473 send(pointerEvent(ACTION_MOVE, DEFAULT_X * 2, DEFAULT_Y * 4));
508 send(upEvent());
[all …]
DTouchExplorerTest.java178 send(downEvent()); in goFromStateIdleTo()
183 send(pointerDownEvent()); in goFromStateIdleTo()
188 send(thirdPointerDownEvent()); in goFromStateIdleTo()
194 send(mLastEvent); in goFromStateIdleTo()
200 send(mLastEvent); in goFromStateIdleTo()
206 send(mLastEvent); in goFromStateIdleTo()
212 send(mLastEvent); in goFromStateIdleTo()
223 private void send(MotionEvent event) { in send() method in TouchExplorerTest
DAccessibilityInputFilterTest.java215 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
216 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
232 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
233 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
238 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForAllEventHandlers()
263 private void send(InputEvent event) { in send() method in AccessibilityInputFilterTest
/frameworks/native/libs/binder/
DBinder.cpp69 Parcel send; in shellCommand() local
71 send.writeFileDescriptor(in); in shellCommand()
72 send.writeFileDescriptor(out); in shellCommand()
73 send.writeFileDescriptor(err); in shellCommand()
75 send.writeInt32(numArgs); in shellCommand()
77 send.writeString16(args[i]); in shellCommand()
79 send.writeStrongBinder(callback != nullptr ? IInterface::asBinder(callback) : nullptr); in shellCommand()
80send.writeStrongBinder(resultReceiver != nullptr ? IInterface::asBinder(resultReceiver) : nullptr); in shellCommand()
81 return target->transact(SHELL_COMMAND_TRANSACTION, send, &reply); in shellCommand()
271 resultReceiver->send(INVALID_OPERATION); in onTransact()
DBpBinder.cpp159 Parcel send, reply; in getInterfaceDescriptor() local
162 INTERFACE_TRANSACTION, send, &reply); in getInterfaceDescriptor()
187 Parcel send; in pingBinder() local
189 status_t err = transact(PING_TRANSACTION, send, &reply); in pingBinder()
197 Parcel send; in dump() local
199 send.writeFileDescriptor(fd); in dump()
201 send.writeInt32(numArgs); in dump()
203 send.writeString16(args[i]); in dump()
205 status_t err = transact(DUMP_TRANSACTION, send, &reply); in dump()
DIResultReceiver.cpp39 virtual void send(int32_t resultCode) { in send() function in android::BpResultReceiver
59 send(resultCode); in onTransact()
/frameworks/base/core/java/com/android/internal/midi/
DMidiFramer.java80 mReceiver.send(data, sysExStartOffset, in onSend()
94 mReceiver.send(data, sysExStartOffset, in onSend()
98 mReceiver.send(data, offset, 1, timestamp); in onSend()
107 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
118 mReceiver.send(data, sysExStartOffset, in onSend()
/frameworks/rs/
DrsFifoSocket.cpp46 ::send(sv[0], &d, sizeof(d), 0); in shutdown()
47 ::send(sv[1], &d, sizeof(d), 0); in shutdown()
57 size_t ret = ::send(sv[0], data, bytes, 0); in writeAsync()
102 ::send(sv[1], data, bytes, 0); in readReturn()
/frameworks/base/core/java/android/nfc/cardemulation/
DHostApduService.java270 mNfcService.send(responseMsg); in handleMessage()
287 mNfcService.send(msg); in handleMessage()
304 mNfcService.send(msg); in handleMessage()
332 mMessenger.send(responseMsg); in sendResponseApdu()
363 mMessenger.send(unhandledMsg); in notifyUnhandled()
DHostNfcFService.java198 mNfcService.send(responseMsg); in handleMessage()
215 mNfcService.send(msg); in handleMessage()
248 mMessenger.send(responseMsg); in sendResponsePacket()
/frameworks/base/media/java/android/media/midi/
DMidiReceiver.java103 public void send(byte[] msg, int offset, int count) throws IOException { in send() method in MidiReceiver
105 send(msg, offset, count, 0L); in send()
123 public void send(byte[] msg, int offset, int count, long timestamp) in send() method in MidiReceiver
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java36 is.send(); in testRegisteredReceivePermissionGranted()
56 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied()
65 is.send(); in testLocalReceivePermissionGranted()
83 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java109 EventBus.getDefault().send(new HideRecentsEvent(false, true)); in onTouchEvent()
145 EventBus.getDefault().send(new ShowIncompatibleAppOverlayEvent()); in onBusEvent()
159 EventBus.getDefault().send(new DragStartInitializeDropTargetsEvent(event.task, in onBusEvent()
171 EventBus.getDefault().send(new HideIncompatibleAppOverlayEvent()); in onBusEvent()
256 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, in handleTouchEvent()
268 EventBus.getDefault().send(new DismissAllTaskViewsEvent()); in handleTouchEvent()
275 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, null)); in handleTouchEvent()
277 EventBus.getDefault().send(new DragEndEvent(mDragTask, mTaskView, in handleTouchEvent()
DRecentsView.java338 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, false));
354 EventBus.getDefault().send(new ExpandPipEvent());
362 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, false));
542 EventBus.getDefault().send(new HideStackActionButtonEvent(false /* translate */));
549 EventBus.getDefault().send(new HideStackActionButtonEvent());
617 EventBus.getDefault().send(new DockedFirstAnimationFrameEvent());
637 EventBus.getDefault().send(new DragEndCancelledEvent(getStack(), event.task,
706 EventBus.getDefault().send(new HideStackActionButtonEvent());
954 EventBus.getDefault().send(new CancelEnterRecentsWindowAnimationEvent(task));
955 EventBus.getDefault().send(new ExitRecentsWindowFirstAnimationFrameEvent());
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java366 receiver.send(0, new Bundle()); in destroySessions()
393 receiver.send(0, resultData); in listSessions()
671 private void send(@NonNull IResultReceiver receiver, int value) { in send() method in AutofillManagerService
673 receiver.send(value, null); in send()
679 private void send(@NonNull IResultReceiver receiver, @NonNull Bundle value) { in send() method in AutofillManagerService
681 receiver.send(0, value); in send()
687 private void send(@NonNull IResultReceiver receiver, @Nullable String value) { in send() method in AutofillManagerService
688 send(receiver, SyncResultReceiver.bundleFor(value)); in send()
691 private void send(@NonNull IResultReceiver receiver, @Nullable String[] value) { in send() method in AutofillManagerService
692 send(receiver, SyncResultReceiver.bundleFor(value)); in send()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java125 sender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands()
144 sender.send((selectResponse, requestBuilder) -> mSelectResponse = new byte[0], in testOpenChannelErrorStatus()
163 sender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu(10, 1, 2, 3, 0, "a"), in testSend()
182 sender.send((selectResponse, requestBuilder) -> { in testSendMultiApdus()
212 sender.send((selectResponse, requestBuilder) -> { in testSendMultiApdusStopEarly()
239 sender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu(10, 1, 2, 3, 0, "a"), in testSendLongResponse()
267 sender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataLongResponse()
300 sender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataMod0()
321 sender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLen0()
346 sender.send((selectResponse, requestBuilder) -> { in testSendErrorResponseInMiddle()
[all …]
/frameworks/base/tests/AmSlam/src/test/amslam/
DMainActivity.java118 public void onPingPongResponse(long send, long bounce, long recv, String remote) { in onPingPongResponse() argument
119 if (send < mBatchStartTime || mPendingResponses == 0) { in onPingPongResponse()
121 Log.e(TAG, "send " + send + ", bounce " + bounce + ", recv " + recv in onPingPongResponse()
127 mTotalTime += (recv - send); in onPingPongResponse()
128 mTotalPingTime += (bounce - send); in onPingPongResponse()
/frameworks/base/core/java/android/app/
DPendingIntent.java691 public void send() throws CanceledException { in send() method in PendingIntent
692 send(null, 0, null, null, null, null, null); in send()
705 public void send(int code) throws CanceledException { in send() method in PendingIntent
706 send(null, code, null, null, null, null, null); in send()
725 public void send(Context context, int code, @Nullable Intent intent) in send() method in PendingIntent
727 send(context, code, intent, null, null, null, null); in send()
746 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) in send() method in PendingIntent
748 send(null, code, null, onFinished, handler, null, null); in send()
784 public void send(Context context, int code, @Nullable Intent intent, in send() method in PendingIntent
786 send(context, code, intent, onFinished, handler, null, null); in send()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java286 EventBus.getDefault().send(dismissEvent); in dismissRecentsToHome()
369 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, true)); in onStart()
445 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in reloadStackView()
479 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in onEnterAnimationComplete()
484 EventBus.getDefault().send(new SetWaitingForTransitionStartEvent(false)); in onEnterAnimationComplete()
506 EventBus.getDefault().send(new ConfigurationChangedEvent(false /* fromMultiWindow */, in onConfigurationChanged()
533 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, false)); in onStop()
601 EventBus.getDefault().send(new FocusPreviousTaskViewEvent()); in onKeyDown()
603 EventBus.getDefault().send(new FocusNextTaskViewEvent()); in onKeyDown()
619 EventBus.getDefault().send(new NavigateTaskViewEvent(direction)); in onKeyDown()
[all …]
/frameworks/base/core/java/android/os/
DResultReceiver.java55 public void send(int resultCode, Bundle resultData) { in send() method in ResultReceiver.MyResultReceiver
81 public void send(int resultCode, Bundle resultData) { in send() method in ResultReceiver
93 mReceiver.send(resultCode, resultData); in send()
DMessenger.java56 public void send(Message message) throws RemoteException { in send() method in Messenger
57 mTarget.send(message); in send()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java202 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
207 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
212 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
262 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
272 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
289 mResultReceiver.send(RESULT_SUCCESS, result); in call()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLocalOnlyHotspotRequestInfo.java93 mMessenger.send(message); in sendHotspotFailedMessage()
107 mMessenger.send(message); in sendHotspotStartedMessage()
118 mMessenger.send(message); in sendHotspotStoppedMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java233 mToActivityMessenger.send(m); in onPinnedStackAnimationEnded()
264 mToActivityMessenger.send(m); in setDismissFraction()
299 mToActivityMessenger.send(m); in showMenu()
322 mToActivityMessenger.send(m); in pokeMenu()
342 mToActivityMessenger.send(m); in hideMenu()
372 mToActivityMessenger.send(m); in hideMenu()
467 mToActivityMessenger.send(m); in updateMenuActions()
/frameworks/base/core/java/android/provider/
DBrowser.java226 Intent send = new Intent(Intent.ACTION_SEND); in sendString() local
227 send.setType("text/plain"); in sendString()
228 send.putExtra(Intent.EXTRA_TEXT, stringToSend); in sendString()
231 Intent i = Intent.createChooser(send, chooserDialogTitle); in sendString()

12345678910