Home
last modified time | relevance | path

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

/art/libartbase/base/
Dsdk_version.h25 enum class SdkVersion : uint32_t { enum
45 inline bool IsSdkVersionSetAndMoreThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndMoreThan()
46 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs > static_cast<uint32_t>(rhs); in IsSdkVersionSetAndMoreThan()
49 inline bool IsSdkVersionSetAndAtLeast(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtLeast()
50 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs >= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtLeast()
53 inline bool IsSdkVersionSetAndAtMost(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtMost()
54 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs <= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtMost()
57 inline bool IsSdkVersionSetAndLessThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndLessThan()
58 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs < static_cast<uint32_t>(rhs); in IsSdkVersionSetAndLessThan()
Dhiddenapi_flags.h157 static constexpr SdkVersion kMaxSdkVersions[] {
158 /* sdk */ SdkVersion::kMax,
159 /* unsupported */ SdkVersion::kMax,
160 /* blocklist */ SdkVersion::kMin,
161 /* max-target-o */ SdkVersion::kO_MR1,
162 /* max-target-p */ SdkVersion::kP,
163 /* max-target-q */ SdkVersion::kQ,
164 /* max-target-r */ SdkVersion::kR,
165 /* max-target-s */ SdkVersion::kS,
327 SdkVersion GetMaxAllowedSdkVersion() const { return kMaxSdkVersions[GetIntValue()]; } in GetMaxAllowedSdkVersion()
/art/runtime/
Dhidden_api.cc606 case SdkVersion::kP: in ShouldDenyAccessToMemberImpl()
609 case SdkVersion::kQ: in ShouldDenyAccessToMemberImpl()
Druntime_options.def140 static_cast<unsigned int>(SdkVersion::kUnset))
Druntime.cc291 target_sdk_version_(static_cast<uint32_t>(SdkVersion::kUnset)), in Runtime()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc253 target_sdk_version <= 0 ? static_cast<uint32_t>(SdkVersion::kUnset) in VMRuntime_setTargetSdkVersionNative()
593 if (Runtime::Current()->GetTargetSdkVersion() <= static_cast<uint32_t>(SdkVersion::kU)) { in register_dalvik_system_VMRuntime()
/art/runtime/entrypoints/
Dentrypoint_utils.cc82 if (args.size() > 0 || IsSdkVersionSetAndAtMost(target_sdk_version, SdkVersion::kL)) { in InvokeProxyInvocationHandler()
/art/runtime/verifier/
Dmethod_verifier.cc3631 ((C == CheckAccess::kYes && IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP)) in ResolveClass()
3634 if ((IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !referrer.IsUnresolvedTypes()) && in ResolveClass()
4522 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetStaticField()
4569 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetInstanceField()
4715 } else if (IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP)) { in VerifyISFieldAccess()
4894 if (IsAotMode() || IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kS_V2)) { in PotentiallyMarkRuntimeThrow()
/art/runtime/oat/
Doat_file_manager.cc815 if (!IsSdkVersionSetAndAtLeast(runtime->GetTargetSdkVersion(), SdkVersion::kQ)) { in RunBackgroundVerification()
/art/runtime/jni/
Djava_vm_ext.cc1119 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
/art/runtime/mirror/
Dclass.cc2207 if (IsSdkVersionSetAndAtMost(targetSdkVersion, SdkVersion::kT)) { in CheckIsVisibleWithTargetSdk()
/art/runtime/dex/
Ddex_file_annotations.cc143 if (IsSdkVersionSetAndAtMost(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kM)) { in IsVisibilityCompatible()