/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ServiceTest.java | 95 control.verify(); 137 control.verify(); 166 control.verify(); 197 control.verify(); 221 control.verify();
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
AppRestrictionsHelperTest.java | 27 import static org.mockito.Mockito.verify; 148 verify(mIpm, times(1)).installExistingPackageAsUser("app1", testUserId, 150 verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false, testUserId); 151 verify(mockListener).onDisableUiForPackage("app2"); 152 verify(mPm, times(1)).deletePackageAsUser(eq("app3"),
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
ANQPRequestManagerTest.java | 26 import static org.mockito.Mockito.verify; 103 * Verify that the expected set of ANQP elements are being requested when the targeted AP 116 * Verify that the expected set of ANQP elements are being requested when the targeted AP 129 * Verify that the expected set of ANQP elements are being requested when the targeted AP 142 * Verify that the expected set of ANQP elements are being requested when the targeted AP 155 * Verify that attempt to request ANQP elements from an AP will fail when there is a request 173 verify(mHandler, never()).requestANQP(anyLong(), anyObject()); 184 * Verify that an immediate attempt to request ANQP elements from an AP will succeed when 198 // Verify that new request is not being held off after previous send failure. 205 * Verify that an immediate attempt to request ANQP elements from an AP will succeed whe [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 33 import static org.mockito.Mockito.verify; 199 verify(mCT, times(1)).registerForVoiceCallStarted(any(Handler.class), 201 verify(mCT, times(1)).registerForVoiceCallEnded(any(Handler.class), 205 verify(mSimulatedCommandsVerifier, times(1)).setupDataCall( 222 verify(mSimulatedCommandsVerifier, times(1)).deactivateDataCall(eq(1),
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
BottomSheetDialogTest.java | 30 import static org.mockito.Mockito.verify; 144 verify(mockListener, times(1)).onClick(any(View.class)); 250 verify(onCancelListener, timeout(3000)).onCancel(any(DialogInterface.class)); 262 verify(callback, timeout(3000)).onStateChanged(any(View.class), 264 verify(callback, timeout(3000)).onStateChanged(any(View.class),
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
FontRequestEmojiCompatConfigTest.java | 37 import static org.mockito.Mockito.verify; 104 verify(callback, times(1)).onFailed(same(exception)); 119 verify(callback, times(1)).onFailed(argumentCaptor.capture()); 187 verify(callback, times(1)).onLoaded(any(MetadataRepo.class)); 202 verify(callback, times(1)).onFailed(argumentCaptor.capture());
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
GridWidgetPrefetchTest.java | 8 import static org.mockito.Mockito.verify; 51 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt()); 53 verify(registry).addPosition(aPositionData[0], aPositionData[1]); 237 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt()); 239 verify(registry).addPosition(position, 0);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
NameConstraintsExtension.java | 404 * subtrees state variables. Also verify that the subject name and 412 public boolean verify(X509Certificate cert) throws IOException { method in class:NameConstraintsExtension 437 if (verify(subject) == false) { 469 // verify each subjectAltName 472 if (!verify(altGNI)) { 490 public boolean verify(GeneralNameInterface name) throws IOException { method in class:NameConstraintsExtension 495 // Verify that the name is consistent with the excluded subtrees 523 // Verify that the name is consistent with the permitted subtrees 584 if (!verify(emailName)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
SecondaryUserControllerTest.java | 23 import static org.mockito.Mockito.verify; 91 verify(mGroup).addPreference(argumentCaptor.capture()); 103 verify(mGroup).addPreference(argumentCaptor.capture()); 176 verify(mGroup).addPreference(argumentCaptor.capture()); 216 verify(mGroup).addPreference(argumentCaptor.capture());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
FileDownloadCacheFuncTest.java | 107 EasyMock.verify(mMockDownloader); 183 Mockito.verify(mockDownloader1).downloadFile(Mockito.eq(remotePath1), Mockito.any()); 184 Mockito.verify(mockDownloader2).downloadFile(Mockito.eq(remotePath2), Mockito.any()); 185 Mockito.verify(mockDownloader3).downloadFile(Mockito.eq(remotePath3), Mockito.any()); 252 EasyMock.verify(mMockDownloader); 255 /** Verify the cache is built from disk contents on creation */
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
TfTestLauncherTest.java | 135 EasyMock.verify(mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig); 154 EasyMock.verify(mMockListener); 175 EasyMock.verify(mMockListener); 196 EasyMock.verify(mMockListener); 215 EasyMock.verify(mMockBuildInfo, mMockRunUtil, mMockListener);
|
/external/flac/libFLAC/ |
stream_encoder.c | 277 /* verify-related routines: */ 408 * The data for the verify section 424 } verify; member in struct:FLAC__StreamEncoderPrivate 592 if(0 != encoder->private_->verify.decoder) 593 FLAC__stream_decoder_delete(encoder->private_->verify.decoder); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsListViewTest.java | 37 import static org.mockito.Mockito.verify; 215 verify(mockScrollListener, times(1)).onScroll(mListView, 0, 0, 0); 221 verify(mockScrollListener, times(1)).onScroll(mListView, 0, mListView.getChildCount(), 231 verify(mockScrollListener, atLeastOnce()).onScroll(eq(mListView), 245 verify(mockScrollListener, atLeastOnce()).onScrollStateChanged(eq(mListView), 248 // Verify that the last scroll state is IDLE 265 verify(mockScrollListener, atLeastOnce()).onScroll(eq(mListView), 273 verify(mockScrollListener, atLeastOnce()).onScroll(eq(mListView), 280 verify(mockScrollListener, never()).onScroll(any(AbsListView.class), anyInt(), anyInt(), 285 verify(mockScrollListener, never()).onScroll(any(AbsListView.class), anyInt(), anyInt() [all...] |
AutoCompleteTextViewTest.java | 36 import static org.mockito.Mockito.verify; 317 verify(mockTextWatcher, never()).onTextChanged(any(CharSequence.class), 321 verify(mockTextWatcher, times(1)).onTextChanged(sameCharSequence(STRING_TEST), 326 verify(mockTextWatcher, times(1)).onTextChanged(sameCharSequence(STRING_CHECK), 344 verify(mockDismissListener, times(1)).onDismiss(); 348 verify(mockDismissListener, times(1)).onDismiss(); 361 verify(mockDismissListener, times(2)).onDismiss(); 428 verify(mockTextWatcher, never()).onTextChanged(any(CharSequence.class), 433 verify(mockTextWatcher, times(1)).onTextChanged(sameCharSequence("Text"), 438 verify(mockTextWatcher, times(1)).onTextChanged(sameCharSequence("Another") [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ClipDrawableTest.java | 32 import static org.mockito.Mockito.verify; 85 verify(mockDrawable, never()).draw(any()); 87 verify(mockDrawable, times(1)).draw(any()); 224 verify(callback, times(1)).invalidateDrawable(clipDrawable); 276 verify(callback, times(1)).invalidateDrawable(mockClipDrawable); 316 verify(callback, times(1)).scheduleDrawable(clipDrawable, null, 1000L); 343 verify(mockDrawable, times(1)).setColorFilter(cf); 347 verify(mockDrawable, times(1)).setColorFilter(null); 375 verify(callback, times(1)).unscheduleDrawable(clipDrawable, null);
|
/external/llvm/lib/CodeGen/GlobalISel/ |
RegisterBankInfo.cpp | 46 bool RegisterBankInfo::verify(const TargetRegisterInfo &TRI) const { function in class:RegisterBankInfo 51 dbgs() << "Verify " << RegBank << '\n'; 52 assert(RegBank.verify(TRI) && "RegBank is invalid"); 324 assert(Mapping.verify(MI) && "Mapping is invalid"); 392 bool RegisterBankInfo::PartialMapping::verify() const { function in class:RegisterBankInfo::PartialMapping 409 bool RegisterBankInfo::ValueMapping::verify(unsigned ExpectedBitWidth) const { function in class:RegisterBankInfo::ValueMapping 414 // this check is done by PartialMapping::verify 415 assert(PartMap.verify() && "Partial mapping is invalid"); 463 bool RegisterBankInfo::InstructionMapping::verify( function in class:RegisterBankInfo::InstructionMapping 488 assert(MOMapping.verify(getSizeInBits [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
StatusBarTest.java | 38 import static org.mockito.Mockito.verify; 324 verify(mBarService, times(1)).onPanelHidden(); 325 verify(mBarService, never()).onPanelRevealed(anyBoolean(), anyInt()); 342 verify(mBarService, never()).onPanelHidden(); 343 verify(mBarService, times(1)).onPanelRevealed(false, 1); 361 verify(mBarService, never()).onPanelHidden(); 362 verify(mBarService, times(1)).onPanelRevealed(true, 5); 380 verify(mBarService, never()).onPanelHidden(); 381 verify(mBarService, times(1)).onPanelRevealed(false, 5);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
BaseWifiScannerImplTest.java | 257 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); 291 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); 325 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); 447 order.verify(mWifiNative).scan(eq(expectedScan), any(Set.class)); 457 order.verify(eventHandler).onFullScanResult(eq(result), eq(0)); 460 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); 508 order.verify(mWifiNative).scan(eq(expectedScan), eq(expectedHiddenNetSSIDs)); 519 order.verify(eventHandler).onFullScanResult(eq(result), eq(0)); 523 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE);
|
/prebuilts/go/darwin-x86/src/go/token/ |
position_test.go | 94 // verify consistency of test case 99 // add file and verify name and size 111 // add lines individually and verify all positions 125 // add lines with SetLines and verify all positions 134 // add lines with SetLinesForContent and verify all positions 157 // verify positions for all offsets 285 // verify position info
|
/prebuilts/go/linux-x86/src/go/token/ |
position_test.go | 94 // verify consistency of test case 99 // add file and verify name and size 111 // add lines individually and verify all positions 125 // add lines with SetLines and verify all positions 134 // add lines with SetLinesForContent and verify all positions 157 // verify positions for all offsets 285 // verify position info
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
FilterDefinitionTest.java | 7 import static org.easymock.EasyMock.verify; 88 verify(binding, injector, servletContext); method 140 verify(injector, request); method 202 verify(injector, request); method 238 verify(servletRequest, binding, injector); method 273 verify(servletRequest, binding, injector); method
|
/external/skia/src/gpu/glsl/ |
GrGLSLProgramBuilder.cpp | 137 SkDEBUGCODE(verify(proc);) 208 SkDEBUGCODE(verify(fp);) 255 SkDEBUGCODE(verify(xp);) 418 void GrGLSLProgramBuilder::verify(const GrPrimitiveProcessor& gp) { function in class:GrGLSLProgramBuilder 422 void GrGLSLProgramBuilder::verify(const GrXferProcessor& xp) { function in class:GrGLSLProgramBuilder 427 void GrGLSLProgramBuilder::verify(const GrFragmentProcessor& fp) { function in class:GrGLSLProgramBuilder
|
/frameworks/base/core/java/android/util/jar/ |
StrictJarVerifier.java | 136 void verify() { method in class:StrictJarVerifier.VerifierEntry 196 // been found, do not verify. 309 SignerInfo[] verifiedSignerInfos = block.verify(sfBytes); 312 "Failed to verify signature: no verified SignerInfos"); 366 // Verify manifest hash in .sf file 426 // Use .SF to verify the mainAttributes of the manifest 432 if (!verify(attributes, digestAttribute, manifestBytes, 0, mainAttributesEnd, false, true)) { 437 // Use .SF to verify the whole manifest. 439 if (!verify(attributes, digestAttribute, manifestBytes, 0, manifestBytes.length, false, false)) { 447 if (!verify(entry.getValue(), "-Digest", manifestBytes 468 private boolean verify(Attributes attributes, String entry, byte[] data, method in class:StrictJarVerifier [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerWifiTest.java | 37 import static org.mockito.Mockito.verify; 111 verify(mMockNetworkScoreManager).registerNetworkScoreCache( 121 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( 267 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( 279 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( 292 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators(
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
AlertDialogCursorTest.java | 38 import static org.mockito.Mockito.verify; 182 // Verify that our click listener hasn't been called yet 183 verify(onClickListener, never()).onClick(any(DialogInterface.class), any(int.class)); 191 verify(onClickListener, times(1)).onClick(mAlertDialog, indexToClick); 211 * Helper method to verify the state of the multi-choice items list. It gets the String 326 * Helper method to verify the state of the single-choice items list. It gets the String 382 verify(onClickListener, times(1)).onClick(mAlertDialog, currentlyExpectedSelectionIndex); 387 verify(onClickListener, times(2)).onClick(mAlertDialog, currentlyExpectedSelectionIndex); 398 verify(onClickListener, times(1)).onClick(mAlertDialog, currentlyExpectedSelectionIndex);
|