Searched refs:mStatusBarHelper (Results 1 – 4 of 4) sorted by relevance
28 private final HelperAccessor<IAutoStatusBarHelper> mStatusBarHelper; field in StatusBarSnippet31 mStatusBarHelper = new HelperAccessor<>(IAutoStatusBarHelper.class); in StatusBarSnippet()36 return mStatusBarHelper.get().isBluetoothButtonEnabled(); in isBluetoothButtonEnabled()41 return mStatusBarHelper.get().isBluetoothPhoneButtonEnabled(); in isBluetoothPhoneButtonEnabled()46 return mStatusBarHelper.get().isBluetoothMediaButtonEnabled(); in isBluetoothMediaButtonEnabled()52 mStatusBarHelper.get().clickOnBluetoothPaletteMediaButton(); in clickOnBluetoothPaletteMediaButton()57 return mStatusBarHelper.get().isBluetoothConnectedToMobile(); in isBluetoothConnectedToMobile()62 return mStatusBarHelper.get().isBluetoothDisconnected(); in isBluetoothDisconnected()67 mStatusBarHelper.get().openBluetoothPalette(); in openBluetoothPalette()72 mStatusBarHelper.get().clickBluetoothButton(); in clickBluetoothButton()[all …]
38 private HelperAccessor<IAutoStatusBarHelper> mStatusBarHelper; field in NetworkPaletteTest44 mStatusBarHelper = new HelperAccessor<>(IAutoStatusBarHelper.class); in NetworkPaletteTest()49 mStatusBarHelper.get().openNetworkPalette(); in openNetworkPalette()63 if (!mStatusBarHelper.get().isNetworkSwitchEnabled(HOTSPOT)) { in testHotspotName()64 mStatusBarHelper.get().networkPaletteToggleOnOff(HOTSPOT); in testHotspotName()68 mStatusBarHelper.get().isHotspotNameDisplayed()); in testHotspotName()70 mStatusBarHelper.get().networkPaletteToggleOnOff(HOTSPOT); in testHotspotName()71 assertFalse("Hotspot is enabled", mStatusBarHelper.get().isNetworkSwitchEnabled(HOTSPOT)); in testHotspotName()78 mStatusBarHelper.get().networkPaletteToggleOnOff(WIFI); in testWifiName()82 assertTrue("Wi-Fi Name is not displayed", mStatusBarHelper.get().isWifiNameDisplayed()); in testWifiName()[all …]
32 private HelperAccessor<IAutoStatusBarHelper> mStatusBarHelper; field in BluetoothPaletteTest35 mStatusBarHelper = new HelperAccessor<>(IAutoStatusBarHelper.class); in BluetoothPaletteTest()40 mStatusBarHelper.get().openBluetoothPalette(); in openBluetoothPalette()45 mStatusBarHelper.get().turnOnOffBluetooth(true); in testDefaultStatusOfBlueToothPalette()48 mStatusBarHelper.get().hasBluetoothSwitch()); in testDefaultStatusOfBlueToothPalette()51 mStatusBarHelper.get().hasToggleOnMessage()); in testDefaultStatusOfBlueToothPalette()58 mStatusBarHelper.get().turnOnOffBluetooth(false); in testBluetoothDisableMessage()61 mStatusBarHelper.get().hasToggleOffMessage()); in testBluetoothDisableMessage()62 mStatusBarHelper.get().turnOnOffBluetooth(true); in testBluetoothDisableMessage()67 mStatusBarHelper.get().openBluetoothSettings(); in testOpenBluetoothSettings()[all …]
41 private HelperAccessor<IAutoStatusBarHelper> mStatusBarHelper; field in StatusBarTest45 mStatusBarHelper = new HelperAccessor<>(IAutoStatusBarHelper.class); in StatusBarTest()57 assertTrue("Unable to change to day mode", mStatusBarHelper.get().changeToDayMode()); in testToVerifyChangeToDayMode()59 assertEquals(1, mStatusBarHelper.get().getCurrentDisplayMode()); in testToVerifyChangeToDayMode()64 assertTrue("Unable to change to night mode", mStatusBarHelper.get().changeToNightMode()); in testToVerifyChangeToNightMode()66 assertEquals(2, mStatusBarHelper.get().getCurrentDisplayMode()); in testToVerifyChangeToNightMode()74 mStatusBarHelper.get().getClockTime(), in testClockTime()75 mStatusBarHelper.get().getCurrentTimeWithTimeZone(TIME_ZONE)); in testClockTime()