Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/os/
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()
DZygoteServer.java153 mUsapPoolEventFD = Zygote.getUsapPoolEventFD(); in ZygoteServer()
156 mZygoteSocket = Zygote.createManagedSocketFromInitSocket(Zygote.PRIMARY_SOCKET_NAME); in ZygoteServer()
158 Zygote.createManagedSocketFromInitSocket( in ZygoteServer()
159 Zygote.USAP_POOL_PRIMARY_SOCKET_NAME); in ZygoteServer()
161 mZygoteSocket = Zygote.createManagedSocketFromInitSocket(Zygote.SECONDARY_SOCKET_NAME); in ZygoteServer()
163 Zygote.createManagedSocketFromInitSocket( in ZygoteServer()
164 Zygote.USAP_POOL_SECONDARY_SOCKET_NAME); in ZygoteServer()
288 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolPolicyPropsWithMinInterval()
318 int usapPoolCount = Zygote.getUsapPoolCount(); in fillUsapPool()
341 Zygote.forkUsap(mUsapPoolSocket, sessionSocketRawFDs, isPriorityRefill); in fillUsapPool()
[all …]
DZygoteArguments.java77 int mMountExternal = Zygote.MOUNT_EXTERNAL_NONE;
402 mMountExternal = Zygote.MOUNT_EXTERNAL_DEFAULT; in parseArgs()
404 mMountExternal = Zygote.MOUNT_EXTERNAL_INSTALLER; in parseArgs()
406 mMountExternal = Zygote.MOUNT_EXTERNAL_PASS_THROUGH; in parseArgs()
408 mMountExternal = Zygote.MOUNT_EXTERNAL_ANDROID_WRITABLE; in parseArgs()
469 } else if (arg.startsWith(Zygote.START_AS_TOP_APP_ARG)) { in parseArgs()
481 } else if (arg.startsWith(Zygote.PKG_DATA_INFO_MAP)) { in parseArgs()
483 } else if (arg.startsWith(Zygote.ALLOWLISTED_DATA_INFO_MAP)) { in parseArgs()
485 } else if (arg.equals(Zygote.BIND_MOUNT_APP_STORAGE_DIRS)) { in parseArgs()
487 } else if (arg.equals(Zygote.BIND_MOUNT_APP_DATA_DIRS)) { in parseArgs()
[all …]
DZygoteInit.java293 new BufferedReader(new InputStreamReader(is), Zygote.SOCKET_BUFFER_SIZE); in preloadClasses()
685 Zygote.applyDebuggerSystemProperty(parsedArgs); in forkSystemServer()
686 Zygote.applyInvokeWithSystemProperty(parsedArgs); in forkSystemServer()
688 if (Zygote.nativeSupportsMemoryTagging()) { in forkSystemServer()
697 parsedArgs.mRuntimeFlags |= Zygote.MEMORY_TAG_LEVEL_ASYNC; in forkSystemServer()
699 parsedArgs.mRuntimeFlags |= Zygote.MEMORY_TAG_LEVEL_SYNC; in forkSystemServer()
702 parsedArgs.mRuntimeFlags |= Zygote.nativeCurrentTaggingLevel(); in forkSystemServer()
705 } else if (Zygote.nativeSupportsTaggedPointers()) { in forkSystemServer()
708 parsedArgs.mRuntimeFlags |= Zygote.MEMORY_TAG_LEVEL_TBI; in forkSystemServer()
713 parsedArgs.mRuntimeFlags |= Zygote.GWP_ASAN_LEVEL_LOTTERY; in forkSystemServer()
[all …]
DZygoteConnection.java200 Zygote.applyUidSecurityPolicy(parsedArgs, peer); in processCommand()
201 Zygote.applyInvokeWithSecurityPolicy(parsedArgs, peer); in processCommand()
203 Zygote.applyDebuggerSystemProperty(parsedArgs); in processCommand()
204 Zygote.applyInvokeWithSystemProperty(parsedArgs); in processCommand()
209 rlimits = parsedArgs.mRLimits.toArray(Zygote.INT_ARRAY_2D); in processCommand()
256 pid = Zygote.forkAndSpecialize(parsedArgs.mUid, parsedArgs.mGid, in processCommand()
291 Runnable result = Zygote.forkSimpleApps(argBuffer, in processCommand()
293 peer.getUid(), Zygote.minChildUid(peer), parsedArgs.mNiceName); in processCommand()
380 Zygote.emptyUsapPool(); in stateChangeWithUsapPoolReset()
527 Zygote.setAppProcessName(parsedArgs, TAG); in handleChildProc()
DAppZygoteInit.java79 Zygote.allowAppFilesAcrossFork(appInfo); in handlePreloadApp()
94 Zygote.markOpenedFilesBeforePreload(); in handlePreloadApp()
96 Zygote.allowFilesOpenedByPreload(); in handlePreloadApp()
DWrapperInit.java137 Zygote.appendQuotedShellArgs(command, args); in execApplication()
139 Zygote.execShell(command.toString()); in execApplication()
173 Zygote.nativePreApplicationInit(); in wrapperInit()
DZygote.java60 public final class Zygote { class
314 private Zygote() {} in Zygote() method in Zygote
529 Zygote.nativeAllowFileAcrossFork(path); in allowAppFilesAcrossFork()
853 new ByteArrayOutputStream(Zygote.USAP_MANAGEMENT_MESSAGE_BYTES); in childMain()
885 Zygote.setAppProcessName(args, TAG); in childMain()
1063 args.mRuntimeFlags |= Zygote.DEBUG_ENABLE_JDWP; in applyDebuggerSystemProperty()
1066 args.mRuntimeFlags |= Zygote.DEBUG_ENABLE_PTRACE; in applyDebuggerSystemProperty()
1069 args.mRuntimeFlags |= Zygote.DEBUG_ENABLE_PTRACE; in applyDebuggerSystemProperty()
1093 & (Zygote.DEBUG_ENABLE_JDWP | Zygote.DEBUG_ENABLE_PTRACE)) == 0) { in applyInvokeWithSecurityPolicy()
DWebViewZygoteInit.java81 Zygote.allowAppFilesAcrossFork(appInfo); in handlePreloadApp()
100 Zygote.nativeAllowFileAcrossFork(packageEntry); in handlePreloadPackage()
DOWNERS2 per-file *Zygote* = file:/ZYGOTE_OWNERS
/frameworks/base/core/java/android/os/
DZygoteProcess.java33 import com.android.internal.os.Zygote;
106 new LocalSocketAddress(Zygote.PRIMARY_SOCKET_NAME, in ZygoteProcess()
109 new LocalSocketAddress(Zygote.SECONDARY_SOCKET_NAME, in ZygoteProcess()
113 new LocalSocketAddress(Zygote.USAP_POOL_PRIMARY_SOCKET_NAME, in ZygoteProcess()
116 new LocalSocketAddress(Zygote.USAP_POOL_SECONDARY_SOCKET_NAME, in ZygoteProcess()
199 Zygote.SOCKET_BUFFER_SIZE); in connect()
495 Zygote.SOCKET_BUFFER_SIZE); in attemptUsapSendArgsAndGetResult()
582 if (Zygote.getWrapProperty(flag.substring(12)) != null) { in commandSupportedByUsap()
655 if (mountExternal == Zygote.MOUNT_EXTERNAL_DEFAULT) { in startViaZygote()
657 } else if (mountExternal == Zygote.MOUNT_EXTERNAL_INSTALLER) { in startViaZygote()
[all …]
DAppZygote.java24 import com.android.internal.os.Zygote;
112 int runtimeFlags = Zygote.getMemorySafetyRuntimeFlagsForSecondaryZygote( in connectToZygoteIfNeededLocked()
DOWNERS55 per-file *Zygote* = file:/ZYGOTE_OWNERS
/frameworks/base/services/core/java/com/android/server/
DLogMteState.java25 import com.android.internal.os.Zygote;
47 Zygote.nativeSupportsMemoryTagging() in register()
/frameworks/base/core/java/android/webkit/
DWebViewZygote.java30 import com.android.internal.os.Zygote;
142 int runtimeFlags = Zygote.getMemorySafetyRuntimeFlagsForSecondaryZygote( in connectToZygoteIfNeededLocked()
/frameworks/base/core/jni/include/android_runtime/
DAndroidRuntime.h39 Zygote, enumerator
/frameworks/base/apex/jobscheduler/
DREADME_js-mainline.md18 put on the device and loaded by Zygote.
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java137 import com.android.internal.os.Zygote;
1796 if (mountExternal == Zygote.MOUNT_EXTERNAL_ANDROID_WRITABLE
1797 || mountExternal == Zygote.MOUNT_EXTERNAL_PASS_THROUGH) {
1811 if (mountExternal == Zygote.MOUNT_EXTERNAL_INSTALLER) {
1815 if (mountExternal == Zygote.MOUNT_EXTERNAL_PASS_THROUGH) {
1878 int mountExternal = Zygote.MOUNT_EXTERNAL_NONE;
1942 runtimeFlags |= Zygote.DEBUG_ENABLE_JDWP;
1943 runtimeFlags |= Zygote.DEBUG_ENABLE_PTRACE;
1944 runtimeFlags |= Zygote.DEBUG_JAVA_DEBUGGABLE;
1947 runtimeFlags |= Zygote.DEBUG_ENABLE_CHECKJNI;
[all …]
DProcessRecord.java65 import com.android.internal.os.Zygote;
542 DebugUtils.valueToString(Zygote.class, "MOUNT_EXTERNAL_", mMountMode)); in dump()
/frameworks/base/core/java/android/app/
DOWNERS128 # Zygote
129 per-file *Zygote* = file:/ZYGOTE_OWNERS
/frameworks/base/core/java/android/text/flags/
Dflags.aconfig219 # Hyphenator is initialized in Zygote
/frameworks/base/core/jni/
DOWNERS54 per-file *Zygote* = file:/ZYGOTE_OWNERS
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java162 import com.android.internal.os.Zygote;
4243 return Zygote.nativeSupportsMemoryTagging(); in isMtePolicyEnforced()
/frameworks/base/boot/
Dboot-image-profile.txt21554 HSPLcom/android/internal/os/Zygote;->applyDebuggerSystemProperty(Lcom/android/internal/os/ZygoteArg…
21555 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSecurityPolicy(Lcom/android/internal/os/ZygoteA…
21556 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSystemProperty(Lcom/android/internal/os/ZygoteA…
21557 HSPLcom/android/internal/os/Zygote;->applyUidSecurityPolicy(Lcom/android/internal/os/ZygoteArgument…
21558 HSPLcom/android/internal/os/Zygote;->callPostForkChildHooks(IZZLjava/lang/String;)V
21559 HSPLcom/android/internal/os/Zygote;->containsInetGid([I)Z
21560 HSPLcom/android/internal/os/Zygote;->createManagedSocketFromInitSocket(Ljava/lang/String;)Landroid/…
21561 HSPLcom/android/internal/os/Zygote;->forkAndSpecialize(II[II[[IILjava/lang/String;Ljava/lang/String…
21562 HSPLcom/android/internal/os/Zygote;->forkSystemServer(II[II[[IJJ)I
21563 HSPLcom/android/internal/os/Zygote;->getConfigurationProperty(Ljava/lang/String;Ljava/lang/String;)…
[all …]
/frameworks/base/config/
Dboot-image-profile.txt21618 HSPLcom/android/internal/os/Zygote;->applyDebuggerSystemProperty(Lcom/android/internal/os/ZygoteArg…
21619 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSecurityPolicy(Lcom/android/internal/os/ZygoteA…
21620 HSPLcom/android/internal/os/Zygote;->applyInvokeWithSystemProperty(Lcom/android/internal/os/ZygoteA…
21621 HSPLcom/android/internal/os/Zygote;->applyUidSecurityPolicy(Lcom/android/internal/os/ZygoteArgument…
21622 HSPLcom/android/internal/os/Zygote;->callPostForkChildHooks(IZZLjava/lang/String;)V
21623 HSPLcom/android/internal/os/Zygote;->containsInetGid([I)Z
21624 HSPLcom/android/internal/os/Zygote;->createManagedSocketFromInitSocket(Ljava/lang/String;)Landroid/…
21625 HSPLcom/android/internal/os/Zygote;->forkAndSpecialize(II[II[[IILjava/lang/String;Ljava/lang/String…
21626 HSPLcom/android/internal/os/Zygote;->forkSystemServer(II[II[[IJJ)I
21627 HSPLcom/android/internal/os/Zygote;->getConfigurationProperty(Ljava/lang/String;Ljava/lang/String;)…
[all …]

12