@class DADBuddyStateObserver, NSMutableDictionary, NSArray, NSDictionary, DADREMLocalDBWatcher, NSMutableArray, NSObject; @protocol OS_dispatch_queue, DADREMStoreProvider, DADREMUserNotificationPresentingProvider; @interface DADAgentManager : NSObject { NSArray *_activeAgents; NSObject *_activeAgentsQueue; NSMutableDictionary *_watchedIDs; unsigned int _pmNotifier; struct IONotificationPort { } *_pmPort; struct __CFRunLoopSource { } *_pmRunLoopSource; id /* block */ _startAgentsWhenSystemReadyBlock; NSObject *_CTCellularUsagePolicyNotificationQ; struct __CTServerConnection { } *_ctServerConnection; NSDictionary *_wirelessPolicies; int _pendingAccountSetupCount; DADBuddyStateObserver *_buddyStateObserver; } @property (retain, nonatomic) DADREMLocalDBWatcher *rem_localDBWatcher; @property (copy, nonatomic) id /* block */ rem_xpcEventHandler; @property (retain, nonatomic) id rem_userNotificationPresentingProvider; @property (retain, nonatomic) id rem_storeProvider; @property (retain, nonatomic) NSMutableArray *subCalHandlers; @property (nonatomic) unsigned long long nextDisableMonitoringAgentsToken; @property (readonly, nonatomic) NSMutableDictionary *disableMonitoringAgentsTokens; @property (readonly, nonatomic) NSArray *activeAgents; + (id)sharedManager; + (BOOL)wirelessPolicy:(id)a0 isMorePermissiveThanPolicy:(id)a1; - (void)removePendingAccountSetup; - (id)currentPolicyKeyForAccount:(id)a0; - (id)init; - (void)_handleCellularDataUsageChangedNotification; - (void)dealloc; - (id)_configFileForAgent:(id)a0; - (void)processMeetingRequestDatas:(id)a0 deliveryIdsToClear:(id)a1 deliveryIdsToSoftClear:(id)a2 inFolderWithId:(id)a3 forAccountWithId:(id)a4 callback:(id /* block */)a5; - (BOOL)hasPendingAccountSetup; - (id)activeAccountBundleIDs; - (void)addPendingAccountSetup; - (void)saveAndReleaseAgents; - (BOOL)updateContentsOfFolders:(id)a0 forAccountID:(id)a1 andDataclasses:(long long)a2 isUserRequested:(BOOL)a3; - (void)_registerForCTDataUsageNotificaiton; - (id)_accountInfoPath; - (void)getStatusReportDictsWithCompletionBlock:(id /* block */)a0; - (BOOL)stopMonitoringAccountID:(id)a0 folderIDs:(id)a1; - (BOOL)_hasDataclassWeCareAbout:(id)a0; - (BOOL)suspendMonitoringAccountID:(id)a0 folderIDs:(id)a1; - (id)accountWithAccountID:(id)a0; - (BOOL)updateFolderListForAccountID:(id)a0 andDataclasses:(long long)a1 requireChangedFolders:(BOOL)a2 isUserRequested:(BOOL)a3; - (void)registerForBuddy; - (void)_deviceDidWake; - (void)disableActiveSync; - (void)requestPolicyUpdateForAccount:(id)a0; - (void)_addAccountAggdEntries; - (void)_resetMonitoringRequestsAndLoadAgents; - (unsigned long long)disableMonitoringAgents; - (BOOL)hasEASAccountConfigured; - (void).cxx_destruct; - (void)_stopMonitoringAndSaveAgents; - (BOOL)hasActiveAccounts; - (BOOL)updateContentsOfAllFoldersForAccountID:(id)a0 andDataclasses:(long long)a1 isUserRequested:(BOOL)a2; - (void)_deviceWillSleep; - (void)enableActiveSync; - (id)accountWithAccountID:(id)a0 andClassName:(id)a1; - (void)enableMonitoringAgentsWithToken:(unsigned long long)a0; - (id)agentWithAccountID:(id)a0; - (void)_clearOrphanedStores; - (BOOL)_systemMayNowBeReady; - (id)stateString; - (void)_loadAndStartMonitoringAgents:(BOOL)a0; - (void)loadAgents:(BOOL)a0; - (BOOL)resumeMonitoringAccountID:(id)a0 syncKeyMap:(id)a1; - (BOOL)startMonitoringAccountID:(id)a0 syncKeyMap:(id)a1; - (void)unregisterForBuddy; - (BOOL)updateContentsOfAllFoldersForAccountIDs:(id)a0; @end