@class PLTimer, NSDate, NSArray, NSString, NSSet, NSMutableDictionary, PLEntryNotificationOperatorComposition, NSDictionary, NSMutableSet, PLNSNotificationOperatorComposition; @interface PLAppTimeService : PLService @property (retain) PLEntryNotificationOperatorComposition *coalitionCallback; @property (retain) PLEntryNotificationOperatorComposition *screenstateCallback; @property (retain) PLEntryNotificationOperatorComposition *applicationCallback; @property (retain) PLEntryNotificationOperatorComposition *batteryCallback; @property (retain) PLEntryNotificationOperatorComposition *displayCallback; @property (retain) PLEntryNotificationOperatorComposition *InCallServiceCallback; @property (retain) PLEntryNotificationOperatorComposition *pluginCallback; @property (retain) PLEntryNotificationOperatorComposition *audioCallback; @property (retain) PLEntryNotificationOperatorComposition *nowPlayingCallback; @property (retain) PLEntryNotificationOperatorComposition *statusBarCallback; @property (retain) PLEntryNotificationOperatorComposition *backgroundTransferCallback; @property (retain) PLEntryNotificationOperatorComposition *cellularConditionCallback; @property (retain) PLEntryNotificationOperatorComposition *telephonyRegistrationCallback; @property (retain) PLEntryNotificationOperatorComposition *notificationCallback; @property (retain) PLEntryNotificationOperatorComposition *widgetCallback; @property (retain) PLNSNotificationOperatorComposition *powerOutCallback; @property (readonly) PLEntryNotificationOperatorComposition *canSleepEntryNotifications; @property (readonly) PLEntryNotificationOperatorComposition *wakeEntryNotifications; @property int displayState; @property BOOL isAPOn; @property BOOL deviceIsPluggedIn; @property (retain) NSDate *lastScreenOnTime; @property (retain) NSDate *lastScreenEventAccountingTime; @property (retain) NSMutableDictionary *inFlightBundleIDStartTime; @property (retain) PLTimer *runTimeAggregatorTimer; @property (retain) NSArray *lastLayoutEntries; @property (readonly) NSSet *excludedFGAppsSet; @property (readonly) NSSet *excludedBGAppsSet; @property BOOL inCallNow; @property (retain) NSDate *lastCallTime; @property (retain) NSString *lastCallBundleID; @property (retain) NSMutableSet *coalitionsAppsOnScreen; @property (retain) NSMutableSet *appsOnScreen; @property (retain) NSMutableSet *PiPModeApps; @property (retain) NSMutableSet *watchkitExtensions; @property (retain) NSMutableDictionary *widgetParentBundleIDs; @property (retain) NSString *nowPlayingBundleID; @property (retain) NSString *statusBarBundleID; @property BOOL musicPlayerForeground; @property (retain) NSDate *lastNowPlayingTime; @property (retain) NSDate *lastStatusBarTime; @property (retain) NSDate *lastCellularConditionTime; @property long long lastSignalBar; @property BOOL lastTelephonyRegistrationStatus; @property BOOL lastAirplaneModeStatus; @property (retain) NSMutableDictionary *audioPlaybackBundleIDs; @property (retain) NSString *aggregatedEntryKeyForAppRunTime; @property (retain) NSString *aggregatedEntryKeyForAppUsageEvents; @property (readonly) NSString *entryKeyPLScreenStateAgentScreenState; @property (readonly) NSString *entryKeyPLCoalitionAgentEventIntervalCoalition; @property (readonly) NSDictionary *backgroundAppToBundleID; @property (retain) NSString *entryKeyUsageTime; @property (retain) NSDate *lastAPOnTimeSBC; @property double totalAPOnTimeSBC; @property (retain) NSDate *lastScreenOnTimeSBC; @property double totalFGTimeSBC; @property (retain) NSMutableSet *bundleIDsInBackground; @property (retain) NSDate *firstBGAppTimeSBC; @property double totalBGTimeSBC; @property (retain) NSSet *excludedBundleIDsInBackground; @property (retain) NSDate *lastPluggedInTime; + (id)defaults; + (id)entryAggregateDefinitions; + (void)load; + (id)entryAggregateDefinitionAppRunTime; + (id)entryAggregateDefinitionMetrics; + (id)entryAggregateDefinitionAppUsageEvents; + (id)entryAggregateDefinitionCellularCondition; + (id)entryAggregateDefinitionUsageTime; - (id)init; - (void)handleScreenStateCallback:(id)a0; - (void)handleCoalitionCallback:(id)a0; - (void)initOperatorDependancies; - (void)testService; - (double)getCPUTime:(id)a0; - (void).cxx_destruct; - (void)handleBatteryCallback:(id)a0; - (id)buildCallBack:(id)a0 withGroup:(BOOL)a1 withHandler:(id /* block */)a2; - (void)addCellularConditionTimeAtDate:(id)a0; - (void)addAudioTimeAtDate:(id)a0 forBundleID:(id)a1; - (void)chunkScreenOnAggregationAtDate:(id)a0; - (void)updateAppRunTimeForBundleId:(id)a0 withAppStateUpdateType:(int)a1 withNowDate:(id)a2; - (void)addAudioAndLocationTimeAtDate:(id)a0; - (void)addAudioTimeAtDate:(id)a0; - (void)addAudioUseFromforBundleID:(id)a0 AtDate:(id)a1; - (void)addCarPlayUseFromLayoutEntry:(id)a0 AtDate:(id)a1; - (void)addForegroundTimeAtDate:(id)a0 withNewLayoutElementsArray:(id)a1; - (void)addNotificationCountFromUserInfo:(id)a0 AtDate:(id)a1; - (void)addNowPlayingTimeAtDate:(id)a0; - (void)addStatusBarTimeAtDate:(id)a0; - (void)addWidgetUseFromUserInfo:(id)a0 AtDate:(id)a1; - (id)backgroundAppToBundleIDmapping; - (double)convertCPUTimeToBackgroundTime:(double)a0 withDuration:(double)a1; - (void)debugAppTimeService; - (id)generateExcludedBGBundleIDs; - (id)getWidgetParentAppForBundleID:(id)a0; - (void)handleApplicationCallback:(id)a0; - (void)handleAudioCallback:(id)a0; - (void)handleBackgroundTransferCallback:(id)a0; - (void)handleCellularConditionCallback:(id)a0; - (void)handleCoalitionCallback:(id)a0 withNewCoalitionArray:(id)a1; - (void)handleDisplayCallback:(id)a0; - (void)handleInCallServiceCallback:(id)a0; - (void)handleNotificationCallback:(id)a0; - (void)handleNowPlayingCallback:(id)a0; - (void)handlePluginCallback:(id)a0; - (void)handlePowerOutCallback:(id)a0; - (void)handleSleepCallBack:(id)a0; - (void)handleStatusBarCallback:(id)a0; - (void)handleTelephonyRegistrationCallback:(id)a0; - (void)handleWakeCallBack:(id)a0; - (void)handleWidgetCallback:(id)a0; - (void)loadWatchKitExtensionsSet; - (void)logAppUsageEventForKey:(id)a0 withBundleID:(id)a1 withDate:(id)a2; - (void)periodicUpdateAppRunTimeWithDate:(id)a0; - (id)remapCloudDocsBundleID:(id)a0; - (void)resetLayoutElementsPLEntryArray:(id)a0 withNowDate:(id)a1; - (void)updateAggregationsAtDate:(id)a0 withNewAPState:(BOOL)a1; - (void)updateAggregationsAtDate:(id)a0 withNewPluggedInState:(BOOL)a1; - (void)updateAggregationsAtDate:(id)a0 withNewScreenState:(int)a1; - (void)updateAggregationsAtSBCWithDate:(id)a0 withLongestCoalitionBGTime:(double)a1 withCoalitionLength:(double)a2; - (void)updateBackgroundAppsForBundleID:(id)a0 withState:(unsigned int)a1 withDate:(id)a2; - (void)updateBackgroundTimeForAppStateEntry:(id)a0; - (void)updateBackgroundTimeInDBForBundleId:(id)a0 withTime:(double)a1 withDate:(id)a2; - (void)updateCoalitionsAppsOnScreenSet:(id)a0; - (void)updateInCallServiceTimeAtDate:(id)a0; - (void)updateInCallServiceTimeInDBForBundleId:(id)a0 withTime:(double)a1 withDate:(id)a2; - (void)updatePiPModeAppsSet:(id)a0 withAppRole:(id)a1; - (void)updatePluggedInTimeAtDate:(id)a0 withDiff:(double)a1; - (void)updatePowerOutTimeInDBForBundleId:(id)a0; - (void)updateScreenOffTimeAtDate:(id)a0 withDiff:(double)a1; - (void)updateScreenOnTimeAtDate:(id)a0 withDiff:(double)a1; - (void)updateScreenOnTimeInDBForBundleId:(id)a0 withTime:(double)a1 withDate:(id)a2; @end