Home
last modified time | relevance | path

Searched refs:updateService (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java261 public void updateService(int id, @NonNull Set<String> subtypes) { in updateService() method in MdnsInterfaceAdvertiser
264 mRecordRepository.updateService(id, subtypes); in updateService()
DMdnsAdvertiser.java503 void updateService(int id, @NonNull Registration registration) { in updateService() method in MdnsAdvertiser.InterfaceAdvertiserRequest
506 mAdvertisers.valueAt(i).updateService( in updateService()
923 advertiser.updateService(id, registration); in addOrUpdateService()
DMdnsRecordRepository.java441 public void updateService(int serviceId, @NonNull Set<String> subtypes) { in updateService() method in MdnsRecordRepository
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiserTest.kt514 advertiser.updateService(TEST_SERVICE_ID_DUPLICATE, subTypes) in testUpdateExistingService()
515 verify(repository).updateService(eq(TEST_SERVICE_ID_DUPLICATE), any()) in testUpdateExistingService()
DMdnsAdvertiserTest.kt552 verify(mockInterfaceAdvertiser1).updateService(eq(SERVICE_ID_1), eq(setOf(TEST_SUBTYPE))) in testAddOrUpdateService_Updates()
DMdnsRecordRepositoryTest.kt235 repository.updateService(TEST_SERVICE_ID_2, emptySet() /* subtype */) in testAddAndUpdates()
238 repository.updateService(TEST_SERVICE_ID_1, setOf(TEST_SUBTYPE)) in testAddAndUpdates()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java498 boolean updateService(Context context, ActivityManager.RunningServiceInfo service) { in updateService() method in RunningState.ProcessItem
1028 changed |= proc.updateService(context, si); in update()