Home
last modified time | relevance | path

Searched refs:indexerType (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/indexer/
DIndexerMaintenanceService.java85 @IndexerType int indexerType, in scheduleUpdateJob() argument
90 int jobId = getJobIdForUser(userHandle, indexerType); in scheduleUpdateJob()
101 extras.putInt(INDEXER_TYPE, indexerType); in scheduleUpdateJob()
136 @IndexerType int indexerType) { in cancelUpdateJob() argument
139 int jobId = getJobIdForUser(userHandle, indexerType); in cancelUpdateJob()
156 @IndexerType int indexerType) { in isUpdateJobScheduled() argument
159 int jobId = getJobIdForUser(userHandle, indexerType); in isUpdateJobScheduled()
171 @NonNull Context context, @NonNull UserHandle user, @IndexerType int indexerType) { in cancelUpdateJobIfScheduled() argument
175 if (isUpdateJobScheduled(context, user, indexerType)) { in cancelUpdateJobIfScheduled()
176 cancelUpdateJob(context, user, indexerType); in cancelUpdateJobIfScheduled()
[all …]
DIndexerMaintenanceConfig.java44 static IndexerMaintenanceConfig getConfigForIndexer(@IndexerType int indexerType) { in getConfigForIndexer() argument
45 if (indexerType == APPS_INDEXER) { in getConfigForIndexer()
47 } else if (indexerType == CONTACTS_INDEXER) { in getConfigForIndexer()
51 "Attempted to get config for invalid indexer type: " + indexerType); in getConfigForIndexer()