Objective-CclassAppPredictionInternal

@interface ATXModeSuggestionScorer : NSObject

Structure

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

inherits{}

Members 59

  1. method+ (BOOL)_areConfiguredTriggers:(id)arg0 conflictingWithSuggestedTriggers:(id)arg1;
  2. ivarATXAppLaunches *_appLaunchStream;+0x58
  3. ivarDNDModeConfiguration *_cachedDNDMode;+0xd0
  4. ivarNSNumber *_cachedIsModeConfigured;+0xc8
  5. ivarNSNumber *_cachedIsUserCurrentlyInADifferentMode;+0xc0
  6. ivarNSNumber *_cachedIsUserCurrentlyInMode;+0xb8
  7. ivardouble _confidenceScore;+0x28
  8. ivarATXConfiguredModeService *_configuredModeService;+0x40
  9. ivarATXActivitySuggestionsFeedbackHistogramHelper *_feedbackHistogramHelper;+0x50
  10. ivarNSNumber *_feedbackScore;+0x68
  11. ivarATXActivitySuggestionFeedbackStream *_feedbackStream;+0x48
  12. ivarBMStream *_groundTruthModeStream;+0x60
  13. ivarint _modeType;+0x10
  14. ivarNSString *_modeUUID;+0x8
  15. ivarint _origin;+0x14
  16. ivarNSString *_originAnchorType;+0x18
  17. ivarNSString *_originBundleId;+0x20
  18. ivarNSNumber *_rejectionsAcrossAllModesInPastDay;+0x98
  19. ivarNSNumber *_rejectionsAcrossAllModesInPastWeek;+0xb0
  20. ivarNSNumber *_rejectionsInPastWeek;+0x70
  21. ivardouble _secondsSinceSuggested;+0x30
  22. ivarNSNumber *_timesShown;+0x90
  23. ivarNSNumber *_timesShownAcrossAllModesInPastDay;+0xa0
  24. ivarNSNumber *_timesShownAcrossAllModesInPastWeek;+0xa8
  25. ivarNSNumber *_timesShownInLastDay;+0x88
  26. ivarNSNumber *_totalIgnores;+0x80
  27. ivarNSNumber *_totalRejections;+0x78
  28. ivarNSArray *_triggers;+0x38
  29. method- (void).cxx_destruct;
  30. method- (BOOL)_hasHadEarlyExitTodayForModeWithUUID:(id)arg0;
  31. method- (BOOL)_hasLaunchedAppOnAtLeastTwoSeparateDays;
  32. method- (BOOL)_hasUserSetUpModeBefore;
  33. method- (BOOL)_hasUserSetUpSmartActivationForThisModeBefore;
  34. method- (BOOL)_inValidLocaleForDrivingSuggestions;
  35. method- (BOOL)_isSameActivityAndSource:(id)arg0;
  36. method- (BOOL)_isUserCurrentlyInDifferentModeFromSuggestedMode:(id)arg0;
  37. method- (BOOL)_isUserCurrentlyInSuggestedMode:(id)arg0;
  38. method- (id)_lockScreenSuggestionThresholds;
  39. method- (void)_populateCachedDataAboutUsersCurrentMode;
  40. method- (void)_populateFeedbackScores;
  41. method- (void)_populateFeedbackScoresIfNeeded;
  42. method- (id)_scoringWeights;
  43. method- (BOOL)_shouldSuggestOnLockScreenWithDefaults:(id)arg0;
  44. method- (id)initWithModeUUID:(id)arg0 modeType:(int)arg1 origin:(int)arg2 originBundleId:(id)arg3 originAnchorType:(id)arg4 confidenceScore:(double)arg5 secondsSinceSuggested:(double)arg6 serializedTriggers:(id)arg7;
  45. method- (id)initWithModeUUID:(id)arg0 modeType:(int)arg1 origin:(int)arg2 originBundleId:(id)arg3 originAnchorType:(id)arg4 confidenceScore:(double)arg5 secondsSinceSuggested:(double)arg6 serializedTriggers:(id)arg7 configuredModeService:(id)arg8 feedbackStream:(id)arg9 feedbackHistogramHelper:(id)arg10 appLaunchStream:(id)arg11 groundTruthModeStream:(id)arg12;
  46. method- (BOOL)isModeConfigured;
  47. method- (BOOL)isUserCurrentlyInADifferentMode;
  48. method- (BOOL)isUserCurrentlyInMode;
  49. method- (double)score;
  50. method- (BOOL)shouldAllowSmartEntry;
  51. method- (BOOL)shouldSuggestOnLockScreen;
  52. method- (BOOL)shouldSuggestTriggers;
  53. property@property(readonly, nonatomic) BOOL isModeConfigured;
  54. property@property(readonly, nonatomic) BOOL isUserCurrentlyInADifferentMode;
  55. property@property(readonly, nonatomic) BOOL isUserCurrentlyInMode;
  56. property@property(readonly, nonatomic) double score;
  57. property@property(readonly, nonatomic) BOOL shouldAllowSmartEntry;
  58. property@property(readonly, nonatomic) BOOL shouldSuggestOnLockScreen;
  59. property@property(readonly, nonatomic) BOOL shouldSuggestTriggers;
@interface ATXModeSuggestionScorer : NSObject {
    NSString *_modeUUID;
    int _modeType;
    int _origin;
    NSString *_originAnchorType;
    NSString *_originBundleId;
    double _confidenceScore;
    double _secondsSinceSuggested;
    NSArray *_triggers;
    ATXConfiguredModeService *_configuredModeService;
    ATXActivitySuggestionFeedbackStream *_feedbackStream;
    ATXActivitySuggestionsFeedbackHistogramHelper *_feedbackHistogramHelper;
    ATXAppLaunches *_appLaunchStream;
    BMStream *_groundTruthModeStream;
    NSNumber *_feedbackScore;
    NSNumber *_rejectionsInPastWeek;
    NSNumber *_totalRejections;
    NSNumber *_totalIgnores;
    NSNumber *_timesShownInLastDay;
    NSNumber *_timesShown;
    NSNumber *_rejectionsAcrossAllModesInPastDay;
    NSNumber *_timesShownAcrossAllModesInPastDay;
    NSNumber *_timesShownAcrossAllModesInPastWeek;
    NSNumber *_rejectionsAcrossAllModesInPastWeek;
    NSNumber *_cachedIsUserCurrentlyInMode;
    NSNumber *_cachedIsUserCurrentlyInADifferentMode;
    NSNumber *_cachedIsModeConfigured;
    DNDModeConfiguration *_cachedDNDMode;
}

@property (nonatomic, readonly) BOOL isModeConfigured;
@property (nonatomic, readonly) BOOL isUserCurrentlyInMode;
@property (nonatomic, readonly) BOOL isUserCurrentlyInADifferentMode;
@property (nonatomic, readonly) double score;
@property (nonatomic, readonly) BOOL shouldSuggestOnLockScreen;
@property (nonatomic, readonly) BOOL shouldSuggestTriggers;
@property (nonatomic, readonly) BOOL shouldAllowSmartEntry;

+ (BOOL)_areConfiguredTriggers:(id)_areConfiguredTriggers conflictingWithSuggestedTriggers:(id)suggestedTriggers;

- (id)initWithModeUUID:(id)modeUUID modeType:(int)modeType origin:(int)origin originBundleId:(id)originBundleId originAnchorType:(id)originAnchorType confidenceScore:(double)confidenceScore secondsSinceSuggested:(double)suggested serializedTriggers:(id)serializedTriggers configuredModeService:(id)configuredModeService feedbackStream:(id)feedbackStream feedbackHistogramHelper:(id)feedbackHistogramHelper appLaunchStream:(id)appLaunchStream groundTruthModeStream:(id)groundTruthModeStream;
- (BOOL)shouldSuggestTriggers;
- (id)_scoringWeights;
- (BOOL)isUserCurrentlyInADifferentMode;
- (BOOL)_hasHadEarlyExitTodayForModeWithUUID:(id)uUID;
- (void)_populateFeedbackScoresIfNeeded;
- (void)_populateFeedbackScores;
- (void).cxx_destruct;
- (id)initWithModeUUID:(id)modeUUID modeType:(int)modeType origin:(int)origin originBundleId:(id)originBundleId originAnchorType:(id)originAnchorType confidenceScore:(double)confidenceScore secondsSinceSuggested:(double)suggested serializedTriggers:(id)serializedTriggers;
- (BOOL)_hasUserSetUpModeBefore;
- (id)_lockScreenSuggestionThresholds;
- (BOOL)_shouldSuggestOnLockScreenWithDefaults:(id)defaults;
- (double)score;
- (BOOL)isUserCurrentlyInMode;
- (void)_populateCachedDataAboutUsersCurrentMode;
- (BOOL)isModeConfigured;
- (BOOL)_isUserCurrentlyInSuggestedMode:(id)suggestedMode;
- (BOOL)_hasUserSetUpSmartActivationForThisModeBefore;
- (BOOL)shouldAllowSmartEntry;
- (BOOL)shouldSuggestOnLockScreen;
- (BOOL)_isUserCurrentlyInDifferentModeFromSuggestedMode:(id)suggestedMode;
- (BOOL)_hasLaunchedAppOnAtLeastTwoSeparateDays;
- (BOOL)_isSameActivityAndSource:(id)source;
- (BOOL)_inValidLocaleForDrivingSuggestions;

@end