1# Bouncer 2 3[KeyguardBouncer][1] is the component responsible for displaying the security method set by the user (password, PIN, pattern) as well as SIM-related security methods, allowing the user to unlock the device or SIM. 4 5## Components 6 7The bouncer contains a hierarchy of controllers/views to render the user's security method and to manage the authentication attempts. 8 91. [KeyguardBouncer][1] - Entrypoint for managing the bouncer visibility. 10 1. [KeyguardHostViewController][2] - Intercepts media keys. Can most likely be merged with the next item. 11 1. [KeyguardSecurityContainerController][3] - Manages unlock attempt responses, one-handed use 12 1. [KeyguardSecurityViewFlipperController][4] - Based upon the [KeyguardSecurityModel#SecurityMode][5], will instantiate the required view and controller. PIN, Pattern, etc. 13 14[1]: /frameworks/base/packages/SystemUI/com/android/systemui/statusbar/phone/KeyguardBouncer 15[2]: /frameworks/base/packages/SystemUI/com/android/keyguard/KeyguardHostViewController 16[3]: /frameworks/base/packages/SystemUI/com/android/keyguard/KeyguardSecurityContainerController 17[4]: /frameworks/base/packages/SystemUI/com/android/keyguard/KeyguardSecurityViewFlipperController 18[5]: /frameworks/base/packages/SystemUI/com/android/keyguard/KeyguardSecurityModel 19