Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DRadioButtonTest.java115 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
120 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
125 assertTrue(mRadioButton.isChecked()); in testAccessChecked()
130 assertTrue(mRadioButton.isChecked()); in testAccessChecked()
135 assertFalse(mRadioButton.isChecked()); in testAccessChecked()
148 assertFalse(mRadioButton.isChecked()); in testToggleViaApi()
153 assertTrue(mRadioButton.isChecked()); in testToggleViaApi()
157 assertTrue(mRadioButton.isChecked()); in testToggleViaApi()
169 assertFalse(mRadioButton.isChecked()); in testToggleViaEmulatedTap()
174 assertTrue(mRadioButton.isChecked()); in testToggleViaEmulatedTap()
[all …]
DCheckBoxTest.java114 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
119 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
124 assertTrue(mCheckBox.isChecked()); in testAccessChecked()
129 assertTrue(mCheckBox.isChecked()); in testAccessChecked()
134 assertFalse(mCheckBox.isChecked()); in testAccessChecked()
147 assertFalse(mCheckBox.isChecked()); in testToggleViaApi()
152 assertTrue(mCheckBox.isChecked()); in testToggleViaApi()
157 assertFalse(mCheckBox.isChecked()); in testToggleViaApi()
169 assertFalse(mCheckBox.isChecked()); in testToggleViaEmulatedTap()
174 assertTrue(mCheckBox.isChecked()); in testToggleViaEmulatedTap()
[all …]
DCompoundButtonTest.java118 assertFalse(mCompoundButton.isChecked()); in testAccessChecked()
122 assertTrue(mCompoundButton.isChecked()); in testAccessChecked()
127 assertTrue(mCompoundButton.isChecked()); in testAccessChecked()
131 assertFalse(mCompoundButton.isChecked()); in testAccessChecked()
141 assertFalse(mCompoundButton.isChecked()); in testSetOnCheckedChangeListener()
157 assertFalse(mCompoundButton.isChecked()); in testToggle()
160 assertTrue(mCompoundButton.isChecked()); in testToggle()
163 assertFalse(mCompoundButton.isChecked()); in testToggle()
167 assertFalse(mCompoundButton.isChecked()); in testToggle()
173 assertFalse(mCompoundButton.isChecked()); in testPerformClick()
[all …]
DCheckedTextViewTest.java126 assertFalse(view0.isChecked()); in testChecked()
127 assertTrue(view1.isChecked()); in testChecked()
128 assertFalse(view2.isChecked()); in testChecked()
134 assertFalse(view0.isChecked()); in testChecked()
135 assertTrue(view1.isChecked()); in testChecked()
136 assertTrue(view2.isChecked()); in testChecked()
141 assertTrue(view0.isChecked()); in testChecked()
142 assertFalse(view1.isChecked()); in testChecked()
143 assertFalse(view2.isChecked()); in testChecked()
149 assertFalse(mCheckedTextView.isChecked()); in testToggle()
[all …]
DToggleButtonTest.java158 assertFalse(toggleButton.isChecked()); in testSetChecked()
161 assertTrue(toggleButton.isChecked()); in testSetChecked()
164 assertFalse(toggleButton.isChecked()); in testSetChecked()
177 assertFalse(toggleButton.isChecked()); in testToggleText()
DRadioGroupTest.java375 assertFalse(button.isChecked()); in testOnFinishInflate()
377 assertTrue(button.isChecked()); in testOnFinishInflate()
390 assertFalse(button.isChecked()); in testOnFinishInflate()
395 assertFalse(button.isChecked()); in testOnFinishInflate()
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java215 assertFalse(mMenu.findItem(R.id.checkable_item_1).isChecked()); in testInflateCheckableFromXmlMultiples()
219 assertTrue(mMenu.findItem(R.id.checkable_item_2).isChecked()); in testInflateCheckableFromXmlMultiples()
223 assertTrue(mMenu.findItem(R.id.checkable_item_3).isChecked()); in testInflateCheckableFromXmlMultiples()
227 assertTrue(mMenu.findItem(R.id.checkable_item_1).isChecked()); in testInflateCheckableFromXmlMultiples()
228 assertTrue(mMenu.findItem(R.id.checkable_item_2).isChecked()); in testInflateCheckableFromXmlMultiples()
229 assertTrue(mMenu.findItem(R.id.checkable_item_3).isChecked()); in testInflateCheckableFromXmlMultiples()
241 assertFalse(mMenu.findItem(R.id.exclusive_checkable_item_1).isChecked()); in testInflateCheckableFromXmlExclusive()
246 assertFalse(mMenu.findItem(R.id.exclusive_checkable_item_2).isChecked()); in testInflateCheckableFromXmlExclusive()
251 assertTrue(mMenu.findItem(R.id.exclusive_checkable_item_3).isChecked()); in testInflateCheckableFromXmlExclusive()
255 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/tests/autofillservice/src/android/autofillservice/cts/
DOneTimeCompoundButtonListener.java46 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
54 final boolean actual = button.isChecked(); in assertAutoFilled()
DAutofillValueTest.java259 assertThat(mCompoundButton.isChecked()).isEqualTo(expectedValue);
508 assertThat(mRadioButton1.isChecked()).isEqualTo(true);
509 assertThat(mRadioButton2.isChecked()).isEqualTo(false);
511 assertThat(mRadioButton1.isChecked()).isEqualTo(false);
512 assertThat(mRadioButton2.isChecked()).isEqualTo(true);
DHelper.java243 append(builder, "checked", node.isChecked()); in dump()
699 assertWithMessage("ViewNode %s should not be checked", resourceId).that(node.isChecked()) in assertToggleIsSanitized()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java72 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
128 assertEquals("checked has incorrect value", expectedRecord.isChecked(), in assertEqualAccessibilityRecord()
129 receivedRecord.isChecked()); in assertEqualAccessibilityRecord()
DAccessibilityEventTest.java224 assertEquals("checked has incorrect value", expectedEvent.isChecked(), receivedEvent in assertEqualsAccessiblityEvent()
225 .isChecked()); in assertEqualsAccessiblityEvent()
DAccessibilityNodeInfoTest.java465 assertSame("checked has incorrect value", expectedInfo.isChecked(), in assertEqualsAccessibilityNodeInfo()
466 receivedInfo.isChecked()); in assertEqualsAccessibilityNodeInfo()
575 assertFalse("checked not properly recycled", info.isChecked()); in assertAccessibilityNodeInfoCleared()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderCursorTest.java82 boolean isChecked) { in onClick() argument
87 valuesToUpdate.put(CHECKED_COLUMN_NAME, isChecked ? 1 : 0); in onClick()
92 mCheckedTracker[which] = isChecked; in onClick()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceRecycleTest.java97 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in recycleSetViaXmlTest()
149 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in recycleSetViaCodeTest()
DPreferenceDataStoreTest.java228 assertTrue(pref.isChecked()); in testInitialValueIsFromDataStoreOnPreference()
245 assertTrue(pref.isChecked()); in testInitialValueIsFromDataStoreOnPreferenceManager()
/cts/tests/tests/provider/src/android/provider/cts/
DWifiSliceTest.java85 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
88 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestActivity.java236 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
242 userRestriction, isChecked); in onCheckedChanged()
247 intent.putExtra(CommandReceiverActivity.EXTRA_ENFORCED, isChecked); in onCheckedChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java80 if (mToggleButton.isChecked()) { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DProAudioActivity.java378 if (mClaimsHDMICheckBox.isChecked()) { in onClick()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java525 assertSame(button.isChecked(), source.isChecked()); in testGetEventSource()
DAccessibilityEndToEndTest.java1080 && first.isChecked() == second.isChecked() in equalsAccessiblityEvent()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DViewNodeTest.java331 assertThat(node.isChecked()).isTrue(); in assertSimpleNode()

12