Searched refs:mStatusBarManager (Results 1 – 3 of 3) sorted by relevance
45 private StatusBarManager mStatusBarManager; field in StatusBarManagerTest61 mStatusBarManager = (StatusBarManager) mContext.getSystemService( in setUp()70 if (mStatusBarManager != null) { in tearDown()73 mStatusBarManager.setDisabledForSetup(false); in tearDown()85 mStatusBarManager.setDisabledForSetup(true); in testDisableForSetup_setDisabledTrue()88 assertDefaultFlagsArePresent(mStatusBarManager.getDisableInfo()); in testDisableForSetup_setDisabledTrue()106 mStatusBarManager.setDisabledForSetup(true); in testDisableForSetup_setDisabledFalse()107 mStatusBarManager.setDisabledForSetup(false); in testDisableForSetup_setDisabledFalse()109 DisableInfo info = mStatusBarManager.getDisableInfo(); in testDisableForSetup_setDisabledFalse()116 mStatusBarManager.setExpansionDisabledForSimNetworkLock(true); in testDisableForSimLock_setDisabledTrue()[all …]
37 private StatusBarManager mStatusBarManager; field in StatusBarManagerApi30Test48 mStatusBarManager = mContext.getSystemService(StatusBarManager.class); in setUp()53 mStatusBarManager.collapsePanels(); in testCollapsePanels_withoutStatusBarPermission_doesNotThrow()60 mStatusBarManager.togglePanel(); in testTogglePanel_withoutStatusBarPermission_doesNotThrow()67 mStatusBarManager.handleSystemKey(KeyEvent.KEYCODE_SYSTEM_NAVIGATION_UP); in testHandleSystemKey_withoutStatusBarPermission_doesNotThrow()
79 private StatusBarManager mStatusBarManager; field in NotificationAssistantServiceTest95 mStatusBarManager = (StatusBarManager) mContext.getSystemService( in setUp()575 mStatusBarManager.collapsePanels();578 mStatusBarManager.expandNotificationsPanel();582 mStatusBarManager.collapsePanels();602 mStatusBarManager.collapsePanels();607 mStatusBarManager.expandNotificationsPanel();611 mStatusBarManager.collapsePanels();626 mStatusBarManager.collapsePanels(); in testOnPanelRevealedAndHidden()629 mStatusBarManager.expandNotificationsPanel(); in testOnPanelRevealedAndHidden()[all …]