Home
last modified time | relevance | path

Searched refs:setEnabled (Results 1 – 25 of 177) sorted by relevance

12345678

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundSpeakerTestActivity.java78 recorderButton.setEnabled(true); in onBackPressed()
83 playerButton.setEnabled(spkrSupport); in onBackPressed()
85 recorderButton.setEnabled(micSupport); in onBackPressed()
88 getPassButton().setEnabled(true); in onBackPressed()
102 getPassButton().setEnabled(false); in onCreate()
130 getPassButton().setEnabled(true); in onCreate()
147 recorderButton.setEnabled(micSupport); in onCreate()
175 playerButton.setEnabled(false); in onCreate()
176 recorderButton.setEnabled(false); in onCreate()
216 playerButton.setEnabled(spkrSupport); in onCreate()
[all …]
DAudioLoopbackActivity.java94 mLoopbackPlugReady.setEnabled(true); in onClick()
96 mHeadsetPortYes.setEnabled(false); in onClick()
97 mHeadsetPortNo.setEnabled(false); in onClick()
102 getPassButton().setEnabled(true); in onClick()
103 mHeadsetPortYes.setEnabled(false); in onClick()
104 mHeadsetPortNo.setEnabled(false); in onClick()
124 mLoopbackPlugReady.setEnabled(false); in onCreate()
162 getPassButton().setEnabled(false); in onCreate()
187 view.setEnabled(enable); in enableLayout()
206 getPassButton().setEnabled(false); in startAudioTest()
[all …]
DUSBAudioPeripheralRecordActivity.java148 mRecordBtn.setEnabled(mIsPeripheralAttached); in updateConnectStatus()
149 mRecordLoopbackBtn.setEnabled(mIsPeripheralAttached); in updateConnectStatus()
150 getPassButton().setEnabled(mIsPeripheralAttached); in updateConnectStatus()
162 mRecordLoopbackBtn.setEnabled(false); in onClick()
167 mRecordLoopbackBtn.setEnabled(true); in onClick()
175 mRecordBtn.setEnabled(false); in onClick()
184 mRecordBtn.setEnabled(true); in onClick()
DHifiUltrasoundTestActivity.java72 recorderButton.setEnabled(true); in onBackPressed()
84 getPassButton().setEnabled(false); in onCreate()
107 getPassButton().setEnabled(true); in onCreate()
127 recorderButton.setEnabled(micSupport); in onCreate()
155 playerButton.setEnabled(false); in onCreate()
156 recorderButton.setEnabled(false); in onCreate()
196 playerButton.setEnabled(spkrSupport); in onCreate()
200 recorderButton.setEnabled(false); in onCreate()
214 recorderButton.setEnabled(true); in plotResponse()
219 recorderButton.setEnabled(false); in plotResponse()
[all …]
DAudioFrequencyLineActivity.java122 mLoopbackPlugReady.setEnabled(true); in onClick()
124 mHeadsetPortYes.setEnabled(false); in onClick()
125 mHeadsetPortNo.setEnabled(false); in onClick()
130 getPassButton().setEnabled(true); in onClick()
131 mHeadsetPortYes.setEnabled(false); in onClick()
132 mHeadsetPortNo.setEnabled(false); in onClick()
152 mLoopbackPlugReady.setEnabled(false); in onCreate()
176 getPassButton().setEnabled(false); in onCreate()
208 view.setEnabled(enable); in enableLayout()
234 getPassButton().setEnabled(false); in startAudioTest()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DSelfManagedIncomingCallTestActivity.java58 getPassButton().setEnabled(false);
84 getPassButton().setEnabled(true);
96 getPassButton().setEnabled(false); in onCreate()
106 mRegisterPhoneAccount.setEnabled(false); in onCreate()
107 mVerifyCall.setEnabled(true); in onCreate()
124 mPlaceCall.setEnabled(false); in onCreate()
128 mVerifyCall.setEnabled(false); in onCreate()
129 mPlaceCall.setEnabled(true); in onCreate()
193 mPlaceCall.setEnabled(false); in onCreate()
205 mVerifyCall.setEnabled(false); in onCreate()
[all …]
DEnablePhoneAccountTestActivity.java47 getPassButton().setEnabled(false); in onCreate()
55 mConfirm.setEnabled(true); in onCreate()
56 mRegisterPhoneAccount.setEnabled(false); in onCreate()
67 getPassButton().setEnabled(true); in onCreate()
69 mConfirm.setEnabled(false); in onCreate()
75 mConfirm.setEnabled(false); in onCreate()
DOutgoingCallTestActivity.java61 getPassButton().setEnabled(false); in onCreate()
77 mConfirmPhoneAccountEnabled.setEnabled(true); in onCreate()
95 getPassButton().setEnabled(true); in onCreate()
98 mConfirmPhoneAccountEnabled.setEnabled(false); in onCreate()
104 mConfirmPhoneAccountEnabled.setEnabled(false); in onCreate()
DIncomingCallTestActivity.java63 getPassButton().setEnabled(false); in onCreate()
80 mConfirmPhoneAccountEnabled.setEnabled(true); in onCreate()
96 getPassButton().setEnabled(true); in onCreate()
99 mConfirmPhoneAccountEnabled.setEnabled(false); in onCreate()
106 mConfirmPhoneAccountEnabled.setEnabled(false); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DVoicemailSettingsCheckActivity.java50 getPassButton().setEnabled(false); in onCreate()
64 getPassButton().setEnabled(true); in onCreate()
66 mOpenVoiceMailSettingsButton.setEnabled(false); in onCreate()
67 mRingtoneSettingsDoesNotExistButton.setEnabled(false); in onCreate()
68 mRingtoneSettingsExistsButton.setEnabled(false); in onCreate()
89 getPassButton().setEnabled(true); in onCreate()
DCallSettingsCheckActivity.java49 getPassButton().setEnabled(false); in onCreate()
61 getPassButton().setEnabled(true); in onCreate()
62 mSetDefaultDialerButton.setEnabled(false); in onCreate()
82 getPassButton().setEnabled(true); in onCreate()
DVoicemailBroadcastActivity.java57 getPassButton().setEnabled(false); in onCreate()
70 getPassButton().setEnabled(true); in onCreate()
85 getPassButton().setEnabled(true); in onCreate()
92 getPassButton().setEnabled(true); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java73 getPassButton().setEnabled(false); in onCreate()
91 mToggleButton.setEnabled(false); in enableBluetooth()
103 mToggleButton.setEnabled(true); in onActivityResult()
110 mToggleButton.setEnabled(false); in disableBluetooth()
113 mToggleButton.setEnabled(true); in disableBluetooth()
143 mToggleButton.setEnabled(true); in onReceive()
147 getPassButton().setEnabled(mNumDisabledTimes > 0 && mNumEnabledTimes > 0); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java108 mButtonTestCredential.setEnabled(false);
113 mButtonTestAuthenticate.setEnabled(false);
125 mButtonTestNotSecured.setEnabled(false);
132 mButtonTestNoneEnrolled.setEnabled(false);
156 getPassButton().setEnabled(false); in onCreate()
174 mButtonTestNotSecured.setEnabled(false); in onCreate()
197 mButtonTestNoneEnrolled.setEnabled(false); in onCreate()
198 getPassButton().setEnabled(true); in onCreate()
206 mButtonTestNotSecured.setEnabled(true); in onRequestPermissionsResult()
239 getPassButton().setEnabled(true); in startTest()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java89 ns.setEnabled(true); in test1_2NsSetEnabledGetEnabled()
91 ns.setEnabled(false); in test1_2NsSetEnabledGetEnabled()
150 aec.setEnabled(true); in test2_2AecSetEnabledGetEnabled()
152 aec.setEnabled(false); in test2_2AecSetEnabledGetEnabled()
211 agc.setEnabled(true); in test3_2AgcSetEnabledGetEnabled()
213 agc.setEnabled(false); in test3_2AgcSetEnabledGetEnabled()
DLoudnessEnhancerTest.java102 mLE.setEnabled(true); in test2_0SetEnabledGetEnabled()
104 mLE.setEnabled(false); in test2_0SetEnabledGetEnabled()
122 mLE.setEnabled(true); in test2_1SetEnabledAfterRelease()
158 vc.setEnabled(true); in test3_0MeasureGainChange()
173 visualizer.setEnabled(true); in test3_0MeasureGainChange()
200 mLE.setEnabled(true); in test3_0MeasureGainChange()
DVirtualizerTest.java182 mVirtualizer.setEnabled(true); in test2_0SetEnabledGetEnabled()
184 mVirtualizer.setEnabled(false); in test2_0SetEnabledGetEnabled()
202 mVirtualizer.setEnabled(true); in test2_1SetEnabledAfterRelease()
251 mVirtualizer2.setEnabled(true); in test3_1EnableStatusListener()
254 mVirtualizer.setEnabled(false); in test3_1EnableStatusListener()
394 mVirtualizer.setEnabled(true); in test4_2VirtualizationMode()
423 mVirtualizer.setEnabled(false); in test4_3DisablingVirtualizationOff()
446 mVirtualizer.setEnabled(true); in test4_4VirtualizationModeAuto()
474 mVirtualizer.setEnabled(true); in test4_5ConsistentCapabilitiesWithEnabledDisabled()
489 mVirtualizer.setEnabled(false); in test4_5ConsistentCapabilitiesWithEnabledDisabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java79 getPassButton().setEnabled(true); in onAuthenticationSucceeded()
131 startTestButton.setEnabled(false); in onPermissionsGranted()
132 getPassButton().setEnabled(true); in onPermissionsGranted()
160 getPassButton().setEnabled(true); in onPermissionsGranted()
166 startTestButton.setEnabled(false); in onPermissionsGranted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java215 mPassButton.setEnabled(pass); in setPassButton()
216 mFailButton.setEnabled(!pass); in setPassButton()
338 mStartTestButton.setEnabled(true); in onCreate()
339 mSettingsButton.setEnabled(true); in onCreate()
372 mFailButton.setEnabled(false); in onResume()
390 mPassButton.setEnabled(false); in onResume()
393 mPassButton.setEnabled(true); in onResume()
395 mFailButton.setEnabled(true); in onResume()
403 mFailButton.setEnabled(true); in onResume()
625 mFailButton.setEnabled(true); in onClick()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/instantapps/
DBaseTestActivity.java61 mStartTestButton.setEnabled(true); in onCreate()
76 mStartTestButton.setEnabled(false); in onClick()
99 mPassButton.setEnabled(enable); in enablePassFailButtons()
100 mFailButton.setEnabled(enable); in enablePassFailButtons()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java167 getPassButton().setEnabled(false); in onCreate()
219 buttonPass.setEnabled(true); in markItem()
221 buttonFail.setEnabled(true); in markItem()
228 buttonFail.setEnabled(false); in markItem()
230 buttonPass.setEnabled(false); in markItem()
236 buttonFail.setEnabled(false); in markItem()
238 buttonPass.setEnabled(false); in markItem()
329 getPassButton().setEnabled(true); in run()
/cts/tests/tests/content/src/android/content/om/cts/
DOverlayManagerTest.java63 verify(mMockService, times(0)).setEnabled(packageName, true, userId); in testSetEnabled()
64 when(mMockService.setEnabled(anyString(), any(Boolean.class), anyInt())) in testSetEnabled()
66 mManager.setEnabled(packageName, true, user); in testSetEnabled()
67 verify(mMockService, times(1)).setEnabled(packageName, true, userId); in testSetEnabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DUiccTransactionEvent3EmulatorActivity.java56 getPassButton().setEnabled(false); in onCreate()
71 getPassButton().setEnabled(false); in onNewIntent()
111 getPassButton().setEnabled(true); in initProcess()
120 getPassButton().setEnabled(false); in initProcess()
DUiccTransactionEvent2EmulatorActivity.java56 getPassButton().setEnabled(false); in onCreate()
71 getPassButton().setEnabled(false); in onNewIntent()
112 getPassButton().setEnabled(true); in initProcess()
121 getPassButton().setEnabled(false); in initProcess()
DUiccTransactionEvent1EmulatorActivity.java56 getPassButton().setEnabled(false); in onCreate()
71 getPassButton().setEnabled(false); in onNewIntent()
112 getPassButton().setEnabled(true); in initProcess()
121 getPassButton().setEnabled(false); in initProcess()

12345678