SHARE
TWEET

Untitled

a guest Apr 25th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void main(String argv[]) {
  2.     try {
  3.         // Start profiling the zygote initialization.
  4.         SamplingProfilerIntegration.start();
  5.         registerZygoteSocket();
  6.         preloadClasses();
  7.         //cacheRegisterMaps();
  8.         preloadResources();
  9.         .
  10.         .
  11.         .
  12.         // Prepare the arguments and fork for the system server process.
  13.         if (argv[1].equals("true")) {
  14.             startSystemServer();
  15.         } else if (!argv[1].equals("false")) {
  16.             throw new RuntimeException(argv[0] + USAGE_STRING);
  17.         }
  18.         // Fork and executes setid for the specified uid, loads the specified class
  19.         if (ZYGOTE_FORK_MODE) {
  20.             runForkMode();
  21.         } else {
  22.             runSelectLoopMode();
  23.         }
  24.         closeServerSocket();
  25.     } catch (MethodAndArgsCaller caller) {
  26.         caller.run();
  27.     } catch (RuntimeException ex) {
  28.         Log.e(TAG, "Zygote died with exception", ex);
  29.         closeServerSocket();
  30.         throw ex;
  31.     }
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top