Home
last modified time | relevance | path

Searched refs:removeService (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceCacheTest.kt130 private fun removeService( in <lambda>() method
134 ): Unit = runningOnHandlerAndReturn { serviceCache.removeService(serviceName, cacheKey) } in <lambda>()
164 removeService(serviceCache, SERVICE_NAME_1, cacheKey1) in <lambda>()
190 removeService(serviceCache, SERVICE_NAME_2, cacheKey1) in <lambda>()
DMdnsInterfaceAdvertiserTest.kt147 }.`when`(repository).removeService(anyInt()) in setUp()
181 advertiser.removeService(TEST_SERVICE_ID_1) in testAddRemoveService()
214 advertiser.removeService(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
241 advertiser.removeService(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
286 advertiser.removeService(TEST_SERVICE_ID_1) in testDoubleRemove()
293 advertiser.removeService(TEST_SERVICE_ID_1) in testDoubleRemove()
DMdnsRecordRepositoryTest.kt315 repository.removeService(TEST_SERVICE_ID_1) in testExitAnnouncements()
357 repository.removeService(TEST_SERVICE_ID_1) in testExitAnnouncements_WithSubtypes()
372 repository.removeService(TEST_SERVICE_ID_2) in testExitingServiceReAdded()
1030 repository.removeService(TEST_SERVICE_ID_1) in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion()
1031 repository.removeService(TEST_SERVICE_ID_2) in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion()
1063 repository.removeService(TEST_SERVICE_ID_1) in testGetReply_keyRecordForServiceRemoved_noAnswertoKeyQuestion()
1064 repository.removeService(TEST_SERVICE_ID_2) in testGetReply_keyRecordForServiceRemoved_noAnswertoKeyQuestion()
1088 repository.removeService(TEST_CUSTOM_HOST_ID_1) in testGetReply_customHostRemoved_noAnswerToAAAAQuestion()
1089 repository.removeService(TEST_SERVICE_CUSTOM_HOST_ID_1) in testGetReply_customHostRemoved_noAnswerToAAAAQuestion()
2179 repository.removeService(TEST_CUSTOM_HOST_ID_1) in testRestartProbingForHostname()
[all …]
DMdnsAdvertiserTest.kt360 postSync { advertiser.removeService(SERVICE_ID_1) } in testAddService_AllNetworksWithSubType()
361 verify(mockInterfaceAdvertiser1).removeService(SERVICE_ID_1) in testAddService_AllNetworksWithSubType()
362 verify(mockInterfaceAdvertiser2).removeService(SERVICE_ID_1) in testAddService_AllNetworksWithSubType()
584 postSync { advertiser.removeService(SERVICE_ID_1) } in testRemoveService_whenAllServiceRemoved_thenUpdateHostName()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportServerProviderTest.java145 when(mMockBluetoothGattServer.removeService(any())).thenReturn(true); in setUp()
177 when(mMockBluetoothGattServer.removeService(any())).thenReturn(false); in testStop_failed()
181 verify(mMockBluetoothGattServer, times(1)).removeService(any()); in testStop_failed()
189 verify(mMockBluetoothGattServer, times(1)).removeService(any()); in testStop_successAndRejectRestop()
191 verify(mMockBluetoothGattServer, times(1)).removeService(any()); in testStop_successAndRejectRestop()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java162 mRecordRepository.removeService(info.getServiceId()); in onFinished()
291 public void removeService(int id) { in removeService() method in MdnsInterfaceAdvertiser
308 mRecordRepository.removeService(id); in removeService()
DMdnsAdvertiser.java511 void removeService(int id) { in removeService() method in MdnsAdvertiser.InterfaceAdvertiserRequest
515 advertiser.removeService(id); in removeService()
934 public void removeService(int id) { in removeService() method in MdnsAdvertiser
940 advertiser.removeService(id); in removeService()
DMdnsServiceCache.java207 public MdnsResponse removeService(@NonNull String serviceName, @NonNull CacheKey cacheKey) { in removeService() method in MdnsServiceCache
DMdnsServiceTypeClient.java639 serviceCache.removeService(serviceInstanceName, cacheKey); in onGoodbyeReceived()
700 serviceCache.removeService(existingResponse.getServiceInstanceName(), cacheKey); in tryRemoveServiceAfterTtlExpires()
DMdnsRecordRepository.java592 public void removeService(int id) { in removeService() method in MdnsRecordRepository
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceBinderTest.java559 public void removeService() { in removeService() method in GattServiceBinderTest
563 mBinder.removeService(serverIf, handle, mAttributionSource); in removeService()
565 verify(mService).removeService(serverIf, handle, mAttributionSource); in removeService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairProviderTest.java210 }).when(mMockBluetoothGattServer).removeService(any()); in setUp()
446 verify(mMockBluetoothGattServer).removeService(any()); in testReceiveAdapterOff_stopGattServer()
DFastPairGattServerTest.java237 }).when(mMockBluetoothGattServer).removeService(any()); in setUp()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattServer.java993 public boolean removeService(BluetoothGattService service) { in removeService() method in BluetoothGattServer
1002 mService.removeService(mServerIf, service.getInstanceId(), mAttributionSource); in removeService()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportServerProvider.java285 boolean succeed = mBluetoothGattServer.removeService(mFiraCPService); in stop()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java772 removeService(ConnectionService.SERVICE_INTERFACE, componentName, service);
893 private void removeService(String action, ComponentName name, IInterface service) {
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothGatt.aidl166 void removeService(in int serverIf, in int handle, in AttributionSource attributionSource); in removeService() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java1222 public boolean removeService(BluetoothGattService service) { in removeService() method in MediaControlGattService.BluetoothGattServerProxy
1223 return mBluetoothGattServer.removeService(service); in removeService()
1789 if (mBluetoothGattServer.removeService(mGattService)) { in destroy()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java546 mBluetoothGattServer.removeService(mFastPairService); in stop()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1404 verify(mAdvertiser, never()).removeService(anyInt()); in testMdnsAdvertiserFeatureFlagging()
1410 verify(mAdvertiser).removeService(serviceIdCaptor.getValue()); in testMdnsAdvertiserFeatureFlagging()
1507 verify(mAdvertiser).removeService(idCaptor.getValue()); in testAdvertiseWithMdnsAdvertiser()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java939 public void removeService(int serverIf, int handle, AttributionSource attributionSource) { in removeService() method in GattService.BluetoothGattBinder
944 service.removeService(serverIf, handle, attributionSource); in removeService()
3275 void removeService(int serverIf, int handle, AttributionSource attributionSource) { in removeService() method in GattService
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1103 mAdvertiser.removeService(transactionId); in processMessage()
2916 mAdvertiser.removeService(transactionId); in expungeAllRequests()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java140 doReturn(true).when(mMockGattServer).removeService(any(BluetoothGattService.class)); in testInit()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1449 Landroid/bluetooth/IBluetoothGatt$Stub$Proxy;->removeService(II)V
1561 Landroid/bluetooth/IBluetoothGatt;->removeService(II)V
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt753 …mission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean removeService(android.blueto…

12