/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchMaintenanceServiceTest.java | 117 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/ |
D | AppsIndexerMaintenanceTest.java | 251 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/ |
D | ContactsIndexerMaintenanceTest.java | 251 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/ |
D | ContactsIndexerManagerService.java | 65 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
|
D | ContactsIndexerMaintenanceConfig.java | 38 return ContactsIndexerManagerService.LocalService.class; in getLocalService()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerManagerService.java | 59 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
|
D | AppsIndexerMaintenanceConfig.java | 37 return AppsIndexerManagerService.LocalService.class; in getLocalService()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchMaintenanceService.java | 132 AppSearchManagerService.LocalService service = in doFullyPersistJobForUser() 133 LocalManagerRegistry.getManager(AppSearchManagerService.LocalService.class); in doFullyPersistJobForUser()
|
D | AppSearchManagerService.java | 219 LocalManagerRegistry.addManager(LocalService.class, new LocalService()); in onStart() 418 class LocalService { class in AppSearchManagerService
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 723 WifiLocalServices.addService(WifiScannerInternal.class, new LocalService()); in startService() 3309 private class LocalService extends WifiScannerInternal { class in WifiScanningServiceImpl
|