/external/autotest/site_utils/lxc/ |
__init__.py | 19 from zygote import Zygote
|
zygote.py | 18 class Zygote(Container): 41 super(Zygote, self).__init__(container_path, name, attribute_values, 53 # If creating a new zygote, initialize the host dir. 60 super(Zygote, self).destroy(force) 76 super(Zygote, self).set_hostname(hostname)
|
zygote_unittest.py | 30 """Unit tests for the Zygote class.""" 65 """Verifies that the zygote cleans up after itself.""" 66 with self.createZygote() as zygote: 67 host_path = zygote.host_path 71 # Start/stop the zygote to exercise the host mounts. 72 zygote.start(wait_for_network=False) 73 zygote.stop() 75 # After the zygote is destroyed, verify that the host path is cleaned 82 with self.createZygote() as zygote: 83 host_path = zygote.host_pat [all...] |
/frameworks/base/core/java/android/os/ |
ZygoteProcess.java | 24 import com.android.internal.os.Zygote; 50 * Maintains communication state with the zygote processes. This class is responsible 60 * The name of the socket used to communicate with the primary zygote. 65 * The name of the secondary (alternate ABI) zygote socket. 75 * State for communicating with the zygote process. 116 Log.i("Zygote", "Process: zygote socket " + socketAddress + " opened, supported ABIS: " 150 * The state of the connection to the primary zygote. 155 * The state of the connection to the secondary zygote. 175 * and not a zygote fork. Note that this is only allowed for uid 0 or whe [all...] |
Trace.java | 19 import com.android.internal.os.Zygote; 127 if ((sZygoteDebugFlags & Zygote.DEBUG_JAVA_DEBUGGABLE) != 0) { 142 * preloaded, so all apps would be stuck with whatever the zygote saw. (The zygote 145 * We want to defer initialization until the first use by an app, post-zygote. 202 * Set whether tracing is enabled in this process. Tracing is disabled shortly after Zygote 203 * initializes and re-enabled after processes fork from Zygote. This is done because Zygote 204 * has no way to be notified about changes to the tracing tags, and if Zygote ever reads and
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteConnection.java | 56 private static final String TAG = "Zygote"; 79 * @param abiList non-null; a list of ABIs this zygote supports. 116 * process. {@code null} is always returned in the parent process (the zygote). 195 * In order to avoid leaking descriptors to the Zygote child, 196 * the native code must close the two Zygote socket descriptors 197 * in the child process before it switches from Zygote-root to 222 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, 262 * Preloads resources if the zygote is in lazily preload mode. Writes the result of the 264 * if no preload was initiated. The latter implies that the zygote is not configured to load 265 * resources lazy or that the zygote has already handled a previous request to handlePreload [all...] |
WrapperInit.java | 51 * wrapper process instead of by forking Zygote. 67 // Tell the Zygote what our actual PID is (since it only knows about the 78 Slog.d(TAG, "Could not write pid of wrapped process to Zygote pipe.", ex); 82 // Mimic system Zygote preloading. 126 Zygote.appendQuotedShellArgs(command, args); 128 Zygote.execShell(command.toString()); 162 // Perform the same initialization that would happen after the Zygote forks. 163 Zygote.nativePreApplicationInit();
|
Zygote.java | 29 public final class Zygote { 65 private Zygote() {} 103 // Resets nice priority for zygote process. 132 * zygote to exit. 154 // Resets nice priority for zygote process. 170 * Lets children of the zygote inherit open file descriptors to this path. 175 * Zygote unmount storage space on initializing.
|
WebViewZygoteInit.java | 35 * Startup class for the WebView zygote process. 37 * See {@link ZygoteInit} for generic zygote startup documentation. 76 // This enables us to preload Java and native code in the webview zygote process and 81 // Add the APK to the Zygote's list of allowed files for children. 84 Zygote.nativeAllowFileAcrossFork(packageEntry); 123 // Zygote goes into its own process group. 134 // loops forever in the zygote.
|
ZygoteInit.java | 73 * Startup class for the zygote process. 85 private static final String TAG = "Zygote"; 87 private static final String PROPERTY_DISABLE_OPENGL_PRELOADING = "ro.zygote.disable_gl_preload"; 111 /** Controls whether we should preload resources during zygote init. */ 141 // Ask the WebViewFactory to do any initialization that must run in the zygote process, 161 // would be collected when the Zygote GC runs in gcAndFinalize(). 233 * Performs Zygote process initialization. Loads and initializes 333 // Bring back root. We'll need it later if we're in the zygote. 441 /* runFinalizationSync() lets finalizers be called in Zygote, 660 pid = Zygote.forkSystemServer [all...] |
/frameworks/base/core/jni/include/android_runtime/ |
AndroidRuntime.h | 41 Zygote, 67 void start(const char *classname, const Vector<String8>& options, bool zygote); 91 * This gets called after the JavaVM has initialized after a Zygote 134 int startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote);
|
/art/runtime/ |
runtime_options.def | 37 RUNTIME_OPTIONS_KEY (Unit, Zygote)
|
parsed_options.cc | 71 .IntoKey(M::Zygote) [all...] |
runtime.cc | 750 // If we are the zygote then we need to wait until after forking to create the code cache 755 // Try to load compiler pre zygote to reduce PSS. b/27744947 841 // Reset the gc performance data at zygote fork so that the GCs 850 // Note that when running ART standalone (not zygote, nor zygote fork), [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AppOpsService.java | 57 import com.android.internal.os.Zygote; 325 return Zygote.MOUNT_EXTERNAL_NONE; 329 return Zygote.MOUNT_EXTERNAL_NONE; 333 return Zygote.MOUNT_EXTERNAL_READ; 335 return Zygote.MOUNT_EXTERNAL_WRITE; 341 return mountMode == Zygote.MOUNT_EXTERNAL_READ 342 || mountMode == Zygote.MOUNT_EXTERNAL_WRITE; [all...] |
StorageManagerService.java | 101 import com.android.internal.os.Zygote; [all...] |
/art/cmdline/ |
cmdline_parser_test.cc | 215 EXPECT_SINGLE_PARSE_EXISTS("-Xzygote", M::Zygote);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 383 import com.android.internal.os.Zygote; [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerService.java | 262 import com.android.internal.os.Zygote; [all...] |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |
preloaded-classes | 19 # the zygote during initialization. This is a trade-off, using virtual address space to share [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.4_r1-robolectric-1.jar | |