Home
last modified time | relevance | path

Searched refs:onServiceDiscovered (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DDiscoverySessionCallback.java171 public void onServiceDiscovered(PeerHandle peerHandle, in onServiceDiscovered() method in DiscoverySessionCallback
186 public void onServiceDiscovered(@NonNull ServiceDiscoveryInfo info) { in onServiceDiscovered() method in DiscoverySessionCallback
DWifiAwareManager.java1114 mOriginalCallback.onServiceDiscovered(new PeerHandle(peerId), serviceSpecificInfo, in onMatch()
1116 mOriginalCallback.onServiceDiscovered( in onMatch()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingManagerTest.java262 rangingManager.onServiceDiscovered(handle, PARAMS); in testCorrectCallbackInvoked()
263 verify(callback, times(1)).onServiceDiscovered(eq(PARAMS)); in testCorrectCallbackInvoked()
390 rangingManager.onServiceDiscovered(handle, PARAMS); in testNoCallbackInvoked_sessionClosed()
391 verify(callback, never()).onServiceDiscovered(eq(PARAMS)); in testNoCallbackInvoked_sessionClosed()
DRangingSessionTest.java107 session.onServiceDiscovered(PARAMS); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled()
108 verify(callback, times(1)).onServiceDiscovered(eq(PARAMS)); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled()
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DCallbackUtils.java349 public void onServiceDiscovered( in onServiceDiscovered() method in CallbackUtils.DiscoveryCb
359 public void onServiceDiscovered(ServiceDiscoveryInfo info) { in onServiceDiscovered() method in CallbackUtils.DiscoveryCb
/packages/modules/Uwb/framework/java/android/uwb/
DRangingSession.java451 default void onServiceDiscovered(@NonNull PersistableBundle parameters) {} in onServiceDiscovered() method
1280 public void onServiceDiscovered(@NonNull PersistableBundle params) { in onServiceDiscovered() method in RangingSession
1287 executeCallback(() -> mCallback.onServiceDiscovered(params)); in onServiceDiscovered()
DIUwbRangingCallbacks.aidl327 void onServiceDiscovered(in SessionHandle sessionHandle, in PersistableBundle parameters); in onServiceDiscovered() method
DRangingManager.java462 public void onServiceDiscovered(SessionHandle sessionHandle, in onServiceDiscovered() method in RangingManager
472 session.onServiceDiscovered(parameters); in onServiceDiscovered()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java545 mDiscoverServiceCallback.onServiceDiscovered( in onServiceFound()
556 mDiscoverServiceCallback.onServiceDiscovered( in onServiceLost()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java493 .onServiceDiscovered("test", "_test._tcp", true /* isFound */); in discoverService_serviceDiscovered()
518 .onServiceDiscovered("test", "_test._tcp", false /* isFound */); in discoverService_serviceLost()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java395 inOrder.verify(mockSessionCallback).onServiceDiscovered(peerIdCaptor.capture(), in testPublishFlow()
398 inOrder.verify(mockSessionCallback).onServiceDiscovered(any(ServiceDiscoveryInfo.class)); in testPublishFlow()
557 inOrder.verify(mockSessionCallback).onServiceDiscovered(peerIdCaptor.capture(), in testSubscribeFlow()
559 inOrder.verify(mockSessionCallback).onServiceDiscovered(any(ServiceDiscoveryInfo.class)); in testSubscribeFlow()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java385 public void onServiceDiscovered(PersistableBundle params) { in onServiceDiscovered() method in UwbManagerSnippet.RangingSessionCallback
/packages/modules/Uwb/framework/api/
Dsystem-current.txt150 method public default void onServiceDiscovered(@NonNull android.os.PersistableBundle);
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java395 public void onServiceDiscovered(SessionHandle sessionHandle, PersistableBundle params) {} in onServiceDiscovered() method in UwbShellCommand.UwbRangingCallbacks
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java741 public void onServiceDiscovered(PersistableBundle params) { } in onServiceDiscovered() method in UwbManagerTest.RangingSessionCallback
/packages/modules/Wifi/framework/api/
Dcurrent.txt933 …method public void onServiceDiscovered(android.net.wifi.aware.PeerHandle, byte[], java.util.List<b…
934 method public void onServiceDiscovered(@NonNull android.net.wifi.aware.ServiceDiscoveryInfo);