Home
last modified time | relevance | path

Searched refs:onDataReceived (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java135 verify(mMockDataReceiver, times(1)).onDataReceived(MESSAGE_PAYLOAD); in testRegisterAndUnregisterDataReceiver()
148 verify(mMockDataReceiver2, times(1)).onDataReceived(MESSAGE_PAYLOAD); in testRegisterAndUnregisterDataReceiver()
193 verify(mMockDataReceiver, never()).onDataReceived(any()); in verifyAdminErrorMessageReceive()
225 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOnMessageReceived_receiveAdminEventPacket()
236 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOnMessageReceived_receiveInvalidAdminPacket()
/packages/modules/Connectivity/framework/src/android/net/
DSocketKeepalive.java327 public void onDataReceived() { in SocketKeepalive()
331 callback.onDataReceived(); in SocketKeepalive()
439 public void onDataReceived() {} in onDataReceived() method in SocketKeepalive.Callback
DISocketKeepaliveCallback.aidl33 void onDataReceived(); in onDataReceived() method
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportServerProviderTest.java488 verify(mMockDataReceiver, never()).onDataReceived(any()); in testInCharactersticWrite_failedEmptyDataPacket()
505 verify(mMockDataReceiver, never()).onDataReceived(any()); in testInCharactersticWrite_noResponse()
519 verify(mMockDataReceiver, times(1)).onDataReceived(captor.capture()); in testInCharactersticWrite_noResponse()
603 verify(mMockDataReceiver, times(1)).onDataReceived(captor.capture()); in testInCharactersticWrite_succeed()
632 verify(mMockDataReceiver, never()).onDataReceived(any()); in testInCharactersticWrite_secidMismatch()
674 verify(mMockDataReceiver, never()).onDataReceived(any()); in testInCharactersticWrite_adminErrorMessage()
DGattTransportClientProviderTest.java699 verify(mMockDataReceiver, times(1)).onDataReceived(captor.capture()); in testOutCharactersticNotifyAndRead_succeedOnePacket()
741 verify(mMockDataReceiver, times(1)).onDataReceived(captor.capture()); in testOutCharactersticNotifyAndRead_succeedThreePackets()
758 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOutCharactersticNotifyAndRead_receiveAdminPacket()
791 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOutCharactersticNotifyAndRead_packetLengthOverflow()
835 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOutCharactersticNotifyAndRead_tooManyConcurrentSessions()
882 verify(mMockDataReceiver, never()).onDataReceived(any()); in testOutCharactersticNotifyAndRead_messageLengthOverflow()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransport.java53 void onDataReceived(@NonNull byte[] data); in onDataReceived() method
DTransportProvider.java214 mDataReceiver.onDataReceived(message.payload); in onMessageReceived()
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DINativeUwbManager.java70 void onDataReceived( in onDataReceived() method
DNativeUwbManager.java418 public void onDataReceived( in onDataReceived() method in NativeUwbManager
421 mSessionListener.onDataReceived(sessionID, status, sequenceNum, address, data); in onDataReceived()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingManagerTest.java256 rangingManager.onDataReceived(handle, ADDRESS, PARAMS, DATA); in testCorrectCallbackInvoked()
257 verify(callback, times(1)).onDataReceived(eq(ADDRESS), eq(PARAMS), eq(DATA)); in testCorrectCallbackInvoked()
375 rangingManager.onDataReceived(handle, ADDRESS, PARAMS, DATA); in testNoCallbackInvoked_sessionClosed()
376 verify(callback, never()).onDataReceived(eq(ADDRESS), eq(PARAMS), eq(DATA)); in testNoCallbackInvoked_sessionClosed()
DRangingSessionTest.java327 session.onDataReceived(UWB_ADDRESS, PARAMS, new byte[] {0x5, 0x7}); in testCallbacks_OnlyWhenOpened()
328 verify(callback, times(1)).onDataReceived( in testCallbacks_OnlyWhenOpened()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionNotificationManagerTest.java639 mUwbSessionNotificationManager.onDataReceived(mUwbSession, PEER_EXTENDED_UWB_ADDRESS, in testOnDataReceived()
642 verify(mIUwbRangingCallbacks).onDataReceived(eq(mSessionHandle), eq( in testOnDataReceived()
761 verify(mIUwbRangingCallbacks, never()).onDataReceived(any(), any(), any(), any()); in testonRadarDataMessageReceivedWithoutUwbRangingPermission()
772 verify(mIUwbRangingCallbacks).onDataReceived( in testonRadarDataMessageReceived_forRadarSweepData()
DUwbSessionManagerTest.java398 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onDataReceived_extendedMacAddressFormat_owrAoA()
412 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onDataReceived_unsupportedMacAddressLength_owrAoa()
428 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onDataReceived_shortMacAddressFormat_owrAoa()
443 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onDataReceived_shortMacAddressFormat_dsTwr()
446 verify(mUwbSessionNotificationManager).onDataReceived( in onDataReceived_shortMacAddressFormat_dsTwr()
502 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onRangeDataNotificationReceived_owrAoa_success_extendedMacAddress()
523 .onDataReceived(eq(mockUwbSession), eq(PEER_EXTENDED_UWB_ADDRESS), in onRangeDataNotificationReceived_owrAoa_success_extendedMacAddress()
548 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onRangeDataNotificationReceived_owrAoa_success_shortMacAddress()
569 .onDataReceived(eq(mockUwbSession), eq(PEER_SHORT_UWB_ADDRESS), in onRangeDataNotificationReceived_owrAoa_success_shortMacAddress()
586 mUwbSessionManager.onDataReceived(TEST_SESSION_ID, UwbUciConstants.STATUS_CODE_OK, in onRangeDataNotificationReceived_owrAoa_success_multipleAdvertisers()
[all …]
/packages/modules/Uwb/framework/java/android/uwb/
DRangingSession.java412 default void onDataReceived(@NonNull UwbAddress remoteDeviceAddress, in onDataReceived() method
1225 public void onDataReceived(@NonNull UwbAddress remoteDeviceAddress, in onDataReceived() method in RangingSession
1233 executeCallback(() -> mCallback.onDataReceived(remoteDeviceAddress, params, data)); in onDataReceived()
DIUwbRangingCallbacks.aidl265 void onDataReceived(in SessionHandle sessionHandle, in UwbAddress remoteDeviceAddress, in onDataReceived() method
DRangingManager.java432 public void onDataReceived(SessionHandle sessionHandle, UwbAddress remoteDeviceAddress, in onDataReceived() method in RangingManager
442 session.onDataReceived(remoteDeviceAddress, parameters, data); in onDataReceived()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionNotificationManager.java431 public void onDataReceived( in onDataReceived() method in UwbSessionNotificationManager
437 uwbRangingCallbacks.onDataReceived( in onDataReceived()
632 uwbRangingCallbacks.onDataReceived( in onRadarDataMessageReceived()
DUwbSessionManager.java349 public void onDataReceived( in onDataReceived() method in UwbSessionManager
381 mSessionNotificationManager.onDataReceived( in onDataReceived()
944 mSessionNotificationManager.onDataReceived( in processRangeData()
DUwbShellCommand.java389 public void onDataReceived(SessionHandle sessionHandle, UwbAddress uwbAddress, in onDataReceived() method in UwbShellCommand.UwbRangingCallbacks
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java125 public void onDataReceived(@NonNull byte[] data) {
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java663 ki.mCallback.onDataReceived(); in cleanupStoppedKeepalive()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java365 public void onDataReceived(UwbAddress remoteDeviceAddress, in onDataReceived() method in UwbManagerSnippet.RangingSessionCallback
/packages/modules/Uwb/framework/api/
Dsystem-current.txt130 …method public default void onDataReceived(@NonNull android.uwb.UwbAddress, @NonNull android.os.Per…
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java735 public void onDataReceived(UwbAddress remoteDeviceAddress, in onDataReceived() method in UwbManagerTest.RangingSessionCallback
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1122 public void onDataReceived() { in onDataReceived() method in VpnTest.TestSocketKeepaliveCallback

12