/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioButtonTest.java | 115 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 …]
|
D | CheckBoxTest.java | 114 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 …]
|
D | CompoundButtonTest.java | 118 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 …]
|
D | CheckedTextViewTest.java | 126 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 …]
|
D | ToggleButtonTest.java | 158 assertFalse(toggleButton.isChecked()); in testSetChecked() 161 assertTrue(toggleButton.isChecked()); in testSetChecked() 164 assertFalse(toggleButton.isChecked()); in testSetChecked() 177 assertFalse(toggleButton.isChecked()); in testToggleText()
|
D | RadioGroupTest.java | 375 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/ |
D | MenuInflaterTest.java | 215 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/ |
D | DialerImplementsTelecomIntentsActivity.java | 104 if (mLaunchCallSettingsCheckBox.isChecked() in onCheckedChangeListener() 105 && mLaunchShortSmsAnswerCheckBox.isChecked() in onCheckedChangeListener() 106 && mLaunchCallingAccountsSettingsCheckBox.isChecked() in onCheckedChangeListener() 107 && mLaunchAccessibilitySettingsCheckBox.isChecked()) { in onCheckedChangeListener()
|
D | DialerShowsHunOnIncomingCallActivity.java | 88 if (mConfirmHunShown.isChecked()) { in onCheckedChangeListener()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OneTimeCompoundButtonListener.java | 46 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 54 final boolean actual = button.isChecked(); in assertAutoFilled()
|
D | AutofillValueTest.java | 259 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);
|
D | Helper.java | 243 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/ |
D | AccessibilityRecordTest.java | 72 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()
|
D | AccessibilityEventTest.java | 224 assertEquals("checked has incorrect value", expectedEvent.isChecked(), receivedEvent in assertEqualsAccessiblityEvent() 225 .isChecked()); in assertEqualsAccessiblityEvent()
|
D | AccessibilityNodeInfoTest.java | 465 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/ |
D | AlertDialog_BuilderCursorTest.java | 82 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/ |
D | PreferenceRecycleTest.java | 97 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in recycleSetViaXmlTest() 149 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in recycleSetViaCodeTest()
|
D | PreferenceDataStoreTest.java | 228 assertTrue(pref.isChecked()); in testInitialValueIsFromDataStoreOnPreference() 245 assertTrue(pref.isChecked()); in testInitialValueIsFromDataStoreOnPreferenceManager()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | WifiSliceTest.java | 85 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/ |
D | PolicyTransparencyTestActivity.java | 236 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/ |
D | BluetoothToggleActivity.java | 80 if (mToggleButton.isChecked()) { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | ProAudioActivity.java | 378 if (mClaimsHDMICheckBox.isChecked()) { in onClick()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 525 assertSame(button.isChecked(), source.isChecked()); in testGetEventSource()
|
D | AccessibilityEndToEndTest.java | 1080 && first.isChecked() == second.isChecked() in equalsAccessiblityEvent()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ViewNodeTest.java | 331 assertThat(node.isChecked()).isTrue(); in assertSimpleNode()
|