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
40 inline bool IsSdkVersionSetAndMoreThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndMoreThan()
41 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs > static_cast<uint32_t>(rhs); in IsSdkVersionSetAndMoreThan()
44 inline bool IsSdkVersionSetAndAtLeast(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtLeast()
45 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs >= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtLeast()
48 inline bool IsSdkVersionSetAndAtMost(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtMost()
49 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs <= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtMost()
52 inline bool IsSdkVersionSetAndLessThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndLessThan()
53 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs < static_cast<uint32_t>(rhs); in IsSdkVersionSetAndLessThan()
Dhiddenapi_flags.h138 static constexpr SdkVersion kMaxSdkVersions[] {
139 /* whitelist */ SdkVersion::kMax,
140 /* greylist */ SdkVersion::kMax,
141 /* blacklist */ SdkVersion::kMin,
142 /* greylist-max-o */ SdkVersion::kO_MR1,
143 /* greylist-max-p */ SdkVersion::kP,
279 SdkVersion GetMaxAllowedSdkVersion() const { return kMaxSdkVersions[GetIntValue()]; } in GetMaxAllowedSdkVersion()
Dhiddenapi_flags.cc24 constexpr SdkVersion ApiList::kMaxSdkVersions[ApiList::kValueCount];
/art/runtime/entrypoints/
Dentrypoint_utils.cc72 if (args.size() > 0 || IsSdkVersionSetAndAtMost(target_sdk_version, SdkVersion::kL)) { in InvokeProxyInvocationHandler()
Dentrypoint_utils-inl.h99 IsSdkVersionSetAndAtLeast(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kP); in GetResolvedMethod()
/art/runtime/
Druntime_options.def122 static_cast<unsigned int>(SdkVersion::kUnset))
Doat_file_manager.cc986 if (!IsSdkVersionSetAndAtLeast(runtime->GetTargetSdkVersion(), SdkVersion::kQ)) { in RunBackgroundVerification()
Druntime.cc268 target_sdk_version_(static_cast<uint32_t>(SdkVersion::kUnset)), in Runtime()
/art/runtime/verifier/
Dmethod_verifier.cc3760 (IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !result->IsUnresolvedTypes())) { in ResolveClass()
3762 if ((IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !referrer.IsUnresolvedTypes()) && in ResolveClass()
4664 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetStaticField()
4708 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetInstanceField()
4847 } else if (IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP)) { in VerifyISFieldAccess()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc265 target_sdk_version <= 0 ? static_cast<uint32_t>(SdkVersion::kUnset) in VMRuntime_setTargetSdkVersionNative()
/art/runtime/jni/
Djava_vm_ext.cc1075 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
/art/runtime/dex/
Ddex_file_annotations.cc144 if (IsSdkVersionSetAndAtMost(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kM)) { in IsVisibilityCompatible()