Home
last modified time | relevance | path

Searched refs:AccessMethod (Results 1 – 8 of 8) sorted by relevance

/art/runtime/
Dhidden_api.cc64 static inline std::ostream& operator<<(std::ostream& os, AccessMethod value) { in operator <<()
66 case AccessMethod::kNone: in operator <<()
69 case AccessMethod::kReflection: in operator <<()
72 case AccessMethod::kJNI: in operator <<()
75 case AccessMethod::kLinking: in operator <<()
247 void MemberSignature::WarnAboutAccess(AccessMethod access_method, in WarnAboutAccess()
280 AccessMethod access_method, in LogAccessToEventLog()
283 if (access_method == AccessMethod::kLinking || access_method == AccessMethod::kNone) { in LogAccessToEventLog()
327 void MemberSignature::NotifyHiddenApiListener(AccessMethod access_method) { in NotifyHiddenApiListener()
328 if (access_method != AccessMethod::kReflection && access_method != AccessMethod::kJNI) { in NotifyHiddenApiListener()
[all …]
Dhidden_api.h53 enum class AccessMethod { enum
201 void WarnAboutAccess(AccessMethod access_method, ApiList list, bool access_denied);
203 void LogAccessToEventLog(uint32_t sampled_value, AccessMethod access_method, bool access_denied);
209 void NotifyHiddenApiListener(AccessMethod access_method);
222 AccessMethod access_method,
227 bool ShouldDenyAccessToMemberImpl(T* member, ApiList api_list, AccessMethod access_method)
398 AccessMethod access_method) in ShouldDenyAccessToMember()
507 AccessMethod access_method) in ShouldDenyAccessToMember()
Dhidden_api_test.cc190 /* access_method= */ hiddenapi::AccessMethod::kNone); in ShouldDenyAccess()
Dclass_linker.cc5453 hiddenapi::AccessMethod::kNone)); in InitializeClass()
9041 hiddenapi::AccessMethod::kNone)) { in FindResolvedMethod()
9053 hiddenapi::AccessMethod::kLinking); in FindResolvedMethod()
9088 hiddenapi::AccessMethod::kNone); // no warnings in CheckNoSuchMethod()
9234 hiddenapi::AccessMethod::kLinking)) { in ResolveMethodWithoutInvokeType()
9336 hiddenapi::AccessMethod::kLinking)) { in FindResolvedField()
9363 hiddenapi::AccessMethod::kLinking)) { in FindResolvedFieldJLS()
/art/runtime/native/
Djava_lang_Class.cc146 hiddenapi::AccessMethod::kReflection); in ShouldDenyAccessToMember()
163 member, access_context, hiddenapi::AccessMethod::kNone); in IsDiscoverable()
/art/runtime/mirror/
Dclass.cc1441 constexpr hiddenapi::AccessMethod access_method = hiddenapi::AccessMethod::kNone; in GetDeclaredMethodInternal()
/art/runtime/jni/
Djni_internal.cc180 hiddenapi::AccessMethod access_kind = hiddenapi::AccessMethod::kJNI) in ShouldDenyAccessToMember()
416 ShouldDenyAccessToMember(method, soa.Self(), hiddenapi::AccessMethod::kNone)) { in FindMethodJNI()
426 ShouldDenyAccessToMember(method, soa.Self(), hiddenapi::AccessMethod::kJNI); in FindMethodJNI()
/art/runtime/interpreter/
Dunstarted_runtime.cc206 constexpr hiddenapi::AccessMethod kAccessMethod = hiddenapi::AccessMethod::kReflection; in ShouldDenyAccessToMember()