Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/observer/
DAppSearchObserverProxy.java51 public void onSchemaChanged(@NonNull SchemaChangeInfo changeInfo) { in onSchemaChanged() argument
54 changeInfo.getPackageName(), in onSchemaChanged()
55 changeInfo.getDatabaseName(), in onSchemaChanged()
56 new ArrayList<>(changeInfo.getChangedSchemaNames())); in onSchemaChanged()
63 public void onDocumentChanged(@NonNull DocumentChangeInfo changeInfo) { in onDocumentChanged() argument
66 changeInfo.getPackageName(), in onDocumentChanged()
67 changeInfo.getDatabaseName(), in onDocumentChanged()
68 changeInfo.getNamespace(), in onDocumentChanged()
69 changeInfo.getSchemaName(), in onDocumentChanged()
70 new ArrayList<>(changeInfo.getChangedDocumentIds())); in onDocumentChanged()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerTestBase.java107 public void onSchemaChanged(@NonNull SchemaChangeInfo changeInfo) { in setupLatch()
112 Set<String> changedSchemas = changeInfo.getChangedSchemaNames(); in setupLatch()
121 public void onDocumentChanged(@NonNull DocumentChangeInfo changeInfo) { in setupLatch()
125 if (!changeInfo.getSchemaName().startsWith(MobileApplication.SCHEMA_TYPE)) { in setupLatch()
128 for (int i = 0; i < changeInfo.getChangedDocumentIds().size(); i++) { in setupLatch()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/observer/
DObserverCallback.java30 void onSchemaChanged(@NonNull SchemaChangeInfo changeInfo); in onSchemaChanged() argument
37 void onDocumentChanged(@NonNull DocumentChangeInfo changeInfo); in onDocumentChanged() argument
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DGlobalSearchSession.java296 SchemaChangeInfo changeInfo = in registerObserverCallback()
301 observer.onSchemaChanged(changeInfo); in registerObserverCallback()
316 DocumentChangeInfo changeInfo = in registerObserverCallback()
323 observer.onDocumentChanged(changeInfo); in registerObserverCallback()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java253 public void onSchemaChanged(SchemaChangeInfo changeInfo) { in testStart_initialRun_schedulesFullUpdateJob()
258 public void onDocumentChanged(DocumentChangeInfo changeInfo) { in testStart_initialRun_schedulesFullUpdateJob()
259 for (int i = 0; i < changeInfo.getChangedDocumentIds().size(); i++) { in testStart_initialRun_schedulesFullUpdateJob()
315 public void onSchemaChanged(SchemaChangeInfo changeInfo) { in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob()
320 public void onDocumentChanged(DocumentChangeInfo changeInfo) { in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob()
321 for (int i = 0; i < changeInfo.getChangedDocumentIds().size(); i++) { in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob()
382 public void onSchemaChanged(SchemaChangeInfo changeInfo) { in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob()
387 public void onDocumentChanged(DocumentChangeInfo changeInfo) { in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob()
388 for (int i = 0; i < changeInfo.getChangedDocumentIds().size(); i++) { in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob()
849 public void onSchemaChanged(SchemaChangeInfo changeInfo) { in testDeltaUpdate_triggered_afterIncompatibleSchemaChange()
[all …]
DContactsIndexerManagerServiceTest.java219 public void onSchemaChanged(SchemaChangeInfo changeInfo) { in countDownAppSearchDocumentChanges()
224 public void onDocumentChanged(DocumentChangeInfo changeInfo) { in countDownAppSearchDocumentChanges()
225 for (int i = 0; i < changeInfo.getChangedDocumentIds().size(); i++) { in countDownAppSearchDocumentChanges()
DEnterpriseContactsTest.java507 public void onSchemaChanged(@NonNull SchemaChangeInfo changeInfo) { in testEnterpriseContactsInSystemPackage_transformPerson()
511 public void onDocumentChanged(@NonNull DocumentChangeInfo changeInfo) { in testEnterpriseContactsInSystemPackage_transformPerson()
514 if (changeInfo.getDatabaseName().equals(AppSearchHelper.DATABASE_NAME) in testEnterpriseContactsInSystemPackage_transformPerson()
515 && changeInfo.getChangedDocumentIds().contains(id)) { in testEnterpriseContactsInSystemPackage_transformPerson()