Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 106) 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]')
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.java34 protected abstract boolean check(); in check() method in PollingCheck
37 if (check()) { in run()
49 if (check()) { in run()
59 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() method in PollingCheck
/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/tv/src/android/media/tv/cts/
DTvInputServiceTest.java227 protected boolean check() { in verifyCommandTune() method
240 protected boolean check() { in verifyCommandSetStreamVolume() method
253 protected boolean check() { in verifyCommandSetCaptionEnabled() method
267 protected boolean check() { in verifyCommandSelectTrack() method
280 protected boolean check() { in verifyCommandDispatchKeyDown() method
293 protected boolean check() { in verifyCommandDispatchKeyMultiple() method
306 protected boolean check() { in verifyCommandDispatchKeyUp() method
323 protected boolean check() { in verifyCommandDispatchTouchEvent() method
340 protected boolean check() { in verifyCommandDispatchTrackballEvent() method
356 protected boolean check() { in verifyCommandDispatchGenericMotionEvent() method
[all …]
/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/app/src/android/app/cts/
DIntentServiceTest.java61 PollingCheck.check("onHandleIntentCalled not called enough", TIMEOUT_MSEC, in testIntents()
69 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
76 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
88 protected boolean check() { in testIntentServiceLifeCycle() method
99 protected boolean check() { in testIntentServiceLifeCycle() method
DAlarmManagerTest.java124 protected boolean check() { in testSetTypes() method
136 protected boolean check() { in testSetTypes() method
148 protected boolean check() { in testSetTypes() method
160 protected boolean check() { in testSetTypes() method
176 protected boolean check() { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
198 protected boolean check() { in testExactAlarmBatching() method
208 protected boolean check() { in testExactAlarmBatching() method
234 protected boolean check() { in testSetRepeating() method
244 protected boolean check() { in testSetRepeating() method
269 protected boolean check() { in testCancel() method
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java308 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
315 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
319 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
320 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
335 protected boolean check() { in check() method in GeolocationTest.OriginCheck
375 protected boolean check() { in check() method in GeolocationTest.BooleanCheck
402 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
409 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
414 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
431 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 testOnJsBeforeUnload() 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
/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.java80 protected boolean check() { in testConnectionFailed() method
106 protected boolean check() { in testSubscribe() method
127 protected boolean check() { in testGetItem() method
143 protected boolean check() { in testGetItemFailure() method
165 protected boolean check() { in connectMediaBrowserService() method
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestUtils.java72 protected boolean check() { in assertRunAnimation() method
80 protected boolean check() { in assertRunAnimation() 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