-
Notifications
You must be signed in to change notification settings - Fork 5
/
SBApplication.h
542 lines (538 loc) · 23.6 KB
/
SBApplication.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import <XXUnknownSuperclass.h> // Unknown library
#import "SpringBoard-Structs.h"
#import "SBDisplayProtocol.h"
#import "SBScreenObserver.h"
#import "SBWindowContextManagerDelegate.h"
#import "SBSystemLocalNotificationAlertDelegate.h"
#import "SBWindowContextHostManagerDelegate.h"
#import "SBLeafIconDataSource.h"
@class NSArray, NSMutableDictionary, NSTimer, NSString, NSMapTable, SBWindowContextManager, SBActivationContext, NSMutableSet, NSMutableArray, NSSet, NSDictionary, BKSCFBundle, NSDate, BKSMachSendRight, UIRemoteApplication, PCPersistentTimer, UILocalNotification, BKSProcessAssertion, BKSApplicationDataStore, NSHashTable;
__attribute__((visibility("hidden")))
@interface SBApplication : XXUnknownSuperclass <SBScreenObserver, SBWindowContextManagerDelegate, SBSystemLocalNotificationAlertDelegate, SBDisplayProtocol, SBWindowContextHostManagerDelegate, SBLeafIconDataSource> {
NSString* _bundleIdentifier;
NSString* _displayIdentifier;
NSString* _path;
NSString* _bundleVersion;
NSMutableDictionary* _defaultImageNamesByScreenType;
NSDictionary* _defaultImageNamesForOrientation;
NSArray* _folderNames;
NSString* _fallbackFolderName;
NSDictionary* _searchDomainLaunchInfo;
BKSCFBundle* _cachedBundle;
BKSMachSendRight* _xpcEventPort;
int _activationState;
int _lastExitType;
double _modificationDate;
int _pid;
NSMapTable* _screenToContextHostManager;
NSMapTable* _defunctScreenToContextHostManager;
SBWindowContextManager* _contextManager;
NSString* _displayName;
NSArray* _tags;
UIRemoteApplication* _remoteApplication;
NSString* _sandboxPath;
NSString* _signerIdentity;
unsigned _monitoringLocaleAndTimeChanges : 1;
NSSet* _alertSuppressionContexts;
unsigned _doingBackgroundNetworking : 16;
unsigned _failedLaunchCount : 8;
unsigned _provisioningProfileValidated : 1;
unsigned _enabled : 1;
unsigned _isSystemApplication : 1;
unsigned _isSystemProvisioningApplication : 1;
unsigned _hasMiniAlerts : 1;
unsigned _dataFlagsIsSet : 1;
unsigned _isGameCenterEnabled : 1;
unsigned _wasGameCenterEverEnabled : 1;
unsigned _supportsAudioBackgroundMode : 1;
unsigned _supportsLocationBackgroundMode : 1;
unsigned _supportsVOIPBackgroundMode : 1;
unsigned _supportsEABackgroundMode : 1;
unsigned _supportsRemoteNotificationBackgroundMode : 1;
unsigned _supportsFetchBackgroundMode : 1;
unsigned _supportsContinuousBackgroundMode : 1;
unsigned _wantsUnboundedTaskCompletionAssertions : 1;
unsigned _prefersSavedSnapshots : 1;
unsigned _suspendingUnsupported;
unsigned _hasBeenFrontmost : 1;
unsigned _requiresHiDPI : 1;
unsigned _disableScreenJail : 1;
unsigned _supportsPortraitOrientation : 1;
unsigned _supportsPortraitUpsideDownOrientation : 1;
unsigned _supportsLandscapeLeftOrientation : 1;
unsigned _supportsLandscapeRightOrientation : 1;
unsigned _shouldDisableMallocCorruptionAbort : 1;
unsigned _terminationAssertions;
unsigned _terminationAssertionsForCacheCleaning;
int _supportedTypes;
int _isClassic;
BOOL _runningInClassicMode;
BOOL _calculatedSupportedTypes;
BOOL _hasViewServiceEntitlement;
unsigned _defaultStatusBarStyle : 8;
BOOL _defaultStatusBarHidden;
BOOL _statusBarIsLegacy;
int _defaultWallpaperStyle;
unsigned _defaultInterfaceOrientation : 8;
unsigned _defaultInterfaceOrientationOverride : 8;
unsigned _interfaceOrientationOverrideSet : 1;
unsigned _sbUsesNetwork : 8;
unsigned _dataFlags : 8;
unsigned _hasShownDataPlanAlertSinceLock : 1;
unsigned _launchAlerts : 8;
unsigned _uninstalled : 1;
unsigned _isLaunchableDuringSetup : 1;
unsigned _behavesAsCaller;
unsigned _wantsPNGlessLaunch : 1;
unsigned _systemAppSupportsLocalNotifications : 1;
int _ratingRank;
Class _iconClass;
NSArray* _customMachServices;
NSArray* _externalAccessoryProtocols;
NSDictionary* _customSpotlightIconPaths;
NSMutableSet* _requireLocalNotificationsCachingReasons;
NSArray* _cachedLocalNotifications;
unsigned _applicationState;
opaque_pthread_mutex_t _appBundleMutex;
NSDate* _nextApplicationWakeDate;
PCPersistentTimer* _applicationWakeTimer;
PCPersistentTimer* _localNotificationTimer;
UILocalNotification* _pendingLocalNotification;
BKSProcessAssertion* _transientProcessAssertion;
NSTimer* _transientSuspendTimer;
int _transientAssertionType;
BKSProcessAssertion* _periodicWakeProcessAssertion;
NSTimer* _periodicWakeSuspendTimer;
BKSProcessAssertion* _simpleRemoteActionProcessAssertion;
int _activationCount;
double _lastBadgeClearTime;
NSMapTable* _displayValues;
NSMapTable* _activationValues;
NSMapTable* _deactivationValues;
NSHashTable* _displayFlags;
NSHashTable* _activationFlags;
NSHashTable* _deactivationFlags;
NSMutableSet* _suppressVolumeHudCategories;
float _accelerometerSampleInterval;
NSMutableSet* _idleTimerDisabledReasons;
unsigned _expectsFaceContact : 1;
unsigned _expectsFaceContactInLandscape : 1;
unsigned _orientationChangedEventsEnabled : 1;
unsigned _proximityEventsEnabled : 1;
unsigned _isBeingDebugged : 1;
unsigned _isRunning : 1;
unsigned _isAnimatingActivation : 1;
unsigned _isAnimatingDeactivation : 1;
unsigned _showsProgress;
int _applicationRestorationCheckState;
float _minimumBrightnessLevel;
NSArray* _domainsToPreheat;
int _starkLaunchModes;
BOOL _starkStatusBarStartsTranslucent;
NSMutableArray* _activationContextStack;
NSMutableDictionary* _alertImpersonatorsByWorkspaceType;
BKSApplicationDataStore* _dataStore;
NSMutableDictionary* _currentSnoozingLocalNotificationAlerts;
}
@property(copy) NSString* displayIdentifier;
@property(copy, nonatomic) SBActivationContext* activationContext;
@property(retain, nonatomic) BKSMachSendRight* xpcEventPort;
@property(readonly, assign, nonatomic) int pid;
+(id)defaultValueForKey:(id)key displayIdentifier:(id)identifier urlScheme:(id)scheme;
+(void)setDefaultValue:(id)value forKey:(id)key displayIdentifier:(id)identifier;
+(id)_defaultDisplayState;
+(BOOL)shouldHaveContextsForActivationState:(int)activationState;
+(BOOL)activationStateIsTransitory:(int)transitory;
+(id)appStateKeysToPrefetch;
+(void)initialize;
+(id)_fallbackOrientationStringForOrientation:(int)orientation fallbackOrientation:(int*)orientation2;
+(void)removalTimerFired:(id)fired;
+(void)setRemovalTimer:(double)timer forSnapshotWithPath:(id)path;
+(void)removeCachedSnapshotsMatchingPath:(id)path;
+(void)removeCachedSnapshotsForScreen:(id)screen;
+(void)removeCachedSnapshotSurfaceForPath:(id)path;
+(void)removeCachedSnapshotSurface:(void*)surface forPath:(id)path;
+(void)setCachedSnapshotSurface:(void*)surface forPath:(id)path;
+(void)setCachedSnapshotSurface:(void*)surface forPath:(id)path purgeAfter:(double)after;
+(void*)cachedSnapshotSurfaceForPath:(id)path;
+(id)systemSnapshotsDirectory;
-(void)windowContextManager:(id)manager didStopTrackingContextsForScreen:(id)screen;
-(void)windowContextManager:(id)manager willStartTrackingContextsForScreen:(id)screen;
-(BOOL)windowContextManager:(id)manager shouldAddContext:(id)context;
-(void)screenManager:(id)manager didReconnectScreen:(id)screen;
-(void)screenManager:(id)manager didDisconnectScreen:(id)screen;
-(void)screenManager:(id)manager didChangeSuppressionOfScreen:(id)screen;
-(void)_clearDefunctScreenHostingForScreen:(id)screen;
-(void)_hideContextsOnDefunctScreen:(id)screen;
-(BOOL)canAccessScreen:(id)screen;
-(BOOL)icon:(id)icon launchFromLocation:(int)location;
-(BOOL)iconAllowsLaunch:(id)launch;
-(BOOL)iconCompleteUninstall:(id)uninstall;
-(BOOL)iconAllowsUninstall:(id)uninstall;
-(BOOL)iconIsRecentlyUpdated:(id)updated;
-(id)iconFormattedAccessoryString:(id)string;
-(id)iconBadgeNumberOrString:(id)string;
-(int)iconAccessoryType:(id)type;
-(BOOL)iconProgressIsPaused:(id)paused;
-(float)iconProgressPercent:(id)percent;
-(int)iconProgressState:(id)state;
-(BOOL)iconAppearsInNewsstand:(id)newsstand;
-(BOOL)iconCanEllipsizeLabel:(id)label;
-(id)icon:(id)icon defaultImageWithFormat:(int)format;
-(id)icon:(id)icon imageWithFormat:(int)format;
-(unsigned)iconPriority:(id)priority;
-(id)iconDisplayName:(id)name;
-(void)_noteIconDataSourceDidChange;
-(void)_removeAlertImpersonator:(id)impersonator;
-(void)_setAlertImpersonator:(id)impersonator forWorkspaceType:(int)workspaceType;
-(id)_alertImpersonatorForWorkspaceType:(int)workspaceType;
-(BOOL)_hasAnyAlertImpersonator;
-(void)popActivationContext;
-(void)pushActivationContext;
-(BOOL)supportsStarkGateKeeper;
-(BOOL)supportsStarkFullScreen;
-(id)domainsToPreheat;
-(id)deactivationSettingsDescription;
-(id)descriptionForDeactivationSetting:(unsigned)deactivationSetting;
-(id)activationSettingsDescription;
-(id)descriptionForActivationSetting:(unsigned)activationSetting;
-(id)displaySettingsDescription;
-(id)descriptionForDisplaySetting:(unsigned)displaySetting;
-(id)description;
-(id)deactivationSettings;
-(id)activationSettings;
-(id)launchSettings;
-(unsigned)eventPort;
-(BOOL)hasStartedLaunching;
-(BOOL)isRunning;
-(BOOL)isRecordingAudio;
-(BOOL)suppressesControlCenter;
-(BOOL)suppressesNotificationCenter;
-(BOOL)suppressesBanners;
-(float)minimumBrightnessLevel;
-(BOOL)showSystemVolumeHUDForCategory:(id)category;
-(void)setSystemVolumeHUDEnabled:(BOOL)enabled forCategory:(id)category;
-(BOOL)showsProgress;
-(void)setShowsProgress:(BOOL)progress;
-(BOOL)proximityEventsEnabled;
-(void)setProximityEventsEnabled:(BOOL)enabled;
-(BOOL)orientationChangedEventsEnabled;
-(void)setOrientationChangedEventsEnabled:(BOOL)enabled;
-(double)accelerometerSampleInterval;
-(void)setAccelerometerSampleInterval:(double)interval;
-(BOOL)expectsFaceContactInLandscape;
-(BOOL)expectsFaceContact;
-(void)setExpectsFaceContact:(BOOL)contact inLandscape:(BOOL)landscape;
-(void)deactivate;
-(void)activate;
-(void)setExpectsFaceContact:(BOOL)contact;
-(id)idleTimerDisabledReasons;
-(void)setIdleTimerDisabled:(BOOL)disabled forReason:(id)reason;
-(BOOL)isTranslucent;
-(int)wallpaperStyle;
-(void)setWallpaperStyleForBackgroundStyle:(int)backgroundStyle;
-(int)launchingInterfaceOrientationForCurrentOrientation;
-(BOOL)allowsEventOnlySuspension;
-(BOOL)deactivationFlag:(unsigned)flag;
-(id)deactivationValue:(unsigned)value;
-(void)setDeactivationSetting:(unsigned)setting value:(id)value;
-(void)setDeactivationSetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearDeactivationSettings;
-(void)_bumpActivationCountBy:(int)by;
-(id)_deactivationFlags;
-(id)_deactivationValues;
-(void)markUserLaunchInitiationTime;
-(BOOL)activationFlag:(unsigned)flag;
-(id)activationValue:(unsigned)value;
-(void)setActivationSetting:(unsigned)setting value:(id)value;
-(void)setActivationSetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearActivationSettings;
-(id)_activationFlags;
-(id)_activationValues;
-(id)_displayFlags;
-(id)_displayValues;
-(BOOL)displayFlag:(unsigned)flag;
-(id)displayValue:(unsigned)value;
-(void)setDisplaySetting:(unsigned)setting value:(id)value;
-(void)setDisplaySetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearDisplaySettings;
-(id)_newFlagTable;
-(id)_newValueTable;
-(id)urlScheme;
-(id)copyWithZone:(NSZone*)zone;
-(void)_noteSnapshotDidUpdate;
-(void)_deleteSnapshotForScreen:(id)screen name:(id)name;
-(void)_saveSnapshotForScreen:(id)screen frame:(CGRect)frame name:(id)name overrideScale:(float)scale;
-(void)_saveSuspendSnapshot:(id)snapshot forScreen:(id)screen;
-(id)_snapshotCreationDeletionQueueForScreen:(id)screen;
-(id)defaultImagePathForSnapshotWithName:(id)name screen:(id)screen;
-(int)interfaceOrientationForScreen:(id)screen;
-(void)_suspendForPeriodicWakeTimerFired:(id)periodicWakeTimerFired;
-(void)_dropPeriodicWakeProcessAssertion;
-(void)_resumeForPeriodicWakeWithReason:(id)reason;
-(id)_localizedGenreFromDictionary:(id)dictionary;
-(id)_localizedGenreNameForID:(int)anId;
-(id)_copyApplicationMetadata;
-(void)_dropTransientProcessAssertion;
-(void)_cancelProcessAssertionForSimpleRemoteAction;
-(void)sendSimpleRemoteAction:(int)action;
-(void)takeAssertionWithTimeoutForSimpleRemoteAction;
-(void)setNowPlayingWithAudio:(BOOL)audio;
-(void)_transientSuspendForTimerFired:(id)timerFired;
-(void)_transientResumeForType:(int)type;
-(double)_resumeDurationForTransientType:(int)transientType;
-(id)_transientIdentifier;
-(void)resumeForContentAvailable;
-(void)resumeToQuit;
-(void)notifyResumeActiveForReason:(int)reason;
-(void)notifyResignActiveForReason:(int)reason;
-(void)_terminationAssertionRemovedWithReason:(unsigned char)reason;
-(void)_terminationAssertionAddedWithReason:(unsigned char)reason;
-(BOOL)isCacheCleaningTerminationAssertionHeld;
-(BOOL)isAnyTerminationAssertionHeld;
-(void)resetLaunchAlertForType:(int)type;
-(BOOL)showLaunchAlertForType:(int)type;
-(void)_purgeRemoteApplication;
-(id)remoteApplication;
-(void)prepareForUninstallation;
-(id)externalAccessoryProtocols;
-(BOOL)provisioningProfileValidated;
-(void)markApplicationIdentityAsTrusted;
-(int)applicationSignatureState;
-(id)signerIdentity;
-(BOOL)wantsUnboundedTaskCompletionAssertions;
-(BOOL)supportsContinuousBackgroundMode;
-(BOOL)supportsFetchBackgroundMode;
-(BOOL)supportsRemoteNotificationBackgroundMode;
-(BOOL)supportsEABackgroundMode;
-(BOOL)supportsVOIPBackgroundMode;
-(BOOL)supportsLocationBackgroundMode;
-(BOOL)supportsAudioBackgroundMode;
-(BOOL)isActivating;
-(int)activationState;
-(void)_calculateSupportedTypesFromInfoDictionary:(id)infoDictionary;
-(void)_sendDidLaunchNotification:(BOOL)_send;
-(void)_setActivationState:(int)state;
-(id)_activationStateToString;
-(id)_stringForActivationState:(int)activationState;
-(void)setHasBeenFrontmost:(BOOL)frontmost;
-(BOOL)hasBeenFrontmost;
-(unsigned)applicationState;
-(void)setApplicationState:(unsigned)state;
-(id)_stringForApplicationState:(unsigned)applicationState;
-(id)preferenceDomain;
-(id)sandboxPath;
-(void)setSandboxPath:(id)path;
-(void)_unregisterRemoteViewsAndSheets;
-(void)hostContextsOnScreen:(id)screen forRequester:(id)requester;
-(id)mainScreenContextHostManager;
-(void)_clearContextHostManagers;
-(void)_removeContextHostManager:(id)manager;
-(void)_addContextHostManager:(id)manager;
-(id)contextHostManagerForScreen:(id)screen;
-(id)contextManagerCreatingIfNecessary:(BOOL)necessary;
-(id)_allContextHostManagersCreatingForMainScreenIfNecessary;
-(void)_purgeCachedLocalNotifications;
-(id)getPendingLocalNotification;
-(void)systemLocalNotificationAlertShouldSnooze:(id)systemLocalNotificationAlert;
-(void)systemLocalNotificationAlertShouldLaunch:(id)systemLocalNotificationAlert;
-(void)_fireNotification:(id)notification;
-(void)localNotificationTimerFired;
-(void)_updateLocalNotificationTimers;
-(void)_setMonitoringForLocaleAndTimeChanges:(BOOL)localeAndTimeChanges;
-(id)_lastLocalNotificationFireDate;
-(void)_setLastLocalNotificationFireDate:(id)date;
-(void)_dismissAllSystemLocalNotificationAlerts;
-(double)lastBadgeClearTime;
-(void)setBadge:(id)badge;
-(id)badgeNumberOrString;
-(BOOL)badgeHasBeenSetLocally;
-(void)noteBadgeSetLocally;
-(BOOL)usesLocalNotifications;
-(BOOL)supportsLocalNotifications;
-(void)cancelLocalNotification:(id)notification;
-(void)scheduleLocalNotifications:(id)notifications replaceExistingNotifications:(BOOL)notifications2;
-(id)scheduledLocalNotifications;
-(void)_setPendingLocalNotificationFromBulletin:(id)bulletin;
-(id)_copyUnexpiredScheduledLocalNotifications;
-(BOOL)_isLocalNotification:(id)notification scheduledToFireAfterDate:(id)fireAfterDate;
-(void)_setScheduledLocalNotifications:(id)notifications;
-(id)_scheduledLocalNotifications;
-(void)_endRequireLocalNotificationsCachingWithReason:(id)reason;
-(void)_beginRequireLocalNotificationsCachingWithReason:(id)reason;
-(void)_setupLocalNotificationLogging;
-(id)loggingIdentifier;
-(void)noteDidOpenURL:(id)note;
-(void)spdResumeForTrafficRequested;
-(void)wakeTimerFired;
-(void)_updateApplicationWakeTimers;
-(void)setApplicationNextWakeDate:(id)date;
-(id)applicationNextWakeDate;
-(BOOL)classicDefaultStatusBarHidden;
-(BOOL)classicAppZoomedInOrRequiresHiDPI;
-(BOOL)classicAppRequiresHiDPI;
-(BOOL)classicAppZoomedIn;
-(BOOL)supportsApplicationType:(int)type;
-(void)_setIsClassic:(BOOL)classic;
-(BOOL)isClassic;
-(void)_calculateSupportedTypesLazilyIfNecessary;
-(int)launchingInterfaceOrientationForOrientation:(int)orientation;
-(void)removeDefaultInterfaceOrientationOverride;
-(void)overrideDefaultInterfaceOrientation:(int)orientation;
-(int)starkStatusBarStyle;
-(int)statusBarOrientation;
-(BOOL)statusBarHidden;
-(BOOL)defaultStatusBarHidden;
-(id)statusBarEffectiveStyleRequestWithStyleOverrides:(int)styleOverrides;
-(id)effectiveStatusBarStyleRequest;
-(int)effectiveStatusBarStyle;
-(id)statusBarStyleRequest;
-(int)statusBarStyle;
-(int)defaultStatusBarStyle;
-(void)autoLaunchIfNecessaryOnBootOrInstall:(BOOL)install;
-(BOOL)shouldAutoRelaunchAfterExit;
-(BOOL)shouldAutoLaunchOnBootOrInstall;
-(BOOL)_shouldAutoLaunchOnBootOrInstall:(BOOL)install;
-(BOOL)_shouldAutoRelaunchForEA;
-(void)_setAutoLaunchForVoIP:(BOOL)voIP;
-(void)_setHasBeenLaunched;
-(void)_lockStateDidChange:(id)_lockState;
-(void)_updateRecentlyUpdatedTimer;
-(void)markRecentlyUpdated;
-(void)_setRecentlyUpdated:(BOOL)updated;
-(BOOL)_isRecentlyUpdated;
-(void)markNewlyInstalled;
-(BOOL)_isNewlyInstalled;
-(BOOL)_shouldAutoLaunchForVoIP;
-(void)didAnimateDeactivationOnStarkScreenController:(id)controller;
-(void)willAnimateDeactivationOnStarkScreenController:(id)controller;
-(void)didAnimateActivationOnStarkScreenController:(id)controller;
-(void)willAnimateActivationOnStarkScreenController:(id)controller;
-(void)didAnimateDeactivation;
-(void)willAnimateDeactivation:(BOOL)deactivation;
-(void)didAnimateActivation;
-(void)willAnimateActivation;
-(void)finishedBackgroundContentFetchingWithInfo:(id)info;
-(void)didDeactivateForEventsOnly:(BOOL)eventsOnly;
-(void)willDeactivateForEventsOnly:(BOOL)eventsOnly;
-(void)didFailToActivate;
-(void)didActivate;
-(void)_updateOrientationForActivationIfNecessary;
-(void)willActivate;
-(void)didSuspend;
-(void)didExitWithInfo:(id)info type:(int)type;
-(void)didLaunch:(id)launch;
-(void)didBeginLaunch:(id)launch;
-(void)setRunning:(BOOL)running;
-(void)setProcessInfo:(id)info;
-(void)_setRunning:(BOOL)running;
-(void)_setProcessInfo:(id)info;
-(id)fallbackFolderName;
-(id)folderNames;
-(int)ratingRank;
-(BOOL)isBeingDebugged;
-(void)setBeingDebugged:(BOOL)debugged;
-(void)setDisplayName:(id)name;
-(id)displayName;
-(Class)iconClass;
-(id)_preferredImagePathInBundle:(id)bundle baseResourceName:(id)name ofType:(id)type screen:(id)screen outScale:(float*)scale;
-(id)_preferredImagePathByScaleInBundle:(id)bundle resourceName:(id)name ofType:(id)type screen:(id)screen outScale:(float*)scale;
-(id)defaultImageForScreen:(id)screen snapshot:(BOOL*)snapshot originalOrientation:(int*)orientation currentOrientation:(int*)orientation4 canUseIOSurface:(BOOL)surface;
-(id)_pathIfFileExistsAtPath:(id)path;
-(id)_additionalDisplayQualification;
-(BOOL)shouldLaunchPNGless;
-(void)flushSnapshotsForScreen:(id)screen;
-(void)flushSnapshotsForAllScreens;
-(id)appSnapshotPathForScreen:(id)screen;
-(id)_baseAppSnapshotPath;
-(id)customSpotlightIconPathsForKey:(id)key;
-(void)validateSystemProvisioningEntitlements:(XXStruct_kUSYWB*)entitlements;
-(BOOL)isLaunchableDuringSetup;
-(BOOL)hasGameCenterData;
-(BOOL)isNowRecordingApplication;
-(id)webClip;
-(BOOL)isWebApplication;
-(BOOL)behavesLikePhone;
-(BOOL)isFaceTime;
-(BOOL)isMobilePhone;
-(BOOL)isSystemProvisioningApplication;
-(BOOL)isInternalApplication;
-(BOOL)isSystemApplication;
-(void)_resetDataUsage;
-(void)setUsesWiFiNetwork:(BOOL)network;
-(void)setUsesEdgeNetwork:(BOOL)network;
-(void)_setDoingBackgroundNetworking:(unsigned)networking;
-(unsigned)_doingBackgroundNetworking;
-(void)setUsesBackgroundNetwork:(BOOL)network;
-(void)_setDataUsage:(int)usage;
-(void)setHasShownDataPlanAlertSinceLock:(BOOL)lock;
-(BOOL)hasShownDataPlanAlertSinceLock;
-(int)dataUsage;
-(void)setAlertSuppressionContexts:(id)contexts;
-(id)alertSuppressionContexts;
-(void)setHasMiniAlerts:(BOOL)alerts;
-(BOOL)hasMiniAlerts;
-(id)tags;
-(void)setTags:(id)tags;
-(BOOL)suspendingUnsupported;
-(void)setEnabled:(BOOL)enabled;
-(BOOL)enabled;
-(id)bundleVersion;
-(void)purgeAllCaches;
-(void)purgeBundleCaches;
-(id)bundle;
-(double)modificationDate;
-(id)containerPath;
-(id)path;
-(id)bundleIdentifier;
-(BOOL)isSameExecutableAsApplication:(id)application;
-(void)dealloc;
-(double)autoLockTime;
-(double)autoDimTime;
-(BOOL)_idleTimerDisabledForAnyReason;
-(id)_sortedLaunchImagesForMainScreen:(id)mainScreen bundle:(id)bundle;
-(void)_assignDefaultLaunchImages:(id)images forScreenType:(int)screenType;
-(id)initWithBundleIdentifier:(id)bundleIdentifier webClip:(id)clip path:(id)path bundle:(id)bundle infoDictionary:(id)dictionary isSystemApplication:(BOOL)application signerIdentity:(id)identity provisioningProfileValidated:(BOOL)validated entitlements:(id)entitlements;
-(void)_configureDisplayNameForInfoDictionary:(id)infoDictionary atBundlePath:(id)bundlePath;
-(BOOL)isNewsstandApplication;
-(id)_infoplist_defaultPNGPathForScreen:(id)screen launchingOrientation:(int)orientation imageOrientation:(int*)orientation3 resultingScale:(float*)scale;
-(BOOL)_infoplist_defaultPNGCalculateContainsCorgiImage;
-(CGSize)_screenSizeForScreen:(id)screen;
-(id)_sanitizedImageNameFromName:(id)name withExtension:(id)extension actualExtension:(out id*)extension3;
-(id)_pathForExistingImageInCandidates:(id)candidates forScreen:(id)screen launchingOrientation:(int)orientation imageOrientation:(int*)orientation4 resultingScale:(float*)scale;
-(void)_addImageName:(id)name toImageNamesArray:(id)imageNamesArray screen:(id)screen;
-(id)_cachedImageForSnapshotPath:(id)snapshotPath screen:(id)screen;
-(id)_imageForSnapshotAtPath:(id)path fileOrientation:(int*)orientation;
-(id)_defaultPNGNameUsingFallbacks:(id)fallbacks;
-(id)_defaultImageName:(id)name;
-(id)_scaleSuffixForScale:(float)scale;
-(int)_fallbackImageOrientationForLaunchingOrientation:(int)launchingOrientation;
-(id)_fallbackOrientationImageTagForLaunchingOrientation:(int)launchingOrientation;
-(id)_orientationImageTagForLaunchingOrientation:(int)launchingOrientation;
-(void)_imageOrientationParametersForLaunchingOrientation:(int)launchingOrientation imageTag:(id*)tag fallbackImageTag:(id*)tag3 fallbackOrientation:(int*)orientation;
-(id)_imageNamesFromInfoDictionary:(id)infoDictionary;
-(BOOL)isSnapshotPresentForLaunchingInterfaceOrientation:(int)launchingInterfaceOrientation;
-(id)_defaultImageInfoForScreen:(id)screen launchingOrientation:(int)orientation;
-(BOOL)_shouldUseSnapshotForAppLaunchIfPossible;
-(id)_defaultPNGImageInfoForScreen:(id)screen launchingOrientation:(int)orientation;
-(id)_snapshotImageInfoForScreen:(id)screen named:(id)named launchingOrientation:(int)orientation;
-(id)_snapshotImageInfoForScreen:(id)screen launchingOrientation:(int)orientation;
-(id)_defaultPNGForScreen:(id)screen launchingOrientation:(int)orientation orientation:(int*)orientation3;
-(id)_defaultPNGPathForScreen:(id)screen launchingOrientation:(int)orientation imageOrientation:(int*)orientation3 resultingScale:(float*)scale;
-(id)_defaultPNGNameFromSuspensionSettings;
-(BOOL)_applicationDoesNotHaveRestorationArchive;
-(id)_defaultPNGNameWhenActivatingFromURLSetting:(id)urlsetting;
-(id)_defaultPNGNameFromSearchDomainLaunchInfo:(id)searchDomainLaunchInfo;
-(id)_defaultPNGNameFromActivationSettings;
-(id)_snapshotImageWithImageName:(id)imageName forScreen:(id)screen launchingOrientation:(int)orientation originalOrientation:(int*)orientation4 currentOrientation:(int*)orientation5;
-(id)_snapshotImageForSnapshotImageInfo:(id)snapshotImageInfo originalOrientation:(out int*)orientation currentOrientation:(out int*)orientation3;
-(id)fileSnapshotForImageInfo:(id)imageInfo originalOrientation:(out int*)orientation currentOrientation:(out int*)orientation3;
-(id)cachedSnapshotForImageInfo:(id)imageInfo originalOrientation:(out int*)orientation currentOrientation:(out int*)orientation3;
-(id)snapshotImageInfosWithImageName:(id)imageName forScreen:(id)screen launchingOrientation:(int)orientation;
@end