Home
last modified time | relevance | path

Searched refs:AppsIndexerSettings (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerUserInstanceTest.java94 mSettingsFile = new File(mAppsDir, AppsIndexerSettings.SETTINGS_FILE_NAME); in setUp()
158 AppsIndexerSettings settings = new AppsIndexerSettings(mAppsDir); in testFirstRun_updateAlreadyRan_doesNotUpdate()
378 AppsIndexerSettings settings = new AppsIndexerSettings(mAppsDir); in testUpdate_setsLastAppUpdatedTimestamp()
418 PersistableBundle settingsBundle = AppsIndexerSettings.readBundle(mSettingsFile); in testUpdate_insertedAndDeletedApps()
419 assertThat(settingsBundle.getLong(AppsIndexerSettings.LAST_UPDATE_TIMESTAMP_KEY)) in testUpdate_insertedAndDeletedApps()
423 assertThat(settingsBundle.getLong(AppsIndexerSettings.LAST_APP_UPDATE_TIMESTAMP_KEY)) in testUpdate_insertedAndDeletedApps()
685 PersistableBundle settingsBundle = AppsIndexerSettings.readBundle(mSettingsFile); in testConcurrentUpdates_updatesDoNotInterfereWithEachOther()
686 assertThat(settingsBundle.getLong(AppsIndexerSettings.LAST_UPDATE_TIMESTAMP_KEY)) in testConcurrentUpdates_updatesDoNotInterfereWithEachOther()
DAppsIndexerSettingsTest.java33 private AppsIndexerSettings mIndexerSettings;
39 mIndexerSettings = new AppsIndexerSettings(baseDirectory); in setUp()
DAppsIndexerImplTest.java96 appsIndexerImpl.doUpdate(new AppsIndexerSettings(temporaryFolder.newFolder("temp"))); in testAppsIndexerImpl_removeApps()
115 appsIndexerImpl.doUpdate(new AppsIndexerSettings(temporaryFolder.newFolder("tmp"))); in testAppsIndexerImpl_updateAppsThrowsError_shouldContinueOnError()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppsIndexerSettings.java46 public class AppsIndexerSettings { class
54 public AppsIndexerSettings(@NonNull File baseDir) { in AppsIndexerSettings() method in AppsIndexerSettings
DAppsIndexerUserInstance.java57 private final AppsIndexerSettings mSettings;
138 mSettings = new AppsIndexerSettings(mDataDir); in AppsIndexerUserInstance()
DAppsIndexerImpl.java67 public void doUpdate(@NonNull AppsIndexerSettings settings) throws AppSearchException { in doUpdate()