Searched refs:BinderCallType (Results 1 – 5 of 5) sorted by relevance
30 enum class BinderCallType { enum38 inline static BinderCallType getCurrentServingCall() { in getCurrentServingCall()46 if (hwbinderSp == nullptr && binderSp == nullptr) return BinderCallType::NONE; in getCurrentServingCall()47 if (hwbinderSp == nullptr) return BinderCallType::BINDER; in getCurrentServingCall()48 if (binderSp == nullptr) return BinderCallType::HWBINDER; in getCurrentServingCall()50 if (hwbinderSp < binderSp) return BinderCallType::HWBINDER; in getCurrentServingCall()51 return BinderCallType::BINDER; in getCurrentServingCall()
33 using android::BinderCallType;93 static inline std::ostream& operator<<(std::ostream& o, const BinderCallType& s) { in operator <<()94 return o << static_cast<std::underlying_type_t<BinderCallType>>(s); in operator <<()104 CHECK_EQ(BinderCallType::NONE, getCurrentServingCall()); in callLocal()112 CHECK_EQ(BinderCallType::HWBINDER, getCurrentServingCall()) in call()121 CHECK_EQ(BinderCallType::HWBINDER, getCurrentServingCall()) in call()133 CHECK_EQ(BinderCallType::NONE, getCurrentServingCall()); in callLocal()140 CHECK_EQ(BinderCallType::BINDER, getCurrentServingCall()) in call()149 CHECK_EQ(BinderCallType::BINDER, getCurrentServingCall()) in call()
29 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingUid()40 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingPid()
54 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingUid()61 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingPid()68 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in clearCallingIdentity()75 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in restoreCallingIdentity()
1031 return getCurrentServingCall() == BinderCallType::BINDER; in android_os_Binder_isDirectlyHandlingTransactionNative()