/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 64 check(self, 'android.info.supportedHardwareLevel' in props, 66 check(self, props['android.info.supportedHardwareLevel'] is not None, 68 check(self, props['android.info.supportedHardwareLevel'] in [0, 1, 2, 3], 75 check(self, 'android.sensor.frameDuration' in md, 77 check(self, md['android.sensor.frameDuration'] is not None, 79 check(self, md['android.sensor.rollingShutterSkew'] > 0, 81 check(self, md['android.sensor.frameDuration'] > 0, 83 check( 91 check(self, 'android.sensor.rollingShutterSkew' in md, 93 check(self, md['android.sensor.rollingShutterSkew'] is not None, [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 56 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/ |
D | PollingCheck.java | 55 protected abstract boolean check(); in check() method in PollingCheck 58 if (check()) { in run() 70 if (check()) { in run() 77 Assert.assertTrue(mErrorMessage, check()); in run() 104 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() method in PollingCheck 121 protected boolean check() { in waitFor() method 130 protected boolean check() { in waitFor() method 139 protected boolean check() { in waitFor() method 148 protected boolean check() { in waitFor() method 160 protected boolean check() { in waitFor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ServReqRemoveRequestTestCase.java | 56 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 …]
|
D | ServReqMultiClientTestCase02.java | 52 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()
|
D | ServReqMultiClientTestCase01.java | 52 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()
|
D | ServReqMultiClientTestCase03.java | 47 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()
|
D | ServReqClearRequestTestCase.java | 56 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()
|
D | ServReqTestCase.java | 69 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()
|
D | P2pClientPinTestCase.java | 59 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()
|
D | P2pClientPbcTestCase.java | 62 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()
|
D | ServRespTestCase.java | 55 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()
|
D | GoTestCase.java | 53 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()
|
D | GoWithConfigTestCase.java | 79 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/ |
D | RollbackInfoSubject.java | 69 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/ |
D | RadioGroupTest.java | 159 mRadioGroup.check(R.id.radio_button_0); in testGetCheckedRadioButtonId() 162 mRadioGroup.check(R.id.radio_button_3); in testGetCheckedRadioButtonId() 166 mRadioGroup.check(4); in testGetCheckedRadioButtonId() 169 mRadioGroup.check(-1); in testGetCheckedRadioButtonId() 172 mRadioGroup.check(-3); in testGetCheckedRadioButtonId() 182 mRadioGroup.check(R.id.radio_button_3); in testClearCheck() 193 mRadioGroup.check(4); in testClearCheck() 203 mRadioGroup.check(-1); in testClearCheck() 222 mRadioGroup.check(R.id.radio_button_0); in testCheck() 227 mRadioGroup.check(R.id.radio_button_1); in testCheck() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | IntentServiceTest.java | 63 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/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 351 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/NotificationListener/src/com/android/test/notificationlistener/ |
D | NotificationUriAccessService.kt | 31 check(nm.isNotificationListenerAccessGranted(testListener) == ensureConnected) { in ensureNotificationListenerServiceConnected() 36 check(listener != null) { in ensureNotificationListenerServiceConnected() 41 check(isConnected == ensureConnected) { in ensureNotificationListenerServiceConnected()
|
/cts/tests/signature/api-check/ |
D | Android.bp | 41 name: "signature-api-check-defaults", 58 name: "signature-api-check-dynamic-config-defaults", 59 defaults: ["signature-api-check-defaults"], 70 name: "hiddenapi-killswitch-check-defaults", 94 name: "hiddenapi-blocklist-check-defaults", 95 defaults: ["signature-api-check-dynamic-config-defaults"],
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/ |
D | T_check_cast_2.smali | 41 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/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | PackageInstallerSessionInfoSubject.java | 54 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/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserTest.java | 83 protected boolean check() { in testMediaBrowser() method 142 protected boolean check() { in testConnectionFailed() method 164 protected boolean check() { in testReconnection() method 174 protected boolean check() { in testReconnection() method 189 protected boolean check() { in testReconnection() method 217 protected boolean check() { in testSubscribe() method 297 protected boolean check() { in testSubscribeWithOptions() method 339 protected boolean check() { in testSubscribeInvalidItem() method 361 protected boolean check() { in testSubscribeInvalidItemWithOptions() method 437 protected boolean check() { in testUnsubscribeForMultipleSubscriptions() method [all …]
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | BusyWaitUtils.java | 42 boolean check() throws Exception; in check() method 73 if (condition.check()) { in waitFor()
|
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
D | SimPhonebookContract_ContentNotificationsTest.java | 118 PollingCheck.check( in insert_notifiesObserver() 129 PollingCheck.check( in update_notifiesObserver() 136 PollingCheck.check( in update_notifiesObserver() 147 PollingCheck.check( in delete_notifiesObserver() 153 PollingCheck.check( in delete_notifiesObserver() 168 PollingCheck.check( in subscriptionsChange_notifiesObserver() 179 PollingCheck.check( in subscriptionsChange_notifiesObserver()
|