1// Signature format: 2.0 2package com.android.server { 3 4 public final class LocalManagerRegistry { 5 method public static <T> void addManager(@NonNull Class<T>, @NonNull T); 6 method @Nullable public static <T> T getManager(@NonNull Class<T>); 7 } 8 9 public abstract class SystemService { 10 ctor public SystemService(@NonNull android.content.Context); 11 method @NonNull public final android.content.Context getContext(); 12 method public boolean isUserSupported(@NonNull com.android.server.SystemService.TargetUser); 13 method public void onBootPhase(int); 14 method public abstract void onStart(); 15 method public void onUserStarting(@NonNull com.android.server.SystemService.TargetUser); 16 method public void onUserStopped(@NonNull com.android.server.SystemService.TargetUser); 17 method public void onUserStopping(@NonNull com.android.server.SystemService.TargetUser); 18 method public void onUserSwitching(@Nullable com.android.server.SystemService.TargetUser, @NonNull com.android.server.SystemService.TargetUser); 19 method public void onUserUnlocked(@NonNull com.android.server.SystemService.TargetUser); 20 method public void onUserUnlocking(@NonNull com.android.server.SystemService.TargetUser); 21 method protected final void publishBinderService(@NonNull String, @NonNull android.os.IBinder); 22 method protected final void publishBinderService(@NonNull String, @NonNull android.os.IBinder, boolean); 23 field public static final int PHASE_ACTIVITY_MANAGER_READY = 550; // 0x226 24 field public static final int PHASE_BOOT_COMPLETED = 1000; // 0x3e8 25 field public static final int PHASE_DEVICE_SPECIFIC_SERVICES_READY = 520; // 0x208 26 field public static final int PHASE_LOCK_SETTINGS_READY = 480; // 0x1e0 27 field public static final int PHASE_SYSTEM_SERVICES_READY = 500; // 0x1f4 28 field public static final int PHASE_THIRD_PARTY_APPS_CAN_START = 600; // 0x258 29 field public static final int PHASE_WAIT_FOR_DEFAULT_DISPLAY = 100; // 0x64 30 } 31 32 public static final class SystemService.TargetUser { 33 method @NonNull public android.os.UserHandle getUserHandle(); 34 } 35 36} 37 38package com.android.server.am { 39 40 public interface ActivityManagerLocal { 41 method public boolean bindSdkSandboxService(@NonNull android.content.Intent, @NonNull android.content.ServiceConnection, int, @NonNull String, @NonNull String, int) throws android.os.RemoteException; 42 method public boolean canStartForegroundService(int, int, @NonNull String); 43 } 44 45} 46 47package com.android.server.pm { 48 49 public interface PackageManagerLocal { 50 method public void reconcileSdkData(@Nullable String, @NonNull String, @NonNull java.util.List<java.lang.String>, int, int, int, @NonNull String, int) throws java.io.IOException; 51 field public static final int FLAG_STORAGE_CE = 2; // 0x2 52 field public static final int FLAG_STORAGE_DE = 1; // 0x1 53 } 54 55} 56 57package com.android.server.role { 58 59 public interface RoleServicePlatformHelper { 60 method @NonNull public String computePackageStateHash(int); 61 method @NonNull public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getLegacyRoleState(int); 62 } 63 64} 65 66package com.android.server.stats { 67 68 public final class StatsHelper { 69 method public static void sendStatsdReadyBroadcast(@NonNull android.content.Context); 70 } 71 72} 73 74package com.android.server.usage { 75 76 public interface StorageStatsManagerLocal { 77 method public void registerStorageStatsAugmenter(@NonNull com.android.server.usage.StorageStatsManagerLocal.StorageStatsAugmenter, @NonNull String); 78 } 79 80 public static interface StorageStatsManagerLocal.StorageStatsAugmenter { 81 method public void augmentStatsForPackageForUser(@NonNull android.content.pm.PackageStats, @NonNull String, @NonNull android.os.UserHandle, boolean); 82 method public void augmentStatsForUid(@NonNull android.content.pm.PackageStats, int, boolean); 83 method public void augmentStatsForUser(@NonNull android.content.pm.PackageStats, @NonNull android.os.UserHandle); 84 } 85 86} 87 88package com.android.server.wifi { 89 90 public class SupplicantManager { 91 method public static void start(); 92 method public static void stop(); 93 } 94 95} 96 97