Home
last modified time | relevance | path

Searched refs:isEnabled (Results 1 – 25 of 40) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java51 mBtWasEnabled = mAdapter.isEnabled(); in setUp()
55 if (mBtWasEnabled != mAdapter.isEnabled()) { in tearDown()
138 assertFalse(mAdapter.isEnabled()); in disable()
143 assertTrue(mAdapter.isEnabled()); in disable()
151 assertFalse(mAdapter.isEnabled()); in disable()
172 assertTrue(mAdapter.isEnabled()); in enable()
177 assertFalse(mAdapter.isEnabled()); in enable()
185 assertTrue(mAdapter.isEnabled()); in enable()
/cts/tests/tests/widget/src/android/widget/cts/
DTabWidgetTest.java145 assertTrue(tabWidget.isEnabled()); in testSetEnabled()
146 assertTrue(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()
147 assertTrue(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()
150 assertFalse(tabWidget.isEnabled()); in testSetEnabled()
151 assertFalse(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()
152 assertFalse(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()
155 assertTrue(tabWidget.isEnabled()); in testSetEnabled()
156 assertTrue(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()
157 assertTrue(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()
DHeaderViewListAdapterTest.java197 assertTrue(headerViewListAdapter.isEnabled(0)); in testIsEnabled()
203 assertFalse(headerViewListAdapter.isEnabled(0)); in testIsEnabled()
204 assertTrue(headerViewListAdapter.isEnabled(1)); in testIsEnabled()
210 assertFalse(headerViewListAdapter.isEnabled(0)); in testIsEnabled()
211 assertTrue(headerViewListAdapter.isEnabled(1)); in testIsEnabled()
212 assertFalse(headerViewListAdapter.isEnabled(2)); in testIsEnabled()
213 assertFalse(headerViewListAdapter.isEnabled(3)); in testIsEnabled()
216 assertTrue(headerViewListAdapter.isEnabled(0)); in testIsEnabled()
217 assertFalse(headerViewListAdapter.isEnabled(1)); in testIsEnabled()
218 assertFalse(headerViewListAdapter.isEnabled(2)); in testIsEnabled()
[all …]
DZoomButtonTest.java87 assertTrue(mZoomButton.isEnabled()); in testSetEnabled()
93 assertTrue(mZoomButton.isEnabled()); in testSetEnabled()
97 assertFalse(mZoomButton.isEnabled()); in testSetEnabled()
DDatePickerTest.java69 assertTrue(datePicker.isEnabled()); in testSetEnabled()
72 assertFalse(datePicker.isEnabled()); in testSetEnabled()
75 assertTrue(datePicker.isEnabled()); in testSetEnabled()
DTimePickerTest.java89 assertTrue(mTimePicker.isEnabled()); in testSetEnabled()
92 assertFalse(mTimePicker.isEnabled()); in testSetEnabled()
95 assertTrue(mTimePicker.isEnabled()); in testSetEnabled()
DBaseAdapterTest.java74 assertTrue(baseAdapter.isEnabled(0)); in testIsEnabled()
DMediaControllerTest.java246 assertTrue(mMediaController.isEnabled()); in testSetEnabled()
249 assertFalse(mMediaController.isEnabled()); in testSetEnabled()
/cts/tests/tests/preference2/src/android/preference2/cts/
DListPreferenceTest.java56 boolean isEnabled = mListPref.isEnabled(); in testIsEnabled()
57 assertTrue(isEnabled); in testIsEnabled()
DPreferenceCategoryTest.java40 assertTrue(!prefCat.isEnabled()); in testPreferenceCategory()
DPreferenceTest.java67 assertTrue(mPreference.isEnabled()); in testIsEnabled()
76 assertFalse(mPreference.isEnabled()); in testSetEnabled()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java228 assertFalse(adapter.isEnabled()); in disable()
233 assertTrue(adapter.isEnabled()); in disable()
241 assertFalse(adapter.isEnabled()); in disable()
261 assertTrue(adapter.isEnabled()); in enable()
266 assertFalse(adapter.isEnabled()); in enable()
274 assertTrue(adapter.isEnabled()); in enable()
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java91 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()
149 assertEquals("enabled has incorrect value", expectedRecord.isEnabled(), in assertEqualAccessibilityRecord()
150 receivedRecord.isEnabled()); in assertEqualAccessibilityRecord()
DAccessibilityNodeInfoTest.java231 assertSame("enabled has incorrect value", expectedInfo.isEnabled(), in assertEqualsAccessibilityNodeInfo()
232 receivedInfo.isEnabled()); in assertEqualsAccessibilityNodeInfo()
283 assertFalse("enabled not properly recycled", info.isEnabled()); in assertAccessibilityNodeInfoCleared()
DAccessibilityEventTest.java220 assertEquals("enabled has incorrect value", expectedEvent.isEnabled(), receivedEvent in assertEqualsAccessiblityEvent()
221 .isEnabled()); in assertEqualsAccessiblityEvent()
DCaptioningManagerTest.java95 assertEquals("Test runner set enabled to true", true, mManager.isEnabled()); in testProperties()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java76 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onCreate()
146 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onReceive()
DConnectionAccessClientActivity.java73 if (!mBluetoothAdapter.isEnabled()) { in onCreate()
DConnectionAccessServerActivity.java83 if (mBluetoothAdapter.isEnabled()) { in onCreate()
/cts/tests/tests/content/src/android/content/pm/cts/
DComponentInfoTest.java143 assertTrue(mComponentInfo.isEnabled()); in testIsEnabled()
146 assertFalse(mComponentInfo.isEnabled()); in testIsEnabled()
150 assertFalse(mComponentInfo.isEnabled()); in testIsEnabled()
/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountOperationsTest.java124 retrievedPhoneAccount.isEnabled()); in testRegisterPhoneAccount_NotEnabledAutomatically()
153 retrievedPhoneAccount.isEnabled()); in testRegisterPhoneAccount_DisallowEnable()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java63 public boolean isEnabled(int position) { in isEnabled() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNdefPushSenderActivity.java74 if (!mNfcAdapter.isEnabled()) { in onResume()
DLlcpVersionActivity.java76 if (!mNfcAdapter.isEnabled()) { in onResume()
DNdefPushReceiverActivity.java70 if (!mNfcAdapter.isEnabled()) { in onResume()

12