Home
last modified time | relevance | path

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

12345

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py47 check('props.has_key("android.info.supportedHardwareLevel")')
48 check('props["android.info.supportedHardwareLevel"] is not None')
49 check('props["android.info.supportedHardwareLevel"] in [0,1,2,3]')
57 check('md.has_key("android.sensor.frameDuration")')
58 check('md["android.sensor.frameDuration"] is not None')
59 check('md.has_key("android.sensor.rollingShutterSkew")')
60 check('md["android.sensor.rollingShutterSkew"] is not None')
62 check('md["android.sensor.frameDuration"] > '
66 check('props.has_key("android.sensor.info.timestampSource")')
67 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
/cts/libs/deviceutil/src/android/cts/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
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java35 protected abstract boolean check(); in check() method in PollingCheck
38 if (check()) { in run()
50 if (check()) { in run()
60 public static void check(CharSequence message, long timeoutMs, Callable<Boolean> condition) in check() method in PollingCheck
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java147 mDefaultRadioGroup.check(BUTTON_ID_0); in testGetCheckedRadioButtonId()
150 mDefaultRadioGroup.check(BUTTON_ID_3); in testGetCheckedRadioButtonId()
154 mDefaultRadioGroup.check(4); in testGetCheckedRadioButtonId()
157 mDefaultRadioGroup.check(-1); in testGetCheckedRadioButtonId()
160 mDefaultRadioGroup.check(-3); in testGetCheckedRadioButtonId()
169 mDefaultRadioGroup.check(BUTTON_ID_3); in testClearCheck()
180 mDefaultRadioGroup.check(4); in testClearCheck()
190 mDefaultRadioGroup.check(-1); in testClearCheck()
208 mDefaultRadioGroup.check(BUTTON_ID_0); in testCheck()
213 mDefaultRadioGroup.check(BUTTON_ID_1); in testCheck()
[all …]
DFilterTest.java71 protected boolean check() { in testFilter1() method
79 protected boolean check() { in testFilter1() method
99 protected boolean check() { in testFilter2() method
107 protected boolean check() { in testFilter2() method
116 protected boolean check() { in testFilter2() method
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java294 protected boolean check() { in verifyCommandTuneForRecording() method
309 protected boolean check() { in verifyCommandTuneForRecordingWithBundle() method
325 protected boolean check() { in verifyCommandRelease() method
339 protected boolean check() { in verifyCommandStartRecording() method
353 protected boolean check() { in verifyCommandStopRecording() method
367 protected boolean check() { in verifyCommandSendAppPrivateCommandForRecording() method
386 protected boolean check() { in verifyCallbackTuned() method
402 protected boolean check() { in verifyCallbackError() method
418 protected boolean check() { in verifyCallbackRecordingStopped() method
431 protected boolean check() { in verifyCallbackConnectionFailed() method
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DSystemStatusChecker.java45 boolean check = preExecutionCheck(device); in setUp()
46 if (!check) { in setUp()
59 boolean check = postExecutionCheck(device); in tearDown()
60 if (!check) { in tearDown()
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java341 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
348 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
352 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
353 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
368 protected boolean check() { in check() method in GeolocationTest.OriginCheck
408 protected boolean check() { in check() method in GeolocationTest.BooleanCheck
435 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
442 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
447 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
464 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
[all …]
DWebChromeClientTest.java83 protected boolean check() { in testOnProgressChanged() method
102 protected boolean check() { in testOnReceivedTitle() method
137 protected boolean check() { in testOnReceivedIcon() method
162 protected boolean check() { in runWindowTest() method
170 protected boolean check() { in runWindowTest() method
220 protected boolean check() { in testOnJsBeforeUnloadIsCalled() method
244 protected boolean check() { in testOnJsAlert() method
269 protected boolean check() { in testOnJsConfirm() method
296 protected boolean check() { in testOnJsPrompt() method
303 protected boolean check() { in testOnJsPrompt() method
/cts/tests/app/src/android/app/cts/
DIntentServiceTest.java62 PollingCheck.check("onHandleIntentCalled not called enough", TIMEOUT_MSEC, in testIntents()
70 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
77 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
89 protected boolean check() { in testIntentServiceLifeCycle() method
100 protected boolean check() { in testIntentServiceLifeCycle() method
DAlarmManagerTest.java125 protected boolean check() { in testSetTypes() method
137 protected boolean check() { in testSetTypes() method
149 protected boolean check() { in testSetTypes() method
161 protected boolean check() { in testSetTypes() method
177 protected boolean check() { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
199 protected boolean check() { in testExactAlarmBatching() method
209 protected boolean check() { in testExactAlarmBatching() method
235 protected boolean check() { in testSetRepeating() method
245 protected boolean check() { in testSetRepeating() method
270 protected boolean check() { in testCancel() method
[all …]
/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/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java81 protected boolean check() { in testConnectionFailed() method
107 protected boolean check() { in testSubscribe() method
135 protected boolean check() { in testSubscribeWithOptions() method
162 protected boolean check() { in testSubscribeInvalidItem() method
184 protected boolean check() { in testSubscribeInvalidItemWithOptions() method
202 protected boolean check() { in testGetItem() method
218 protected boolean check() { in testGetItemFailure() method
240 protected boolean check() { in connectMediaBrowserService() method
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java50 protected boolean check() { in setUp() method
98 protected boolean check() { in testAddOnGlobalFocusChangeListener() method
150 protected boolean check() { in testAddOnTouchModeChangeListener() method
227 protected boolean check() { in testRemoveOnGlobalFocusChangeListener() method
245 protected boolean check() { in testRemoveOnGlobalFocusChangeListener() method
288 protected boolean check() { in testRemoveOnTouchModeChangeListener() method
305 protected boolean check() { in testRemoveOnTouchModeChangeListener() method
330 protected boolean check() { in testAccessOnScrollChangedListener() method

12345