/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
GTestResultParserTest.java | 53 EasyMock.verify(mockRunListener); 77 EasyMock.verify(mockRunListener); 93 EasyMock.verify(mockRunListener); 117 EasyMock.verify(mockRunListener); 173 EasyMock.verify(mockRunListener); 220 EasyMock.verify(mockRunListener); 243 EasyMock.verify(mockRunListener); 289 EasyMock.verify(mockRunListener);
|
InstrumentationTestTest.java | 146 // verify the mock listener is passed through to the runner 196 EasyMock.verify(mMockRemoteRunner, mMockTestDevice); 211 EasyMock.verify(mMockRemoteRunner, mMockTestDevice); 225 EasyMock.verify(mMockRemoteRunner, mMockTestDevice); 229 * Verify test package name is not passed to the runner if class name is set 240 EasyMock.verify(mMockRemoteRunner, mMockTestDevice); 296 EasyMock.verify(mMockRemoteRunner, mMockTestDevice, mMockListener); 320 EasyMock.verify(mMockRemoteRunner, mMockTestDevice, mMockListener); 345 EasyMock.verify(mMockRemoteRunner, mMockTestDevice, mMockListener); 377 EasyMock.verify(mMockRemoteRunner, mMockTestDevice, mMockListener) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigManagerTest.java | 127 // Set up the inorder for verifications. This is needed to verify that the broadcasts, 250 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 257 // Now verify that the modification has been effective. 262 verify(mWcmListener).onSavedNetworkUpdated(openNetwork.networkId); 286 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId); 357 // Now verify that the modification has been effective. 442 // Now verify that all the modifications have been effective. 458 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 467 verify(mWcmListener).onSavedNetworkRemoved(openNetwork.networkId); 482 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WificondScannerTest.java | 417 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 424 order.verify(eventHandler).onScanRestarted(); 464 order.verify(mWifiNative).scan(eq(expectedPeriods[0].getScanFreqs()), any(Set.class)); 469 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 486 order.verify(eventHandler).onScanRestarted(); 544 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 588 * Verify the state after a scan was started either through startBatchedScan or 616 * Verify the state after a scan was started either through startBatchedScan or 624 // Verify scan started 625 order.verify(mWifiNative).scan(eq(scanFreqs), any(Set.class)) [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
ActivityTransitionTest.java | 28 import static org.mockito.Mockito.verify; 137 verify(targetActivity.enterListener, within(3000)).onTransitionEnd(any()); 138 verify(mExitListener, times(1)).onTransitionEnd(any()); 161 verify(mReenterListener, within(3000)).onTransitionEnd(any()); 162 verify(mSharedElementReenterListener, within(3000)).onTransitionEnd(any()); 163 verify(targetActivity.returnListener, times(1)).onTransitionEnd(any()); 209 verify(targetActivity.enterListener, within(3000)).onTransitionEnd(any()); 210 verify(mExitListener, times(1)).onTransitionEnd(any()); 232 verify(mReenterListener, within(3000)).onTransitionEnd(any()); 233 verify(mSharedElementReenterListener, within(3000)).onTransitionEnd(any()) [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiManagerTest.java | 88 * WifiConfiguration. Verify that the return value is propagated to the caller. 100 * Check the call to startSoftAp calls WifiService to startSoftAp with a null config. Verify 125 * Test creation of a LocalOnlyHotspotReservation and verify that close properly calls 139 verify(mWifiService).stopLocalOnlyHotspot(); 143 * Verify stopLOHS is called when try-with-resources is used properly. 159 verify(mWifiService).stopLocalOnlyHotspot(); 164 * TODO: when registrations are tracked, verify removal on close. 202 * Verify callback is properly plumbed when called. 266 * Verify observer is properly plumbed when called. 302 * Verify call to startLocalOnlyHotspot goes to WifiServiceImpl [all...] |
/frameworks/support/design/tests/src/android/support/design/widget/ |
CoordinatorLayoutTest.java | 38 import static org.mockito.Mockito.verify; 120 // Verify that onApplyWindowInsets() has not been called 121 verify(mockBehavior, never()) 133 // Verify that onApplyWindowInsets() has been called with some insets 134 verify(mockBehavior, atLeastOnce()) 340 verify(behavior, times(1)).onDependentViewChanged(col, viewB, viewA); 374 verify(behavior, times(1)).onDependentViewRemoved(col, viewB, viewA); 526 // Verify that the Behavior's onStartNestedScroll was called once 527 verify(behavior, times(1)).onStartNestedScroll( 534 // Verify that the Behavior's onNestedScrollAccepted was called onc [all...] |
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
BaseViewPagerTest.java | 60 import static org.mockito.Mockito.verify; 278 verify(mockPageChangeListener, times(1)).onPageSelected(1); 282 verify(mockPageChangeListener, times(1)).onPageSelected(2); 288 verify(mockPageChangeListener, times(1)).onPageSelected(2); 292 // Verify that this is the second time we're called on index 1 293 verify(mockPageChangeListener, times(2)).onPageSelected(1); 297 // Verify that this is the first time we're called on index 0 298 verify(mockPageChangeListener, times(1)).onPageSelected(0); 304 verify(mockPageChangeListener, times(1)).onPageSelected(0); 313 verify(mockPageChangeListener, times(1)).onPageSelected(2) [all...] |
/build/make/tools/releasetools/ |
check_ota_package_signature.py | 18 Verify a given OTA package with the specifed certificate. 50 """Verify the given package with the certificate. 123 # Verify the digest by outputing the decrypted result in ASN.1 structure. 125 cmd = ['openssl', 'rsautl', '-verify', '-certin', '-inkey', cert, 129 assert p1.returncode == 0, "Failed to run openssl rsautl -verify." 140 # Verify that the two digest strings match.
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
Within.java | 43 public void verify(VerificationData data) { method in class:Within
|
/cts/tests/app/src/android/app/cts/ |
AlertDialog_BuilderCursorTest.java | 181 verify(mOnClickListener, times(1)).onClick(mDialog, 0); 202 verify(mOnClickListener, times(1)).onClick(mDialog, 0); 227 verify(mockMultiChoiceClickListener, times(1)).onClick(mDialog, 0, true); 228 // Verify that our multi-choice listener was invoked to update our tracker array 239 verify(mockMultiChoiceClickListener, times(1)).onClick(mDialog, 1, true); 240 // Verify that our multi-choice listener was invoked to update our tracker array
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ValueAnimatorTest.java | 28 import static org.mockito.Mockito.verify; 140 * Verify that an animator with start delay will have its listener's onAnimationStart(...) 154 verify(listener, timeout(450).times(1)).onAnimationStart(anim, false); 155 verify(listener, timeout(450).times(1)).onAnimationEnd(anim, false); 237 verify(l1, times(1)).onAnimationPause(a1); 238 verify(l2, times(1)).onAnimationPause(a1); 244 verify(l1, times(1)).onAnimationResume(a1); 245 verify(l2, times(0)).onAnimationResume(a1); 282 verify(listener, within(200)).onAnimationEnd(anim, false); 363 verify(listener, within(200)).onAnimationEnd(a1, false) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SmallStructsTest.java | 29 * There are three steps to each test: (a) setup, (b) modify, (c) verify. 32 * (c) verify checks that the forEach_* kernel accessed the data as expected 178 Method verify = ScriptC_small_structs.class.getMethod( local 184 verify.invoke(mScript, alloc); 240 Method verify = ScriptC_small_structs.class.getMethod( local 246 verify.invoke(mScript, alloc);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
GoldenImageVerifier.java | 41 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { method in class:GoldenImageVerifier
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 28 import static org.mockito.Mockito.verify; 111 verify(listener, times(1)).onInflate(eq(viewStub1), inflatedViewCaptor.capture()); 165 verify(listener, times(1)).onInflate(viewStub, inflated); 211 verify(listener, times(1)).onInflate(viewStub, view);
|
WindowTest.java | 32 import static org.mockito.Mockito.verify; 164 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); 171 verify(mWindowCallback, times(1)).onWindowAttributesChanged(attrs); 212 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); 220 verify(mWindowCallback, times(1)).onWindowAttributesChanged(attr); 511 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); 514 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); 522 verify(mWindowCallback, times(1)).onWindowAttributesChanged(window.getAttributes()); 535 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); 539 verify(mWindowCallback, times(1)).onWindowAttributesChanged(attrs) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ActionMenuViewTest.java | 25 import static org.mockito.Mockito.verify; 92 verify(menuItemClickListener, times(1)).onMenuItemClick( 96 verify(menuItemClickListener, times(1)).onMenuItemClick( 142 verify(menuItemClickListener, times(1)).onMenuItemClick(
|
/external/bison/lib/ |
argmatch.h | 27 # include "verify.h" 35 verify (ARRAY_CARDINALITY (Arglist) == ARRAY_CARDINALITY (Vallist) + 1)
|
stat.c | 62 #include "verify.h" 112 verify (PATH_MAX <= 4096);
|
verify.h | 26 here generates easier-to-read diagnostics when verify (R) fails. 47 If _Static_assert works, verify (R) uses it directly. Similarly, 72 the verify macro: 74 void function (int n) { verify (n < 0); } 76 * For the verify macro, the struct _gl_verify_type will need to 88 two uses of the verify macro would yield colliding declarations 96 But this has the problem that two invocations of verify from 136 * GCC warns if -Wnested-externs is enabled and verify() is used 161 /* Verify requirement R at compile-time, as an integer constant expression 189 /* Verify requirement R at compile-time, as a declaration without 241 # define verify macro [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509AttributeCertificate.java | 90 public void verify(PublicKey key, String provider) method in interface:X509AttributeCertificate
|
/external/flac/libFLAC/include/protected/ |
stream_encoder.h | 88 FLAC__bool verify; member in struct:FLAC__StreamEncoderProtected
|
/external/junit/src/main/java/org/junit/rules/ |
ErrorCollector.java | 38 protected void verify() throws Throwable { method in class:ErrorCollector
|
/external/junit-params/src/test/java/junitparams/custom/combined/ |
CombinedParametersProviderTest.java | 26 public static void verify() { method in class:CombinedParametersProviderTest
|
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
RegisterBankInfo.h | 80 bool verify() const; 89 /// Verify that this mapping makes sense for a value of \p ExpectedBitWidth. 93 bool verify(unsigned ExpectedBitWidth) const; 177 bool verify(const MachineInstr &MI) const; 230 /// \pre InstrMapping.verify(MI) 300 /// \note For the verify method to succeed all the \p NumRegBanks 510 /// \post returnedVal.verify(MI). 512 /// \note If returnedVal does not verify MI, this would probably mean 572 bool verify(const TargetRegisterInfo &TRI) const;
|