Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
H A DBluetoothMidiEncoderTest.java68 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()
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()
220 checker.send(new byte[] {0x03, 0x04, 0x05, (byte) 0xF7}); in testSysExTwoPackets()
246 checker.send(new byte[] {0x03, 0x04, 0x05}); in testSysExThreePackets()
[all …]
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
H A DTouchExplorerTest.java165 send(mLastEvent); in testOneFingerMove_shouldInjectHoverEvents()
180 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
185 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
188 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
210 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
225 send(upEvent()); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
243 send(mLastEvent); in testTwoFingerDragWithExtraMoveEvents()
257 send(upEvent()); in testUpEvent_OneFingerMove_clearStateAndInjectHoverEvents()
287 send(upEvent()); in testFlickCrossViews_clearStateAndExpectedEvents()
325 send(upEvent()); in upEventWhenInTwoFingerMove_clearsState()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandlerTest.java327 send(upEvent()); in testRelease_shortcutTriggeredZoomedTmp_alwaysOnNotEnabled_shouldInIdle()
336 send(upEvent()); in testRelease_shortcutTriggeredZoomedTmp_alwaysOnEnabled_shouldInActivated()
416 send(downEvent()); in testTwoFingersOneTap_activatedState_dispatchMotionEvents()
419 send(upEvent()); in testTwoFingersOneTap_activatedState_dispatchMotionEvents()
450 send(downEvent()); in testThreeFingersOneTap_activatedState_dispatchMotionEvents()
455 send(upEvent()); in testThreeFingersOneTap_activatedState_dispatchMotionEvents()
476 send(downEvent()); in testFirstFingerSwipe_twoPointerDownAndActivatedState_panningState()
493 send(downEvent()); in testSecondFingerSwipe_twoPointerDownAndActivatedState_panningState()
891 send(upEvent()); in tap()
901 send(upEvent()); in swipe()
[all …]
H A DWindowMagnificationGestureHandlerTest.java183 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in testTripleTapAndHold_enabled_releaseHold_expectedValue()
259 send(downEvent); in goFromStateIdleTo()
311 send(upEvent(frame.centerX(), frame.centerY())); in returnToNormalFrom()
322 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in returnToNormalFrom()
326 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in returnToNormalFrom()
354 private void send(MotionEvent event) { in send() method in WindowMagnificationGestureHandlerTest
372 send(downEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap()
373 send(upEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tap()
377 send(downEvent(DEFAULT_TAP_X, DEFAULT_TAP_Y)); in tapAndHold()
/aosp14/frameworks/base/core/java/android/service/autofill/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/midi/
H A DMidiFramer.java80 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInputFilterTest.java273 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 …]
/aosp14/system/core/trusty/libtrusty-rs/tests/
H A Dtest.rs12 connection.send(send_buf.as_slice()).unwrap(); in recv_no_alloc()
37 connection.send(send_buf.as_slice()).unwrap(); in recv_small_buf()
59 connection.send(send_buf.as_slice()).unwrap(); in recv_empty_vec()
76 connection.send(send_buf.as_slice()).unwrap(); in recv_vec_existing_capacity()
/aosp14/system/core/init/
H A Dkeychords_test.cpp56 bool send(struct input_event& e);
57 bool send(uint16_t type, uint16_t code, uint16_t value);
58 bool send(uint16_t code, bool value);
118 bool EventHandler::send(struct input_event& e) { in send() function in android::init::__anoneb9747b80110::EventHandler
123 bool EventHandler::send(uint16_t type, uint16_t code, uint16_t value) { in send() function in android::init::__anoneb9747b80110::EventHandler
125 return send(e); in send()
128 bool EventHandler::send(uint16_t code, bool value) { in send() function in android::init::__anoneb9747b80110::EventHandler
129 return (code < KEY_MAX) && init() && send(EV_KEY, code, value) && send(EV_SYN, SYN_REPORT, 0); in send()
222 EXPECT_TRUE(ev_->send(key, value)); in SetChord()
/aosp14/frameworks/base/core/java/android/nfc/cardemulation/
H A 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()
H A DHostNfcFService.java198 mNfcService.send(responseMsg); in handleMessage()
215 mNfcService.send(msg); in handleMessage()
248 mMessenger.send(responseMsg); in sendResponsePacket()
/aosp14/frameworks/base/media/java/android/media/midi/
H A 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
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DIntentSenderTest.java37 is.send(); in testRegisteredReceivePermissionGranted()
59 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied()
69 is.send(); in testLocalReceivePermissionGranted()
89 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
/aosp14/frameworks/base/tests/AmSlam/src/test/amslam/
H A 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()
/aosp14/frameworks/base/core/java/android/os/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DSyncTransactionQueue.java80 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()
/aosp14/frameworks/base/core/java/android/app/
H A DPendingIntent.java879 public void send() throws CanceledException { in send() method in PendingIntent
880 send(null, 0, null, null, null, null, null); in send()
894 public void send(int code) throws CanceledException { in send() method in PendingIntent
895 send(null, code, null, null, null, null, null); in send()
915 public void send(Context context, int code, @Nullable Intent intent) in send() method in PendingIntent
917 send(context, code, intent, null, null, null, null); in send()
934 send(null, 0, null, null, null, null, options); in send()
956 send(null, code, null, onFinished, handler, null, null); in send()
989 public void send(Context context, int code, @Nullable Intent intent, in send() method in PendingIntent
991 send(context, code, intent, onFinished, handler, null, null); in send()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
H A DPowerRepository.kt55 fun send() { regex
62 send()
73 send()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardClockRepository.kt58 fun send() { regex
65 send()
69 send()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java502 receiver.send(0, new Bundle()); in removeAllSessions()
529 receiver.send(0, resultData); in listSessions()
917 receiver.send(value, null); in send()
925 receiver.send(0, value); in send()
944 send(receiver, value ? 1 : 0); in send()
1592 send(receiver, flags); in addClient()
1710 send(receiver, userData); in getUserData()
1773 send(receiver, enabled); in isFieldClassificationEnabled()
1829 send(receiver, in setAugmentedAutofillWhitelist()
1911 send(receiver, restored); in restoreSession()
[all …]
/aosp14/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DSlicePurchaseBroadcastReceiverTest.java106 verify(mPendingIntent, never()).send(); in testSendSlicePurchaseAppResponse()
111 verify(mPendingIntent).send(); in testSendSlicePurchaseAppResponse()
118 verify(mPendingIntent, never()).send(eq(mContext), eq(0), any(Intent.class)); in testSendSlicePurchaseAppResponseWithData()
125 verify(mPendingIntent).send(eq(mContext), eq(0), captor.capture()); in testSendSlicePurchaseAppResponseWithData()
218 verify(mNotificationShownIntent).send(); in testDisplayPerformanceBoostNotification()
328 verify(mNotificationShownIntent, never()).send(); in testLocaleChanged()
358 verify(mNotificationShownIntent, never()).send(); in testNotificationsDisabled()
361 verify(mNotificationsDisabledIntent).send(); in testNotificationsDisabled()
H A DSlicePurchaseActivityTest.java133 verify(mSuccessfulIntent).send(); in testOnPurchaseSuccessful()
142 verify(mPendingIntent).send(eq(mContext), eq(0), intentCaptor.capture()); in testOnPurchaseFailed()
153 verify(mCanceledIntent).send(); in testOnUserCanceled()
159 verify(mRequestFailedIntent).send(); in testOnDismissFlow()
/aosp14/frameworks/base/core/java/android/provider/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
H A DUserRepository.kt188 fun send(selectionStatus: SelectionStatus) { regex
199 send(SelectionStatus.SELECTION_IN_PROGRESS)
203 send(SelectionStatus.SELECTION_COMPLETE)
207 send(currentSelectionStatus)
212 send(currentSelectionStatus)

12345678910