/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ImageReaderTest.java | 98 verify(mImage1, never()).close(); in testGetLatestImage1() 109 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage2() 110 verify(mImage2, never()).close(); in testGetLatestImage2() 123 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage3() 124 verify(mImage2, atLeastOnce()).close(); in testGetLatestImage3() 125 verify(mImage3, never()).close(); in testGetLatestImage3() 156 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 157 verify(mImage2, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 158 verify(mImage3, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 177 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalRuntime() [all …]
|
D | MediaInserterTest.java | 145 EasyMock.verify(mMockProvider); in testInsertContentsLessThanBufferSize() 160 EasyMock.verify(mMockProvider); in testInsertContentsEqualToBufferSize() 175 EasyMock.verify(mMockProvider); in testInsertContentsMoreThanBufferSize() 184 EasyMock.verify(mMockProvider); in testFlushAllWithEmptyContents() 200 EasyMock.verify(mMockProvider); in testFlushAllWithSomeContents() 221 EasyMock.verify(mMockProvider); in testInsertContentsAfterFlushAll() 251 EasyMock.verify(mMockProvider); in testInsertContentsWithDifferentSizePerContentType()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifier.java | 46 public void verify(int resId, int vcardType) throws IOException, VCardException { in verify() method in PropertyNodesVerifier 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); in verify() 50 public void verify(int resId, int vcardType, final VCardParser parser) in verify() method in PropertyNodesVerifier 52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), in verify() 56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { in verify() method in PropertyNodesVerifier 58 verify(is, vcardType, parser); in verify() 61 public void verify(InputStream is, int vcardType, final VCardParser parser) in verify() method in PropertyNodesVerifier 84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());
|
D | LineVerifier.java | 42 public void verify(String vcard) { in verify() method in LineVerifier 48 lineVerifier.verify(vcard); in verify()
|
D | ImportTestResolver.java | 45 public void verify() { in verify() method in ImportTestResolver 46 mProvider.verify(); in verify()
|
D | ContentValuesVerifierElem.java | 43 mResolver.verify(); in verifyResolver()
|
D | VCardTestsBase.java | 95 mVerifier.verify(); in tearDown()
|
D | LineVerifierElem.java | 43 public void verify(final String vcard) { in verify() method in LineVerifierElem
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 32 import static org.mockito.Mockito.verify; 166 verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V4)); in testMobileConnectedAddedRoutes() 167 verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V6)); in testMobileConnectedAddedRoutes() 168 verify(mNetManager).flushInterfaceDnsCache(MOBILE_IFACE); in testMobileConnectedAddedRoutes() 203 verify(mNetManager).addRoute(eq(WIFI_IFACE), eq(WIFI_ROUTE_V4)); in testMobileWifiHandoff() 204 verify(mNetManager).addRoute(eq(WIFI_IFACE), eq(WIFI_ROUTE_V6)); in testMobileWifiHandoff() 205 verify(mNetManager).flushInterfaceDnsCache(WIFI_IFACE); in testMobileWifiHandoff() 206 verify(mMobile.tracker).teardown(); in testMobileWifiHandoff() 219 verify(mNetManager).removeRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V4)); in testMobileWifiHandoff() 220 verify(mNetManager).removeRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V6)); in testMobileWifiHandoff()
|
D | AccessibilityManagerTest.java | 24 import static org.easymock.EasyMock.verify; 90 verify(mockServiceInterface); in testGetAccessibilityServiceList() 109 verify(mockServiceInterface); in testInterrupt() 143 verify(mockServiceInterface); in testIsEnabled() 181 verify(mockServiceInterface); in testSendAccessibilityEvent_AccessibilityEnabled() 207 verify(mockServiceInterface); in testSendAccessibilityEvent_AccessibilityDisabled()
|
D | NetworkManagementServiceTest.java | 31 import static org.mockito.Mockito.verify; 81 return verify(mock, timeout(100)); in expectSoon()
|
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/ |
D | AndroidJUnitRunnerTest.java | 73 Mockito.verify(mMockBuilder).addTestClass("ClassName"); in testBuildRequest_singleClass() 85 Mockito.verify(mMockBuilder).addTestClass("ClassName1"); in testBuildRequest_multiClass() 86 Mockito.verify(mMockBuilder).addTestClass("ClassName2"); in testBuildRequest_multiClass() 98 Mockito.verify(mMockBuilder).addTestMethod("ClassName1", "method"); in testBuildRequest_method()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | RequestFocusTest.java | 143 inOrder.verify(mock).onFocusChange(clearingFocusButton, false); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 144 inOrder.verify(mock).onGlobalFocusChanged(clearingFocusButton, gainingFocusButton); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 145 inOrder.verify(mock).onFocusChange(gainingFocusButton, true); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 186 inOrder.verify(mock).onFocusChange(clearingFocusButton, false); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() 187 inOrder.verify(mock).onGlobalFocusChanged(clearingFocusButton, gainingFocusButton); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() 188 inOrder.verify(mock).onFocusChange(gainingFocusButton, true); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardTestUtilsTests.java | 45 verifier.verify(); in testShouldFailAtPropertyNodeVerification() 66 verifier.verify(); in testShouldFailAtContentValueVerification() 89 verifier.verify(); in testShouldFailAtLineVerification()
|
D | VCardParserTests.java | 61 public void verify() { in verify() method in VCardParserTests.MockVCardInterpreter 104 interpreter.verify(); in testSimple() 132 interpreter.verify(); in testNest() 181 interpreter.verify(); in testParseOne() 203 interpreter.verify(); in testParseOne()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 73 LittleMock.verify(delegate, LittleMock.times(1)).onIsLanguageAvailable( in testSetLanguage_delegation() 75 LittleMock.verify(delegate, LittleMock.times(1)).onLoadLanguage( in testSetLanguage_delegation() 94 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testSetLanguage_availableLanguage() 116 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req2.capture(), in testSetLanguage_unavailableLanguage() 134 LittleMock.verify(delegate, LittleMock.times(1)).onIsLanguageAvailable( in testIsLanguageAvailable()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 353 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onResultReceived( in testCaptureResultCallbacks() 358 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureResultCallbacks() 372 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onCaptureStarted( in testCaptureStartedCallbacks() 377 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureStartedCallbacks() 404 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(1)).onCameraIdle(); in testIdleCallback() 414 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(2)).onCameraIdle(); in testIdleCallback() 444 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_MS).times(1)).onCameraIdle(); in testFlush() 456 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_MS).times(2)).onCameraIdle(); in testFlush()
|
/frameworks/base/docs/html/training/activity-testing/ |
D | index.jd | 38 write test cases to verify specific behavior in your application, and check for 55 <dd>Learn how to write test cases to verify the 64 verify the behavior of an Activity in isolation.</dd> 67 verify the interaction of multiple Activities.</dd>
|
D | activity-unit-testing.jd | 26 verify the state of an {@link android.app.Activity} and its interactions with 37 <p>This lesson shows how you can write a unit test to verify that an 95 <p>To verify if an {@link android.content.Intent} was triggered 98 By using assertion methods, you can verify that the returned
|
D | activity-ui-testing.jd | 113 <p>You might add a test method like this to verify that a button is displayed 135 <p>You can also verify that the layout of a {@link android.widget.Button} is 137 object, then call assertion methods to verify that the 145 <p>You might add a test method like this to verify that a 162 <p>You can use a test method like this to verify that a
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
D | EffectsVideoCapture.java | 74 verify(getActivity(), uri); in testBackEffectsVideoCapture() 78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { in verify() method in EffectsVideoCapture
|
/frameworks/compile/slang/lit-tests/ |
D | README | 6 used to verify certain strings are present in the output bitcode files. 27 write tests that verify the emitted Java code.
|
/frameworks/base/docs/html/google/play/billing/ |
D | gp-purchase-status-api.jd | 115 <p>To verify a purchase, the app passes the purchase token and other details up 117 Purchase Status API. For security reasons, the app should not normally attempt to verify 139 servers, which can use the Purchase Status API to verify the purchase.</li> 142 servers. If your app contacts your backend servers at runtime to verify purchase 143 validity, your server can verify the purchase based on the cached details, to
|
/frameworks/base/docs/html/sdk/ |
D | download.jd | 8 function verify() { 45 <input type="checkbox" id="checkbox" onclick="verify()" />
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 257 public boolean verify(String key, byte[] data, byte[] signature) { in verify() method in KeyStore 259 return mBinder.verify(key, data, signature) == NO_ERROR; in verify()
|