Objective-CclassPhotoLibraryServices

@interface PLBackgroundJobService : NSObject <PFCameraViewfinderSessionWatcherDelegate, PFStateCaptureProvider, PLBackgroundJobCoordinatorDelegate>

Structure

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

Members 111

  1. method+ (BOOL)_stateIsReadyForSubmission:(unsigned long long)arg0;
  2. method+ (BOOL)_stateIsReadyToRun:(unsigned long long)arg0;
  3. method+ (BOOL)verifyStateTransitionFromState:(unsigned long long)arg0 toState:(unsigned long long)arg1;
  4. ivarNSMutableDictionary *_cachedCriteriaForPendingWorkers;+0x48
  5. ivarBOOL _cameraForeground;+0xb8
  6. ivarPFCameraViewfinderSessionWatcher *_cameraWatcher;+0x58
  7. ivarPLBackgroundJobCoordinator *_coordinator;+0x28
  8. ivarNSMutableSet *_inq_completedCriteriaInCurrentSession;+0xf8
  9. ivarNSObject<OS_dispatch_queue> *_isolationQueue;+0x88
  10. ivarPLLazyObject *_lazyProcessingSetURL;+0x68
  11. ivarNSDictionary *_libraryInvalidationCompletionHandlerByLibraryURL;+0x60
  12. ivarNSPointerArray *_observers;+0x100
  13. ivarPLBackgroundJobCriteria *_pausedCriteria;+0x38
  14. ivarNSMutableDictionary *_processingSet;+0x70
  15. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _processingSetLock;+0x80
  16. ivarNSMutableSet *_registeredTaskIdentifiers;+0x78
  17. ivarPLBackgroundJobCriteria *_runningCriteria;+0x30
  18. ivarBGSystemTask *_runningTask;+0x8
  19. ivarNSObject<OS_dispatch_source> *_runningTaskDeferTimer;+0x90
  20. ivarNSNumber *_simulateDASDeferral;+0xb0
  21. ivarPFStateCaptureHandler *_stateCaptureHandler;+0xc0
  22. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _stateLock;+0x10
  23. ivarunsigned long long _stateLock_state;+0x18
  24. ivarPLBackgroundJobStatusCenter *_statusCenter;+0x20
  25. ivarPFCoalescer *_submissionCoalescer;+0x50
  26. ivarNSMutableDictionary *_throughputMetricsCache;+0xe8
  27. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _throughputMetricsCacheLock;+0xf0
  28. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _timerLock;+0xa0
  29. ivarNSMutableDictionary *_timerLock_signalAgainTimersByWorkerType;+0xa8
  30. ivarNSObject<OS_dispatch_queue> *_timerQueue;+0x98
  31. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _watchdogTimerLock;+0xc8
  32. ivarNSDate *_watchdogTimerLock_dateOfWatchdogTimerStart;+0xd0
  33. ivardouble _watchdogTimerLock_submissionCoalescerPushBackTimeInterval;+0xd8
  34. ivarNSString *_watchdogTimerLock_watchdogTimerSourceDescription;+0xe0
  35. ivarNSArray *_workerClasses;+0x40
  36. method- (void).cxx_destruct;
  37. method- (void)_appendTaskMetadataToProcessingSet:(id)arg0;
  38. method- (id)_bundlePathsByTaskIdentifier;
  39. method- (void)_closePendingThroughputReports;
  40. method- (void)_fireWatchdogTimerWithStartTime:(id)arg0 startingPushBackTimeInterval:(double)arg1 sourceDescription:(id)arg2;
  41. method- (id)_getBundleRecordsFromProcessingSetForAllCriterias;
  42. method- (id)_getBundlesByTaskIdentifier;
  43. method- (id)_getCriteriaByTaskIdentifier;
  44. method- (id)_getProcessingSetURL;
  45. method- (id)_getTaskMetadataForTaskIdentifier:(id)arg0;
  46. method- (id)_inq_createCoordinatorWithCriteria:(id)arg0;
  47. method- (void)_inq_deregisterTaskIdentifierIfNeeded:(id)arg0;
  48. method- (void)_inq_finishTaskIfNeededShouldDefer:(BOOL)arg0;
  49. method- (BOOL)_inq_hasBundleRecordsInProcessingSet;
  50. method- (id)_inq_pendingJobsForBundle:(id)arg0 workerTypes:(id)arg1 currentCriteria:(id)arg2;
  51. method- (id)_inq_pendingJobsOnBuffer:(id)arg0 currentCriteria:(id)arg1;
  52. method- (id)_inq_pendingJobsOnBundles:(id)arg0 currentCriteria:(id)arg1;
  53. method- (void)_inq_registerTaskIdentifierIfNeeded:(id)arg0;
  54. method- (void)_inq_removeCriteriaFromCachedCriteria:(id)arg0;
  55. method- (void)_inq_resolvePendingInvalidationsForLibraryURLs:(id)arg0;
  56. method- (void)_inq_runTask:(id)arg0;
  57. method- (void)_inq_setServiceState:(unsigned long long)arg0;
  58. method- (void)_inq_shutdownShouldDefer:(BOOL)arg0;
  59. method- (void)_inq_startPollingForTaskStatus;
  60. method- (void)_inq_stopPollingForTaskStatus;
  61. method- (void)_inq_stopRunningBackgroundJobsWithCoordinator:(id)arg0;
  62. method- (void)_inq_submitBackgroundProcessingNeededForBuffer:(id)arg0 context:(id)arg1;
  63. method- (BOOL)_inq_submitCriteriaFromProcessingSet;
  64. method- (void)_inq_submitPendingJobsIfNecessary:(id)arg0;
  65. method- (void)_inq_submitTaskWithCriteria:(id)arg0;
  66. method- (void)_inq_timerQueue_timerEventHandlerWithTimer:(id)arg0 workerType:(unsigned long long)arg1;
  67. method- (void)_inq_updateCameraForegroundState:(BOOL)arg0;
  68. method- (void)_invalidateSignalNeededForCrashRecoveryOnBundle:(id)arg0;
  69. method- (void)_noteSignalNeededForCrashRecoveryOnBundle:(id)arg0;
  70. method- (id)_readProcessingSet;
  71. method- (void)_removeAllBundlesFromProcessingSet;
  72. method- (void)_removeAllBundlesFromProcessingSetForTaskIdentifier:(id)arg0;
  73. method- (void)_reportProgressWithType:(unsigned long long)arg0 itemCount:(unsigned long long)arg1 category:(id)arg2;
  74. method- (void)_setRunningCriteria:(id)arg0;
  75. method- (void)_setServiceState:(unsigned long long)arg0;
  76. method- (BOOL)_signalNeededOnBundle:(id)arg0;
  77. method- (void)_signalWorkerAtDate:(id)arg0 workerType:(unsigned long long)arg1 bundle:(id)arg2;
  78. method- (void)_simulateBGSTShouldExpire:(BOOL)arg0;
  79. method- (void)_startPollingForTaskStatus;
  80. method- (void)_startRunningBackgroundJobsWithCriteria:(id)arg0;
  81. method- (void)_submitTaskWithoutCoalescingIfNecessaryOnBundle:(id)arg0;
  82. method- (void)_withProcessingSetLocked:(id /* block */)arg0;
  83. method- (id)_workersForBundle:(id)arg0;
  84. method- (void)_writeProcessingSet:(id)arg0;
  85. method- (void)cameraWatcherDidChangeState:(id)arg0;
  86. method- (void)coordinatorFinishedJobsOnAllSubmittedBundlesWithDeferral:(BOOL)arg0;
  87. method- (void)coordinatorFinishedJobsOnSubmittedBundle:(id)arg0;
  88. method- (void)finishTaskIfNeededShouldDefer_enqueue:(BOOL)arg0;
  89. method- (id)init;
  90. method- (id)initWithWorkerClasses:(id)arg0 statusCenter:(id)arg1;
  91. method- (void)invalidateLibraryBundle:(id)arg0 completion:(id /* block */)arg1;
  92. method- (id)observers;
  93. method- (void)performCrashRecoveryIfNeededOnBundle:(id)arg0;
  94. method- (void)prepareForProcessTermination;
  95. method- (unsigned long long)serviceState;
  96. method- (void)setObservers:(id)arg0;
  97. method- (void)signalBackgroundProcessingNeededOnBundle:(id)arg0;
  98. method- (void)signalBackgroundProcessingNeededOnBundle:(id)arg0 workerTypes:(id)arg1;
  99. method- (void)signalBackgroundProcessingNeededOnLibrary:(id)arg0;
  100. method- (void)signalBackgroundProcessingNeededOnLibrary:(id)arg0 workerTypes:(id)arg1;
  101. method- (void)start;
  102. method- (void)startWatchdogTimerIfNeededWithSourceDescription:(id)arg0;
  103. method- (id)stateCaptureDictionary;
  104. method- (id)statusCenterDump;
  105. property@property(readonly, copy) NSString *debugDescription;
  106. property@property(readonly, copy) NSString *description;
  107. property@property(readonly) unsigned long long hash;
  108. property@property(retain, nonatomic) NSPointerArray *observers;
  109. property@property(readonly) unsigned long long serviceState;
  110. property@property(readonly) NSDictionary *statusCenterDump;
  111. property@property(readonly) Class superclass;
@interface PLBackgroundJobService : NSObject <PFCameraViewfinderSessionWatcherDelegate, PFStateCaptureProvider, PLBackgroundJobCoordinatorDelegate> {
    BGSystemTask *_runningTask;
    struct os_unfair_lock_s _stateLock;
    unsigned long long _stateLock_state;
    PLBackgroundJobStatusCenter *_statusCenter;
    PLBackgroundJobCoordinator *_coordinator;
    PLBackgroundJobCriteria *_runningCriteria;
    PLBackgroundJobCriteria *_pausedCriteria;
    NSArray *_workerClasses;
    NSMutableDictionary *_cachedCriteriaForPendingWorkers;
    PFCoalescer *_submissionCoalescer;
    PFCameraViewfinderSessionWatcher *_cameraWatcher;
    NSDictionary *_libraryInvalidationCompletionHandlerByLibraryURL;
    PLLazyObject *_lazyProcessingSetURL;
    NSMutableDictionary *_processingSet;
    NSMutableSet *_registeredTaskIdentifiers;
    struct os_unfair_lock_s _processingSetLock;
    NSObject<OS_dispatch_queue> *_isolationQueue;
    NSObject<OS_dispatch_source> *_runningTaskDeferTimer;
    NSObject<OS_dispatch_queue> *_timerQueue;
    struct os_unfair_lock_s _timerLock;
    NSMutableDictionary *_timerLock_signalAgainTimersByWorkerType;
    NSNumber *_simulateDASDeferral;
    BOOL _cameraForeground;
    PFStateCaptureHandler *_stateCaptureHandler;
    struct os_unfair_lock_s _watchdogTimerLock;
    NSDate *_watchdogTimerLock_dateOfWatchdogTimerStart;
    double _watchdogTimerLock_submissionCoalescerPushBackTimeInterval;
    NSString *_watchdogTimerLock_watchdogTimerSourceDescription;
    NSMutableDictionary *_throughputMetricsCache;
    struct os_unfair_lock_s _throughputMetricsCacheLock;
    NSMutableSet *_inq_completedCriteriaInCurrentSession;
    NSPointerArray *_observers;
}

@property (nonatomic, strong) NSPointerArray *observers;
@property (readonly) NSDictionary *statusCenterDump;
@property (readonly) unsigned long long serviceState;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy, readonly) NSString *description;
@property (copy, readonly) NSString *debugDescription;

+ (BOOL)_stateIsReadyForSubmission:(unsigned long long)submission;
+ (BOOL)_stateIsReadyToRun:(unsigned long long)run;
+ (BOOL)verifyStateTransitionFromState:(unsigned long long)state toState:(unsigned long long)toState;

- (id)stateCaptureDictionary;
- (void)_withProcessingSetLocked:(id /* block */)_withProcessingSetLocked;
- (void)_setRunningCriteria:(id)runningCriteria;
- (unsigned long long)serviceState;
- (BOOL)_inq_hasBundleRecordsInProcessingSet;
- (id)_getBundlesByTaskIdentifier;
- (id)_getBundleRecordsFromProcessingSetForAllCriterias;
- (void)_inq_runTask:(id)_inq_runTask;
- (void)_invalidateSignalNeededForCrashRecoveryOnBundle:(id)bundle;
- (void)start;
- (BOOL)_inq_submitCriteriaFromProcessingSet;
- (id)_getCriteriaByTaskIdentifier;
- (void)_setServiceState:(unsigned long long)serviceState;
- (void)signalBackgroundProcessingNeededOnBundle:(id)bundle workerTypes:(id)workerTypes;
- (void)_inq_updateCameraForegroundState:(BOOL)_inq_updateCameraForegroundState;
- (void)_startPollingForTaskStatus;
- (void)_startRunningBackgroundJobsWithCriteria:(id)criteria;
- (id)_workersForBundle:(id)bundle;
- (void)_removeAllBundlesFromProcessingSet;
- (void)_inq_setServiceState:(unsigned long long)_inq_setServiceState;
- (void)_inq_stopPollingForTaskStatus;
- (void)startWatchdogTimerIfNeededWithSourceDescription:(id)sourceDescription;
- (void)_removeAllBundlesFromProcessingSetForTaskIdentifier:(id)taskIdentifier;
- (void)_inq_removeCriteriaFromCachedCriteria:(id)cachedCriteria;
- (id)_getTaskMetadataForTaskIdentifier:(id)taskIdentifier;
- (id)_readProcessingSet;
- (void)_reportProgressWithType:(unsigned long long)type itemCount:(unsigned long long)itemCount category:(id)category;
- (id)statusCenterDump;
- (void).cxx_destruct;
- (void)_inq_registerTaskIdentifierIfNeeded:(id)_inq_registerTaskIdentifierIfNeeded;
- (void)coordinatorFinishedJobsOnAllSubmittedBundlesWithDeferral:(BOOL)deferral;
- (void)_simulateBGSTShouldExpire:(BOOL)_simulateBGSTShouldExpire;
- (void)signalBackgroundProcessingNeededOnLibrary:(id)library;
- (void)_inq_submitPendingJobsIfNecessary:(id)_inq_submitPendingJobsIfNecessary;
- (id)_inq_createCoordinatorWithCriteria:(id)criteria;
- (void)_appendTaskMetadataToProcessingSet:(id)processingSet;
- (void)_inq_submitBackgroundProcessingNeededForBuffer:(id)buffer context:(id)context;
- (BOOL)_signalNeededOnBundle:(id)bundle;
- (void)coordinatorFinishedJobsOnSubmittedBundle:(id)submittedBundle;
- (void)setObservers:(id)observers;
- (void)_inq_timerQueue_timerEventHandlerWithTimer:(id)timer workerType:(unsigned long long)workerType;
- (void)cameraWatcherDidChangeState:(id)cameraWatcherDidChangeState;
- (void)_noteSignalNeededForCrashRecoveryOnBundle:(id)bundle;
- (void)_closePendingThroughputReports;
- (id)_inq_pendingJobsForBundle:(id)bundle workerTypes:(id)workerTypes currentCriteria:(id)currentCriteria;
- (void)signalBackgroundProcessingNeededOnLibrary:(id)library workerTypes:(id)workerTypes;
- (id)observers;
- (id)_bundlePathsByTaskIdentifier;
- (id)_inq_pendingJobsOnBuffer:(id)buffer currentCriteria:(id)currentCriteria;
- (void)_submitTaskWithoutCoalescingIfNecessaryOnBundle:(id)bundle;
- (void)_inq_startPollingForTaskStatus;
- (void)_fireWatchdogTimerWithStartTime:(id)startTime startingPushBackTimeInterval:(double)startingPushBackTimeInterval sourceDescription:(id)sourceDescription;
- (id)_inq_pendingJobsOnBundles:(id)bundles currentCriteria:(id)currentCriteria;
- (void)_inq_stopRunningBackgroundJobsWithCoordinator:(id)coordinator;
- (void)_inq_shutdownShouldDefer:(BOOL)_inq_shutdownShouldDefer;
- (id)init;
- (id)initWithWorkerClasses:(id)workerClasses statusCenter:(id)statusCenter;
- (void)performCrashRecoveryIfNeededOnBundle:(id)bundle;
- (void)_inq_submitTaskWithCriteria:(id)criteria;
- (void)_writeProcessingSet:(id)_writeProcessingSet;
- (void)_signalWorkerAtDate:(id)date workerType:(unsigned long long)workerType bundle:(id)bundle;
- (void)_inq_deregisterTaskIdentifierIfNeeded:(id)_inq_deregisterTaskIdentifierIfNeeded;
- (void)signalBackgroundProcessingNeededOnBundle:(id)bundle;
- (void)_inq_resolvePendingInvalidationsForLibraryURLs:(id)libraryURLs;
- (void)finishTaskIfNeededShouldDefer_enqueue:(BOOL)finishTaskIfNeededShouldDefer_enqueue;
- (void)invalidateLibraryBundle:(id)invalidateLibraryBundle completion:(id /* block */)completion;
- (void)_inq_finishTaskIfNeededShouldDefer:(BOOL)_inq_finishTaskIfNeededShouldDefer;
- (void)prepareForProcessTermination;
- (id)_getProcessingSetURL;

@end