Home
last modified time | relevance | path

Searched refs:mPostureController (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinViewController.java39 private final DevicePostureController mPostureController; field in KeyguardPinViewController
70 mPostureController = postureController; in KeyguardPinViewController()
91 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()
92 mPostureController.addCallback(mPostureCallback); in onViewAttached()
114 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
DKeyguardPasswordViewController.java62 private final DevicePostureController mPostureController; field in KeyguardPasswordViewController
140 mPostureController = postureController; in KeyguardPasswordViewController()
164 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()
166 mPostureController.addCallback(mPostureCallback); in onViewAttached()
219 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
DKeyguardPatternViewController.java64 private final DevicePostureController mPostureController; field in KeyguardPatternViewController
214 mPostureController = postureController; in KeyguardPatternViewController()
244 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()
245 mPostureController.addCallback(mPostureCallback); in onViewAttached()
264 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPatternViewControllerTest.kt85 @Mock private lateinit var mPostureController: DevicePostureController variable in com.android.keyguard.KeyguardPatternViewControllerTest
113 mPostureController, in setup()
123 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onViewAttached_deviceHalfFolded_propagatedToPatternView()
133 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onDevicePostureChanged_deviceOpened_propagatedToPatternView()
141 verify(mPostureController).addCallback(postureCallbackCaptor.capture()) in onDevicePostureChanged_deviceOpened_propagatedToPatternView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java145 DevicePostureController mPostureController; field in VolumeDialogImplTest
182 when(mPostureController.getDevicePosture()) in setup()
214 mPostureController, in setup()
541 verify(mPostureController).addCallback(any()); in dialogInit_addsPostureControllerCallback()
546 verify(mPostureController, never()).removeCallback(any()); in dialogDestroy_removesPostureControllerCallback()
548 verify(mPostureController).removeCallback(any()); in dialogDestroy_removesPostureControllerCallback()
859 reset(mPostureController); in teardown()