Loading services/core/java/com/android/server/am/ActivityManagerService.java +0 −21 Original line number Diff line number Diff line Loading @@ -355,7 +355,6 @@ import com.android.server.contentcapture.ContentCaptureManagerInternal; import com.android.server.firewall.IntentFirewall; import com.android.server.job.JobSchedulerInternal; import com.android.server.pm.Installer; import com.android.server.pm.Installer.InstallerException; import com.android.server.pm.permission.PermissionManagerServiceInternal; import com.android.server.uri.GrantUri; import com.android.server.uri.UriGrantsManagerInternal; Loading Loading @@ -5270,26 +5269,6 @@ public class ActivityManagerService extends IActivityManager.Stub mCallFinishBooting = false; } ArraySet<String> completedIsas = new ArraySet<String>(); for (String abi : Build.SUPPORTED_ABIS) { ZYGOTE_PROCESS.establishZygoteConnectionForAbi(abi); final String instructionSet = VMRuntime.getInstructionSet(abi); if (!completedIsas.contains(instructionSet)) { try { mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); } catch (InstallerException e) { if (!VMRuntime.didPruneDalvikCache()) { // This is technically not the right filter, as different zygotes may // have made different pruning decisions. But the log is best effort, // anyways. Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" + e.getMessage() +")"); } } completedIsas.add(instructionSet); } } // Let the ART runtime in zygote and system_server know that the boot completed. ZYGOTE_PROCESS.bootCompleted(); VMRuntime.bootCompleted(); Loading services/core/java/com/android/server/pm/Installer.java +0 −10 Original line number Diff line number Diff line Loading @@ -450,16 +450,6 @@ public class Installer extends SystemService { } } public void markBootComplete(String instructionSet) throws InstallerException { assertValidInstructionSet(instructionSet); if (!checkBeforeRemote()) return; try { mInstalld.markBootComplete(instructionSet); } catch (Exception e) { throw InstallerException.from(e); } } public void freeCache(String uuid, long targetFreeBytes, long cacheReservedBytes, int flags) throws InstallerException { if (!checkBeforeRemote()) return; Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +0 −21 Original line number Diff line number Diff line Loading @@ -355,7 +355,6 @@ import com.android.server.contentcapture.ContentCaptureManagerInternal; import com.android.server.firewall.IntentFirewall; import com.android.server.job.JobSchedulerInternal; import com.android.server.pm.Installer; import com.android.server.pm.Installer.InstallerException; import com.android.server.pm.permission.PermissionManagerServiceInternal; import com.android.server.uri.GrantUri; import com.android.server.uri.UriGrantsManagerInternal; Loading Loading @@ -5270,26 +5269,6 @@ public class ActivityManagerService extends IActivityManager.Stub mCallFinishBooting = false; } ArraySet<String> completedIsas = new ArraySet<String>(); for (String abi : Build.SUPPORTED_ABIS) { ZYGOTE_PROCESS.establishZygoteConnectionForAbi(abi); final String instructionSet = VMRuntime.getInstructionSet(abi); if (!completedIsas.contains(instructionSet)) { try { mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); } catch (InstallerException e) { if (!VMRuntime.didPruneDalvikCache()) { // This is technically not the right filter, as different zygotes may // have made different pruning decisions. But the log is best effort, // anyways. Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" + e.getMessage() +")"); } } completedIsas.add(instructionSet); } } // Let the ART runtime in zygote and system_server know that the boot completed. ZYGOTE_PROCESS.bootCompleted(); VMRuntime.bootCompleted(); Loading
services/core/java/com/android/server/pm/Installer.java +0 −10 Original line number Diff line number Diff line Loading @@ -450,16 +450,6 @@ public class Installer extends SystemService { } } public void markBootComplete(String instructionSet) throws InstallerException { assertValidInstructionSet(instructionSet); if (!checkBeforeRemote()) return; try { mInstalld.markBootComplete(instructionSet); } catch (Exception e) { throw InstallerException.from(e); } } public void freeCache(String uuid, long targetFreeBytes, long cacheReservedBytes, int flags) throws InstallerException { if (!checkBeforeRemote()) return; Loading