Home
last modified time | relevance | path

Searched refs:is_system_server (Results 1 – 12 of 12) sorted by relevance

/aosp12/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc298 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 Dreporter.cc259 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 Dreporter.h70 static ReportingConfig FromFlags(bool is_system_server = false);
/aosp12/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.h33 pid_t ForkCommon(JNIEnv* env,bool is_system_server,
H A Dcom_android_internal_os_Zygote.cpp1560 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 Druntime.h191 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 Druntime.cc1036 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 Djit.h397 void PostForkChildAction(bool is_system_server, bool is_zygote);
H A Djit_code_cache.h379 void PostForkChildAction(bool is_system_server, bool is_zygote);
H A Djit.cc1664 void Jit::PostForkChildAction(bool is_system_server, bool is_zygote) { in PostForkChildAction() argument
1702 if (is_system_server && HasImageWithProfile()) { in PostForkChildAction()
H A Djit_code_cache.cc1792 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 Dlmkd.cpp1095 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()