/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiEncoderTest.java | 68 void send(byte[] data) throws IOException { in send() method in BluetoothMidiEncoderTest.EncoderChecker 69 send(data, 0); in send() 72 void send(byte[] data, long timestamp) throws IOException { in send() method in BluetoothMidiEncoderTest.EncoderChecker 74 mEncoder.send(data, 0, data.length, timestamp); in send() 117 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64}); in testOneNoteOn() 134 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, (byte) 0x90, 0x47, 0x72}); in testTwoNoteOnsSameChannel() 151 checker.send(new byte[] {(byte) 0x93, 0x40, 0x60, (byte) 0x95, 0x47, 0x64}); in testTwoNoteOnsTwoChannels() 175 checker.send(new byte[] {(byte) 0x98, 0x45, 0x60}, timestamp); in testTwoNoteOnsOverTime() 180 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64}, timestamp); in testTwoNoteOnsOverTime() 182 checker.send(new byte[] {(byte) 0x90, 0x47, 0x72}, timestamp); in testTwoNoteOnsOverTime() [all …]
|
D | MidiFramerTest.java | 67 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/ |
D | TouchExplorerTest.java | 165 send(mLastEvent); in testOneFingerMove_shouldInjectHoverEvents() 180 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents() 185 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents() 188 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents() 207 send(downEvent(DEFAULT_X + 10, DEFAULT_Y + 10)); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() 210 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() 218 send(cancelEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() 222 send(downEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() 225 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() 243 send(mLastEvent); in testTwoFingerDragWithExtraMoveEvents() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationGestureHandlerTest.java | 271 send(downEvent()); in testAlternativeTransitions_areWorking() 303 send(downEvent()); in testNonTransitions_dontChangeState() 304 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y)); in testNonTransitions_dontChangeState() 368 send(downEvent()); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents() 369 send(pointerEvent(ACTION_POINTER_DOWN, DEFAULT_X * 2, DEFAULT_Y)); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents() 370 send(pointerEvent(ACTION_POINTER_UP, DEFAULT_X * 2, DEFAULT_Y)); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents() 371 send(upEvent()); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents() 393 send(downEvent()); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents() 394 send(pointerEvent(ACTION_POINTER_DOWN, new PointF[] {pointer1, pointer2})); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents() 395 send(pointerEvent(ACTION_POINTER_DOWN, new PointF[] {pointer1, pointer2, pointer3})); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents() [all …]
|
D | WindowMagnificationGestureHandlerTest.java | 245 send(downEvent); in goFromStateIdleTo() 289 send(upEvent(frame.centerX(), frame.centerY())); in returnToNormalFrom() 300 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in returnToNormalFrom() 327 private void send(MotionEvent event) { in send() method in WindowMagnificationGestureHandlerTest 345 send(downEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap() 346 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap() 350 send(downEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tapAndHold()
|
/frameworks/base/core/java/android/service/autofill/ |
D | SavedDatasetsInfoCallbackImpl.java | 58 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/libs/modules-utils/javatests/com/android/modules/utils/ |
D | SynchronousResultReceiverTest.java | 39 recv.send(true); in testSimpleData() 47 recv.send(true); in testDoubleComplete() 49 () -> recv.send(true)); in testDoubleComplete() 55 recv.send(null); in testDefaultValue() 77 recv.send(false); in testNegativeTime()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiFramer.java | 80 mReceiver.send(data, sysExStartOffset, in onSend() 94 mReceiver.send(data, sysExStartOffset, in onSend() 98 mReceiver.send(data, offset, 1, timestamp); in onSend() 113 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend() 124 mReceiver.send(data, sysExStartOffset, in onSend()
|
/frameworks/rs/ |
D | rsFifoSocket.cpp | 46 ::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/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 273 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 274 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 290 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForDisplayEventHandlers() 291 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForDisplayEventHandlers() 296 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForDisplayEventHandlers() 314 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 315 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 316 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 320 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 332 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded() [all …]
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiReceiver.java | 103 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/java/android/nfc/cardemulation/ |
D | HostApduService.java | 270 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()
|
D | HostNfcFService.java | 198 mNfcService.send(responseMsg); in handleMessage() 215 mNfcService.send(msg); in handleMessage() 248 mMessenger.send(responseMsg); in sendResponsePacket()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | IntentSenderTest.java | 36 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 114 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands() 130 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = new byte[0], in testOpenChannelErrorStatus() 146 mSender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu( in testSend() 162 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdus() 189 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdusStopEarly() 213 mSender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu( in testSendLongResponse() 238 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataLongResponse() 268 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataMod0() 286 mSender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLen0() 308 mSender.send((selectResponse, requestBuilder) -> { in testSendErrorResponseInMiddle() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepository.kt | 54 fun send(element: Set<Int>) = trySendWithFailureLogging(element, TAG) in <lambda>() method 61 send(connectedKeyboards) in <lambda>() 68 send(connectedKeyboards) in <lambda>() 71 send(connectedKeyboards) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/ |
D | PowerRepository.kt | 48 fun send() { in <lambda>() method 55 send() in <lambda>() 66 send() in <lambda>()
|
/frameworks/base/tests/AmSlam/src/test/amslam/ |
D | MainActivity.java | 118 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/tests/componentalias/src/android/content/componentalias/tests/s/ |
D | BaseService.java | 43 BroadcastMessenger.send(this, TAG, m); in onStartCommand() 55 BroadcastMessenger.send(this, TAG, m); in onDestroy() 66 BroadcastMessenger.send(this, TAG, m); in onBind()
|
/frameworks/base/core/java/android/os/ |
D | ResultReceiver.java | 55 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()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | SyncTransactionQueue.java | 80 cb.send(); in queue() 99 cb.send(); in queue() 123 cb.send(); in queueIfWaiting() 181 void send() { in send() method in SyncTransactionQueue.SyncCallback 230 mQueue.get(0).send(); in onTransactionReady()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 406 receiver.send(0, new Bundle()); in removeAllSessions() 433 receiver.send(0, resultData); in listSessions() 753 private void send(@NonNull IResultReceiver receiver, int value) { in send() method in AutofillManagerService 755 receiver.send(value, null); in send() 761 private void send(@NonNull IResultReceiver receiver, @NonNull Bundle value) { in send() method in AutofillManagerService 763 receiver.send(0, value); in send() 769 private void send(@NonNull IResultReceiver receiver, @Nullable String value) { in send() method in AutofillManagerService 770 send(receiver, SyncResultReceiver.bundleFor(value)); in send() 773 private void send(@NonNull IResultReceiver receiver, @Nullable String[] value) { in send() method in AutofillManagerService 774 send(receiver, SyncResultReceiver.bundleFor(value)); in send() [all …]
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 153 public void send(int resultCode, Bundle resultData) throws RemoteException { in send() method in PendingIntent.CancelListerInfo 796 public void send() throws CanceledException { in send() method in PendingIntent 797 send(null, 0, null, null, null, null, null); in send() 810 public void send(int code) throws CanceledException { in send() method in PendingIntent 811 send(null, code, null, null, null, null, null); in send() 830 public void send(Context context, int code, @Nullable Intent intent) in send() method in PendingIntent 832 send(context, code, intent, null, null, null, null); in send() 851 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) in send() method in PendingIntent 853 send(null, code, null, onFinished, handler, null, null); in send() 889 public void send(Context context, int code, @Nullable Intent intent, in send() method in PendingIntent [all …]
|
/frameworks/native/libs/binder/ |
D | IResultReceiver.cpp | 37 virtual void send(int32_t resultCode) { in send() function in android::BpResultReceiver 57 send(resultCode); in onTransact()
|
D | Binder.cpp | 98 Parcel send; in shellCommand() local 100 send.writeFileDescriptor(in); in shellCommand() 101 send.writeFileDescriptor(out); in shellCommand() 102 send.writeFileDescriptor(err); in shellCommand() 104 send.writeInt32(numArgs); in shellCommand() 106 send.writeString16(args[i]); in shellCommand() 108 send.writeStrongBinder(callback != nullptr ? IInterface::asBinder(callback) : nullptr); in shellCommand() 109 …send.writeStrongBinder(resultReceiver != nullptr ? IInterface::asBinder(resultReceiver) : nullptr); in shellCommand() 110 return target->transact(SHELL_COMMAND_TRANSACTION, send, &reply); in shellCommand() 635 resultReceiver->send(INVALID_OPERATION); in onTransact()
|