/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioButtonTest.java | 126 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 …]
|
D | CheckBoxTest.java | 124 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 …]
|
D | CompoundButtonTest.java | 129 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 …]
|
D | CheckedTextViewTest.java | 134 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 …]
|
D | ToggleButtonTest.java | 167 assertFalse(toggleButton.isChecked()); in testSetChecked() 170 assertTrue(toggleButton.isChecked()); in testSetChecked() 173 assertFalse(toggleButton.isChecked()); in testSetChecked() 186 assertFalse(toggleButton.isChecked()); in testToggleText()
|
D | RadioGroupTest.java | 385 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/ |
D | MenuInflaterTest.java | 225 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/ |
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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListActivity.java | 175 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/ |
D | BleRxTxOffsetPrecisionActivity.java | 136 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()
|
D | BleRssiPrecisionActivity.java | 119 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()
|
D | NanAccuracyActivity.java | 136 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/ |
D | OneTimeCompoundButtonListener.java | 46 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/ |
D | CompanionDeviceTestAppActivity.kt | 98 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/ |
D | AccessibilityRecordTest.java | 88 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/ |
D | PolicyTransparencyTestActivity.java | 218 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/ |
D | AlertDialog_BuilderCursorTest.java | 88 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/ |
D | IsRemoteDPCActivatedStepAutomation.java | 49 return remoteDpcSwitch.isChecked(); in automate()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | WifiSliceTest.java | 102 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState() 105 assertThat(toggleAction.isChecked()).isEqualTo(isWifiEnabled()); in wifiSliceToggle_changeWifiState()
|
/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlsServiceTest.java | 410 assertEquals(t1.isChecked(), t2.isChecked()); in assertToggleTemplate() 431 assertEquals(t1.isChecked(), t2.isChecked()); in assertToggleRangeTemplate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | CheckoutActivity.java | 259 assertThat(mHomeAddress.isChecked()).isEqualTo(homeAddrValue); in assertRadioButtonValue() 260 assertThat(mWorkAddress.isChecked()).isEqualTo(workAddrValue); in assertRadioButtonValue()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceRecycleTest.java | 134 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked())); in assertRecycle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothToggleActivity.java | 76 if (mToggleButton.isChecked()) { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 438 boolean isChecked) { 439 mFlipAxes = isChecked;
|