@class _PASSqliteDatabase, NSString, _ATXDuetHelper, PETScalarEventTracker, NSObject; @protocol OS_dispatch_queue; @interface _ATXDataStore : NSObject <ATXBackupDataProviderDelegate> { NSObject<OS_dispatch_queue> *_queue; NSString *_path; unsigned long long _schemaVersion; _ATXDuetHelper *_duetHelper; PETScalarEventTracker *_dbMigrationTracker; } @property (readonly, nonatomic) _PASSqliteDatabase *db; @property (nonatomic) unsigned long long actionHistoryLengthPerAppAction; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)sharedInstance; + (id)defaultPath; + (id)loadDataFromFile:(id)a0; + (void)_simulateCrashForMigrationFailure:(id)a0; + (BOOL)pareDownForBackup:(struct sqlite3 { } *)a0; + (id)stringForHistogramType:(long long)a0; + (BOOL)isSqliteData:(id)a0; + (id)removeSensitiveInformationFromModeEntityScoresFile:(id)a0 shouldBackupContacts:(BOOL)a1; - (id)totalSlotsInDatastore; - (void)migrate; - (long long)launchedAppCount; - (void)clearAppInstallInfo; - (struct _PASDBIterAction_ { BOOL x0; })_deserializeActionLogRowWithStmt:(id)a0 invokingBlock:(id /* block */)a1; - (id)isEligibleForWidgetsForCacheKey:(id)a0; - (void)enumerateSlotUuidsOfType:(id)a0 bundleId:(id)a1 block:(id /* block */)a2; - (void)updateOrInsertPredictionsAndFeedbackForAppAction:(id)a0 feedbackReceived:(BOOL)a1 forUIType:(id)a2; - (void)addCategoricalHistogramData:(id)a0 forHistogramOfType:(long long)a1; - (id)lastLaunchDate; - (id)init; - (id)_databaseSchema; - (void)addAppActionLaunchForAppAction:(id)a0 date:(id)a1; - (id)loadTopNAppActionsByPredictions:(unsigned long long)a0; - (void)enumerateActionOfType:(id)a0 bundleId:(id)a1 block:(id /* block */)a2; - (long long)migration_InstallDateToAppTable; - (void)deleteLaunchesFollowingBundle:(id)a0; - (id)actionFeedbackLogKeys; - (long long)configureDatabase; - (long long)runMigrationPlan:(id)a0; - (id)numActionKeyOccurrencesBetweenStartDate:(id)a0 endDate:(id)a1; - (void)addExtensionLaunchForBundleId:(id)a0 date:(id)a1; - (void)writeAverageSecondsBetweenAppActions:(id)a0 forAppAction:(id)a1; - (void)writeGenreId:(id)a0 subGenreIds:(id)a1 forBundleId:(id)a2; - (BOOL)_reset; - (id)_trimMigrationPlan:(id)a0 toSchema:(unsigned long long)a1; - (id)nthMostRecentAppLaunch:(long long)a0; - (void)_enumerateAppInfoBundlesExecutingBlock:(id /* block */)a0; - (long long)migration_forceUpdateNewAzulSystemAppsInstallDate; - (long long)migration_RemoveFeedbackForUninstalledApps; - (void)updateOrInsertSubsequentAppActionLaunchCountData:(id)a0 forAppAction:(id)a1; - (void)writeAverageSecondsBetweenLaunches:(id)a0 forBundleId:(id)a1; - (id)actionLogKeys; - (void)writeMedianSecondsBetweenLaunches:(id)a0 forBundleId:(id)a1; - (long long)updateAlog:(id)a0 slotsToMigrate:(id)a1; - (id)titleForCacheKey:(id)a0; - (void)addHistogramData:(id)a0 forHistogramOfType:(long long)a1; - (void)removeCachedIntentsWithBundleId:(id)a0; - (void)writeSupportsBackgroundExecution:(BOOL)a0 cacheKey:(id)a1; - (id)_allAppsRequireInstallDate:(BOOL)a0; - (id)loadAppInfo; - (id)appIntentDuetEventsForActionsBetweenStartDate:(id)a0 endDate:(id)a1; - (void)updateSchemaVersionNumberTo:(long long)a0; - (void)removeAllSlotsFromActionFeedback; - (void)clearDatabase; - (id)blobOfType:(long long)a0; - (id)webClipsForAppClipBundleId:(id)a0; - (void)updateOrInsertHistogramData:(id)a0 forHistogram:(long long)a1; - (long long)migration_LaunchHistoriesToAppTable; - (void)_testMigrateToSchema:(unsigned long long)a0; - (id)allActionsAndSlots; - (void)updateOrInsertAverageSecondsBetweenAppActions:(id)a0 forAppAction:(id)a1; - (long long)skipFromZeroSchema; - (long long)migration_moveCacheFiles; - (void)removeAllFeedback; - (void)removeAllAppActionPredictionFeedbackCounts; - (id)_lastAppLaunchDateOfType:(long long)a0; - (id)averageSecondsBetweenAppActionsForAppAction:(id)a0; - (void)recordConfirms:(double)a0 rejects:(double)a1 forFeedbackType:(unsigned long long)a2 forActionType:(id)a3 bundleId:(id)a4 action:(id)a5 slotSet:(id)a6 actionUUID:(id)a7 date:(id)a8 consumerSubType:(unsigned char)a9 geohash:(long long)a10 coarseGeohash:(long long)a11; - (void)updateOrInsertMedianSecondsBetweenAppActions:(id)a0 forAppAction:(id)a1; - (void)updateOrInsertAverageSecondsBetweenLaunches:(id)a0 forBundleId:(id)a1; - (void)writeMedianSecondsBetweenAppActions:(id)a0 forAppAction:(id)a1; - (long long)migration_SlotSetKeyCreation; - (BOOL)checkIfInDB:(id)a0 suggestionType:(long long)a1; - (long long)_regenerateSlotSetKeys; - (void)removeActionDataForActionUUID:(id)a0; - (void)updateOrInsertSubsequentLaunchCountData:(id)a0 forBundleId:(id)a1; - (id)minimalActionParametersforActionsBetweenStartDate:(id)a0 endDate:(id)a1 limit:(unsigned long long)a2; - (void)writeSubtitle:(id)a0 cacheKey:(id)a1; - (void)writeValidParameterCombinationsWithSchema:(id)a0 cacheKey:(id)a1; - (id)categoricalHistogramDataForHistogramType:(long long)a0; - (void)writeApp2VecCluster:(id)a0 forBundleId:(id)a1; - (void)addAppInstallForBundleId:(id)a0 date:(id)a1 genreId:(id)a2 subGenreIds:(id)a3 app2VecCluster:(id)a4; - (void)removeAllSlotsFromSlotSetKey; - (BOOL)containsActionType:(id)a0; - (unsigned long long)numActionKeyOccurrencesForActionKey:(id)a0 startDate:(id)a1 endDate:(id)a2; - (id)allAppsLaunchedOrInstalledWithin30Days; - (id)loadAppActionsFromAppActionInfo; - (long long)migration_removeHomeScreenWidgetBlacklistFile; - (void)enumerateActionTypesOlderThan:(id)a0 block:(id /* block */)a1; - (void)_doSync:(id /* block */)a0; - (id)lastAppActionLaunchDateForAppAction:(id)a0; - (void)writeAppActionLaunches:(id)a0 followingAppAction:(id)a1; - (long long)migration_AddExtensionInfo; - (void)removeActionDataForBundleId:(id)a0; - (BOOL)writeSlotSetKeyParameters:(id)a0 rowId:(id)a1 slotSet:(id)a2 success:(long long *)a3; - (void)_enumerateAppInfoAppActionsExecutingBlock:(id /* block */)a0; - (void)addAppLaunchForBundleId:(id)a0 date:(id)a1 withLaunchType:(long long)a2; - (long long)migrateToVersion:(unsigned long long)a0 withMigrationPlan:(id)a1; - (id)totalNumberOfActionTypesForBundleId:(id)a0; - (BOOL)restoreFromBackup:(id)a0; - (id)actionForSlotUUID:(id)a0; - (id)lastMessageToRecipient:(id)a0; - (id)loadAppActionInfo; - (long long)migration_RemoveRestoreUserDefault; - (BOOL)actionExistsForBundleId:(id)a0 actionType:(id)a1; - (long long)migration_removeAnchorModelDirectory; - (id)appInfoForBundleId:(id)a0; - (long long)migration_RemoveAllSubsequentLaunches; - (long long)migration_updateNewAzulSystemAppsInstallDate; - (long long)migration_DelinkFromCoreLocationVisitMonitoring; - (void)integrityCheckOrAbort; - (void)writeEligibleForWidgets:(BOOL)a0 cacheKey:(id)a1; - (void)enumerateStateForApps:(id)a0 withGlobalBlock:(id /* block */)a1 thenWithPerAppBlock:(id /* block */)a2 readOnly:(BOOL)a3; - (void)swapInDuetHelperStub:(id)a0; - (void)clearAppLaunchInfo; - (void)enumerateFeedbackForActionOfType:(id)a0 bundleId:(id)a1 block:(id /* block */)a2; - (void).cxx_destruct; - (void)updateOrInsertMessageRecipient:(id)a0 dateMessaged:(id)a1; - (void)updateOrInsertTimestamp:(long long)a0 intoColumn:(id)a1 forBundleId:(id)a2 isExtension:(BOOL)a3; - (void)_markBundleIdAsExtension:(id)a0; - (void)addAppLaunchForAppLaunchSequence:(id)a0 date:(id)a1; - (void)enumerateAppInfoAppActionsExecutingBlock:(id /* block */)a0; - (long long)migration_DeprecateIntentForAllAppsHistograms; - (void)enumerateAppInfoBundlesExecutingBlock:(id /* block */)a0; - (void)_doAsync:(id /* block */)a0; - (long long)currentSchemaVersion; - (void)regenerateSlotSetKeyForBundleId:(id)a0; - (void)enumerateStateForAppsReadOnly:(id)a0 withGlobalBlock:(id /* block */)a1 thenWithPerAppBlock:(id /* block */)a2; - (void)migrateWithMigrationPlan:(id)a0; - (void)_removeFeedbackForBundleId:(id)a0; - (void)removeAppLaunchesForBundleId:(id)a0; - (long long)migration_deleteAllTrainedRelevanceModels; - (id)medianSecondsBetweenAppActionsForAppAction:(id)a0; - (id)allApps; - (void)writeLaunches:(id)a0 followingBundle:(id)a1; - (void)updateOrInsertMedianSecondsBetweenLaunches:(id)a0 forBundleId:(id)a1; - (void)updateOrInsertGenreId:(id)a0 subGenreIds:(id)a1 forBundleId:(id)a2; - (void)pruneMessageRecipientsAddedBefore:(id)a0; - (void)addAppInstallForBundleId:(id)a0 date:(id)a1 genreId:(id)a2 subGenreIds:(id)a3; - (void)insertSuggestionResponse:(id)a0 response:(long long)a1 timestamp:(long long)a2 suggestionType:(long long)a3; - (BOOL)migrationUpdateOrInsertTimestamp:(long long)a0 intoColumn:(id)a1 forBundleId:(id)a2; - (void)_testMigrate; - (void)migrationPre44WriteActionType:(id)a0 bundleId:(id)a1 date:(id)a2 action:(id)a3 slotSets:(id)a4 timeZone:(id)a5 prevLocationUUID:(id)a6 locationUUID:(id)a7 weight:(double)a8 actionUUID:(id)a9 motionType:(long long)a10; - (long long)migration_AddFeedbackColumns; - (void)enumerateStateForApps:(id)a0 withGlobalBlock:(id /* block */)a1 thenWithPerAppBlock:(id /* block */)a2; - (long long)migration_populateModeCaches; - (id)allAppsWithInstallDate; - (id)_appInfoForBundleIdNoSync:(id)a0; - (long long)migration_removeOldStackStateTrackerFile; - (void)vacuumDatabaseWithActivity:(id)a0; - (long long)migration_DeprecateGenericAppIntentModels; - (void)writeBlob:(id)a0 type:(long long)a1 expirationDate:(id)a2; - (long long)migration_overrideNilInstallDateToDistantOldTime; - (long long)migration_AppLaunchHistogramToTable; - (long long)migration_AddEnterpriseAppInfo; - (id)initWithInMemoryDataStore; - (long long)migration_removeBrokenBlendingStream; - (void)deleteLaunchesFollowingAppAction:(id)a0; - (void)writeWebClip:(id)a0 appClip:(id)a1; - (id)lastSpotlightLaunchDate; - (void)removeFeedbackForBundleId:(id)a0; - (void)enumerateActionsInUUIDSet:(id)a0 block:(id /* block */)a1; - (void)updateOrInsertCategoricalHistogramData:(id)a0 forHistogram:(long long)a1; - (id)filenamesAndDataForBackupWithTransport:(unsigned long long)a0; - (void)_disconnectFromDb; - (long long)migration_SlotSetKeyRegeneration; - (id)lastLaunchedApp; - (void)resetSuggestionResponses; - (void)_markBundleIdsAsExtension:(id)a0; - (id)validParameterCombinationsWithSchemaForCacheKey:(id)a0; - (long long)migration_RecreatePredictionFeedbackInfo; - (id)appLaunchSequence; - (id)histogramDataForHistogramType:(long long)a0; - (long long)migration_deleteFocusSpaceCaches; - (BOOL)alogContainsActionUUID:(id)a0; - (id)filenamesAndDataForBackupShouldPareDown:(BOOL)a0 transport:(unsigned long long)a1; - (unsigned long long)numActionParameterHashOccurrencesForActionKey:(id)a0 parameterHash:(unsigned long long)a1 startDate:(id)a2 endDate:(id)a3; - (void)removeAllSlotsFromActionLog; - (void)writeTitle:(id)a0 cacheKey:(id)a1; - (id)subtitleForCacheKey:(id)a0; - (void)_markBundleId:(id)a0 asEnterpriseApp:(BOOL)a1; - (void)updateOrInsertTimestamp:(long long)a0 forAppAction:(id)a1; - (BOOL)_removeActionsWithoutTitle; - (void)updateOrInsertInstallTimestamp:(long long)a0 genreId:(id)a1 subGenreIds:(id)a2 app2VecCluster:(id)a3 forBundleId:(id)a4 isExtension:(BOOL)a5 isEnterpriseApp:(BOOL)a6; - (void)removeActionsWithoutTitle; - (long long)migration_RemoveCachedConsumerDB; - (void)removeAppInfoForBundleId:(id)a0; - (void)updateOrInsertApp2VecCluster:(id)a0 forBundleId:(id)a1; - (id)supportsBackgroundExecutionForCacheKey:(id)a0; - (id)initWithPath:(id)a0 andDuetHelper:(id)a1; - (long long)_regenerateSlotSetKeyForBundleId:(id)a0; - (long long)migration_RemoveDeprecatedStartCallIntents; - (void)removeActionDataForActionUUIDs:(id)a0; - (id)loadAppActionLaunchesFollowing:(id)a0; - (void)writeActionType:(id)a0 bundleId:(id)a1 date:(id)a2 action:(id)a3 slotSets:(id)a4 timeZone:(id)a5 prevLocationUUID:(id)a6 locationUUID:(id)a7 weight:(double)a8 actionUUID:(id)a9 motionType:(long long)a10 appSessionStartDate:(id)a11 appSessionEndDate:(id)a12 geohash:(long long)a13 coarseGeohash:(long long)a14; - (id)actionAndSlotsForRowId:(id)a0; - (long long)migration_RemoveActionsWithoutTitle; - (long long)migration_PrefillActionHistograms; - (BOOL)hasOrphanSlotSetKeys; - (void)trimActionHistoryWithAppWhitelist:(id)a0; - (id)loadLaunchesFollowingBundle:(id)a0; - (void)removeAllCachedIntents; - (long long)migration_failForTests; - (id)getSuggestionResponsesAsStringInDB; - (void)removeAppInfoForBundleIdsNotInSet:(id)a0; - (unsigned long long)numBundleIdOccurrencesForBundleId:(id)a0 startDate:(id)a1 endDate:(id)a2; @end