/aosp12/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 298 jboolean is_system_server, in ZygoteHooks_nativePostForkChild() argument 301 DCHECK(!(is_system_server && is_zygote)); in ZygoteHooks_nativePostForkChild() 306 Runtime::Current()->SetAsZygoteChild(is_system_server, is_zygote); in ZygoteHooks_nativePostForkChild() 321 if ((runtime_flags & ONLY_USE_TRUSTED_OAT_FILES) != 0 || is_system_server) { in ZygoteHooks_nativePostForkChild() 350 if (!is_system_server) { in ZygoteHooks_nativePostForkChild() 356 runtime->GetJit()->PostForkChildAction(is_system_server, is_zygote); in ZygoteHooks_nativePostForkChild() 402 DCHECK(!(is_system_server && do_hidden_api_checks)) in ZygoteHooks_nativePostForkChild() 416 if (instruction_set != nullptr && !is_system_server) { in ZygoteHooks_nativePostForkChild() 423 runtime->InitNonZygoteOrPostFork(env, is_system_server, is_zygote, action, isa_string.c_str()); in ZygoteHooks_nativePostForkChild() 427 is_system_server, in ZygoteHooks_nativePostForkChild()
|
/aosp12/art/runtime/metrics/ |
H A D | reporter.cc | 259 ReportingConfig ReportingConfig::FromFlags(bool is_system_server) { in FromFlags() argument 260 std::optional<std::string> spec_str = is_system_server in FromFlags() 275 uint32_t reporting_num_mods = is_system_server in FromFlags() 278 uint32_t reporting_mods = is_system_server in FromFlags()
|
H A D | reporter.h | 70 static ReportingConfig FromFlags(bool is_system_server = false);
|
/aosp12/frameworks/base/core/jni/ |
H A D | com_android_internal_os_Zygote.h | 33 pid_t ForkCommon(JNIEnv* env,bool is_system_server,
|
H A D | com_android_internal_os_Zygote.cpp | 1560 bool is_system_server, bool is_child_zygote, in SpecializeCommon() argument 1565 const char* process_name = is_system_server ? "system_server" : "zygote"; in SpecializeCommon() 1612 if (!is_system_server && getuid() == 0) { in SpecializeCommon() 1632 if (is_system_server) { in SpecializeCommon() 1761 if (selinux_android_setcontext(uid, is_system_server, se_info_ptr, nice_name_ptr) == -1) { in SpecializeCommon() 1763 is_system_server, se_info_ptr, nice_name_ptr)); in SpecializeCommon() 1770 } else if (is_system_server) { in SpecializeCommon() 1777 if (is_system_server) { in SpecializeCommon() 1795 is_system_server, is_child_zygote, managed_instruction_set); in SpecializeCommon() 2041 pid_t zygote::ForkCommon(JNIEnv* env, bool is_system_server, in ForkCommon() argument [all …]
|
/aosp12/art/runtime/ |
H A D | runtime.h | 191 void SetAsZygoteChild(bool is_system_server, bool is_zygote) { in SetAsZygoteChild() argument 193 CHECK_EQ(is_system_server_, is_system_server); in SetAsZygoteChild() 526 bool is_system_server,
|
H A D | runtime.cc | 1036 bool is_system_server, in InitNonZygoteOrPostFork() argument 1066 if (is_system_server) { in InitNonZygoteOrPostFork() 1097 if (!is_system_server) { in InitNonZygoteOrPostFork() 1118 metrics::ReportingConfig::FromFlags(is_system_server); in InitNonZygoteOrPostFork()
|
/aosp12/art/runtime/jit/ |
H A D | jit.h | 397 void PostForkChildAction(bool is_system_server, bool is_zygote);
|
H A D | jit_code_cache.h | 379 void PostForkChildAction(bool is_system_server, bool is_zygote);
|
H A D | jit.cc | 1664 void Jit::PostForkChildAction(bool is_system_server, bool is_zygote) { in PostForkChildAction() argument 1702 if (is_system_server && HasImageWithProfile()) { in PostForkChildAction()
|
H A D | jit_code_cache.cc | 1792 void JitCodeCache::PostForkChildAction(bool is_system_server, bool is_zygote) { in PostForkChildAction() argument 1830 /* rwx_memory_allowed= */ !is_system_server, in PostForkChildAction()
|
/aosp12/system/memory/lmkd/ |
H A D | lmkd.cpp | 1095 bool is_system_server; in cmd_procprio() local 1178 is_system_server = (params.oomadj == SYSTEM_ADJ && in cmd_procprio() 1181 writefilestring(path, val, !is_system_server); in cmd_procprio()
|