Lines Matching refs:occlusionInfo
3207 bool InputDispatcher::isTouchTrustedLocked(const TouchOcclusionInfo& occlusionInfo) const { in isTouchTrustedLocked()
3208 if (occlusionInfo.hasBlockingOcclusion) { in isTouchTrustedLocked()
3209 ALOGW("Untrusted touch due to occlusion by %s/%s", occlusionInfo.obscuringPackage.c_str(), in isTouchTrustedLocked()
3210 occlusionInfo.obscuringUid.toString().c_str()); in isTouchTrustedLocked()
3213 if (occlusionInfo.obscuringOpacity > mMaximumObscuringOpacityForTouch) { in isTouchTrustedLocked()
3216 occlusionInfo.obscuringPackage.c_str(), occlusionInfo.obscuringUid.toString().c_str(), in isTouchTrustedLocked()
3217 occlusionInfo.obscuringOpacity, mMaximumObscuringOpacityForTouch); in isTouchTrustedLocked()
5255 TouchOcclusionInfo occlusionInfo = computeTouchOcclusionInfoLocked(window, x, y); in canWindowReceiveMotionLocked() local
5256 if (!isTouchTrustedLocked(occlusionInfo)) { in canWindowReceiveMotionLocked()
5259 for (const auto& log : occlusionInfo.debugInfo) { in canWindowReceiveMotionLocked()
5263 ALOGW("Dropping untrusted touch event due to %s/%s", occlusionInfo.obscuringPackage.c_str(), in canWindowReceiveMotionLocked()
5264 occlusionInfo.obscuringUid.toString().c_str()); in canWindowReceiveMotionLocked()