Objective-CclassAppPredictionInternal

@interface _ATXAppPredictor : NSObject

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 94

  1. method+ (id)_arrayFromSet:(id)arg0 upToSize:(unsigned long long)arg1;
  2. method+ (id)getParseTreeForConsumerSubType:(unsigned char)arg0;
  3. method+ (id)inputScoresForPredictionItem:(const struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0;
  4. method+ (id)pruneItemsToRankForConsumerSubType:(unsigned char)arg0 itemsToRank:(id)arg1 datastore:(id)arg2;
  5. method+ (id)recreateSharedInstanceWithCurrentABGroup;
  6. method+ (id)sharedInstance;
  7. method+ (void)updateConfidenceForItem:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0 subscores:(id)arg1;
  8. ivarNSArray *_abGroupIdentifiers;+0xd0
  9. ivarATXActionPredictionBlacklist *_actionPredictionBlacklist;+0xa0
  10. ivar_ATXAppDailyDose *_appDailyDose;+0x38
  11. ivarATXAppFeaturizer *_appFeaturizer;+0x70
  12. ivar_ATXAppInfoManager *_appInfoManager;+0xb0
  13. ivar_ATXAppInstallMonitor *_appInstallMonitor;+0x60
  14. ivarATXAppIntentMonitor *_appIntentMonitor;+0x58
  15. ivar_Atomic BOOL _appLaunchAndInstallMonitorsInitialized;+0x88
  16. ivar_ATXAppLaunchLocation *_appLaunchLocation;+0x30
  17. ivarATXAppLaunchLogger *_appLaunchLogger;+0x68
  18. ivar_ATXAppLaunchMonitor *_appLaunchMonitor;+0x50
  19. ivarATXAppPredictionBlacklist *_appPredictionBlacklist;+0x98
  20. ivarATXCDNDownloaderTriggerManager *_cdnDownloaderTriggerManager;+0xd8
  21. ivarATXCurrentABGroupDetails *_currentABGroupDetails;+0xc0
  22. ivarNSString *_dayZeroABGroupIdentifier;+0x20
  23. ivarNSString *_dayZeroIntentABGroupIdentifier;+0x28
  24. ivarNSDictionary *_dayZeroIntentParameters;+0x18
  25. ivarNSDictionary *_dayZeroParameters;+0x10
  26. ivar_Atomic BOOL _dependenciesAreInitialized;+0x89
  27. ivarNSMutableDictionary *_inferenceRunnerForConsumerSubtype;+0xc8
  28. ivarATXMediaApplications *_mediaApps;+0xa8
  29. ivarATXAppLaunchMicroLocation *_microLocation;+0xb8
  30. ivarATXMagicalMomentsUpdateMonitor *_mmPredictionMonitor;+0x80
  31. ivarATXBBNotificationManager *_notificationManager;+0x78
  32. ivarATXPredictionContextBuilder *_predictionContextBuilder;+0x48
  33. ivarNSObject<OS_dispatch_queue> *_queue;+0x8
  34. ivar_ATXRecentInstallCache *_recentInstallCache;+0x40
  35. ivarNSUserDefaults *_userDefaults;+0x90
  36. method- (void).cxx_destruct;
  37. method- (void)_addZeroDayAppIntentKeysToBundleIdTable:(id)arg0;
  38. method- (id)_allDayZeroApps;
  39. method- (id)_appPredictionsSeedAppsGivenSBAppList:(id)arg0 consumerSubType:(unsigned char)arg1 minimumDesiredApps:(unsigned long long)arg2;
  40. method- (id)_appsToPredictWithConsumerSubType:(unsigned char)arg0 intent:(id)arg1 candidateBundleIdentifiers:(id)arg2 allSBApps:(id)arg3 appPredictionBlacklist:(id)arg4 digitalHealthBlacklist:(id)arg5;
  41. 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;
  42. method- (unordered_map<NSString *, const ATXPredictionItem *, ATXNSStringHash, ATXNSStringEqual, std::allocator<std::pair<NSString *const, const ATXPredictionItem *>>>)_createMapOfKeyToItemForPredictionItems:(const void *)arg0;
  43. method- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForActions:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2 featureCache:(id)arg3;
  44. method- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppForAllIntents:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2;
  45. method- (vector<ATXPredictionItem, std::allocator<ATXPredictionItem>>)_evalFeaturesForAppIntents:(id)arg0 scoreLogger:(id)arg1 context:(id)arg2;
  46. 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;
  47. method- (BOOL)_initAppLaunchAndInstallMonitors;
  48. method- (BOOL)_initDependencies;
  49. method- (void)_initFeaturizers;
  50. 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;
  51. method- (void)_setActionBlacklist:(id)arg0;
  52. method- (void)_updateFromAsset;
  53. method- (void)_updateFromZeroDayAsset;
  54. method- (void)_updateFromZeroDayIntentAsset;
  55. method- (id)abGroupIdentifiers;
  56. method- (id)actionModelNameForActionSubType:(unsigned char)arg0;
  57. method- (id)appInstallMonitor;
  58. method- (id)appIntentMonitor;
  59. method- (id)appLaunchMonitor;
  60. method- (id)cdnDownloaderTriggerManager;
  61. method- (void)coolDownModelForConsumerSubtype:(unsigned char)arg0;
  62. method- (void)dealloc;
  63. method- (double)finalScoreForSubscores:(id)arg0 consumerSubType:(unsigned char)arg1;
  64. method- (id)getABGroups;
  65. method- (id)getPredictionModelDetailsForConsumerSubType:(unsigned char)arg0;
  66. method- (id)init;
  67. method- (id)initInternal;
  68. method- (BOOL)isActionModelConsumerSubType:(unsigned char)arg0;
  69. method- (void)iterZeroDayAppIntentKeysWithBlock:(id /* block */)arg0;
  70. method- (void)logCacheAgeAtRefreshForNonBlendingCachesWithCachePath:(id)arg0 consumerSubType:(unsigned char)arg1;
  71. method- (void)observeValueForKeyPath:(id)arg0 ofObject:(id)arg1 change:(id)arg2 context:(void *)arg3;
  72. 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;
  73. method- (id)predictWithLimit:(unsigned long long)arg0 consumerSubType:(unsigned char)arg1 intent:(id)arg2 candidateBundleIdentifiers:(id)arg3 candidateActiontypes:(id)arg4 scoreLogger:(id)arg5;
  74. 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;
  75. 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;
  76. 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;
  77. 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;
  78. 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;
  79. method- (void)prewarmModelForConsumerSubtype:(unsigned char)arg0;
  80. 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;
  81. method- (id)recentInstallCache;
  82. method- (void)resetRecentInstallCache;
  83. 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;
  84. method- (BOOL)scoreActionsWithFeaturesUsingCoreML:(void *)arg0 consumerSubType:(unsigned char)arg1 scoreLogger:(id)arg2;
  85. method- (double)scoreAppWithFeaturesUsingCoreML:(struct ATXPredictionItem { id x0; unsigned long long x1; float[837] x2; float x3; BOOL x4; BOOL x5; } *)arg0;
  86. method- (BOOL)scoreAppsWithFeaturesUsingCoreML:(void *)arg0 scoreLogger:(id)arg1;
  87. method- (void)setAbGroupIdentifiers:(id)arg0;
  88. method- (void)setCdnDownloaderTriggerManager:(id)arg0;
  89. method- (void)setupScoreLogger:(id)arg0 forConsumerSubType:(unsigned char)arg1;
  90. method- (void)train;
  91. method- (void)trainWithTask:(id)arg0;
  92. method- (BOOL)writeCacheFileWithSerializedChunks:(id)arg0 path:(id)arg1 cacheFileDescriptors:(id)arg2 consumerSubType:(unsigned char)arg3;
  93. property@property(retain, nonatomic) NSArray *abGroupIdentifiers;
  94. property@property(retain, nonatomic) ATXCDNDownloaderTriggerManager *cdnDownloaderTriggerManager;
@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