Searched refs:SdkVersion (Results 1 – 13 of 13) sorted by relevance
/art/libartbase/base/ |
D | sdk_version.h | 25 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()
|
D | hiddenapi_flags.h | 149 static constexpr SdkVersion kMaxSdkVersions[] { 150 /* whitelist */ SdkVersion::kMax, 151 /* greylist */ SdkVersion::kMax, 152 /* blacklist */ SdkVersion::kMin, 153 /* greylist-max-o */ SdkVersion::kO_MR1, 154 /* greylist-max-p */ SdkVersion::kP, 155 /* greylist-max-q */ SdkVersion::kQ, 304 SdkVersion GetMaxAllowedSdkVersion() const { return kMaxSdkVersions[GetIntValue()]; } in GetMaxAllowedSdkVersion()
|
D | hiddenapi_flags.cc | 24 constexpr SdkVersion ApiList::kMaxSdkVersions[ApiList::kValueCount];
|
/art/runtime/ |
D | hidden_api.cc | 497 case SdkVersion::kP: in ShouldDenyAccessToMemberImpl() 500 case SdkVersion::kQ: in ShouldDenyAccessToMemberImpl()
|
D | runtime_options.def | 127 static_cast<unsigned int>(SdkVersion::kUnset))
|
D | oat_file_manager.cc | 1026 if (!IsSdkVersionSetAndAtLeast(runtime->GetTargetSdkVersion(), SdkVersion::kQ)) { in RunBackgroundVerification()
|
D | runtime.cc | 272 target_sdk_version_(static_cast<uint32_t>(SdkVersion::kUnset)), in Runtime()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 72 if (args.size() > 0 || IsSdkVersionSetAndAtMost(target_sdk_version, SdkVersion::kL)) { in InvokeProxyInvocationHandler()
|
D | entrypoint_utils-inl.h | 100 IsSdkVersionSetAndAtLeast(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kP); in GetResolvedMethod()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3768 ((C == CheckAccess::kYes && IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP)) in ResolveClass() 3771 if ((IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !referrer.IsUnresolvedTypes()) && in ResolveClass() 4669 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetStaticField() 4719 IsSdkVersionSetAndLessThan(api_level_, SdkVersion::kP)); in GetInstanceField() 4853 } else if (IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP)) { in VerifyISFieldAccess()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 264 target_sdk_version <= 0 ? static_cast<uint32_t>(SdkVersion::kUnset) in VMRuntime_setTargetSdkVersionNative()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 1082 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 144 if (IsSdkVersionSetAndAtMost(Runtime::Current()->GetTargetSdkVersion(), SdkVersion::kM)) { in IsVisibilityCompatible()
|