Home
last modified time | relevance | path

Searched refs:isChecked (Results 1 – 25 of 45) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DRadioButtonTest.java126 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
131 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
136 assertTrue(mRadioButton.isChecked()); in testAccessChecked()
141 assertTrue(mRadioButton.isChecked()); in testAccessChecked()
146 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
159 assertFalse(mRadioButton.isChecked()); in testToggleViaApi()
164 assertTrue(mRadioButton.isChecked()); in testToggleViaApi()
168 assertTrue(mRadioButton.isChecked()); in testToggleViaApi()
180 assertFalse(mRadioButton.isChecked()); in testToggleViaEmulatedTap()
186 assertTrue(mRadioButton.isChecked()); in testToggleViaEmulatedTap()
[all …]
DCheckBoxTest.java124 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
129 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
134 assertTrue(mCheckBox.isChecked()); in testAccessChecked()
139 assertTrue(mCheckBox.isChecked()); in testAccessChecked()
144 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
157 assertFalse(mCheckBox.isChecked()); in testToggleViaApi()
162 assertTrue(mCheckBox.isChecked()); in testToggleViaApi()
167 assertFalse(mCheckBox.isChecked()); in testToggleViaApi()
179 assertFalse(mCheckBox.isChecked()); in testToggleViaEmulatedTap()
184 assertTrue(mCheckBox.isChecked()); in testToggleViaEmulatedTap()
[all …]
DCompoundButtonTest.java129 assertFalse(mCompoundButton.isChecked()); in testAccessChecked()
133 assertTrue(mCompoundButton.isChecked()); in testAccessChecked()
138 assertTrue(mCompoundButton.isChecked()); in testAccessChecked()
142 assertFalse(mCompoundButton.isChecked()); in testAccessChecked()
152 assertFalse(mCompoundButton.isChecked()); in testSetOnCheckedChangeListener()
168 assertFalse(mCompoundButton.isChecked()); in testToggle()
171 assertTrue(mCompoundButton.isChecked()); in testToggle()
174 assertFalse(mCompoundButton.isChecked()); in testToggle()
178 assertFalse(mCompoundButton.isChecked()); in testToggle()
184 assertFalse(mCompoundButton.isChecked()); in testPerformClick()
[all …]
DCheckedTextViewTest.java134 assertFalse(view0.isChecked()); in testChecked()
135 assertTrue(view1.isChecked()); in testChecked()
136 assertFalse(view2.isChecked()); in testChecked()
142 assertFalse(view0.isChecked()); in testChecked()
143 assertTrue(view1.isChecked()); in testChecked()
144 assertTrue(view2.isChecked()); in testChecked()
151 assertTrue(view0.isChecked()); in testChecked()
152 assertFalse(view1.isChecked()); in testChecked()
153 assertFalse(view2.isChecked()); in testChecked()
159 assertFalse(mCheckedTextView.isChecked()); in testToggle()
[all …]
DToggleButtonTest.java167 assertFalse(toggleButton.isChecked()); in testSetChecked()
170 assertTrue(toggleButton.isChecked()); in testSetChecked()
173 assertFalse(toggleButton.isChecked()); in testSetChecked()
186 assertFalse(toggleButton.isChecked()); in testToggleText()
DRadioGroupTest.java385 assertFalse(button.isChecked()); in testOnFinishInflate()
387 assertTrue(button.isChecked()); in testOnFinishInflate()
400 assertFalse(button.isChecked()); in testOnFinishInflate()
405 assertFalse(button.isChecked()); in testOnFinishInflate()
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java225 assertFalse(mMenu.findItem(R.id.checkable_item_1).isChecked()); in testInflateCheckableFromXmlMultiples()
229 assertTrue(mMenu.findItem(R.id.checkable_item_2).isChecked()); in testInflateCheckableFromXmlMultiples()
233 assertTrue(mMenu.findItem(R.id.checkable_item_3).isChecked()); in testInflateCheckableFromXmlMultiples()
237 assertTrue(mMenu.findItem(R.id.checkable_item_1).isChecked()); in testInflateCheckableFromXmlMultiples()
238 assertTrue(mMenu.findItem(R.id.checkable_item_2).isChecked()); in testInflateCheckableFromXmlMultiples()
239 assertTrue(mMenu.findItem(R.id.checkable_item_3).isChecked()); in testInflateCheckableFromXmlMultiples()
251 assertFalse(mMenu.findItem(R.id.exclusive_checkable_item_1).isChecked()); in testInflateCheckableFromXmlExclusive()
256 assertFalse(mMenu.findItem(R.id.exclusive_checkable_item_2).isChecked()); in testInflateCheckableFromXmlExclusive()
261 assertTrue(mMenu.findItem(R.id.exclusive_checkable_item_3).isChecked()); in testInflateCheckableFromXmlExclusive()
265 assertTrue(mMenu.findItem(R.id.exclusive_checkable_item_1).isChecked()); in testInflateCheckableFromXmlExclusive()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DDialerImplementsTelecomIntentsActivity.java104 if (mLaunchCallSettingsCheckBox.isChecked() in onCheckedChangeListener()
105 && mLaunchShortSmsAnswerCheckBox.isChecked() in onCheckedChangeListener()
106 && mLaunchCallingAccountsSettingsCheckBox.isChecked() in onCheckedChangeListener()
107 && mLaunchAccessibilitySettingsCheckBox.isChecked()) { in onCheckedChangeListener()
DDialerShowsHunOnIncomingCallActivity.java88 if (mConfirmHunShown.isChecked()) { in onCheckedChangeListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java175 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreateOptionsMenu()
176 if (isChecked) { in onCreateOptionsMenu()
197 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreateOptionsMenu()
198 if (!sHasSystemToggled && isChecked) { in onCreateOptionsMenu()
202 updateIsSystemEnabled(isChecked); in onCreateOptionsMenu()
348 private void updateIsSystemEnabled(boolean isChecked) {
349 Log.i(TAG, "verifier-system plan enabled: " + isChecked);
350 sIsSystemEnabled = isChecked;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleRxTxOffsetPrecisionActivity.java136 isReferenceDevice = mIsReferenceDeviceCheckbox.isChecked(); in onCreate()
137 mIsManualPass = isManualPassCheckbox.isChecked(); in onCreate()
139 mIsReferenceDeviceCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
140 isReferenceDevice = isChecked; in onCreate()
143 isManualPassCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
144 mIsManualPass = isChecked; in onCreate()
146 mUseExtendedAdvertisementCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
147 if (isChecked) { in onCreate()
320 mUseExtendedAdvertisementCheckbox.isChecked(), advertiseTxPower); in startAdvertising()
DBleRssiPrecisionActivity.java119 isReferenceDevice = mIsReferenceDeviceCheckbox.isChecked(); in onCreate()
120 mIsManualPass = mIsManualPassCheckbox.isChecked(); in onCreate()
122 mIsReferenceDeviceCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
123 isReferenceDevice = isChecked; in onCreate()
126 mIsManualPassCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
127 mIsManualPass = isChecked; in onCreate()
DNanAccuracyActivity.java136 mIsManualPass = mIsManualPassCheckbox.isChecked(); in onCreate()
138 (buttonView, isChecked) -> setUpActivity()); in onCreate()
139 mIsManualPassCheckbox.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
140 mIsManualPass = isChecked; in onCreate()
160 if (mReferenceDeviceCheckbox.isChecked()) { in setUpActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DOneTimeCompoundButtonListener.java46 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
54 final boolean actual = button.isChecked(); in assertAutoFilled()
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt98 if (singleCheckbox.isChecked) { in <lambda>()
101 if (watchCheckbox.isChecked) { in <lambda>()
104 if (glassesCheckbox.isChecked) { in <lambda>()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java88 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
147 assertEquals("checked has incorrect value", expectedRecord.isChecked(), in assertEqualAccessibilityRecord()
148 receivedRecord.isChecked()); in assertEqualAccessibilityRecord()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestActivity.java218 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
225 userRestriction, isChecked) in onCheckedChanged()
227 userRestriction, isChecked); in onCheckedChanged()
232 intent.putExtra(CommandReceiverActivity.EXTRA_ENFORCED, isChecked); in onCheckedChanged()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderCursorTest.java88 boolean isChecked) { in onClick() argument
93 valuesToUpdate.put(CHECKED_COLUMN_NAME, isChecked ? 1 : 0); in onClick()
98 mCheckedTracker[which] = isChecked; in onClick()
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/enterprise/settings/
DIsRemoteDPCActivatedStepAutomation.java49 return remoteDpcSwitch.isChecked(); in automate()
/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java102 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
105 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
/cts/tests/controls/src/android/controls/cts/
DCtsControlsServiceTest.java410 assertEquals(t1.isChecked(), t2.isChecked()); in assertToggleTemplate()
431 assertEquals(t1.isChecked(), t2.isChecked()); in assertToggleRangeTemplate()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DCheckoutActivity.java259 assertThat(mHomeAddress.isChecked()).isEqualTo(homeAddrValue); in assertRadioButtonValue()
260 assertThat(mWorkAddress.isChecked()).isEqualTo(workAddrValue); in assertRadioButtonValue()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceRecycleTest.java134 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in assertRecycle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java76 if (mToggleButton.isChecked()) { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java438 boolean isChecked) {
439 mFlipAxes = isChecked;

12