Home
last modified time | relevance | path

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

12345678910

/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DBluetoothMidiEncoderTest.java67 void send(byte[] data) throws IOException { in send() method in BluetoothMidiEncoderTest.EncoderChecker
68 send(data, 0); in send()
71 void send(byte[] data, long timestamp) throws IOException { in send() method in BluetoothMidiEncoderTest.EncoderChecker
73 mEncoder.send(data, 0, data.length, timestamp); in send()
116 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64}); in testOneNoteOn()
133 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, (byte) 0x90, 0x47, 0x72}); in testTwoNoteOnsSameChannel()
150 checker.send(new byte[] {(byte) 0x93, 0x40, 0x60, (byte) 0x95, 0x47, 0x64}); in testTwoNoteOnsTwoChannels()
174 checker.send(new byte[] {(byte) 0x98, 0x45, 0x60}, timestamp); in testTwoNoteOnsOverTime()
179 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64}, timestamp); in testTwoNoteOnsOverTime()
181 checker.send(new byte[] {(byte) 0x90, 0x47, 0x72}, timestamp); in testTwoNoteOnsOverTime()
[all …]
DMidiFramerTest.java67 void send(byte[] data) throws IOException { in send() method in MidiFramerTest.FramerChecker
69 mFramer.send(data, 0, data.length, 0); in send()
80 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, (byte) 0x90, 0x47, 0x50}); in testFramerTwoNoteOns()
92 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, 0x47, 0x70}); in testFramerTwoNoteOnsRunning()
105 checker.send(new byte[] {0x01, 0x02, // garbage bytes in testFramerPreGarbage()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java160 send(mLastEvent); in testOneFingerMove_shouldInjectHoverEvents()
175 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
180 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
183 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
202 send(downEvent(DEFAULT_X + 10, DEFAULT_Y + 10)); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
205 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
213 send(cancelEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
217 send(downEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
220 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
238 send(mLastEvent); in testTwoFingerDragWithExtraMoveEvents()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java262 send(downEvent()); in testAlternativeTransitions_areWorking()
294 send(downEvent()); in testNonTransitions_dontChangeState()
295 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y)); in testNonTransitions_dontChangeState()
359 send(downEvent()); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents()
360 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y)); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents()
361 send(pointerEvent(ACTION_POINTER_UP, DEFAULT_X * 2, DEFAULT_Y)); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents()
362 send(upEvent()); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents()
384 send(downEvent()); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents()
385 send(pointerEvent(ACTION_POINTER_DOWN, new PointF[] {pointer1, pointer2})); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents()
386 send(pointerEvent(ACTION_POINTER_DOWN, new PointF[] {pointer1, pointer2, pointer3})); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents()
[all …]
DWindowMagnificationGestureHandlerTest.java221 send(downEvent); in goFromStateIdleTo()
258 send(upEvent(frame.centerX(), frame.centerY())); in returnToNormalFrom()
292 private void send(MotionEvent event) { in send() method in WindowMagnificationGestureHandlerTest
310 send(downEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap()
311 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap()
/frameworks/base/core/java/android/service/autofill/
DSavedDatasetsInfoCallbackImpl.java58 send(1, null); in onSuccess()
68 send(1, null); in onSuccess()
73 send(0, bundle); in onSuccess()
81 send(1, bundle); in onError()
84 private void send(int resultCode, Bundle bundle) { in send() method in SavedDatasetsInfoCallbackImpl
86 mReceiver.send(resultCode, bundle); in send()
/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/native/libs/binder/
DBinder.cpp80 Parcel send; in shellCommand() local
82 send.writeFileDescriptor(in); in shellCommand()
83 send.writeFileDescriptor(out); in shellCommand()
84 send.writeFileDescriptor(err); in shellCommand()
86 send.writeInt32(numArgs); in shellCommand()
88 send.writeString16(args[i]); in shellCommand()
90 send.writeStrongBinder(callback != nullptr ? IInterface::asBinder(callback) : nullptr); in shellCommand()
91send.writeStrongBinder(resultReceiver != nullptr ? IInterface::asBinder(resultReceiver) : nullptr); in shellCommand()
92 return target->transact(SHELL_COMMAND_TRANSACTION, send, &reply); in shellCommand()
418 resultReceiver->send(INVALID_OPERATION); in onTransact()
DIResultReceiver.cpp37 virtual void send(int32_t resultCode) { in send() function in android::BpResultReceiver
57 send(resultCode); in onTransact()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java104 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands()
120 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = new byte[0], in testOpenChannelErrorStatus()
136 mSender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu( in testSend()
152 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdus()
179 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdusStopEarly()
203 mSender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu( in testSendLongResponse()
228 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataLongResponse()
258 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataMod0()
276 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLen0()
298 mSender.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/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.java58 public void send(Message message) throws RemoteException { in send() method in Messenger
59 mTarget.send(message); in send()
/frameworks/base/core/java/android/app/
DPendingIntent.java770 public void send() throws CanceledException { in send() method in PendingIntent
771 send(null, 0, null, null, null, null, null); in send()
784 public void send(int code) throws CanceledException { in send() method in PendingIntent
785 send(null, code, null, null, null, null, null); in send()
804 public void send(Context context, int code, @Nullable Intent intent) in send() method in PendingIntent
806 send(context, code, intent, null, null, null, null); in send()
825 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) in send() method in PendingIntent
827 send(null, code, null, onFinished, handler, null, null); in send()
863 public void send(Context context, int code, @Nullable Intent intent, in send() method in PendingIntent
865 send(context, code, intent, onFinished, handler, null, null); in send()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java406 receiver.send(0, new Bundle()); in removeAllSessions()
433 receiver.send(0, resultData); in listSessions()
731 private void send(@NonNull IResultReceiver receiver, int value) { in send() method in AutofillManagerService
733 receiver.send(value, null); in send()
739 private void send(@NonNull IResultReceiver receiver, @NonNull Bundle value) { in send() method in AutofillManagerService
741 receiver.send(0, value); in send()
747 private void send(@NonNull IResultReceiver receiver, @Nullable String value) { in send() method in AutofillManagerService
748 send(receiver, SyncResultReceiver.bundleFor(value)); in send()
751 private void send(@NonNull IResultReceiver receiver, @Nullable String[] value) { in send() method in AutofillManagerService
752 send(receiver, SyncResultReceiver.bundleFor(value)); in send()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSyncTransactionQueue.java74 cb.send(); in queue()
94 cb.send(); in queueIfWaiting()
144 void send() { in send() method in SyncTransactionQueue.SyncCallback
173 mQueue.get(0).send(); in onTransactionReady()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt4 SamShouldBeLast: android.app.PendingIntent#send(android.content.Context, int, android.content.Inten…
5 …SAM-compatible parameters (such as parameter 4, "onFinished", in android.app.PendingIntent.send) s…
6 SamShouldBeLast: android.app.PendingIntent#send(android.content.Context, int, android.content.Inten…
7 …SAM-compatible parameters (such as parameter 4, "onFinished", in android.app.PendingIntent.send) s…
8 SamShouldBeLast: android.app.PendingIntent#send(android.content.Context, int, android.content.Inten…
9 …SAM-compatible parameters (such as parameter 4, "onFinished", in android.app.PendingIntent.send) s…
10 SamShouldBeLast: android.app.PendingIntent#send(int, android.app.PendingIntent.OnFinished, android.…
11 …SAM-compatible parameters (such as parameter 2, "onFinished", in android.app.PendingIntent.send) s…
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DCommunicatorTest.java133 Set<Communicator.Message> send = mMessagesCaptor.getValue(); in testSendMessage() local
134 assertEquals(test, send); in testSendMessage()
156 Set<Communicator.Message> send = mMessagesCaptor.getValue(); in testReceiveMessage() local
157 assertEquals(test, send); in testReceiveMessage()
/frameworks/base/core/java/android/provider/
DBrowser.java222 Intent send = new Intent(Intent.ACTION_SEND); in sendString() local
223 send.setType("text/plain"); in sendString()
224 send.putExtra(Intent.EXTRA_TEXT, stringToSend); in sendString()
227 Intent i = Intent.createChooser(send, chooserDialogTitle); in sendString()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java235 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
236 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
252 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
253 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
258 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForAllEventHandlers()
340 private void send(InputEvent event) { in send() method in AccessibilityInputFilterTest

12345678910