Searched refs:mMockDisplayContent (Results 1 – 1 of 1) sorted by relevance
121 private DisplayContent mMockDisplayContent; field in DisplayRotationTests217 verify(mMockDisplayWindowSettings).setUserRotation(mMockDisplayContent, in testPersistsUserRotation_LockRotation_NonDefaultDisplay()224 when(mMockDisplayContent.getDisplay().getType()).thenReturn(Display.TYPE_INTERNAL); in testUserRotationSystemProperty_NonDefault_InternalDisplay()239 when(mMockDisplayContent.getDisplay().getType()).thenReturn(Display.TYPE_EXTERNAL); in testUserRotationSystemProperty_NonDefault_ExternalDisplay()254 when(mMockDisplayContent.getDisplay().getType()).thenReturn(Display.TYPE_OVERLAY); in testUserRotationSystemProperty_NonDefault_OverlayDisplay()269 when(mMockDisplayContent.getDisplay().getType()).thenReturn(Display.TYPE_VIRTUAL); in testUserRotationSystemProperty_NonDefault_VirtualDisplay()271 when(mMockDisplayContent.getDisplay().getOwnerPackageName()).thenReturn(packageName); in testUserRotationSystemProperty_NonDefault_VirtualDisplay()314 verify(mMockDisplayWindowSettings).setUserRotation(same(mMockDisplayContent), in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()324 verify(mMockDisplayWindowSettings).setFixedToUserRotation(mMockDisplayContent, in testPersistsFixedToUserRotation()330 verify(mMockDisplayWindowSettings).setFixedToUserRotation(mMockDisplayContent, in testPersistsFixedToUserRotation()[all …]