Searched refs:AppsIndexerSettings (Results 1 – 6 of 6) sorted by relevance
94 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()
33 private AppsIndexerSettings mIndexerSettings;39 mIndexerSettings = new AppsIndexerSettings(baseDirectory); in setUp()
96 appsIndexerImpl.doUpdate(new AppsIndexerSettings(temporaryFolder.newFolder("temp"))); in testAppsIndexerImpl_removeApps()115 appsIndexerImpl.doUpdate(new AppsIndexerSettings(temporaryFolder.newFolder("tmp"))); in testAppsIndexerImpl_updateAppsThrowsError_shouldContinueOnError()
46 public class AppsIndexerSettings { class54 public AppsIndexerSettings(@NonNull File baseDir) { in AppsIndexerSettings() method in AppsIndexerSettings
57 private final AppsIndexerSettings mSettings;138 mSettings = new AppsIndexerSettings(mDataDir); in AppsIndexerUserInstance()
67 public void doUpdate(@NonNull AppsIndexerSettings settings) throws AppSearchException { in doUpdate()