Home
last modified time | relevance | path

Searched refs:getSwitchBar (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java209 assertFalse(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_lockedApp()
219 assertFalse(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_GroupNotBlockable()
228 assertFalse(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_systemAppNotBlockable()
239 assertTrue(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_systemAppBlockable()
252 assertFalse(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_lockedChannel()
265 assertFalse(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_defaultAppChannel()
277 assertTrue(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_channel()
287 assertTrue(mPreference.getSwitchBar().isEnabled()); in testIsEnabled_app()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSettingsTest.java55 when(mActivity.getSwitchBar()).thenReturn(mSwitchBar); in setUp()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectLocationFragment.java39 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverDashboard.java65 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DBluetoothDashboardFragment.java85 mSwitchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSettingsMainSwitchPreferenceTest.java65 final SettingsMainSwitchBar switchBar = mPreference.getSwitchBar(); in onBindViewHolder_isRestricted_restrictIconShouldDisplay()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java76 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/
DCarDevelopmentSettingsDashboardFragment.java70 boolean switchBarChecked = ((SettingsActivity) getActivity()).getSwitchBar().isChecked(); in onStop()
/packages/apps/Settings/src/com/android/settings/display/
DSmartAutoRotatePreferenceFragment.java83 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in createHeader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DSmartAutoRotatePreferenceFragmentTest.java100 when(mActivity.getSwitchBar()).thenReturn(mSwitchBar); in setUp()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java104 mSwitchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSettings.java85 mSwitchBar = activity.getSwitchBar(); in initializeSwitchBar()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverSummary.java74 mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/backup/
DToggleBackupSettingFragment.java80 mSwitchBar = activity.getSwitchBar(); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsMainSwitchPreference.java131 public final SettingsMainSwitchBar getSwitchBar() { in getSwitchBar() method in SettingsMainSwitchPreference
/packages/apps/Settings/src/com/android/settings/security/
DScreenPinningSettings.java85 mSwitchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java132 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java94 mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar(); in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java226 ((SettingsActivity) activity).getSwitchBar().setTitle( in onViewCreated()
392 return new WifiEnabler(activity, new MainSwitchBarController(activity.getSwitchBar()), in createWifiEnabler()
/packages/apps/Settings/src/com/android/settings/
DAllInOneTetherSettings.java230 final SettingsMainSwitchBar mainSwitch = activity.getSwitchBar(); in onActivityCreated()
DSettingsActivity.java184 public SettingsMainSwitchBar getSwitchBar() { in getSwitchBar() method in SettingsActivity
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java175 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated()
DDevelopmentSettingsDashboardFragment.java202 mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java236 mSwitchBar = activity.getSwitchBar(); in initComponents()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java187 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onViewCreated()

12