Searched refs:mPostureController (Results 1 – 5 of 5) sorted by relevance
39 private final DevicePostureController mPostureController; field in KeyguardPinViewController70 mPostureController = postureController; in KeyguardPinViewController()91 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()92 mPostureController.addCallback(mPostureCallback); in onViewAttached()114 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
62 private final DevicePostureController mPostureController; field in KeyguardPasswordViewController140 mPostureController = postureController; in KeyguardPasswordViewController()164 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()166 mPostureController.addCallback(mPostureCallback); in onViewAttached()219 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
64 private final DevicePostureController mPostureController; field in KeyguardPatternViewController214 mPostureController = postureController; in KeyguardPatternViewController()244 mView.onDevicePostureChanged(mPostureController.getDevicePosture()); in onViewAttached()245 mPostureController.addCallback(mPostureCallback); in onViewAttached()264 mPostureController.removeCallback(mPostureCallback); in onViewDetached()
85 @Mock private lateinit var mPostureController: DevicePostureController variable in com.android.keyguard.KeyguardPatternViewControllerTest113 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()
145 DevicePostureController mPostureController; field in VolumeDialogImplTest182 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()