Home | History | Annotate | Download | only in runtime

Lines Matching refs:runtime

229   Runtime* runtime = Runtime::Current();
230 if (runtime->IsAotCompiler()) {
234 const std::string& package_name = Runtime::Current()->GetProcessPackageName();
272 Runtime* runtime = Runtime::Current();
273 if (!runtime->IsAotCompiler()) {
307 static ALWAYS_INLINE void MaybeUpdateAccessFlags(Runtime* runtime, T* member, uint32_t flag)
314 !runtime->IsAotCompiler() &&
315 runtime->ShouldDedupeHiddenApiWarnings()) {
353 DCHECK(!declaring_class.IsNull()) << "Attempting to access a runtime method";
425 MaybeUpdateAccessFlags(Runtime::Current(), member, kAccCorePlatformApi);
436 Runtime* runtime = Runtime::Current();
438 EnforcementPolicy policy = runtime->GetHiddenApiEnforcementPolicy();
444 IsSdkVersionSetAndMoreThan(runtime->GetTargetSdkVersion(),
450 if (member_signature.IsExempted(runtime->GetHiddenApiExemptions())) {
454 MaybeUpdateAccessFlags(runtime, member, kAccPublicApi);
461 if (kLogAllAccesses || deny_access || runtime->IsJavaDebuggable()) {
470 uint32_t eventLogSampleRate = runtime->GetHiddenApiEventLogSampleRate();
484 MaybeUpdateAccessFlags(runtime, member, kAccPublicApi);