Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 81) sorted by relevance

1234

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py49 check('props.has_key("android.info.supportedHardwareLevel")')
50 check('props["android.info.supportedHardwareLevel"] is not None')
51 check('props["android.info.supportedHardwareLevel"] in [0,1,2,3]')
58 check('md.has_key("android.sensor.frameDuration")')
59 check('md["android.sensor.frameDuration"] is not None')
60 check('md.has_key("android.sensor.rollingShutterSkew")')
61 check('md["android.sensor.rollingShutterSkew"] is not None')
63 check('md["android.sensor.frameDuration"] > '
67 check('props.has_key("android.sensor.info.timestampSource")')
68 check('props["android.sensor.info.timestampSource"] is not None')
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DServReqRemoveRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
90 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
112 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
122 if (!dnsSdListener.check(DnsSdResponseListenerTest.NO_DNS_PTR, in executeTest()
127 if (!txtListener.check(DnsSdTxtRecordListenerTest.NO_DNS_TXT, in executeTest()
[all …]
DServReqMultiClientTestCase02.java52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
103 if (!dnsCh1Listener.check(DnsSdResponseListenerTest.IPP_DNS_PTR, in executeTest()
108 if (!txtCh1Listener.check(DnsSdTxtRecordListenerTest.NO_DNS_TXT, in executeTest()
113 if (!upnpCh1Listener.check( in executeTest()
123 if (!dnsCh2Listener.check(DnsSdResponseListenerTest.NO_DNS_PTR, in executeTest()
128 if (!txtCh2Listener.check(DnsSdTxtRecordListenerTest.AFP_DNS_TXT, in executeTest()
133 if (!upnpCh2Listener.check( in executeTest()
DServReqMultiClientTestCase01.java52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
103 if (!dnsCh1Listener.check(DnsSdResponseListenerTest.NO_DNS_PTR, in executeTest()
108 if (!txtCh1Listener.check(DnsSdTxtRecordListenerTest.NO_DNS_TXT, in executeTest()
113 if (!upnpCh1Listener.check( in executeTest()
123 if (!dnsCh2Listener.check(DnsSdResponseListenerTest.ALL_DNS_PTR, in executeTest()
128 if (!txtCh2Listener.check(DnsSdTxtRecordListenerTest.ALL_DNS_TXT, in executeTest()
133 if (!upnpCh2Listener.check( in executeTest()
DServReqMultiClientTestCase03.java47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
110 if (!dnsCh1Listener.check(DnsSdResponseListenerTest.ALL_DNS_PTR, in executeTest()
115 if (!txtCh1Listener.check(DnsSdTxtRecordListenerTest.ALL_DNS_TXT, in executeTest()
120 if (!upnpCh1Listener.check( in executeTest()
DServReqClearRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
89 if (!actionListener.check(ActionListenerTest.FAIL_NO_SERVICE, TIMEOUT)) { in executeTest()
DServReqTestCase.java69 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in searchTest()
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in searchTest()
95 if (!dnsSdListener.check(dnsPtrArgList, t.getRemainTime())) { in searchTest()
99 if (!txtListener.check(dnsTxtArgList, t.getRemainTime())) { in searchTest()
103 if (!upnpListener.check(upnpArgList, t.getRemainTime())) { in searchTest()
DP2pClientPbcTestCase.java62 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkUpnpService()
87 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkUpnpService()
96 if (!dnsListener.check(DnsSdResponseListenerTest.NO_DNS_PTR, in checkUpnpService()
101 if (!txtListener.check(DnsSdTxtRecordListenerTest.NO_DNS_TXT, in checkUpnpService()
106 if (!upnpListener.check( in checkUpnpService()
DP2pClientPinTestCase.java59 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkBonjourService()
84 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkBonjourService()
93 if (!dnsListener.check(DnsSdResponseListenerTest.ALL_DNS_PTR, in checkBonjourService()
98 if (!txtListener.check(DnsSdTxtRecordListenerTest.ALL_DNS_TXT, in checkBonjourService()
103 if (!upnpListener.check( in checkBonjourService()
DServRespTestCase.java55 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
65 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
75 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
84 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
DGoTestCase.java53 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
63 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
73 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
82 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
DListenerTest.java65 public boolean check(ListenerArgument arg, long msec) throws InterruptedException { in check() method in ListenerTest
68 return check(argList, msec); in check()
80 public synchronized boolean check(List<ListenerArgument> argList, long msec) in check() method in ListenerTest
DConnectReqTestCase.java95 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
129 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
156 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java38 protected abstract boolean check(); in check() method in PollingCheck
41 if (check()) { in run()
53 if (check()) { in run()
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() method in PollingCheck
80 protected boolean check() { in waitFor() method
89 protected boolean check() { in waitFor() method
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java157 mRadioGroup.check(R.id.radio_button_0); in testGetCheckedRadioButtonId()
160 mRadioGroup.check(R.id.radio_button_3); in testGetCheckedRadioButtonId()
164 mRadioGroup.check(4); in testGetCheckedRadioButtonId()
167 mRadioGroup.check(-1); in testGetCheckedRadioButtonId()
170 mRadioGroup.check(-3); in testGetCheckedRadioButtonId()
180 mRadioGroup.check(R.id.radio_button_3); in testClearCheck()
191 mRadioGroup.check(4); in testClearCheck()
201 mRadioGroup.check(-1); in testClearCheck()
220 mRadioGroup.check(R.id.radio_button_0); in testCheck()
225 mRadioGroup.check(R.id.radio_button_1); in testCheck()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java295 protected boolean check() { in verifyCommandTuneForRecording() method
310 protected boolean check() { in verifyCommandTuneForRecordingWithBundle() method
326 protected boolean check() { in verifyCommandRelease() method
340 protected boolean check() { in verifyCommandStartRecording() method
354 protected boolean check() { in verifyCommandStopRecording() method
368 protected boolean check() { in verifyCommandSendAppPrivateCommandForRecording() method
387 protected boolean check() { in verifyCallbackTuned() method
403 protected boolean check() { in verifyCallbackError() method
419 protected boolean check() { in verifyCallbackRecordingStopped() method
432 protected boolean check() { in verifyCallbackConnectionFailed() method
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java342 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
349 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
353 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
354 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
369 protected boolean check() { in check() method in GeolocationTest.OriginCheck
409 protected boolean check() { in check() method in GeolocationTest.BooleanCheck
436 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
443 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
448 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
465 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
[all …]
DWebChromeClientTest.java84 protected boolean check() { in testOnProgressChanged() method
103 protected boolean check() { in testOnReceivedTitle() method
138 protected boolean check() { in testOnReceivedIcon() method
163 protected boolean check() { in runWindowTest() method
171 protected boolean check() { in runWindowTest() method
221 protected boolean check() { in testOnJsBeforeUnloadIsCalled() method
245 protected boolean check() { in testOnJsAlert() method
270 protected boolean check() { in testOnJsConfirm() method
297 protected boolean check() { in testOnJsPrompt() method
304 protected boolean check() { in testOnJsPrompt() method
DWebViewClientTest.java67 protected boolean check() { in setUp() method
153 protected boolean check() { in testShouldOverrideUrlLoadingOnCreateWindow() method
202 protected boolean check() { in testLoadPage() method
209 protected boolean check() { in testLoadPage() method
216 protected boolean check() { in testLoadPage() method
245 protected boolean check() { in testOnReceivedLoginRequest() method
323 protected boolean check() { in testOnFormResubmission() method
344 protected boolean check() { in testDoUpdateVisitedHistory() method
390 protected boolean check() { in testOnUnhandledKeyEvent() method
410 protected boolean check() { in testOnScaleChanged() method
[all …]
/cts/tests/app/src/android/app/cts/
DIntentServiceTest.java63 PollingCheck.check("onHandleIntentCalled not called enough", TIMEOUT_MSEC, in testIntents()
71 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
78 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
90 protected boolean check() { in testIntentServiceLifeCycle() method
101 protected boolean check() { in testIntentServiceLifeCycle() method
DAlarmManagerTest.java127 protected boolean check() { in testSetTypes() method
139 protected boolean check() { in testSetTypes() method
151 protected boolean check() { in testSetTypes() method
163 protected boolean check() { in testSetTypes() method
179 protected boolean check() { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
201 protected boolean check() { in testExactAlarmBatching() method
211 protected boolean check() { in testExactAlarmBatching() method
237 protected boolean check() { in testSetRepeating() method
247 protected boolean check() { in testSetRepeating() method
272 protected boolean check() { in testCancel() method
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java74 protected boolean check() { in testMediaBrowser() method
99 protected boolean check() { in testConnectionFailed() method
121 protected boolean check() { in testReconnection() method
131 protected boolean check() { in testReconnection() method
146 protected boolean check() { in testReconnection() method
185 protected boolean check() { in testSubscribe() method
228 protected boolean check() { in testSubscribeWithOptions() method
270 protected boolean check() { in testSubscribeInvalidItem() method
292 protected boolean check() { in testSubscribeInvalidItemWithOptions() method
322 protected boolean check() { in testUnsubscribeForMultipleSubscriptions() method
[all …]
DMediaScannerConnectionTest.java103 protected boolean check() { in checkMediaScannerConnection() method
108 protected boolean check() { in checkMediaScannerConnection() method
116 protected boolean check() { in checkConnectionState() method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/
DT_check_cast_2.d65 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass
70 check-cast v10, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass;
75 check-cast v10, java/lang/Object
80 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface
88 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass
100 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface2
111 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface
122 check-cast v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass
133 check-cast v10, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DBusyWaitUtils.java32 boolean check() throws Exception; in check() method
63 if (condition.check()) { in waitFor()

1234