/aosp12/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 166 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures() 190 runtime->SetSafeMode(true); in EnableDebugFeatures() 210 runtime->SetJavaDebuggable(true); in EnableDebugFeatures() 214 runtime->DeoptimizeBootImage(); in EnableDebugFeatures() 226 runtime->SetNativeDebuggable(true); in EnableDebugFeatures() 256 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork() local 259 runtime->PreZygoteFork(); in ZygoteHooks_nativePreFork() 314 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePostForkChild() local 317 runtime->DisableVerifier(); in ZygoteHooks_nativePostForkChild() 349 if (runtime->GetJit() != nullptr) { in ZygoteHooks_nativePostForkChild() [all …]
|
/aosp12/art/test/2031-zygote-compiled-frame-deopt/ |
H A D | native-wait.cc | 38 Runtime* runtime = Runtime::Current(); in Java_art_Test2031_simulateZygoteFork() local 39 bool has_jit = runtime->GetJit() != nullptr; in Java_art_Test2031_simulateZygoteFork() 41 runtime->GetJit()->PreZygoteFork(); in Java_art_Test2031_simulateZygoteFork() 44 runtime->AddCompilerOption("--debuggable"); in Java_art_Test2031_simulateZygoteFork() 45 runtime->SetJavaDebuggable(true); in Java_art_Test2031_simulateZygoteFork() 49 runtime->DeoptimizeBootImage(); in Java_art_Test2031_simulateZygoteFork() 53 runtime->GetJitCodeCache()->PostForkChildAction(false, false); in Java_art_Test2031_simulateZygoteFork() 54 runtime->GetJit()->PostForkChildAction(false, false); in Java_art_Test2031_simulateZygoteFork() 56 runtime->GetJitCodeCache()->SetGarbageCollectCode(false); in Java_art_Test2031_simulateZygoteFork() 69 Runtime* runtime = Runtime::Current(); in Java_art_Test2031_setupJvmti() local [all …]
|
/aosp12/art/test/ |
H A D | run-test | 148 runtime="art" 202 runtime="jvm" 214 runtime="dalvik" 574 if [ ! "$runtime" = "jvm" ]; then 580 …run_args+=(--runtime-option -Xgc:preverify --runtime-option -Xgc:postverify --runtime-option -XX:H… 583 run_args+=(--runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc) 586 …run_args+=(--gc-stress --runtime-option -Xgc:gcstress --runtime-option -Xms2m --runtime-option -Xm… 670 if [ ! "$runtime" = "jvm" ]; then 682 elif [ "$runtime" = "art" ]; then 701 elif [ "$runtime" = "jvm" ]; then [all …]
|
/aosp12/bionic/apex/ |
H A D | Android.bp | 4 // It keeps the name /apex/com.android.runtime for app compat reasons. 22 name: "com.android.runtime.certificate", 23 certificate: "com.android.runtime", 27 name: "com.android.runtime.key", 28 public_key: "com.android.runtime.avbpubkey", 29 private_key: "com.android.runtime.pem", 33 name: "com.android.runtime", 55 key: "com.android.runtime.key", 56 certificate: ":com.android.runtime.certificate", 65 name: "runtime-module-sdk", [all …]
|
/aosp12/system/bt/gd/rust/common/src/ |
H A D | time.rs | 90 let runtime = tokio::runtime::Runtime::new().unwrap(); in alarm_simple_case() localVariable 91 runtime.block_on(async { in alarm_simple_case() 105 let runtime = tokio::runtime::Runtime::new().unwrap(); in alarm_clear_ready_after_expired() localVariable 106 runtime.block_on(async { in alarm_clear_ready_after_expired() 124 let runtime = tokio::runtime::Runtime::new().unwrap(); in interval_schedule_and_then_drop() localVariable 125 runtime.block_on(async { in interval_schedule_and_then_drop() 132 let runtime = tokio::runtime::Runtime::new().unwrap(); in interval_simple_case() localVariable 133 runtime.block_on(async { in interval_simple_case()
|
/aosp12/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/ccil/
org/ ... |
/aosp12/art/runtime/ |
H A D | scoped_disable_public_sdk_checker.h | 28 Runtime* runtime = Runtime::Current(); in ScopedDisablePublicSdkChecker() local 29 if (UNLIKELY(runtime->IsAotCompiler())) { in ScopedDisablePublicSdkChecker() 30 runtime->GetClassLinker()->SetEnablePublicSdkChecks(false); in ScopedDisablePublicSdkChecker() 35 Runtime* runtime = Runtime::Current(); in ~ScopedDisablePublicSdkChecker() local 36 if (UNLIKELY(runtime->IsAotCompiler())) { in ~ScopedDisablePublicSdkChecker() 37 runtime->GetClassLinker()->SetEnablePublicSdkChecks(true); in ~ScopedDisablePublicSdkChecker()
|
H A D | signal_catcher.cc | 118 Runtime* runtime = Runtime::Current(); in HandleSigQuit() local 127 std::string fingerprint = runtime->GetFingerprint(); in HandleSigQuit() 129 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit() 133 runtime->DumpForSigQuit(os); in HandleSigQuit() 175 Runtime* runtime = Runtime::Current(); in Run() local 176 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run() 177 !runtime->IsAotCompiler())); in Run() 195 runtime->DetachCurrentThread(); in Run()
|
H A D | aot_class_linker.cc | 50 Runtime* const runtime = Runtime::Current(); in InitializeClass() local 51 bool strict_mode = runtime->IsActiveStrictTransactionMode(); in InitializeClass() 62 if (!strict_mode && runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in InitializeClass() 63 if (runtime->IsActiveTransaction()) { in InitializeClass() 64 runtime->AbortTransactionAndThrowAbortError(self, "Can't initialize " + klass->PrettyTypeOf() in InitializeClass() 73 runtime->AbortTransactionAndThrowAbortError(self, "Can't resolve " in InitializeClass() 82 runtime->AbortTransactionAndThrowAbortError(self, "Can't resolve " in InitializeClass() 89 runtime->EnterTransactionMode(/*strict=*/ true, klass.Get()); in InitializeClass() 96 runtime->ExitTransactionMode(); in InitializeClass() 112 Runtime* const runtime = Runtime::Current(); in PerformClassVerification() local [all …]
|
H A D | art_method.cc | 330 Runtime* runtime = Runtime::Current(); in Invoke() local 335 if (UNLIKELY(!runtime->IsStarted() || in Invoke() 360 CHECK(!runtime->UseJitCompilation()); in Invoke() 547 Runtime* runtime = Runtime::Current(); in GetOatQuickMethodHeader() local 577 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader() 650 Runtime* runtime = Runtime::Current(); in HasAnyCompiledCode() local 651 jit::Jit* jit = runtime->GetJit(); in HasAnyCompiledCode() 734 Runtime* runtime = Runtime::Current(); in CopyFrom() local 735 if (runtime->UseJitCompilation()) { in CopyFrom() 773 Runtime* runtime = Runtime::Current(); in IsImagePointerSize() local [all …]
|
H A D | instrumentation_test.cc | 271 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() local 287 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() local 302 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() local 317 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() local 332 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() local 344 Runtime* runtime = Runtime::Current(); in DisableMethodTracing() local 503 Runtime* const runtime = Runtime::Current(); in TEST_F() local 523 Runtime* const runtime = Runtime::Current(); in TEST_F() local 544 Runtime* const runtime = Runtime::Current(); in TEST_F() local 579 Runtime* const runtime = Runtime::Current(); in TEST_F() local [all …]
|
H A D | hidden_api.cc | 290 Runtime* runtime = Runtime::Current(); in LogAccessToEventLog() local 291 if (runtime->IsAotCompiler()) { in LogAccessToEventLog() 333 Runtime* runtime = Runtime::Current(); in NotifyHiddenApiListener() local 334 if (!runtime->IsAotCompiler()) { in NotifyHiddenApiListener() 375 !runtime->IsAotCompiler() && in MaybeUpdateAccessFlags() 376 runtime->ShouldDedupeHiddenApiWarnings()) { in MaybeUpdateAccessFlags() 497 Runtime* runtime = Runtime::Current(); in ShouldDenyAccessToMemberImpl() local 498 CompatFramework& compatFramework = runtime->GetCompatFramework(); in ShouldDenyAccessToMemberImpl() 511 MaybeUpdateAccessFlags(runtime, member, kAccPublicApi); in ShouldDenyAccessToMemberImpl() 543 if (kLogAllAccesses || deny_access || runtime->IsJavaDebuggable()) { in ShouldDenyAccessToMemberImpl() [all …]
|
/aosp12/art/compiler/jit/ |
H A D | jit_compiler.cc | 48 Runtime* runtime = Runtime::Current(); in ParseCompilerOptions() local 51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions() 59 compiler_options_->compiler_type_ = runtime->IsZygote() in ParseCompilerOptions() 68 compiler_options_->SetDebuggable(runtime->IsJavaDebuggable()); in ParseCompilerOptions() 78 for (const std::string& option : runtime->GetCompilerOptions()) { in ParseCompilerOptions() 179 Runtime* runtime = Runtime::Current(); in CompileMethod() local 190 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in CompileMethod() 191 metrics::AutoTimer timer{runtime->GetMetrics()->JitMethodCompileTotalTime()}; in CompileMethod() 197 runtime->GetMetrics()->JitMethodCompileCount()->AddOne(); in CompileMethod() 204 runtime->GetJitArenaPool()->TrimMaps(); in CompileMethod() [all …]
|
/aosp12/art/test/595-profile-saving/ |
H A D | run | 25 --runtime-option '-Xcompiler-option --compiler-filter=quicken' \ 26 --runtime-option -Xjitinitialsize:32M \ 27 --runtime-option -Xjitsaveprofilinginfo \ 28 --runtime-option -Xusejit:false \ 29 --runtime-option -Xps-profile-boot-class-path \
|
/aosp12/libnativehelper/tests_mts/ |
H A D | README.md | 4 the runtime is initialized. 7 runtime (DalvikVM), that preclude the initialization of the runtime, nor do 24 `JniInvocationInit()` is responsible for binding the ART runtime and 36 because Android only supports a single runtime per process. 39 runtime to load (release, debug, or custom). The code responsible for that 42 `jniUninitializeConstants` is only intended to be called when the runtime is
|
/aosp12/art/test/909-attach-agent/ |
H A D | run | 60 ./default-run "$@" --android-runtime-option -Xplugin:${plugin} \ 61 --android-runtime-option -Xcompiler-option \ 62 --android-runtime-option --debuggable \ 67 ./default-run "$@" --android-runtime-option -Xcompiler-option \ 68 --android-runtime-option --debuggable \
|
/aosp12/art/test/1000-non-moving-space-stress/src-art/ |
H A D | Main.java | 22 VMRuntime runtime = VMRuntime.getRuntime(); in main() local 29 $noinline$Alloc(runtime); in main() 47 static void $noinline$Alloc(VMRuntime runtime) { in $noinline$Alloc() argument 48 Object[] non_moving_array = (Object[]) runtime.newNonMovableArray(Object.class, 1); in $noinline$Alloc()
|
/aosp12/build/blueprint/bootstrap/ |
H A D | config.go | 51 goroot := runtime.GOROOT() 63 return "$goRoot/pkg/tool/" + runtime.GOOS + "_" + runtime.GOARCH + "/compile" 66 return "$goRoot/pkg/tool/" + runtime.GOOS + "_" + runtime.GOARCH + "/link"
|
/aosp12/frameworks/rs/script_api/ |
H A D | rs_core.spec | 20 RenderScript is a high-performance runtime that provides compute operations at the native level. 21 RenderScript code is compiled on devices at runtime to allow platform-independence as well. 23 This reference documentation describes the RenderScript runtime APIs, which you can utilize 27 To use RenderScript, you need to utilize the RenderScript runtime APIs documented here as well 31 For more information on how to develop with RenderScript and how the runtime and Android
|
/aosp12/art/test/004-NativeAllocations/src-art/ |
H A D | Main.java | 24 static VMRuntime runtime = VMRuntime.getRuntime(); field in Main 58 runtime.registerNativeAllocation(size); in checkRegisterNativeAllocation() 76 runtime.registerNativeFree(size); in checkRegisterNativeAllocation() 93 runtime.registerNativeAllocation(size); in triggerBlockingRegisterNativeAllocation() 98 runtime.registerNativeFree(size); in triggerBlockingRegisterNativeAllocation()
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_jni.cc | 66 art::Runtime* runtime = art::Runtime::Current(); in GetJNIFunctionTable() local 67 if (runtime != nullptr && runtime->GetJavaVM() != nullptr) { in GetJNIFunctionTable() 68 check_jni = runtime->GetJavaVM()->IsCheckJniEnabled(); in GetJNIFunctionTable()
|
/aosp12/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 185 AppRuntime runtime(argv[0], computeArgBlockSize(argc, argv)); in main() local 223 runtime.addOption(strdup(argv[i])); in main() 249 runtime.addOption(strdup(argv[i])); in main() 292 runtime.setClassNameAndArgs(className, argc - i, argv + i); in main() 332 runtime.setArgv0(niceName.string(), true /* setProcName */); in main() 336 runtime.start("com.android.internal.os.ZygoteInit", args, zygote); in main() 338 runtime.start("com.android.internal.os.RuntimeInit", args, zygote); in main()
|
/aosp12/art/test/821-madvise-willneed/ |
H A D | run | 19 exec ${RUN} "${@}" --runtime-option -XMadviseWillNeedVdexFileSize:104857600 \ 20 --runtime-option -XMadviseWillNeedOdexFileSize:104857600 \ 21 --runtime-option -XMadviseWillNeedArtFileSize:104857600
|
/aosp12/art/runtime/gc/ |
H A D | heap_verification_test.cc | 106 Runtime* const runtime = Runtime::Current(); in TEST_F() local 108 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 124 Runtime* const runtime = Runtime::Current(); in TEST_F() local 130 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 150 Runtime* const runtime = Runtime::Current(); in TEST_F() local 157 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 170 Runtime* const runtime = Runtime::Current(); in TEST_F() local 176 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F()
|
/aosp12/art/test/005-annotations/src/android/test/anno/ |
H A D | TestAnnotations.java | 166 Object runtime = VMRuntime.getRuntime(); in testVisibilityCompatibility() local 167 int currentSdkVersion = VMRuntime.getTargetSdkVersion(runtime); in testVisibilityCompatibility() 170 VMRuntime.setTargetSdkVersion(runtime, oldSdkVersion); in testVisibilityCompatibility() 177 VMRuntime.setTargetSdkVersion(runtime, currentSdkVersion); in testVisibilityCompatibility() 291 public static int getTargetSdkVersion(Object runtime) throws Exception { in getTargetSdkVersion() argument 292 return (int) getTargetSdkVersionMethod.invoke(runtime); in getTargetSdkVersion() 295 public static void setTargetSdkVersion(Object runtime, int version) throws Exception { in setTargetSdkVersion() argument 296 setTargetSdkVersionMethod.invoke(runtime, version); in setTargetSdkVersion()
|