Searched refs:BinderCallType (Results 1 – 6 of 6) sorted by relevance
30 enum class BinderCallType { enum38 inline static BinderCallType getCurrentServingCall() { in getCurrentServingCall()42 if (hwbinderSp == nullptr && binderSp == nullptr) return BinderCallType::NONE; in getCurrentServingCall()43 if (hwbinderSp == nullptr) return BinderCallType::BINDER; in getCurrentServingCall()44 if (binderSp == nullptr) return BinderCallType::HWBINDER; in getCurrentServingCall()46 if (hwbinderSp < binderSp) return BinderCallType::HWBINDER; in getCurrentServingCall()47 return BinderCallType::BINDER; in getCurrentServingCall()
26 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingUid()33 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingPid()40 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in clearCallingIdentity()47 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in restoreCallingIdentity()
27 using android::BinderCallType;82 CHECK(BinderCallType::NONE == getCurrentServingCall()); in callLocal()88 CHECK(BinderCallType::HWBINDER == getCurrentServingCall()); in call()96 CHECK(BinderCallType::HWBINDER == getCurrentServingCall()); in call()107 CHECK(BinderCallType::NONE == getCurrentServingCall()); in callLocal()113 CHECK(BinderCallType::BINDER == getCurrentServingCall()); in call()121 CHECK(BinderCallType::BINDER == getCurrentServingCall()); in call()
29 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingUid()40 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in getCallingPid()
1197 if (getCurrentServingCall() != BinderCallType::HWBINDER && callingPid != getpid() && in validateClientPermissionsLocked()1557 if (getCurrentServingCall() != BinderCallType::HWBINDER && in shouldRejectSystemCameraConnection()1566 if (getCurrentServingCall() != BinderCallType::HWBINDER && in shouldRejectSystemCameraConnection()1592 if (getCurrentServingCall() == BinderCallType::HWBINDER) { in connectDevice()2808 if (getCurrentServingCall() != BinderCallType::HWBINDER) { in BasicClient()3490 bool isVendorClient = getCurrentServingCall() == BinderCallType::HWBINDER; in makeClientDescriptor()
954 return getCurrentServingCall() == BinderCallType::BINDER; in android_os_Binder_isHandlingTransaction()