Home
last modified time | relevance | path

Searched refs:LocalService (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchMaintenanceServiceTest.java117 ExtendedMockito.doReturn(Mockito.mock(AppSearchManagerService.LocalService.class)) in testDoFullPersistForUser_withInitializedLocalService_isSuccessful()
119 AppSearchManagerService.LocalService.class)); in testDoFullPersistForUser_withInitializedLocalService_isSuccessful()
129 AppSearchManagerService.LocalService.class)); in testDoFullPersistForUser_withUninitializedLocalService_failsGracefully()
138 AppSearchManagerService.LocalService mockService = Mockito.mock( in testDoFullPersistForUser_onEncounteringException_failsGracefully()
139 AppSearchManagerService.LocalService.class); in testDoFullPersistForUser_onEncounteringException_failsGracefully()
143 AppSearchManagerService.LocalService.class)); in testDoFullPersistForUser_onEncounteringException_failsGracefully()
154 AppSearchManagerService.LocalService.class)); in testDoFullPersistForUser_checkPendingJobIfNotInitialized()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerMaintenanceTest.java251 ExtendedMockito.doReturn(Mockito.mock(AppsIndexerManagerService.LocalService.class)) in testDoUpdateForUser_withInitializedLocalService_isSuccessful()
255 AppsIndexerManagerService.LocalService.class)); in testDoUpdateForUser_withInitializedLocalService_isSuccessful()
269 AppsIndexerManagerService.LocalService.class)); in testDoUpdateForUser_withUninitializedLocalService_failsGracefully()
279 AppsIndexerManagerService.LocalService mockService = in testDoUpdateForUser_onEncounteringException_failsGracefully()
280 Mockito.mock(AppsIndexerManagerService.LocalService.class); in testDoUpdateForUser_onEncounteringException_failsGracefully()
288 AppsIndexerManagerService.LocalService.class)); in testDoUpdateForUser_onEncounteringException_failsGracefully()
304 AppsIndexerManagerService.LocalService.class)); in testDoUpdateForUser_cancelsBackgroundJob_whenIndexerDisabled()
315 ExtendedMockito.doReturn(Mockito.mock(AppsIndexerManagerService.LocalService.class)) in testDoUpdateForUser_doesNotCancelBackgroundJob_whenIndexerEnabled()
319 AppsIndexerManagerService.LocalService.class)); in testDoUpdateForUser_doesNotCancelBackgroundJob_whenIndexerEnabled()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerMaintenanceTest.java251 ExtendedMockito.doReturn(Mockito.mock(ContactsIndexerManagerService.LocalService.class)) in testDoFullUpdateForUser_withInitializedLocalService_isSuccessful()
253 ContactsIndexerManagerService.LocalService.class)); in testDoFullUpdateForUser_withInitializedLocalService_isSuccessful()
265 ContactsIndexerManagerService.LocalService.class)); in testDoFullUpdateForUser_withUninitializedLocalService_failsGracefully()
275 ContactsIndexerManagerService.LocalService mockService = Mockito.mock( in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
276 ContactsIndexerManagerService.LocalService.class); in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
280 ContactsIndexerManagerService.LocalService.class)); in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
294 ContactsIndexerManagerService.LocalService.class)); in testDoFullUpdateForUser_cancelsBackgroundJob_whenCiDisabled()
305 ExtendedMockito.doReturn(Mockito.mock(ContactsIndexerManagerService.LocalService.class)) in testDoFullUpdateForUser_doesNotCancelBackgroundJob_whenCiEnabled()
307 ContactsIndexerManagerService.LocalService.class)); in testDoFullUpdateForUser_doesNotCancelBackgroundJob_whenCiEnabled()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerManagerService.java65 private final LocalService mLocalService;
78 mLocalService = new LocalService(); in ContactsIndexerManagerService()
85 LocalManagerRegistry.addManager(LocalService.class, mLocalService); in onStart()
251 public class LocalService implements IndexerLocalService { class in ContactsIndexerManagerService
DContactsIndexerMaintenanceConfig.java38 return ContactsIndexerManagerService.LocalService.class; in getLocalService()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppsIndexerManagerService.java59 private final LocalService mLocalService;
73 mLocalService = new LocalService(); in AppsIndexerManagerService()
79 LocalManagerRegistry.addManager(LocalService.class, mLocalService); in onStart()
255 public class LocalService implements IndexerLocalService { class in AppsIndexerManagerService
DAppsIndexerMaintenanceConfig.java37 return AppsIndexerManagerService.LocalService.class; in getLocalService()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchMaintenanceService.java132 AppSearchManagerService.LocalService service = in doFullyPersistJobForUser()
133 LocalManagerRegistry.getManager(AppSearchManagerService.LocalService.class); in doFullyPersistJobForUser()
DAppSearchManagerService.java219 LocalManagerRegistry.addManager(LocalService.class, new LocalService()); in onStart()
418 class LocalService { class in AppSearchManagerService
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java723 WifiLocalServices.addService(WifiScannerInternal.class, new LocalService()); in startService()
3309 private class LocalService extends WifiScannerInternal { class in WifiScanningServiceImpl