/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 183 manager.resolveService(request, listener); in doTestResolveService() 184 int key1 = getRequestKey(req -> verify(mServiceConn).resolveService(req.capture(), any())); in doTestResolveService() 189 manager.resolveService(request, listener); in doTestResolveService() 191 verify(mServiceConn, times(2)).resolveService(req.capture(), any())); in doTestResolveService() 205 manager.resolveService(request, listener1); in doTestParallelResolveService() 206 int key1 = getRequestKey(req -> verify(mServiceConn).resolveService(req.capture(), any())); in doTestParallelResolveService() 208 manager.resolveService(request, listener2); in doTestParallelResolveService() 210 verify(mServiceConn, times(2)).resolveService(req.capture(), any())); in doTestParallelResolveService() 525 mustFail(() -> { manager.resolveService(null, null); }); in doTestInvalidCalls() 526 mustFail(() -> { manager.resolveService(null, listener3); }); in doTestInvalidCalls() [all …]
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ServiceDiscoveryTest.java | 25 import static android.net.thread.utils.IntegrationTestUtils.resolveService; 199 NsdServiceInfo resolvedService = resolveService(mNsdManager, discoveredService); in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns() 317 NsdServiceInfo meshcopService = resolveService(mNsdManager, discoveredService); in meshcopOverlay_vendorAndModelNameAreSetToOverlayValue() 370 ftd.resolveService( in discoveryProxy_multipleClientsBrowseAndResolveServiceOverMdns() 439 dnsClient.resolveService("my-service", "_test._udp.default.service.arpa."); in discoveryProxy_browseAndResolveServiceAtSrpServer()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | SmartAutoRotateControllerTest.java | 91 when(mPackageManager.resolveService(any(), anyInt())).thenReturn(resolveInfo); in setUp() 102 when(mPackageManager.resolveService(any(), anyInt())).thenReturn(null); in getAvailabilityStatus_resolveInfoIsNull_returnUnsupportedOnDevice()
|
D | SmartAutoRotateBatterySaverControllerTest.java | 67 when(packageManager.resolveService(any(), anyInt())).thenReturn(resolveInfo); in setUp()
|
D | SmartAutoRotateCameraStateControllerTest.java | 69 when(packageManager.resolveService(any(), anyInt())).thenReturn(resolveInfo); in setUp()
|
D | ScreenTimeoutSettingsTest.java | 131 when(mPackageManager.resolveService(isA(Intent.class), anyInt())).thenReturn( in setup() 193 when(mPackageManager.resolveService(isA(Intent.class), anyInt())).thenReturn(null); in updateCandidates_AttentionServiceNotInstalled_doNoShowAdaptiveSleepPreference()
|
D | AdaptiveSleepPreferenceControllerTest.java | 114 when(mPackageManager.resolveService(isA(Intent.class), anyInt())).thenReturn(null); in isControllerAvailable_serviceNotSupported_returnUnsupportedCode()
|
D | SmartAutoRotatePreferenceControllerTest.java | 101 when(mPackageManager.resolveService(any(), anyInt())).thenReturn(resolveInfo); in setUp()
|
D | SmartAutoRotatePreferenceFragmentTest.java | 117 when(mPackageManager.resolveService(any(), anyInt())).thenReturn(resolveInfo); in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 374 client.resolveService(request, listener3); in testClientRequestsAreGCedAtDisconnection() 469 client.resolveService(foundInfo, resolveListener); in testDiscoverOnTetheringDownstream() 566 client.resolveService(foundInfo, mock(ResolveListener.class)); in testDiscoverOnTetheringDownstream_DiscoveryManager() 703 client.resolveService(request, resolveListener); in testServiceResolutionFailed() 739 client.resolveService(request, resolveListener); in testGettingAddressFailed() 875 client.resolveService(request, resolveListener); in testNoCrashWhenProcessResolutionAfterBinderDied() 892 client.resolveService(request, resolveListener); in testStopServiceResolution() 919 client.resolveService(request, resolveListener); in testStopResolutionFailed() 945 client.resolveService(request, resolveListener); in testStopResolutionDuringGettingAddress() 1315 client.resolveService(request, resolveListener); in testResolutionWithMdnsDiscoveryManager() [all …]
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | INsdServiceConnector.aidl | 36 void resolveService(int listenerKey, in NsdServiceInfo serviceInfo); in resolveService() method
|
D | NsdManager.java | 1628 public void resolveService(NsdServiceInfo serviceInfo, ResolveListener listener) { in resolveService() method in NsdManager 1629 resolveService(serviceInfo, Runnable::run, listener); in resolveService() 1647 public void resolveService(@NonNull NsdServiceInfo serviceInfo, in resolveService() method in NsdManager 1652 mService.resolveService(key, serviceInfo); in resolveService()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/ |
D | ControlCenterMirroringDataSourceImplTest.kt | 75 on { resolveService(any(), anyInt()) } doReturn ResolveInfo() in <lambda>() 97 verify(packageManager).resolveService(intentCaptor.capture(), anyInt()) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceController.java | 73 if (context.getPackageManager().resolveService(quickStepIntent, in isGestureAvailable()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 99 mNsdManager.resolveService(mServiceInfo, this); in start()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceController.java | 161 final ResolveInfo resolveInfo = packageManager.resolveService(intent, in isAttentionServiceAvailable()
|
D | SmartAutoRotateController.java | 203 final ResolveInfo resolveInfo = packageManager.resolveService(intent, in isRotationResolverServiceAvailable()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/ |
D | ControlCenterMirroringDataSource.kt | 223 if (packageManager.resolveService(intent, 0) != null) { in registerReceiver()
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | RoleControllerManager.java | 142 ServiceInfo serviceInfo = packageManager.resolveService(intent, 0).serviceInfo; in getRemoteServiceComponentName()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxServiceProviderImpl.java | 317 final ResolveInfo resolveInfo = mContext.getPackageManager().resolveService(intent, in getServiceComponentName()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 550 mNsdPublisher.resolveService( in resolveService_serviceResolved() 594 mNsdPublisher.resolveService( in stopServiceResolution()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | RemoteVvmTaskManager.java | 167 ResolveInfo info = context.getPackageManager().resolveService(bindIntent, 0); in getRemotePackage()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | IntegrationTestUtils.java | 358 public static NsdServiceInfo resolveService(NsdManager nsdManager, NsdServiceInfo serviceInfo) in resolveService() method in IntegrationTestUtils
|
D | FullThreadDevice.java | 379 public NsdServiceInfo resolveService(String serviceName, String serviceType) { in resolveService() method in FullThreadDevice
|
/packages/modules/Connectivity/framework-t/api/ |
D | current.txt | 237 …method @Deprecated public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdM… 238 …method @Deprecated public void resolveService(@NonNull android.net.nsd.NsdServiceInfo, @NonNull ja…
|