Home
last modified time | relevance | path

Searched refs:Zygote (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java173 mUsapPoolEventFD = Zygote.getUsapPoolEventFD(); in ZygoteServer()
176 mZygoteSocket = Zygote.createManagedSocketFromInitSocket(Zygote.PRIMARY_SOCKET_NAME); in ZygoteServer()
178 Zygote.createManagedSocketFromInitSocket( in ZygoteServer()
179 Zygote.USAP_POOL_PRIMARY_SOCKET_NAME); in ZygoteServer()
181 mZygoteSocket = Zygote.createManagedSocketFromInitSocket(Zygote.SECONDARY_SOCKET_NAME); in ZygoteServer()
183 Zygote.createManagedSocketFromInitSocket( in ZygoteServer()
184 Zygote.USAP_POOL_SECONDARY_SOCKET_NAME); in ZygoteServer()
267 final String usapPoolSizeMaxPropString = Zygote.getConfigurationProperty( in fetchUsapPoolPolicyProps()
275 final String usapPoolSizeMinPropString = Zygote.getConfigurationProperty( in fetchUsapPoolPolicyProps()
283 final String usapPoolRefillThresholdPropString = Zygote.getConfigurationProperty( in fetchUsapPoolPolicyProps()
[all …]
DChildZygoteInit.java35 if (arg.startsWith(Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG)) { in parseSocketNameFromArgs()
36 return arg.substring(Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG.length()); in parseSocketNameFromArgs()
45 if (arg.startsWith(Zygote.CHILD_ZYGOTE_ABI_LIST_ARG)) { in parseAbiListFromArgs()
46 return arg.substring(Zygote.CHILD_ZYGOTE_ABI_LIST_ARG.length()); in parseAbiListFromArgs()
92 int uidGidMin = parseIntFromArg(args, Zygote.CHILD_ZYGOTE_UID_RANGE_START); in runZygoteServer()
93 int uidGidMax = parseIntFromArg(args, Zygote.CHILD_ZYGOTE_UID_RANGE_END); in runZygoteServer()
113 Zygote.nativeInstallSeccompUidGidFilter(uidGidMin, uidGidMax); in runZygoteServer()
121 Zygote.nativeAllowFileAcrossFork("ABSTRACT/" + socketName); in runZygoteServer()
DZygoteArguments.java77 int mMountExternal = Zygote.MOUNT_EXTERNAL_NONE;
364 mMountExternal = Zygote.MOUNT_EXTERNAL_DEFAULT; in parseArgs()
366 mMountExternal = Zygote.MOUNT_EXTERNAL_READ; in parseArgs()
368 mMountExternal = Zygote.MOUNT_EXTERNAL_WRITE; in parseArgs()
370 mMountExternal = Zygote.MOUNT_EXTERNAL_FULL; in parseArgs()
372 mMountExternal = Zygote.MOUNT_EXTERNAL_INSTALLER; in parseArgs()
374 mMountExternal = Zygote.MOUNT_EXTERNAL_LEGACY; in parseArgs()
430 } else if (arg.startsWith(Zygote.START_AS_TOP_APP_ARG)) { in parseArgs()
477 if (arg.startsWith(Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG)) { in parseArgs()
484 + "without " + Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG); in parseArgs()
DZygoteConnection.java90 new InputStreamReader(socket.getInputStream()), Zygote.SOCKET_BUFFER_SIZE); in ZygoteConnection()
125 args = Zygote.readArgumentList(mSocketReader); in processOneCommand()
205 Zygote.applyUidSecurityPolicy(parsedArgs, peer); in processOneCommand()
206 Zygote.applyInvokeWithSecurityPolicy(parsedArgs, peer); in processOneCommand()
208 Zygote.applyDebuggerSystemProperty(parsedArgs); in processOneCommand()
209 Zygote.applyInvokeWithSystemProperty(parsedArgs); in processOneCommand()
214 rlimits = parsedArgs.mRLimits.toArray(Zygote.INT_ARRAY_2D); in processOneCommand()
257 pid = Zygote.forkAndSpecialize(parsedArgs.mUid, parsedArgs.mGid, parsedArgs.mGids, in processOneCommand()
341 Zygote.emptyUsapPool(); in stateChangeWithUsapPoolReset()
488 Zygote.setAppProcessName(parsedArgs, TAG); in handleChildProc()
DZygoteInit.java275 new BufferedReader(new InputStreamReader(is), Zygote.SOCKET_BUFFER_SIZE); in preloadClasses()
754 Zygote.applyDebuggerSystemProperty(parsedArgs); in forkSystemServer()
755 Zygote.applyInvokeWithSystemProperty(parsedArgs); in forkSystemServer()
757 if (Zygote.nativeSupportsMemoryTagging()) { in forkSystemServer()
760 parsedArgs.mRuntimeFlags |= Zygote.MEMORY_TAG_LEVEL_ASYNC; in forkSystemServer()
761 } else if (Zygote.nativeSupportsTaggedPointers()) { in forkSystemServer()
764 parsedArgs.mRuntimeFlags |= Zygote.MEMORY_TAG_LEVEL_TBI; in forkSystemServer()
768 parsedArgs.mRuntimeFlags |= Zygote.PROFILE_SYSTEM_SERVER; in forkSystemServer()
772 pid = Zygote.forkSystemServer( in forkSystemServer()
869 final boolean isPrimaryZygote = zygoteSocketName.equals(Zygote.PRIMARY_SOCKET_NAME); in main()
[all …]
DWrapperInit.java136 Zygote.appendQuotedShellArgs(command, args); in execApplication()
138 Zygote.execShell(command.toString()); in execApplication()
172 Zygote.nativePreApplicationInit(); in wrapperInit()
DZygote.java51 public final class Zygote { class
241 private Zygote() {} in Zygote() method in Zygote
422 Zygote.nativeAllowFileAcrossFork(path); in allowAppFilesAcrossFork()
662 new ByteArrayOutputStream(Zygote.USAP_MANAGEMENT_MESSAGE_BYTES); in usapMain()
832 args.mRuntimeFlags |= Zygote.DEBUG_ENABLE_JDWP; in applyDebuggerSystemProperty()
854 && (args.mRuntimeFlags & Zygote.DEBUG_ENABLE_JDWP) == 0) { in applyInvokeWithSecurityPolicy()
DWebViewZygoteInit.java81 Zygote.allowAppFilesAcrossFork(appInfo); in handlePreloadApp()
100 Zygote.nativeAllowFileAcrossFork(packageEntry); in handlePreloadPackage()
DOWNERS1 per-file ZygoteArguments.java,ZygoteConnection.java,ZygoteInit.java,Zygote.java,ZygoteServer.java =…
DAppZygoteInit.java79 Zygote.allowAppFilesAcrossFork(appInfo); in handlePreloadApp()
/frameworks/base/core/java/android/os/
DZygoteProcess.java32 import com.android.internal.os.Zygote;
111 new LocalSocketAddress(Zygote.PRIMARY_SOCKET_NAME, in ZygoteProcess()
114 new LocalSocketAddress(Zygote.SECONDARY_SOCKET_NAME, in ZygoteProcess()
118 new LocalSocketAddress(Zygote.USAP_POOL_PRIMARY_SOCKET_NAME, in ZygoteProcess()
121 new LocalSocketAddress(Zygote.USAP_POOL_SECONDARY_SOCKET_NAME, in ZygoteProcess()
204 Zygote.SOCKET_BUFFER_SIZE); in connect()
482 Zygote.SOCKET_BUFFER_SIZE); in attemptUsapSendArgsAndGetResult()
631 if (mountExternal == Zygote.MOUNT_EXTERNAL_DEFAULT) { in startViaZygote()
633 } else if (mountExternal == Zygote.MOUNT_EXTERNAL_READ) { in startViaZygote()
635 } else if (mountExternal == Zygote.MOUNT_EXTERNAL_WRITE) { in startViaZygote()
[all …]
DOWNERS1 # Zygote
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java100 import com.android.internal.os.Zygote;
1551 int mountExternal = Zygote.MOUNT_EXTERNAL_NONE;
1560 mountExternal = Zygote.MOUNT_EXTERNAL_FULL;
1596 runtimeFlags |= Zygote.DEBUG_ENABLE_JDWP;
1597 runtimeFlags |= Zygote.DEBUG_JAVA_DEBUGGABLE;
1600 runtimeFlags |= Zygote.DEBUG_ENABLE_CHECKJNI;
1605 runtimeFlags |= Zygote.DISABLE_VERIFIER;
1612 runtimeFlags |= Zygote.DEBUG_ENABLE_SAFEMODE;
1615 runtimeFlags |= Zygote.PROFILE_FROM_SHELL;
1618 runtimeFlags |= Zygote.DEBUG_ENABLE_CHECKJNI;
[all …]
DProcessRecord.java64 import com.android.internal.os.Zygote;
477 DebugUtils.valueToString(Zygote.class, "MOUNT_EXTERNAL_", mountMode)); in dump()
DActivityManagerService.java329 import com.android.internal.os.Zygote;
18567 return Zygote.MOUNT_EXTERNAL_FULL; in getStorageMountMode()
18571 return pr == null ? Zygote.MOUNT_EXTERNAL_NONE : pr.mountMode; in getStorageMountMode()
/frameworks/base/core/jni/
DOWNERS8 # Zygote
/frameworks/base/core/jni/include/android_runtime/
DAndroidRuntime.h41 Zygote, enumerator
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java133 import com.android.internal.os.Zygote;
3631 return Zygote.MOUNT_EXTERNAL_NONE; in getMountModeInternal()
3637 return Zygote.MOUNT_EXTERNAL_NONE; in getMountModeInternal()
3644 return Zygote.MOUNT_EXTERNAL_NONE; in getMountModeInternal()
3658 return Zygote.MOUNT_EXTERNAL_FULL; in getMountModeInternal()
3678 return Zygote.MOUNT_EXTERNAL_WRITE; in getMountModeInternal()
3686 return Zygote.MOUNT_EXTERNAL_WRITE; in getMountModeInternal()
3688 return Zygote.MOUNT_EXTERNAL_READ; in getMountModeInternal()
3690 return Zygote.MOUNT_EXTERNAL_DEFAULT; in getMountModeInternal()
3695 return Zygote.MOUNT_EXTERNAL_NONE; in getMountModeInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java105 import com.android.internal.os.Zygote;
854 return Zygote.MOUNT_EXTERNAL_NONE; in systemReady()
858 return Zygote.MOUNT_EXTERNAL_NONE; in systemReady()
862 return Zygote.MOUNT_EXTERNAL_READ; in systemReady()
864 return Zygote.MOUNT_EXTERNAL_WRITE; in systemReady()
870 return mountMode == Zygote.MOUNT_EXTERNAL_READ in systemReady()
871 || mountMode == Zygote.MOUNT_EXTERNAL_WRITE; in systemReady()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java289 import com.android.internal.os.Zygote;
21171 return Zygote.MOUNT_EXTERNAL_NONE;
21174 return Zygote.MOUNT_EXTERNAL_DEFAULT;
21177 return Zygote.MOUNT_EXTERNAL_READ;
21179 return Zygote.MOUNT_EXTERNAL_WRITE;
/frameworks/base/config/
Dboot-image-profile.txt21402 HSPLcom/android/internal/os/Zygote;->applyDebuggerSystemProperty(Lcom/android/internal/os/ZygoteArg…
21403 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSecurityPolicy(Lcom/android/internal/os/ZygoteA…
21404 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSystemProperty(Lcom/android/internal/os/ZygoteA…
21405 HSPLcom/android/internal/os/Zygote;->applyUidSecurityPolicy(Lcom/android/internal/os/ZygoteArgument…
21406 HSPLcom/android/internal/os/Zygote;->callPostForkChildHooks(IZZLjava/lang/String;)V
21407 HSPLcom/android/internal/os/Zygote;->callPostForkSystemServerHooks()V
21408 HSPLcom/android/internal/os/Zygote;->createManagedSocketFromInitSocket(Ljava/lang/String;)Landroid/…
21409 HSPLcom/android/internal/os/Zygote;->forkAndSpecialize(II[II[[IILjava/lang/String;Ljava/lang/String…
21410 HSPLcom/android/internal/os/Zygote;->forkAndSpecialize(II[II[[IILjava/lang/String;Ljava/lang/String…
21411 HSPLcom/android/internal/os/Zygote;->getConfigurationProperty(Ljava/lang/String;Ljava/lang/String;)…
[all …]
Dpreloaded-classes4648 com.android.internal.os.Zygote
/frameworks/base/cmds/statsd/src/
Datoms.proto6717 * the time that Zygote finished forking the app process and loaded the