Home
last modified time | relevance | path

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

123456789

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py66 check(self, 'android.info.supportedHardwareLevel' in props,
68 check(self, props['android.info.supportedHardwareLevel'] is not None,
70 check(self, props['android.info.supportedHardwareLevel'] in [0, 1, 2, 3],
77 check(self, 'android.sensor.frameDuration' in md,
79 check(self, md['android.sensor.frameDuration'] is not None,
81 check(self, md['android.sensor.rollingShutterSkew'] > 0,
83 check(self, md['android.sensor.frameDuration'] > 0,
85 check(
93 check(self, 'android.sensor.rollingShutterSkew' in md,
95 check(self, md['android.sensor.rollingShutterSkew'] is not None,
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoSubject.java56 check("getAudioChannelCount()").that(actual.getAudioChannelCount()).isEqualTo(id); in hasAudioChannelCount()
60 check("getAudioSampleRate()").that(actual.getAudioSampleRate()).isEqualTo(rate); in hasAudioSampleRate()
64 check("describeContents()").that(actual.describeContents()).isEqualTo(content); in hasContentDescription()
69 check("getEncoding()").that(actual.getEncoding()).isEqualTo(encoding); in hasEncoding()
73 check("getId()").that(actual.getId()).isEqualTo(id); in hasId()
77 check("getLanguage()").that(actual.getLanguage()).isEqualTo(language); in hasLanguage()
81 check("getType()").that(actual.getType()).isEqualTo(type); in hasType()
85 check("getVideoActiveFormatDescription()").that( in hasVideoActiveFormatDescription()
89 check("getVideoHeight()").that(actual.getVideoHeight()).isEqualTo(height); in hasVideoHeight()
93 check("getVideoFrameRate()").that(actual.getVideoFrameRate()).isEqualTo(rate); in hasVideoFrameRate()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPollingCheck.java55 protected abstract boolean check(); in check() method in PollingCheck
62 if (check()) { in run()
74 if (check()) { in run()
81 Assert.assertTrue(getErrorMessage(), check()); in run()
108 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() method in PollingCheck
125 protected boolean check() { in waitFor() method
134 protected boolean check() { in waitFor() method
143 protected boolean check() { in waitFor() method
153 protected boolean check() { in waitFor() method
167 protected boolean check() { in waitFor() method
[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()
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()
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()
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/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackInfoSubject.java69 check("getRollbackId()").that(mActual.getRollbackId()).isEqualTo(rollbackId); in hasRollbackId()
76 check("isStaged()").that(mActual.isStaged()).isTrue(); in isStaged()
83 check("isStaged()").that(mActual.isStaged()).isFalse(); in isNotStaged()
95 check("actualPackages").that(actualPackages).containsExactly((Object[]) expected); in packagesContainsExactly()
108 check("getCausePackages()").that(mActual.getCausePackages()) in causePackagesContainsExactly()
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java168 mRadioGroup.check(R.id.radio_button_0); in testGetCheckedRadioButtonId()
171 mRadioGroup.check(R.id.radio_button_3); in testGetCheckedRadioButtonId()
175 mRadioGroup.check(4); in testGetCheckedRadioButtonId()
178 mRadioGroup.check(-1); in testGetCheckedRadioButtonId()
181 mRadioGroup.check(-3); in testGetCheckedRadioButtonId()
191 mRadioGroup.check(R.id.radio_button_3); in testClearCheck()
202 mRadioGroup.check(4); in testClearCheck()
212 mRadioGroup.check(-1); in testClearCheck()
231 mRadioGroup.check(R.id.radio_button_0); in testCheck()
236 mRadioGroup.check(R.id.radio_button_1); in testCheck()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java355 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
362 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
366 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
367 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
382 protected boolean check() { in check() method in GeolocationTest.OriginCheck
422 protected boolean check() { in check() method in GeolocationTest.BooleanCheck
447 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
454 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
459 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
476 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
[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
/cts/tests/tests/notification/NotificationListener/src/com/android/test/notificationlistener/
DNotificationUriAccessService.kt31 check(nm.isNotificationListenerAccessGranted(testListener) == ensureConnected) { in ensureNotificationListenerServiceConnected()
36 check(listener != null) { in ensureNotificationListenerServiceConnected()
41 check(isConnected == ensureConnected) { in ensureNotificationListenerServiceConnected()
/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/libs/install/src/com/android/cts/install/lib/
DPackageInstallerSessionInfoSubject.java54 check(failureMessage("in state READY")).that(mActual.isStagedSessionReady()).isTrue();
58 check(failureMessage("in state APPLIED")).that(mActual.isStagedSessionApplied()).isTrue();
62 check(failureMessage("in state FAILED")).that(mActual.isStagedSessionFailed()).isTrue();
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DBusyWaitUtils.java42 boolean check() throws Exception; in check() method
73 if (condition.check()) { in waitFor()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_ContentNotificationsTest.java109 PollingCheck.check( in insert_notifiesObserver()
120 PollingCheck.check( in update_notifiesObserver()
127 PollingCheck.check( in update_notifiesObserver()
138 PollingCheck.check( in delete_notifiesObserver()
144 PollingCheck.check( in delete_notifiesObserver()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaBrowserTest.java131 protected boolean check() { in testMediaBrowser() method
178 protected boolean check() { in testConnectionFailed() method
204 protected boolean check() { in testReconnection() method
215 protected boolean check() { in testReconnection() method
231 protected boolean check() { in testReconnection() method
268 protected boolean check() { in testSubscribe() method
343 protected boolean check() { in testSubscribeWithOptions() method
396 protected boolean check() { in testSubscribeInvalidItem() method
420 protected boolean check() { in testSubscribeInvalidItemWithOptions() method
497 protected boolean check() { in testUnsubscribeForMultipleSubscriptions() method
[all …]

123456789