Home
last modified time | relevance | path

Searched refs:mContactsIndexerManagerService (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchModule.java51 @VisibleForTesting @Nullable ContactsIndexerManagerService mContactsIndexerManagerService; field in AppSearchModule.Lifecycle
109 mContactsIndexerManagerService = in onStart()
112 mContactsIndexerManagerService.onStart(); in onStart()
117 mContactsIndexerManagerService = null; in onStart()
142 if (mContactsIndexerManagerService != null) { in dumpContactsIndexerForUser()
143 mContactsIndexerManagerService.dumpContactsIndexerForUser(userHandle, pw, verbose); in dumpContactsIndexerForUser()
166 if (mContactsIndexerManagerService == null) { in onUserUnlocking()
170 mContactsIndexerManagerService.onUserUnlocking(user); in onUserUnlocking()
184 if (mContactsIndexerManagerService != null) { in onUserStopping()
185 mContactsIndexerManagerService.onUserStopping(user); in onUserStopping()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchModuleTest.java126 assertThat(mLifecycle.mContactsIndexerManagerService).isNotNull(); in testBothIndexersEnabled()
148 assertNull(mLifecycle.mContactsIndexerManagerService); in testContactsIndexerDisabled()
152 assertNull(mLifecycle.mContactsIndexerManagerService); in testContactsIndexerDisabled()
156 assertNull(mLifecycle.mContactsIndexerManagerService); in testContactsIndexerDisabled()
199 assertNull(mLifecycle.mContactsIndexerManagerService); in testServicesSetToNullWhenDisabled()
203 assertNull(mLifecycle.mContactsIndexerManagerService); in testServicesSetToNullWhenDisabled()
207 assertNull(mLifecycle.mContactsIndexerManagerService); in testServicesSetToNullWhenDisabled()
218 assertThat(mLifecycle.mContactsIndexerManagerService).isNotNull(); in testIndexerOnStart_clearsService()
228 assertThat(mLifecycle.mContactsIndexerManagerService).isNull(); in testIndexerOnStart_clearsService()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerManagerServiceTest.java69 private ContactsIndexerManagerService mContactsIndexerManagerService; field in ContactsIndexerManagerServiceTest
93 mContactsIndexerManagerService = new ContactsIndexerManagerService(mContext, in setUp()
120 mContactsIndexerManagerService.onStart(); in testCP2Clear_runsFullUpdate()
137 mContactsIndexerManagerService.onUserUnlocking(new SystemService.TargetUser(userInfo)); in testCP2Clear_runsFullUpdate()
172 mContactsIndexerManagerService.dumpContactsIndexerForUser( in testCP2Clear_runsFullUpdate()
193 mContactsIndexerManagerService.onUserUnlocking(null); in test_onUserUnlocking_handlesExceptionGracefully()
198 mContactsIndexerManagerService.onUserStopping(null); in test_onUserStopping_handlesExceptionGracefully()
203 mContactsIndexerManagerService.dumpContactsIndexerForUser(null, null, false); in test_dumpContactsIndexerForUser_handlesExceptionGracefully()