/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 324 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService() 326 verify(mServiceConn).discoverServices(req.capture(), any())); in doTestDiscoverService() 333 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService() 335 verify(mServiceConn, times(2)).discoverServices(req.capture(), any())); in doTestDiscoverService() 373 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService() 375 verify(mServiceConn, times(3)).discoverServices(req.capture(), any())); in doTestDiscoverService() 511 mustFail(() -> { manager.discoverServices(null, -1, null); }); in doTestInvalidCalls() 512 mustFail(() -> { manager.discoverServices(null, PROTOCOL, listener2); }); in doTestInvalidCalls() 513 mustFail(() -> { manager.discoverServices("a_service", -1, listener2); }); in doTestInvalidCalls() 514 mustFail(() -> { manager.discoverServices("a_service", PROTOCOL, null); }); in doTestInvalidCalls() [all …]
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | GattClientTest.java | 172 gatt.discoverServices(); in clientGattDiscoverServices() 190 gatt.discoverServices(); in clientGattReadCharacteristics() 216 gatt.discoverServices(); in clientGattWriteCharacteristic() 246 gatt.discoverServices(); in clientGattNotifyOrIndicateCharacteristic() 314 gatt.discoverServices(); in consecutiveWriteCharacteristicFails_thenSuccess() 315 gatt2.discoverServices(); in consecutiveWriteCharacteristicFails_thenSuccess()
|
D | DckGattTest.kt | 200 bumbleGatt.discoverServices() in testDiscoverDkGattService()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/ |
D | GattTransportClientProviderTest.java | 267 doAnswer(notifyGattServicesDiscovered).when(mMockBluetoothGatt).discoverServices(); in setupGattServicesDiscover() 321 when(mMockBluetoothGatt.discoverServices()).thenReturn(true); in testStartProcessing_serviceNotDiscovered() 325 verify(mMockBluetoothGatt, times(1)).discoverServices(); in testStartProcessing_serviceNotDiscovered() 339 verify(mMockBluetoothGatt, times(1)).discoverServices(); in testStartProcessing_capabilitiesNotWritten() 363 verify(mMockBluetoothGatt, times(1)).discoverServices(); in testStartProcessing_notificationNotEnabled() 384 verify(mMockBluetoothGatt, times(1)).discoverServices(); in testStartProcessing_succeed() 430 verify(mMockBluetoothGatt, times(2)).discoverServices(); in testServiceChanged() 482 when(mMockBluetoothGatt.discoverServices()).thenReturn(true); in testSetCapabilities_serviceNotDiscovered()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 368 client.discoverServices(SERVICE_TYPE, PROTOCOL, listener2); in testClientRequestsAreGCedAtDisconnection() 433 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnTetheringDownstream() 530 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnTetheringDownstream_DiscoveryManager() 581 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnBlackholeNetwork() 669 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testServiceDiscoveryFailed() 810 client1.discoverServices(testType1, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 817 client2.discoverServices(testType2, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 841 client1.discoverServices(testType1, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 852 client1.discoverServices(testType2, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 1129 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListenerWithoutFeature); in testMdnsDiscoveryManagerFeature() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NsdManagerDownstreamTetheringTest.kt | 90 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, discoveryRecord) in testMdnsDiscoveryCanSendPacketOnLocalOnlyDownstreamTetheringInterface() 137 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, discoveryRecord) in testMdnsDiscoveryWorkOnTetheringInterface()
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | NsdManager.java | 532 discoverServices(mServiceType, mProtocolType, network, Runnable::run, 1439 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices() method in NsdManager 1440 discoverServices(serviceType, protocolType, (Network) null, Runnable::run, listener); in discoverServices() 1471 public void discoverServices(@NonNull String serviceType, int protocolType, in discoverServices() method in NsdManager 1479 discoverServices(request, executor, listener); in discoverServices() 1510 public void discoverServices(@NonNull DiscoveryRequest discoveryRequest, in discoverServices() method in NsdManager 1514 mService.discoverServices(key, discoveryRequest); in discoverServices() 1558 public void discoverServices(@NonNull String serviceType, int protocolType, in discoverServices() method in NsdManager
|
D | INsdServiceConnector.aidl | 34 void discoverServices(int listenerKey, in DiscoveryRequest discoveryRequest); in discoverServices() method
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | HearingDevicePairingFragment.java | 351 discoverServices(cachedDevice); in handleLeScanResult() 456 void discoverServices(CachedBluetoothDevice cachedDevice) { in discoverServices() method in HearingDevicePairingFragment 472 gatt.discoverServices(); in discoverServices()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Gatt.kt | 140 override fun discoverServices( in discoverServices() method in com.android.pandora.Gatt 147 check(gattInstance.mGatt.discoverServices()) in discoverServices() 461 if (!gattInstance.servicesDiscovered() && !gattInstance.mGatt.discoverServices()) { in tryDiscoverServices()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 166 mBluetoothGatt.discoverServices(); in onReceive() 191 mBluetoothGatt.discoverServices(); in onConnectionStateChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | HearingDevicePairingFragmentTest.java | 189 verify(mFragment).discoverServices(mCachedDevice); in handleLeScanResult_isNotAndroidCompatible_discoverServices() 202 verify(mFragment, never()).discoverServices(mCachedDevice); in handleLeScanResult_alreadyBonded_doNothing()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceBinderTest.java | 268 public void discoverServices() throws Exception { in discoverServices() method in GattServiceBinderTest 272 mBinder.discoverServices(clientIf, address, mAttributionSource); in discoverServices() 274 verify(mService).discoverServices(clientIf, address, mAttributionSource); in discoverServices()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | GattTransportClientProvider.java | 121 gatt.discoverServices(); 507 mBluetoothGatt.discoverServices(); in startProcessing()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | IntegrationTestUtils.java | 329 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, listener); in discoverService() 353 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, listener); in discoverForServiceLost()
|
/packages/modules/Connectivity/framework-t/api/ |
D | current.txt | 230 method public void discoverServices(String, int, android.net.nsd.NsdManager.DiscoveryListener); 231 …method public void discoverServices(@NonNull String, int, @Nullable android.net.Network, @NonNull … 232 …i("com.android.net.flags.nsd_subtypes_support_enabled") public void discoverServices(@NonNull andr… 233 …ssion(android.Manifest.permission.ACCESS_NETWORK_STATE) public void discoverServices(@NonNull Stri…
|
/packages/modules/Wifi/framework/api/ |
D | lint-baseline.txt | 68 RequiresPermission: android.net.wifi.p2p.WifiP2pManager#discoverServices(android.net.wifi.p2p.WifiP… 69 …Method 'discoverServices' documentation mentions permissions already declared by @RequiresPermissi…
|
D | module-lib-lint-baseline.txt | 128 RequiresPermission: android.net.wifi.p2p.WifiP2pManager#discoverServices(android.net.wifi.p2p.WifiP… 129 …Method 'discoverServices' documentation mentions permissions already declared by @RequiresPermissi…
|
D | system-lint-baseline.txt | 148 RequiresPermission: android.net.wifi.p2p.WifiP2pManager#discoverServices(android.net.wifi.p2p.WifiP… 149 …Method 'discoverServices' documentation mentions permissions already declared by @RequiresPermissi…
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 480 .discoverServices( in discoverService_serviceDiscovered() 505 .discoverServices( in discoverService_serviceLost() 530 .discoverServices( in stopServiceDiscovery()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | MdnsDiscovery.java | 153 nsdManager.discoverServices(mServiceName, NsdManager.PROTOCOL_DNS_SD, serviceListener); in onStart()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommandTest.java | 167 verify(mWifiP2pManager).discoverServices(eq(mWifiP2pChannel), any()); in testP2pServiceDiscovery()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothGatt.aidl | 118 … void discoverServices(in int clientIf, in String address, in AttributionSource attributionSource); in discoverServices() method
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryStateMachine.java | 488 mBluetoothGatt.discoverServices(); in enter()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothAccessoryFragment.java | 255 gatt.discoverServices(); in onConnectionStateChange()
|