Objective-CclassAppPredictionInternal
_ATXAppPredictor
@interface _ATXAppPredictor : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 94
- method
+ (id)_arrayFromSet:(id)arg0 upToSize:(unsigned long long)arg1; - method
+ (id)getParseTreeForConsumerSubType:(unsigned char)arg0; - method
+ (id)inputScoresForPredictionItem:(const struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0; - method
+ (id)pruneItemsToRankForConsumerSubType:(unsigned char)arg0 itemsToRank:(id)arg1 datastore:(id)arg2; - method
+ (id)recreateSharedInstanceWithCurrentABGroup; - method
+ (id)sharedInstance; - method
+ (void)updateConfidenceForItem:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 subscores:(id)arg1; - ivar
NSArray *_abGroupIdentifiers;+0xd0 - ivar
ATXActionPredictionBlacklist *_actionPredictionBlacklist;+0xa0 - ivar
_ATXAppDailyDose *_appDailyDose;+0x38 - ivar
ATXAppFeaturizer *_appFeaturizer;+0x70 - ivar
_ATXAppInfoManager *_appInfoManager;+0xb0 - ivar
_ATXAppInstallMonitor *_appInstallMonitor;+0x60 - ivar
ATXAppIntentMonitor *_appIntentMonitor;+0x58 - ivar
_Atomic BOOL _appLaunchAndInstallMonitorsInitialized;+0x88 - ivar
_ATXAppLaunchLocation *_appLaunchLocation;+0x30 - ivar
ATXAppLaunchLogger *_appLaunchLogger;+0x68 - ivar
_ATXAppLaunchMonitor *_appLaunchMonitor;+0x50 - ivar
ATXAppPredictionBlacklist *_appPredictionBlacklist;+0x98 - ivar
ATXCDNDownloaderTriggerManager *_cdnDownloaderTriggerManager;+0xd8 - ivar
ATXCurrentABGroupDetails *_currentABGroupDetails;+0xc0 - ivar
NSString *_dayZeroABGroupIdentifier;+0x20 - ivar
NSString *_dayZeroIntentABGroupIdentifier;+0x28 - ivar
NSDictionary *_dayZeroIntentParameters;+0x18 - ivar
NSDictionary *_dayZeroParameters;+0x10 - ivar
_Atomic BOOL _dependenciesAreInitialized;+0x89 - ivar
NSMutableDictionary *_inferenceRunnerForConsumerSubtype;+0xc8 - ivar
ATXMediaApplications *_mediaApps;+0xa8 - ivar
ATXAppLaunchMicroLocation *_microLocation;+0xb8 - ivar
ATXMagicalMomentsUpdateMonitor *_mmPredictionMonitor;+0x80 - ivar
ATXBBNotificationManager *_notificationManager;+0x78 - ivar
ATXPredictionContextBuilder *_predictionContextBuilder;+0x48 - ivar
NSObject<OS_dispatch_queue> *_queue;+0x8 - ivar
_ATXRecentInstallCache *_recentInstallCache;+0x40 - ivar
NSUserDefaults *_userDefaults;+0x90 - method
- (void).cxx_destruct; - method
- (void)_addZeroDayAppIntentKeysToBundleIdTable:(id)arg0; - method
- (id)_allDayZeroApps; - method
- (id)_appPredictionsSeedAppsGivenSBAppList:(id)arg0 consumerSubType:(unsigned char)arg1 minimumDesiredApps:(unsigned long long)arg2; - method
- (id)_appsToPredictWithConsumerSubType:(unsigned char)arg0 intent:(id)arg1 candidateBundleIdentifiers:(id)arg2 allSBApps:(id)arg3 appPredictionBlacklist:(id)arg4 digitalHealthBlacklist:(id)arg5; - method
- (void)_copyValidScoreInputsFromPredictionItem:(const struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 toPredictionItem:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg1; - method
- (unordered_map<NSString *, const ATXPredictionItem *, ATXNSStringHash, ATXNSStringEqual, std::allocator<std::pair<NSString *const, const ATXPredictionItem *>>>)_createMapOfKeyToItemForPredictionItems:(const void *)arg0; - method
- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForActions:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2 featureCache:(id)arg3; - method
- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppForAllIntents:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2; - method
- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppIntents:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2; - method
- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_getPredictionForItems:(id)arg0 clipBundleIdsToRank:(id)arg1 consumerSubType:(unsigned char)arg2 intent:(id)arg3 scoreLogger:(id)arg4 context:(id)arg5 featureCache:(id)arg6; - method
- (BOOL)_initAppLaunchAndInstallMonitors; - method
- (BOOL)_initDependencies; - method
- (void)_initFeaturizers; - method
- (double)_predictionScoreAndUpdateConfidenceForItem:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 interpreter:(id)arg1 consumerSubType:(unsigned char)arg2 scoreLogger:(id)arg3 intentType:(id)arg4; - method
- (void)_setActionBlacklist:(id)arg0; - method
- (void)_updateFromAsset; - method
- (void)_updateFromZeroDayAsset; - method
- (void)_updateFromZeroDayIntentAsset; - method
- (id)abGroupIdentifiers; - method
- (id)actionModelNameForActionSubType:(unsigned char)arg0; - method
- (id)appInstallMonitor; - method
- (id)appIntentMonitor; - method
- (id)appLaunchMonitor; - method
- (id)cdnDownloaderTriggerManager; - method
- (void)coolDownModelForConsumerSubtype:(unsigned char)arg0; - method
- (void)dealloc; - method
- (double)finalScoreForSubscores:(id)arg0 consumerSubType:(unsigned char)arg1; - method
- (id)getABGroups; - method
- (id)getPredictionModelDetailsForConsumerSubType:(unsigned char)arg0; - method
- (id)init; - method
- (id)initInternal; - method
- (BOOL)isActionModelConsumerSubType:(unsigned char)arg0; - method
- (void)iterZeroDayAppIntentKeysWithBlock:(id /* block */)arg0; - method
- (void)logCacheAgeAtRefreshForNonBlendingCachesWithCachePath:(id)arg0 consumerSubType:(unsigned char)arg1; - method
- (void)observeValueForKeyPath:(id)arg0 ofObject:(id)arg1 change:(id)arg2 context:(void *)arg3; - method
- (BOOL)predictAndWriteCacheFileWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5 path:(id)arg6 cacheFileDescriptors:(id)arg7 featureCache:(id)arg8; - method
- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5; - method
- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5 predictionItemsToKeep:(void *)arg6 predictedItemsOutParameter:(void *)arg7 context:(id)arg8 datastore:(id)arg9 featureCache:(id)arg10; - method
- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5 predictionItemsToKeep:(void *)arg6 predictedItemsOutParameter:(void *)arg7 context:(id)arg8 featureCache:(id)arg9; - method
- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5 predictionItemsToKeep:(void *)arg6 predictedItemsOutParameter:(void *)arg7 datastore:(id)arg8; - method
- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5 predictionItemsToKeep:(void *)arg6 predictedItemsOutParameter:(void *)arg7 featureCache:(id)arg8; - method
- (double)predictionScoreAndUpdateConfidenceForItem:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 consumerSubType:(unsigned char)arg1; - method
- (void)prewarmModelForConsumerSubtype:(unsigned char)arg0; - method
- (void)receiveFeedbackForConsumerType:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 atxResponse:(id)arg2 engagementType:(unsigned long long)arg3 engagedBundleId:(id)arg4 bundleIdsShown:(id)arg5 explicitlyRejectedBundleIds:(id)arg6 context:(id)arg7; - method
- (id)recentInstallCache; - method
- (void)resetRecentInstallCache; - method
- (double)scoreActionWithFeaturesUsingCoreML:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 consumerSubType:(unsigned char)arg1; - method
- (BOOL)scoreActionsWithFeaturesUsingCoreML:(void *)arg0 consumerSubType:(unsigned char)arg1 scoreLogger:(id)arg2; - method
- (double)scoreAppWithFeaturesUsingCoreML:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0; - method
- (BOOL)scoreAppsWithFeaturesUsingCoreML:(void *)arg0 scoreLogger:(id)arg1; - method
- (void)setAbGroupIdentifiers:(id)arg0; - method
- (void)setCdnDownloaderTriggerManager:(id)arg0; - method
- (void)setupScoreLogger:(id)arg0 forConsumerSubType:(unsigned char)arg1; - method
- (void)train; - method
- (void)trainWithTask:(id)arg0; - method
- (BOOL)writeCacheFileWithSerializedChunks:(id)arg0 path:(id)arg1 cacheFileDescriptors:(id)arg2 consumerSubType:(unsigned char)arg3; - property
@property(retain, nonatomic) NSArray *abGroupIdentifiers; - property
@property(retain, nonatomic) ATXCDNDownloaderTriggerManager *cdnDownloaderTriggerManager;
Header
@interface _ATXAppPredictor : NSObject { NSObject<OS_dispatch_queue> *_queue; NSDictionary *_dayZeroParameters; NSDictionary *_dayZeroIntentParameters; NSString *_dayZeroABGroupIdentifier; NSString *_dayZeroIntentABGroupIdentifier; _ATXAppLaunchLocation *_appLaunchLocation; _ATXAppDailyDose *_appDailyDose; _ATXRecentInstallCache *_recentInstallCache; ATXPredictionContextBuilder *_predictionContextBuilder; _ATXAppLaunchMonitor *_appLaunchMonitor; ATXAppIntentMonitor *_appIntentMonitor; _ATXAppInstallMonitor *_appInstallMonitor; ATXAppLaunchLogger *_appLaunchLogger; ATXAppFeaturizer *_appFeaturizer; ATXBBNotificationManager *_notificationManager; ATXMagicalMomentsUpdateMonitor *_mmPredictionMonitor; _Atomic BOOL _appLaunchAndInstallMonitorsInitialized; _Atomic BOOL _dependenciesAreInitialized; NSUserDefaults *_userDefaults; ATXAppPredictionBlacklist *_appPredictionBlacklist; ATXActionPredictionBlacklist *_actionPredictionBlacklist; ATXMediaApplications *_mediaApps; _ATXAppInfoManager *_appInfoManager; ATXAppLaunchMicroLocation *_microLocation; ATXCurrentABGroupDetails *_currentABGroupDetails; NSMutableDictionary *_inferenceRunnerForConsumerSubtype; NSArray *_abGroupIdentifiers; ATXCDNDownloaderTriggerManager *_cdnDownloaderTriggerManager; } @property (nonatomic, strong) NSArray *abGroupIdentifiers; @property (nonatomic, strong) ATXCDNDownloaderTriggerManager *cdnDownloaderTriggerManager; + (id)sharedInstance; + (id)getParseTreeForConsumerSubType:(unsigned char)consumerSubType; + (id)_arrayFromSet:(id)set upToSize:(unsigned long long)size; + (id)inputScoresForPredictionItem:(const struct ATXPredictionItem *)predictionItem; + (id)pruneItemsToRankForConsumerSubType:(unsigned char)consumerSubType itemsToRank:(id)rank datastore:(id)datastore; + (id)recreateSharedInstanceWithCurrentABGroup; + (void)updateConfidenceForItem:(struct ATXPredictionItem *)item subscores:(id)subscores; - (void)train; - (double)finalScoreForSubscores:(id)subscores consumerSubType:(unsigned char)consumerSubType; - (struct vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_getPredictionForItems:(id)items clipBundleIdsToRank:(id)rank consumerSubType:(unsigned char)consumerSubType intent:(id)intent scoreLogger:(id)scoreLogger context:(id)context featureCache:(id)featureCache; - (id)initInternal; - (void)_addZeroDayAppIntentKeysToBundleIdTable:(id)bundleIdTable; - (id)_allDayZeroApps; - (struct vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppForAllIntents:(id)allIntents scoreLogger:(id)scoreLogger context:(id)context; - (void)setAbGroupIdentifiers:(id)abGroupIdentifiers; - (void)observeValueForKeyPath:(id)keyPath ofObject:(id)ofObject change:(id)change context:(void *)context; - (id)getABGroups; - (id)cdnDownloaderTriggerManager; - (BOOL)predictAndWriteCacheFileWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger path:(id)path cacheFileDescriptors:(id)cacheFileDescriptors featureCache:(id)featureCache; - (id)actionModelNameForActionSubType:(unsigned char)actionSubType; - (double)scoreActionWithFeaturesUsingCoreML:(struct ATXPredictionItem *)coreML consumerSubType:(unsigned char)consumerSubType; - (void)logCacheAgeAtRefreshForNonBlendingCachesWithCachePath:(id)cachePath consumerSubType:(unsigned char)consumerSubType; - (id)predictWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger; - (struct vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForActions:(id)actions scoreLogger:(id)scoreLogger context:(id)context featureCache:(id)featureCache; - (BOOL)_initDependencies; - (double)_predictionScoreAndUpdateConfidenceForItem:(struct ATXPredictionItem *)item interpreter:(id)interpreter consumerSubType:(unsigned char)consumerSubType scoreLogger:(id)scoreLogger intentType:(id)intentType; - (id)predictWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger predictionItemsToKeep:(void *)keep predictedItemsOutParameter:(void *)predictedItemsOutParameter context:(id)context featureCache:(id)featureCache; - (id)recentInstallCache; - (id)getPredictionModelDetailsForConsumerSubType:(unsigned char)consumerSubType; - (id)appInstallMonitor; - (void)_updateFromZeroDayIntentAsset; - (void)iterZeroDayAppIntentKeysWithBlock:(id /* block */)block; - (struct vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppIntents:(id)appIntents scoreLogger:(id)scoreLogger context:(id)context; - (void)trainWithTask:(id)task; - (void).cxx_destruct; - (void)_setActionBlacklist:(id)actionBlacklist; - (void)coolDownModelForConsumerSubtype:(unsigned char)consumerSubtype; - (BOOL)writeCacheFileWithSerializedChunks:(id)serializedChunks path:(id)path cacheFileDescriptors:(id)cacheFileDescriptors consumerSubType:(unsigned char)consumerSubType; - (void)resetRecentInstallCache; - (id)_appsToPredictWithConsumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers allSBApps:(id)allSBApps appPredictionBlacklist:(id)appPredictionBlacklist digitalHealthBlacklist:(id)digitalHealthBlacklist; - (void)dealloc; - (id)abGroupIdentifiers; - (BOOL)_initAppLaunchAndInstallMonitors; - (double)predictionScoreAndUpdateConfidenceForItem:(struct ATXPredictionItem *)item consumerSubType:(unsigned char)consumerSubType; - (BOOL)scoreAppsWithFeaturesUsingCoreML:(void *)coreML scoreLogger:(id)scoreLogger; - (id)appIntentMonitor; - (void)_updateFromZeroDayAsset; - (void)setCdnDownloaderTriggerManager:(id)cdnDownloaderTriggerManager; - (id)predictWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger predictionItemsToKeep:(void *)keep predictedItemsOutParameter:(void *)predictedItemsOutParameter context:(id)context datastore:(id)datastore featureCache:(id)featureCache; - (void)_copyValidScoreInputsFromPredictionItem:(const struct ATXPredictionItem *)predictionItem toPredictionItem:(struct ATXPredictionItem *)toPredictionItem; - (void)receiveFeedbackForConsumerType:(unsigned long long)consumerType consumerSubType:(unsigned char)consumerSubType atxResponse:(id)atxResponse engagementType:(unsigned long long)engagementType engagedBundleId:(id)engagedBundleId bundleIdsShown:(id)bundleIdsShown explicitlyRejectedBundleIds:(id)explicitlyRejectedBundleIds context:(id)context; - (struct unordered_map<NSString *, const ATXPredictionItem *, ATXNSStringHash, ATXNSStringEqual, std::allocator<std::pair<NSString *const, const ATXPredictionItem *>>>)_createMapOfKeyToItemForPredictionItems:(const void *)predictionItems; - (id)predictWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger predictionItemsToKeep:(void *)keep predictedItemsOutParameter:(void *)predictedItemsOutParameter featureCache:(id)featureCache; - (id)init; - (void)_updateFromAsset; - (void)_initFeaturizers; - (id)appLaunchMonitor; - (void)prewarmModelForConsumerSubtype:(unsigned char)consumerSubtype; - (double)scoreAppWithFeaturesUsingCoreML:(struct ATXPredictionItem *)coreML; - (id)predictWithLimit:(unsigned long long)limit consumerSubType:(unsigned char)consumerSubType intent:(id)intent candidateBundleIdentifiers:(id)candidateBundleIdentifiers candidateActiontypes:(id)candidateActiontypes scoreLogger:(id)scoreLogger predictionItemsToKeep:(void *)keep predictedItemsOutParameter:(void *)predictedItemsOutParameter datastore:(id)datastore; - (void)setupScoreLogger:(id)setupScoreLogger forConsumerSubType:(unsigned char)forConsumerSubType; - (BOOL)scoreActionsWithFeaturesUsingCoreML:(void *)coreML consumerSubType:(unsigned char)consumerSubType scoreLogger:(id)scoreLogger; - (id)_appPredictionsSeedAppsGivenSBAppList:(id)_appPredictionsSeedAppsGivenSBAppList consumerSubType:(unsigned char)consumerSubType minimumDesiredApps:(unsigned long long)minimumDesiredApps; - (BOOL)isActionModelConsumerSubType:(unsigned char)isActionModelConsumerSubType; @end