Objective-CclassPowerlogHelperdOperators
PLBatteryBreakdownService
@interface PLBatteryBreakdownService : PLService
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classPLService
Members 135
- method
+ (id)appNameForBundleID:(id)arg0; - method
+ (BOOL)canSetQualifier:(long long)arg0 forBundleID:(id)arg1; - method
+ (id)combineQualifiers:(id)arg0; - method
+ (id)defaults; - method
+ (id)installedPlugins; - method
+ (void)load; - method
+ (id)pluginEntryFromRecord:(id)arg0; - method
+ (id)rootNodeQualificationNameWithQualificationName:(id)arg0 withRootNodeName:(id)arg1; - method
+ (id)whereValidName; - ivar
NSSet *_deletedAppClipNames;+0x58 - ivar
NSSet *_deletedAppNames;+0x50 - ivar
NSDictionary *_givenNameToMappedName;+0x98 - ivar
NSDictionary *_gizmoDaemonToAppBundleID;+0x80 - ivar
NSDictionary *_gizmoIDSTopicToAppBundleID;+0x88 - ivar
BOOL _hasHomeKitActivity;+0x31 - ivar
NSDictionary *_installedBundleIDToDisplayName;+0x70 - ivar
NSDictionary *_installedPluginBundleIDToPluginEntry;+0x78 - ivar
NSSet *_intermediateRootNodes;+0x48 - ivar
NSDictionary *_nodeIDToNodeName;+0x68 - ivar
NSSet *_nonAppNames;+0x40 - ivar
NSDictionary *_rootNodeNameToRootNodeEnergyKey;+0x90 - ivar
NSSet *_rootNodeNames;+0x38 - ivar
BOOL _showGizmoQualifier;+0x30 - ivar
double _totalEnergyDay;+0xa0 - ivar
double _totalEnergyWeek;+0xa8 - ivar
NSSet *_webAppNames;+0x60 - method
- (void).cxx_destruct; - method
- (id)addForegroundAndBackgroundDurations:(id)arg0 withRange:(_PLTimeIntervalRange)arg1 withQueryType:(int)arg2; - method
- (id)addNotificationValues:(id)arg0 withRange:(_PLTimeIntervalRange)arg1 withQueryType:(int)arg2; - method
- (id)adjustBackgroundTimesWithEnergyEntries:(id)arg0; - method
- (id)adjustExtensionBackgroundTimeWithEnergyEntries:(id)arg0; - method
- (id)adjustFGBGTimeForNonAppEnergyEntry:(id)arg0; - method
- (id)adjustForegroundTimesWithEnergyEntries:(id)arg0; - method
- (int)appTypeForName:(id)arg0; - method
- (id)applyDynamicNameTransformationsWithEnergyEntries:(id)arg0; - method
- (id)applyStaticNameTransformationsWithEnergyEntries:(id)arg0; - method
- (id)batteryBreakdownWithTimeRange:(_PLTimeIntervalRange)arg0 withDataRange:(_PLTimeIntervalRange)arg1 withEntryTimeInterval:(double)arg2 withQueryType:(int)arg3; - method
- (id)batteryBreakdownWithTimeRange:(_PLTimeIntervalRange)arg0 withDataRange:(_PLTimeIntervalRange)arg1 withEntryTimeInterval:(double)arg2 withQueryType:(int)arg3 withTotalSumEnergyRatioCutOff:(double)arg4; - method
- (id)bundleIDsForMappedName:(id)arg0; - method
- (BOOL)checkHomeKitEvents; - method
- (void)clearState; - method
- (id)combineDuplicatesWithEnergyEntries:(id)arg0; - method
- (double)computeTotalBackgroundDuration:(id)arg0; - method
- (double)computeTotalForegroundDuration:(id)arg0; - method
- (id)deletedAppClipNames; - method
- (id)deletedAppNames; - method
- (id)determineDisplayNamesWithEnergyEntries:(id)arg0; - method
- (id)energyEntriesWithRange:(_PLTimeIntervalRange)arg0 withEntryTimeInterval:(double)arg1 withQueryType:(int)arg2; - method
- (short)energyMetricBucketForRootNodeID:(id)arg0; - method
- (id)filterEnergyEntriesBasedOnTime:(id)arg0 withQueryType:(int)arg1; - method
- (id)filterWithEnergyEntries:(id)arg0 withQueryType:(int)arg1; - method
- (double)getLastUpgradeTimestamp; - method
- (id)getUpgradeDataWithLastUpgradeTimestamp:(double)arg0 withFirstEntryTimestampFromDB:(double)arg1 withNow:(id)arg2 withBeforeUpgrade:(BOOL)arg3 withRange:(_PLTimeIntervalRange)arg4; - method
- (id)getUsageDataWithStartTime:(double)arg0 withMidTime:(double)arg1 withEndTime:(id)arg2; - method
- (double)getfirstEntryTimestampFromDb; - method
- (id)givenNameToMappedName; - method
- (id)gizmoDaemonToAppBundleID; - method
- (id)gizmoIDSTopicToAppBundleID; - method
- (BOOL)hasHomeKitActivity; - method
- (BOOL)inDemoMode; - method
- (id)installedBundleIDToDisplayName; - method
- (id)installedPluginBundleIDToPluginEntry; - method
- (id)intermediateRootNodes; - method
- (BOOL)isBackgroundLocationUsageAlwaysEnabled:(id)arg0 withLocationDict:(id)arg1; - method
- (BOOL)isBackgroundRefreshEnabled:(id)arg0; - method
- (BOOL)isForegroundOnlyBucket:(short)arg0; - method
- (id)mapCloudDocsToAppsWithEnergyEntries:(id)arg0; - method
- (id)mapDeletedAppsWithEnergyEntries:(id)arg0; - method
- (id)mapGizmoToAppsWithEnergyEntries:(id)arg0; - method
- (id)mapPluginsToAppsWithEnergyEntries:(id)arg0; - method
- (int)minimumRequiredQueryTypeForAppType:(int)arg0; - method
- (id)nodeIDToNodeName; - method
- (id)nonAppNames; - method
- (double)nonAppRuntimeWithEventForwardTableName:(id)arg0 withRange:(_PLTimeIntervalRange)arg1 andIdentificationKey:(id)arg2; - method
- (id)nonAppsRuntimesWithRange:(_PLTimeIntervalRange)arg0; - method
- (id)nonNullValue:(id)arg0 withKey:(id)arg1; - method
- (id)pluginBundleIDsforBundleID:(id)arg0; - method
- (id)populateBLDKeysWithEnergyEntries:(id)arg0; - method
- (id)populateEnergyBucketKeysWithEntries:(id)arg0; - method
- (id)populateRootNodeEnergyKeysWithEnergyEntries:(id)arg0; - method
- (id)qualifiersWithEnergyEntry:(id)arg0 bucketSize:(double)arg1 andTotalEnergy:(double)arg2; - method
- (id)reaccountBackupRestoreWithEnergyEntries:(id)arg0; - method
- (id)reaccountExchangeEntriesWithEnergyEntries:(id)arg0; - method
- (id)removeNodesNotToShowInInternalUI:(id)arg0 withQueryType:(int)arg1; - method
- (id)rootNodeNameToRootNodeEnergyKey; - method
- (id)rootNodeNames; - method
- (void)setDeletedAppClipNames:(id)arg0; - method
- (void)setDeletedAppNames:(id)arg0; - method
- (void)setGivenNameToMappedName:(id)arg0; - method
- (void)setGizmoDaemonToAppBundleID:(id)arg0; - method
- (void)setGizmoIDSTopicToAppBundleID:(id)arg0; - method
- (void)setHasHomeKitActivity:(BOOL)arg0; - method
- (void)setInstalledBundleIDToDisplayName:(id)arg0; - method
- (void)setInstalledPluginBundleIDToPluginEntry:(id)arg0; - method
- (void)setIntermediateRootNodes:(id)arg0; - method
- (void)setNodeIDToNodeName:(id)arg0; - method
- (void)setNonAppNames:(id)arg0; - method
- (void)setRootNodeNameToRootNodeEnergyKey:(id)arg0; - method
- (void)setRootNodeNames:(id)arg0; - method
- (void)setShowGizmoQualifier:(BOOL)arg0; - method
- (void)setTotalEnergyDay:(double)arg0; - method
- (void)setTotalEnergyWeek:(double)arg0; - method
- (void)setWebAppNames:(id)arg0; - method
- (BOOL)shouldShowBatteryBreakdownWithTotalSumEnergy:(double)arg0 withtotalSumEnergyRatioCutOff:(double)arg1; - method
- (BOOL)shouldShowUpgradeInsightWithQueryType:(int)arg0; - method
- (BOOL)shouldSuggestAutoBrightnessWithEnergyEntries:(id)arg0 andSavedEnergyPercent:(double *)arg1; - method
- (BOOL)shouldSuggestAutoLockWithEnergyEntries:(id)arg0 andSavedEnergyPercent:(double *)arg1; - method
- (id)shouldSuggestBackgroundCPUWithEnergyEntries:(id)arg0; - method
- (id)shouldSuggestBackgroundLocationWithEnergyEntries:(id)arg0; - method
- (BOOL)shouldSuggestReduceBrightnessWithEnergyEntries:(id)arg0 andSavedEnergyPercent:(double *)arg1; - method
- (BOOL)showGizmoQualifier; - method
- (BOOL)showRootNodesInInternal; - method
- (id)suggestionsWithEnergyEntries:(id)arg0; - method
- (double)totalEnergyDay; - method
- (double)totalEnergyWeek; - method
- (double)totalSumEnergyRatioCutOff; - method
- (BOOL)wasGizmoConnectedInRange:(_PLTimeIntervalRange)arg0; - method
- (id)webAppNames; - property
@property(retain, nonatomic) NSSet *deletedAppClipNames; - property
@property(retain, nonatomic) NSSet *deletedAppNames; - property
@property(retain, nonatomic) NSDictionary *givenNameToMappedName; - property
@property(retain, nonatomic) NSDictionary *gizmoDaemonToAppBundleID; - property
@property(retain, nonatomic) NSDictionary *gizmoIDSTopicToAppBundleID; - property
@property BOOL hasHomeKitActivity; - property
@property(retain, nonatomic) NSDictionary *installedBundleIDToDisplayName; - property
@property(retain, nonatomic) NSDictionary *installedPluginBundleIDToPluginEntry; - property
@property(retain, nonatomic) NSSet *intermediateRootNodes; - property
@property(retain, nonatomic) NSDictionary *nodeIDToNodeName; - property
@property(retain, nonatomic) NSSet *nonAppNames; - property
@property(retain, nonatomic) NSDictionary *rootNodeNameToRootNodeEnergyKey; - property
@property(retain, nonatomic) NSSet *rootNodeNames; - property
@property BOOL showGizmoQualifier; - property
@property double totalEnergyDay; - property
@property double totalEnergyWeek; - property
@property(retain, nonatomic) NSSet *webAppNames;
Header
@interface PLBatteryBreakdownService : PLService { BOOL _showGizmoQualifier; BOOL _hasHomeKitActivity; NSSet *_rootNodeNames; NSSet *_nonAppNames; NSSet *_intermediateRootNodes; NSSet *_deletedAppNames; NSSet *_deletedAppClipNames; NSSet *_webAppNames; NSDictionary *_nodeIDToNodeName; NSDictionary *_installedBundleIDToDisplayName; NSDictionary *_installedPluginBundleIDToPluginEntry; NSDictionary *_gizmoDaemonToAppBundleID; NSDictionary *_gizmoIDSTopicToAppBundleID; NSDictionary *_rootNodeNameToRootNodeEnergyKey; NSDictionary *_givenNameToMappedName; double _totalEnergyDay; double _totalEnergyWeek; } @property (nonatomic, strong) NSSet *rootNodeNames; @property (nonatomic, strong) NSSet *nonAppNames; @property (nonatomic, strong) NSSet *intermediateRootNodes; @property (nonatomic, strong) NSSet *deletedAppNames; @property (nonatomic, strong) NSSet *deletedAppClipNames; @property (nonatomic, strong) NSSet *webAppNames; @property (nonatomic, strong) NSDictionary *nodeIDToNodeName; @property (nonatomic, strong) NSDictionary *installedBundleIDToDisplayName; @property (nonatomic, strong) NSDictionary *installedPluginBundleIDToPluginEntry; @property (nonatomic, strong) NSDictionary *gizmoDaemonToAppBundleID; @property (nonatomic, strong) NSDictionary *gizmoIDSTopicToAppBundleID; @property (nonatomic, strong) NSDictionary *rootNodeNameToRootNodeEnergyKey; @property (nonatomic, strong) NSDictionary *givenNameToMappedName; @property BOOL showGizmoQualifier; @property double totalEnergyDay; @property double totalEnergyWeek; @property BOOL hasHomeKitActivity; + (id)defaults; + (void)load; + (id)installedPlugins; + (id)appNameForBundleID:(id)bundleID; + (BOOL)canSetQualifier:(long long)canSetQualifier forBundleID:(id)forBundleID; + (id)combineQualifiers:(id)combineQualifiers; + (id)pluginEntryFromRecord:(id)record; + (id)rootNodeQualificationNameWithQualificationName:(id)qualificationName withRootNodeName:(id)withRootNodeName; + (id)whereValidName; - (void).cxx_destruct; - (BOOL)isBackgroundRefreshEnabled:(id)isBackgroundRefreshEnabled; - (void)clearState; - (double)computeTotalForegroundDuration:(id)computeTotalForegroundDuration; - (id)rootNodeNameToRootNodeEnergyKey; - (double)totalEnergyWeek; - (int)appTypeForName:(id)name; - (double)computeTotalBackgroundDuration:(id)computeTotalBackgroundDuration; - (id)deletedAppNames; - (void)setNonAppNames:(id)nonAppNames; - (void)setWebAppNames:(id)webAppNames; - (id)addForegroundAndBackgroundDurations:(id)backgroundDurations withRange:(struct _PLTimeIntervalRange)withRange withQueryType:(int)withQueryType; - (id)addNotificationValues:(id)addNotificationValues withRange:(struct _PLTimeIntervalRange)withRange withQueryType:(int)withQueryType; - (id)adjustBackgroundTimesWithEnergyEntries:(id)energyEntries; - (id)adjustExtensionBackgroundTimeWithEnergyEntries:(id)energyEntries; - (id)adjustFGBGTimeForNonAppEnergyEntry:(id)nonAppEnergyEntry; - (id)adjustForegroundTimesWithEnergyEntries:(id)energyEntries; - (id)applyDynamicNameTransformationsWithEnergyEntries:(id)energyEntries; - (id)applyStaticNameTransformationsWithEnergyEntries:(id)energyEntries; - (id)batteryBreakdownWithTimeRange:(struct _PLTimeIntervalRange)timeRange withDataRange:(struct _PLTimeIntervalRange)withDataRange withEntryTimeInterval:(double)withEntryTimeInterval withQueryType:(int)withQueryType; - (id)batteryBreakdownWithTimeRange:(struct _PLTimeIntervalRange)timeRange withDataRange:(struct _PLTimeIntervalRange)withDataRange withEntryTimeInterval:(double)withEntryTimeInterval withQueryType:(int)withQueryType withTotalSumEnergyRatioCutOff:(double)withTotalSumEnergyRatioCutOff; - (id)bundleIDsForMappedName:(id)mappedName; - (BOOL)checkHomeKitEvents; - (id)combineDuplicatesWithEnergyEntries:(id)energyEntries; - (id)deletedAppClipNames; - (id)determineDisplayNamesWithEnergyEntries:(id)energyEntries; - (id)energyEntriesWithRange:(struct _PLTimeIntervalRange)range withEntryTimeInterval:(double)withEntryTimeInterval withQueryType:(int)withQueryType; - (short)energyMetricBucketForRootNodeID:(id)rootNodeID; - (id)filterEnergyEntriesBasedOnTime:(id)time withQueryType:(int)withQueryType; - (id)filterWithEnergyEntries:(id)energyEntries withQueryType:(int)withQueryType; - (double)getLastUpgradeTimestamp; - (id)getUpgradeDataWithLastUpgradeTimestamp:(double)lastUpgradeTimestamp withFirstEntryTimestampFromDB:(double)dB withNow:(id)withNow withBeforeUpgrade:(BOOL)upgrade withRange:(struct _PLTimeIntervalRange)withRange; - (id)getUsageDataWithStartTime:(double)startTime withMidTime:(double)withMidTime withEndTime:(id)withEndTime; - (double)getfirstEntryTimestampFromDb; - (id)givenNameToMappedName; - (id)gizmoDaemonToAppBundleID; - (id)gizmoIDSTopicToAppBundleID; - (BOOL)hasHomeKitActivity; - (BOOL)inDemoMode; - (id)installedBundleIDToDisplayName; - (id)installedPluginBundleIDToPluginEntry; - (id)intermediateRootNodes; - (BOOL)isBackgroundLocationUsageAlwaysEnabled:(id)isBackgroundLocationUsageAlwaysEnabled withLocationDict:(id)withLocationDict; - (BOOL)isForegroundOnlyBucket:(short)isForegroundOnlyBucket; - (id)mapCloudDocsToAppsWithEnergyEntries:(id)energyEntries; - (id)mapDeletedAppsWithEnergyEntries:(id)energyEntries; - (id)mapGizmoToAppsWithEnergyEntries:(id)energyEntries; - (id)mapPluginsToAppsWithEnergyEntries:(id)energyEntries; - (int)minimumRequiredQueryTypeForAppType:(int)appType; - (id)nodeIDToNodeName; - (id)nonAppNames; - (double)nonAppRuntimeWithEventForwardTableName:(id)eventForwardTableName withRange:(struct _PLTimeIntervalRange)withRange andIdentificationKey:(id)andIdentificationKey; - (id)nonAppsRuntimesWithRange:(struct _PLTimeIntervalRange)range; - (id)nonNullValue:(id)nonNullValue withKey:(id)withKey; - (id)pluginBundleIDsforBundleID:(id)pluginBundleIDsforBundleID; - (id)populateBLDKeysWithEnergyEntries:(id)energyEntries; - (id)populateEnergyBucketKeysWithEntries:(id)entries; - (id)populateRootNodeEnergyKeysWithEnergyEntries:(id)energyEntries; - (id)qualifiersWithEnergyEntry:(id)energyEntry bucketSize:(double)bucketSize andTotalEnergy:(double)andTotalEnergy; - (id)reaccountBackupRestoreWithEnergyEntries:(id)energyEntries; - (id)reaccountExchangeEntriesWithEnergyEntries:(id)energyEntries; - (id)removeNodesNotToShowInInternalUI:(id)internalUI withQueryType:(int)withQueryType; - (id)rootNodeNames; - (void)setDeletedAppClipNames:(id)deletedAppClipNames; - (void)setDeletedAppNames:(id)deletedAppNames; - (void)setGivenNameToMappedName:(id)mappedName; - (void)setGizmoDaemonToAppBundleID:(id)appBundleID; - (void)setGizmoIDSTopicToAppBundleID:(id)appBundleID; - (void)setHasHomeKitActivity:(BOOL)hasHomeKitActivity; - (void)setInstalledBundleIDToDisplayName:(id)displayName; - (void)setInstalledPluginBundleIDToPluginEntry:(id)pluginEntry; - (void)setIntermediateRootNodes:(id)intermediateRootNodes; - (void)setNodeIDToNodeName:(id)nodeName; - (void)setRootNodeNameToRootNodeEnergyKey:(id)rootNodeEnergyKey; - (void)setRootNodeNames:(id)rootNodeNames; - (void)setShowGizmoQualifier:(BOOL)showGizmoQualifier; - (void)setTotalEnergyDay:(double)totalEnergyDay; - (void)setTotalEnergyWeek:(double)totalEnergyWeek; - (BOOL)shouldShowBatteryBreakdownWithTotalSumEnergy:(double)totalSumEnergy withtotalSumEnergyRatioCutOff:(double)withtotalSumEnergyRatioCutOff; - (BOOL)shouldShowUpgradeInsightWithQueryType:(int)queryType; - (BOOL)shouldSuggestAutoBrightnessWithEnergyEntries:(id)energyEntries andSavedEnergyPercent:(double *)andSavedEnergyPercent; - (BOOL)shouldSuggestAutoLockWithEnergyEntries:(id)energyEntries andSavedEnergyPercent:(double *)andSavedEnergyPercent; - (id)shouldSuggestBackgroundCPUWithEnergyEntries:(id)energyEntries; - (id)shouldSuggestBackgroundLocationWithEnergyEntries:(id)energyEntries; - (BOOL)shouldSuggestReduceBrightnessWithEnergyEntries:(id)energyEntries andSavedEnergyPercent:(double *)andSavedEnergyPercent; - (BOOL)showGizmoQualifier; - (BOOL)showRootNodesInInternal; - (id)suggestionsWithEnergyEntries:(id)energyEntries; - (double)totalEnergyDay; - (double)totalSumEnergyRatioCutOff; - (BOOL)wasGizmoConnectedInRange:(struct _PLTimeIntervalRange)range; - (id)webAppNames; @end