Home
last modified time | relevance | path

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

1234

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py51 check('props.has_key("android.info.supportedHardwareLevel")')
52 check('props["android.info.supportedHardwareLevel"] is not None')
53 check('props["android.info.supportedHardwareLevel"] in [0,1,2,3]')
60 check('md.has_key("android.sensor.frameDuration")')
61 check('md["android.sensor.frameDuration"] is not None')
62 check('md.has_key("android.sensor.rollingShutterSkew")')
63 check('md["android.sensor.rollingShutterSkew"] is not None')
65 check('md["android.sensor.rollingShutterSkew"] > 0')
66 check('md["android.sensor.frameDuration"] > 0')
69 check('props.has_key("android.sensor.info.timestampSource")')
[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()
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()
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()
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()
DConnectReqTestCase.java96 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
130 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
157 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
197 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
206 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
241 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest()
DGoWithConfigTestCase.java79 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
89 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
99 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
117 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
/cts/common/device-side/util-axt/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/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.java158 mRadioGroup.check(R.id.radio_button_0); in testGetCheckedRadioButtonId()
161 mRadioGroup.check(R.id.radio_button_3); in testGetCheckedRadioButtonId()
165 mRadioGroup.check(4); in testGetCheckedRadioButtonId()
168 mRadioGroup.check(-1); in testGetCheckedRadioButtonId()
171 mRadioGroup.check(-3); in testGetCheckedRadioButtonId()
181 mRadioGroup.check(R.id.radio_button_3); in testClearCheck()
192 mRadioGroup.check(4); in testClearCheck()
202 mRadioGroup.check(-1); in testClearCheck()
221 mRadioGroup.check(R.id.radio_button_0); in testCheck()
226 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.java351 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
358 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
362 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
363 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
378 protected boolean check() { in check() method in GeolocationTest.OriginCheck
418 protected boolean check() { in check() method in GeolocationTest.BooleanCheck
445 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
452 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
457 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
474 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
[all …]
/cts/tests/app/src/android/app/cts/
DAlarmManagerTest.java129 protected boolean check() { in testSetTypes() method
141 protected boolean check() { in testSetTypes() method
153 protected boolean check() { in testSetTypes() method
165 protected boolean check() { in testSetTypes() method
181 protected boolean check() { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
203 protected boolean check() { in testExactAlarmBatching() method
213 protected boolean check() { in testExactAlarmBatching() method
240 protected boolean check() { in testSetRepeating() method
250 protected boolean check() { in testSetRepeating() method
275 protected boolean check() { in testCancel() method
[all …]
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
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackInfoSubject.java65 check().that(getSubject().getRollbackId()).isEqualTo(rollbackId); in hasRollbackId()
72 check().that(getSubject().isStaged()).isTrue(); in isStaged()
79 check().that(getSubject().isStaged()).isFalse(); in isNotStaged()
91 check().that(actualPackages).containsExactly((Object[]) expected); in packagesContainsExactly()
133 check().that(actualVps).containsExactlyElementsIn(expectedVps); in causePackagesContainsExactly()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/
DT_check_cast_2.smali41 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass;
48 check-cast v10, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass;
53 check-cast v10, Ljava/lang/Object;
60 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface;
68 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
86 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface2;
102 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperInterface;
118 check-cast v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
134 check-cast v10, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
/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
340 protected boolean check() { in testUnsubscribeForMultipleSubscriptions() method
[all …]
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DPackageInstallerSessionInfoSubject.java54 check().withFailureMessage(failureMessage("in state READY")).that(
59 check().withFailureMessage(failureMessage("in state APPLIED")).that(
64 check().withFailureMessage(failureMessage("in state FAILED")).that(
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DBusyWaitUtils.java42 boolean check() throws Exception; in check() method
73 if (condition.check()) { in waitFor()

1234