Home
last modified time | relevance | path

Searched refs:sendData (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/
DLargeParcelableTest.cpp80 LargeParcelable sendData(std::move(p)); in testWrapStableAidlWriteReadPayload() local
83 status = sendData.writeToParcel(parcel.get()); in testWrapStableAidlWriteReadPayload()
114 LargeParcelable sendData(std::move(p)); in TEST() local
117 binder_status_t status = sendData.writeToParcel(parcel.get()); in TEST()
122 status = sendData.writeToParcel(parcel2.get()); in TEST()
190 LargeParcelable sendData(std::move(p)); in testStableLargeParcelableToParcelable() local
193 status = sendData.writeToParcel(parcel.get()); in testStableLargeParcelableToParcelable()
259 LargeParcelableVector sendData(std::move(p)); in testWrapStableAidlVectorWriteReadPayload() local
262 status = sendData.writeToParcel(parcel.get()); in testWrapStableAidlVectorWriteReadPayload()
338 LargeParcelableVector sendData(std::move(p)); in testStableLargeParcelableToParcelableVector() local
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java153 mTransportProvider.sendData(MessageType.COMMAND, MESSAGE_PAYLOAD, mMockSendingDataCallback); in testSendData_succeed()
161 mTransportProvider.sendData(MessageType.COMMAND , MESSAGE_PAYLOAD, in testSendData_failed()
169 mTransportProvider.sendData(MessageType.COMMAND, MESSAGE_PAYLOAD, mMockSendingDataCallback); in testSendData_updateDestinationSecid()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceBinderTest.java172 mBinder.sendData(mRemoteDevice, report, null); in sendData_callsServiceMethod()
174 verify(mService).sendData(mRemoteDevice, report); in sendData_callsServiceMethod()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java645 NfcService.getInstance().sendData(ANDROID_HCE_RESPONSE); in onHostEmulationData()
675 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
696 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
705 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
717 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
786 NfcService.getInstance().sendData(UNKNOWN_ERROR); in onHostEmulationData()
1206 NfcService.getInstance().sendData(data); in handleMessage()
DHostNfcFEmulationManager.java379 NfcService.getInstance().sendData(data); in handleMessage()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransport.java32 void sendData( in sendData() method
DTransportProvider.java113 public void sendData( in sendData() method in TransportProvider
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java256 doAnswer(new DataSendAnswer(session)).when(adapter).sendData(any(), any(), any(), any()); in testCallbacks_OnlyWhenOpened()
283 verifyThrowIllegalState(() -> session.sendData( in testCallbacks_OnlyWhenOpened()
319 verifyNoThrowIllegalState(() -> session.sendData( in testCallbacks_OnlyWhenOpened()
322 verifyNoThrowIllegalState(() -> session.sendData( in testCallbacks_OnlyWhenOpened()
384 verifyThrowIllegalState(() -> session.sendData( in testCallbacks_OnlyWhenOpened()
402 verifyThrowIllegalState(() -> session.sendData( in testCallbacks_OnlyWhenOpened()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java3558 when(mNativeUwbManager.sendData(eq(TEST_SESSION_ID), eq(macAddress), in doTest_sendData_success_validUwbSession()
3562 mUwbSessionManager.sendData( in doTest_sendData_success_validUwbSession()
3566 verify(mNativeUwbManager).sendData(eq(TEST_SESSION_ID), eq(macAddress), in doTest_sendData_success_validUwbSession()
3621 mUwbSessionManager.sendData( in sendData_missingSessionHandle()
3626 verify(mNativeUwbManager, never()).sendData( in sendData_missingSessionHandle()
3642 mUwbSessionManager.sendData( in sendData_invalidUwbSessionHandle()
3646 verify(mNativeUwbManager, never()).sendData( in sendData_invalidUwbSessionHandle()
3661 mUwbSessionManager.sendData( in sendData_invalidUwbSessionState()
3665 verify(mNativeUwbManager, never()).sendData( in sendData_invalidUwbSessionState()
3679 mUwbSessionManager.sendData( in sendData_missingDataPayload()
[all …]
DUwbServiceImplTest.java826 mUwbServiceImpl.sendData(sessionHandle, mUwbAddress, parameters, data); in testSendData()
827 verify(mUwbServiceCore).sendData(sessionHandle, mUwbAddress, parameters, data); in testSendData()
841 mUwbServiceImpl.sendData(sessionHandle, mUwbAddress, parameters, data); in testThrowSecurityExceptionWhenSendDataWithoutUwbPrivilegedPermission()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHidHost.aidl58 …boolean sendData(in BluetoothDevice device, String report, in AttributionSource attributionSource); in sendData() method
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java508 verify(mNfcService).sendData(eq(HostEmulationManager.ANDROID_HCE_RESPONSE)); in testOnHostEmulationData_stateW4Select_hceAid()
523 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
540 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
570 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
600 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_secureNfcEnabled()
631 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn()
662 verify(mNfcService).sendData(eq(HostEmulationManager.AID_NOT_FOUND)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_notOnHost()
803 verify(mNfcService).sendData(eq(HostEmulationManager.UNKNOWN_ERROR)); in testOnHostEmulationData_stateW4Select_noSelectAid()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java452 if (!mNativeInterface.sendData( in handleMessageSendData()
964 public boolean sendData(BluetoothDevice device, String report, AttributionSource source) { in sendData() method in HidHostService.BluetoothHidHostBinder
969 return service.sendData(device, report); in sendData()
1228 boolean sendData(BluetoothDevice device, String report) { in sendData() method in HidHostService
1236 return mNativeInterface.sendData( in sendData()
DHidHostNativeInterface.java97 boolean sendData(byte[] address, int addressType, int transport, String report) { in sendData() method in HidHostNativeInterface
/packages/modules/Uwb/framework/java/android/uwb/
DIUwbAdapter.aidl276 void sendData(in SessionHandle sessionHandle, in UwbAddress remoteDeviceAddress, in sendData() method
DRangingSession.java804 public void sendData(@NonNull UwbAddress remoteDeviceAddress, in sendData() method in RangingSession
812 mAdapter.sendData(mSessionHandle, remoteDeviceAddress, params, data); in sendData()
/packages/modules/Bluetooth/android/pandora/server/src/
DL2cap.kt156 override fun sendData( in sendData() method in com.android.pandora.L2cap
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceImpl.java366 public void sendData(SessionHandle sessionHandle, UwbAddress remoteDeviceAddress, in sendData() method in UwbServiceImpl
369 mUwbServiceCore.sendData(sessionHandle, remoteDeviceAddress, params, data); in sendData()
DUwbServiceCore.java839 public void sendData(SessionHandle sessionHandle, UwbAddress remoteDeviceAddress, in sendData() method in UwbServiceCore
845 mSessionManager.sendData(sessionHandle, remoteDeviceAddress, params, data); in sendData()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHidHost.java763 public boolean sendData(BluetoothDevice device, String report) { in sendData() method in BluetoothHidHost
771 return service.sendData(device, report, mAttributionSource); in sendData()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java2063 final byte[] sendData = new byte[100]; in checkBlockUdp()
2064 random.nextBytes(sendData); in checkBlockUdp()
2072 dstPort, TEST_SRC_PORT, sendData); in checkBlockUdp()
2077 dstPort, TEST_SRC_PORT, sendData); in checkBlockUdp()
2091 final byte[] recvData = new byte[sendData.length]; in checkBlockUdp()
2094 MoreAsserts.assertEquals(sendData, recvData); in checkBlockUdp()
/packages/modules/DnsResolver/
DDnsProxyListener.cpp790 return c->sendData(&be_data, sizeof(be_data)) == 0; in sendBE32()
796 return sendBE32(c, len) && (len == 0 || c->sendData(data, len) == 0); in sendLenAndData()
817 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
820 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java427 public byte sendData( in sendData() method in NativeUwbManager
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java152 mTransport.sendData( in handleScMessage()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java406 protected void sendData(OutputStream out) throws IOException { in makeUploadPart() method

12