/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 136 verify(mSwitchController, never()).setChecked(anyBoolean()); in maybeEnforceRestrictions_noRestrictions() 155 verify(mSwitchController).setChecked(false); in maybeEnforceRestrictions_disallowBluetoothRestrictionSet() 174 verify(mSwitchController).setChecked(false); in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet() 193 verify(mSwitchController, never()).setChecked(anyBoolean()); in startWithBluetoothOff_switchIsOff() 195 verify(mSwitchController, never()).setChecked(true); in startWithBluetoothOff_switchIsOff() 201 verify(mSwitchController, never()).setChecked(anyBoolean()); in startWithBluetoothOn_switchIsOn() 203 verify(mSwitchController, never()).setChecked(false); in startWithBluetoothOn_switchIsOn() 204 verify(mSwitchController).setChecked(true); in startWithBluetoothOn_switchIsOn() 213 verify(mSwitchController, never()).setChecked(anyBoolean()); in bluetoothTurnsOff_switchTurnsOff() 215 verify(mSwitchController, never()).setChecked(false); in bluetoothTurnsOff_switchTurnsOff() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | CaptionFragment.java | 121 mCaptionsStyle0Pref.setChecked(true); in onPreferenceTreeClick() 126 mCaptionsStyle1Pref.setChecked(true); in onPreferenceTreeClick() 131 mCaptionsStyle2Pref.setChecked(true); in onPreferenceTreeClick() 136 mCaptionsStyle3Pref.setChecked(true); in onPreferenceTreeClick() 141 mCaptionsStyleCustomPref.setChecked(true); in onPreferenceTreeClick() 169 mCaptionsDisplayPref.setChecked(getCaptionsEnabled()); in refresh() 175 mCaptionsStyle0Pref.setChecked(true); in refresh() 179 mCaptionsStyle1Pref.setChecked(true); in refresh() 183 mCaptionsStyle2Pref.setChecked(true); in refresh() 187 mCaptionsStyle3Pref.setChecked(true); in refresh() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | TogglePreferenceControllerTest.java | 49 mToggleController.setChecked(true); in testSetsPreferenceValue_setsChecked() 50 mPreference.setChecked(false); in testSetsPreferenceValue_setsChecked() 59 mToggleController.setChecked(false); in testSetsPreferenceValue_setsNotChecked() 60 mPreference.setChecked(true); in testSetsPreferenceValue_setsNotChecked() 70 mToggleController.setChecked(!newValue); in testUpdatesPreferenceOnChange_turnsOn() 80 mToggleController.setChecked(!newValue); in testUpdatesPreferenceOnChange_turnsOff() 107 public boolean setChecked(boolean isChecked) { in setChecked() method in TogglePreferenceControllerTest.FakeToggle
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceControllerTest.java | 168 mPreference.setChecked(true); in handlePreferenceChanged_setFalse_isMultiSim_disablesData() 178 mPreference.setChecked(true); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked() 188 mPreference.setChecked(false); in handlePreferenceChanged_setTrue_isSingleSim_enablesData() 198 mPreference.setChecked(false); in handlePreferenceChanged_setTrue_isSingleSim_setsChecked() 208 mPreference.setChecked(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData() 220 mPreference.setChecked(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked() 233 mPreference.setChecked(false); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog() 247 mPreference.setChecked(true); in disableSingleSimDialog_onConfirm_disablesData() 268 mPreference.setChecked(true); in disableSingleSimDialog_onConfirm_setsUnchecked() 290 mPreference.setChecked(false); in enableMutliSimDialog_onConfirm_enablesData() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 137 setChecked(true); in handleStateChanged() 144 setChecked(false); in handleStateChanged() 148 setChecked(false); in handleStateChanged() 153 private void setChecked(boolean isChecked) { in setChecked() method in BluetoothEnabler 160 mSwitchController.setChecked(isChecked); in setChecked() 179 mSwitchController.setChecked(false); in onSwitchToggled() 192 mSwitchController.setChecked(false); in onSwitchToggled() 223 mSwitchController.setChecked(false); in maybeEnforceRestrictions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothEnabler.java | 137 setChecked(true); in handleStateChanged() 144 setChecked(false); in handleStateChanged() 148 setChecked(false); in handleStateChanged() 153 private void setChecked(boolean isChecked) { in setChecked() method in BluetoothEnabler 160 mSwitchController.setChecked(isChecked); in setChecked() 179 mSwitchController.setChecked(false); in onSwitchToggled() 192 mSwitchController.setChecked(false); in onSwitchToggled() 223 mSwitchController.setChecked(false); in maybeEnforceRestrictions()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 100 mTbDual.setChecked((boolean) value.getValue()); 103 mTbAc.setChecked((boolean) value.getValue()); 106 mTbAuto.setChecked((boolean) value.getValue()); 111 mRbFanPositionFace.setChecked(true); 114 mRbFanPositionFloor.setChecked(true); 118 mRbFanPositionFaceAndFloor.setChecked(true); 121 mRbFanPositionDefrost.setChecked(true); 125 mRbFanPositionDefrostAndFloor.setChecked(true); 135 mTbMaxAc.setChecked((boolean) value.getValue()); 138 mTbRecirc.setChecked((boolean) value.getValue()); [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSettings.java | 220 mAlertReminder.setChecked(false); in onCreatePreferences() 222 mAlertReminder.setChecked(true); in onCreatePreferences() 259 mSevereCheckBox.setChecked(false); in onCreatePreferences() 463 mSevereCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 467 mExtremeCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 471 mAmberCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 475 mAreaUpdateInfoCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 485 mEmergencyAlertsCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 489 mPublicSafetyMessagesChannelCheckBox.setChecked(alertsEnabled); in setAlertsEnabled() 493 mStateLocalTestCheckBox.setChecked(alertsEnabled); in setAlertsEnabled()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 303 mHideDeclined.setChecked((Boolean) newValue); in onPreferenceChange() 315 mVibrate.setChecked((Boolean) newValue); in onPreferenceChange() 343 mVibrate.setChecked(Utils.getDefaultVibrate(getActivity(), prefs)); in migrateOldPreferences() 349 mAlert.setChecked(false); in migrateOldPreferences() 350 mPopup.setChecked(false); in migrateOldPreferences() 353 mAlert.setChecked(true); in migrateOldPreferences() 354 mPopup.setChecked(false); in migrateOldPreferences() 357 mAlert.setChecked(true); in migrateOldPreferences() 358 mPopup.setChecked(true); in migrateOldPreferences()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | CollapsibleCheckboxPreferenceGroup.java | 70 ((Checkable) checkbox).setChecked(mChecked); in onBindViewHolder() 107 setChecked(!isChecked()); in onClick() 115 checkable.setChecked(mChecked); in onClick() 138 public void setChecked(boolean checked) { in setChecked() method in CollapsibleCheckboxPreferenceGroup 152 info.setChecked(isChecked()); in onInitializeAccessibilityNodeInfo() 175 setChecked(myState.checked); in onRestoreInstanceState() 234 setChecked(false); in switchSpinnerToCheckboxOrDisablePreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | WaitForDebuggerPreferenceControllerTest.java | 108 verify(mPreference).setChecked(true); in updateState_settingEnabledNullDebugApp_preferenceShouldBeCheckedAndDisabled() 120 verify(mPreference).setChecked(true); in updateState_settingEnabledFoobarApp_preferenceShouldBeCheckedAndDisabled() 132 verify(mPreference).setChecked(false); in updateState_settingDisabledNullDebugApp_preferenceShouldNotBeCheckedAndDisabled() 144 verify(mPreference).setChecked(false); in updateState_settingDisableFoobarApp_preferenceShouldNotBeCheckedAndEnabled() 157 verify(mPreference).setChecked(true); in onActivityResult_requestCodeAndSettingEnabled_waitForDebuggerShouldBeChecked() 169 verify(mPreference).setChecked(false); in onActivityResult_requestCodeAndSettingDisabled_waitForDebuggerShouldNotBeChecked() 186 verify(mPreference).setChecked(false); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherFragment.java | 53 mTetherSwitch.setChecked(false); 123 mTetherSwitch.setChecked(mCarWifiManager.isWifiApEnabled()); in setupTetherSwitch() 144 mTetherSwitch.setChecked(true); in handleWifiApStateChanged() 150 mTetherSwitch.setChecked(false); in handleWifiApStateChanged() 154 mTetherSwitch.setChecked(false); in handleWifiApStateChanged() 158 mTetherSwitch.setChecked(false); in handleWifiApStateChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 57 mSwitchBar.setChecked(false); 73 mSwitchBar.setChecked(mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED); in WifiTetherSwitchBarController() 132 mSwitchBar.setChecked(true); in handleWifiApStateChanged() 138 mSwitchBar.setChecked(false); in handleWifiApStateChanged() 143 mSwitchBar.setChecked(false); in handleWifiApStateChanged() 147 mSwitchBar.setChecked(false); in handleWifiApStateChanged()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 57 mSwitchBar.setChecked(false); 73 mSwitchBar.setChecked(mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED); in WifiTetherSwitchBarController() 132 mSwitchBar.setChecked(true); in handleWifiApStateChanged() 138 mSwitchBar.setChecked(false); in handleWifiApStateChanged() 143 mSwitchBar.setChecked(false); in handleWifiApStateChanged() 147 mSwitchBar.setChecked(false); in handleWifiApStateChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceControllerTest.java | 96 mController.setChecked(true); in setChecked_updatesCorrectly() 100 mController.setChecked(false); in setChecked_updatesCorrectly() 121 mController.setChecked(true); in getSummary_settingOn_shouldReturnOnSummary() 129 mController.setChecked(false); in getSummary_settingOff_shouldReturnOffSummary() 149 controller.setChecked(true); in isChecked_returnsFalseWhenNotSufficientPermissions() 158 mController.setChecked(true); in isEnabled_returnsFalseWhenNotSufficientPermissions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationSwitchBarPreference.java | 50 setChecked(mChecked); in onBindViewHolder() 52 setChecked(!mChecked); in onBindViewHolder() 56 mSwitch.setChecked(mChecked); in onBindViewHolder() 65 public void setChecked(boolean checked) { in setChecked() method in NotificationSwitchBarPreference 68 mSwitch.setChecked(checked); in setChecked()
|
D | NotificationAppPreference.java | 72 setChecked(!mChecked); in onBindViewHolder() 74 setChecked(!mChecked); in onBindViewHolder() 85 mSwitch.setChecked(mChecked); in onBindViewHolder() 94 public void setChecked(boolean checked) { in setChecked() method in NotificationAppPreference 97 mSwitch.setChecked(checked); in setChecked()
|
D | ChannelSummaryPreference.java | 68 mCheckBox.setChecked(mChecked); in onBindViewHolder() 87 public void setChecked(boolean checked) { in setChecked() method in ChannelSummaryPreference 90 mCheckBox.setChecked(checked); in setChecked() 107 setChecked(!mChecked); 109 setChecked(!mChecked);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSwitchBarPreference.java | 50 setChecked(mChecked); in onBindViewHolder() 52 setChecked(!mChecked); in onBindViewHolder() 56 mSwitch.setChecked(mChecked); in onBindViewHolder() 65 public void setChecked(boolean checked) { in setChecked() method in NotificationSwitchBarPreference 68 mSwitch.setChecked(checked); in setChecked()
|
D | NotificationAppPreference.java | 72 setChecked(!mChecked); in onBindViewHolder() 74 setChecked(!mChecked); in onBindViewHolder() 85 mSwitch.setChecked(mChecked); in onBindViewHolder() 94 public void setChecked(boolean checked) { in setChecked() method in NotificationAppPreference 97 mSwitch.setChecked(checked); in setChecked()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MasterCheckBoxPreference.java | 73 setChecked(!mChecked); in onBindViewHolder() 75 setChecked(!mChecked); in onBindViewHolder() 86 mCheckBox.setChecked(mChecked); in onBindViewHolder() 101 public void setChecked(boolean checked) { in setChecked() method in MasterCheckBoxPreference 104 mCheckBox.setChecked(checked); in setChecked()
|
D | MasterSwitchPreference.java | 74 setChecked(!mChecked); in onBindViewHolder() 76 setChecked(!mChecked); in onBindViewHolder() 87 mSwitch.setChecked(mChecked); in onBindViewHolder() 96 public void setChecked(boolean checked) { in setChecked() method in MasterSwitchPreference 99 mSwitch.setChecked(checked); in setChecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MasterCheckBoxPreference.java | 73 setChecked(!mChecked); in onBindViewHolder() 75 setChecked(!mChecked); in onBindViewHolder() 86 mCheckBox.setChecked(mChecked); in onBindViewHolder() 101 public void setChecked(boolean checked) { in setChecked() method in MasterCheckBoxPreference 104 mCheckBox.setChecked(checked); in setChecked()
|
D | MasterSwitchPreference.java | 74 setChecked(!mChecked); in onBindViewHolder() 76 setChecked(!mChecked); in onBindViewHolder() 87 mSwitch.setChecked(mChecked); in onBindViewHolder() 96 public void setChecked(boolean checked) { in setChecked() method in MasterSwitchPreference 99 mSwitch.setChecked(checked); in setChecked()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpFullscreenView.java | 66 public void setChecked(boolean checked) { in setChecked() method in MtpFullscreenView 67 mCheckbox.setChecked(checked); in setChecked() 96 setChecked(mBroker.isItemChecked(position)); in setPositionAndBroker() 111 setChecked(isChecked); in onCheckedChanged() 118 setChecked(mBroker.isItemChecked(mPosition)); in onBulkCheckedChanged()
|