HomeSort by relevance Sort by last modified time
    Searched refs:verify (Results 51 - 75 of 3773) sorted by null

1 23 4 5 6 7 8 91011>>

  /developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/
StoreBackend.java 38 boolean verify(Transaction transaction, byte[] transactionSignature); method in interface:StoreBackend
48 boolean verify(Transaction transaction, String password); method in interface:StoreBackend
56 * @param publicKey the public key object to verify the signature from the user
  /developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/
StoreBackend.java 38 boolean verify(Transaction transaction, byte[] transactionSignature); method in interface:StoreBackend
48 boolean verify(Transaction transaction, String password); method in interface:StoreBackend
56 * @param publicKey the public key object to verify the signature from the user
  /development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/server/
StoreBackend.java 38 boolean verify(Transaction transaction, byte[] transactionSignature); method in interface:StoreBackend
48 boolean verify(Transaction transaction, String password); method in interface:StoreBackend
56 * @param publicKey the public key object to verify the signature from the user
  /external/junit/src/main/java/org/junit/rules/
Verifier.java 17 * @Override public void verify() {
36 verify(); method
45 protected void verify() throws Throwable {
  /external/mockito/src/test/java/org/mockitousage/verification/
VerificationOnMultipleMocksUsingMatchersTest.java 33 verify(list).add(anyObject());
34 verify(list).add(anyInt(), eq("test two"));
36 verify(map, times(2)).put(anyObject(), anyObject());
37 verify(map).put(eq("test two"), eq(200));
55 verify(list, times(2)).add("one");
56 verify(list, times(1)).add("two");
57 verify(list, times(0)).add("three");
59 verify(map, times(2)).put(anyObject(), anyInt());
BasicVerificationTest.java 29 verify(mock).clear();
32 verify(mock).add("test");
39 verify(mock).clear();
47 verify(mock).clear();
49 verify(mock).add("bar");
61 verify(mock, atLeastOnce()).clear();
62 verify(mockTwo, atLeastOnce()).add("add");
64 verify(mockTwo, atLeastOnce()).add("foo");
75 verify(mock).clear();
76 verify(mock).add("foo")
    [all...]
VerificationInOrderTest.java 44 verify(mockOne).simpleMethod(2);
45 verify(mockOne).simpleMethod(1);
47 inOrder.verify(mockOne).simpleMethod(2);
49 inOrder.verify(mockOne).simpleMethod(1);
60 inOrder.verify(mockOne, atLeastOnce()).differentMethod();
75 inOrder.verify(mockOne, times(2)).simpleMethod();
76 inOrder.verify(mockTwo).differentMethod();
77 inOrder.verify(mockOne, times(2)).simpleMethod();
79 inOrder.verify(mockOne, atLeastOnce()).simpleMethod();
92 verify(mockOne, times(4)).simpleMethod(anyInt())
    [all...]
AtLeastXVerificationTest.java 30 verify(mock, atLeast(2)).clear();
36 verify(mock, atLeast(1)).add(anyString());
39 verify(mock, atLeast(2)).add(anyString());
51 verify(mock, atLeast(0)).add("one");
52 verify(mock, atLeast(0)).clear();
DescriptiveMessagesOnVerificationInOrderErrorsTest.java 45 inOrder.verify(one).simpleMethod(1);
46 inOrder.verify(two, atLeastOnce()).simpleMethod(2);
49 inOrder.verify(one, atLeastOnce()).simpleMethod(11);
79 inOrder.verify(one).differentMethod();
97 inOrder.verify(one).simpleMethod(999);
107 inOrder.verify(three).simpleMethod(3);
109 inOrder.verify(one).simpleMethod(999);
118 inOrder.verify(one).simpleMethod(1);
119 inOrder.verify(one).simpleMethod(11);
120 inOrder.verify(two, times(2)).simpleMethod(2)
    [all...]
DescriptiveMessagesWhenVerificationFailsTest.java 37 verify(mock).simpleMethod();
60 verify(mock).threeArgumentMethod(12, new Foo(), "xx");
72 verify(mock).varargs(1, 1000);
98 verify(mock).varargs("x", "y", "z");
138 verify(mock).simpleMethod(10);
150 verify(mock).twoArgumentMethod(1, 1);
152 verify(mock).twoArgumentMethod(2, 1000);
165 verify(mock).oneArg(true);
216 verify(mock, atLeastOnce()).twoArgumentMethod(1, 2);
226 verify(mock, atLeastOnce()).twoArgumentMethod(anyInt(), eq(100))
    [all...]
  /external/testng/src/test/java/test/methods/
VerifyMethod1.java 20 public void verify() { method in class:VerifyMethod1
21 SampleMethod1.verify();
  /external/testng/src/test/java/test/verify/
VerifyNoListenersSampleTest.java 1 package test.verify;
10 @Verify
16 @Verify
24 public void verify() { method in class:VerifyNoListenersSampleTest
VerifySampleTest.java 1 package test.verify;
7 * Illustrate the implementation of a @Verify/@Verifier test.
10 * annotated with @Verify will be followed with a call to the @Verifier
16 @Verify
22 @Verify
30 public void verify() { method in class:VerifySampleTest
  /frameworks/base/core/java/org/apache/http/conn/ssl/
BrowserCompatHostnameVerifier.java 55 public final void verify( method in class:BrowserCompatHostnameVerifier
59 verify(host, cns, subjectAlts, false); method
StrictHostnameVerifier.java 62 public final void verify( method in class:StrictHostnameVerifier
66 verify(host, cns, subjectAlts, true); method
  /external/mockito/src/test/java/org/mockito/verification/
TimeoutTest.java 34 doNothing().when(mode).verify(data);
36 t.verify(data);
39 inOrder.verify(timer).start();
40 inOrder.verify(timer).isCounting();
51 when(mode).verify(data);
54 t.verify(data);
58 verify(timer, times(4)).isCounting();
69 when(mode).verify(data);
71 t.verify(data);
72 verify(timer, times(3)).isCounting()
    [all...]
  /external/mockito/src/test/java/org/mockitousage/bugs/varargs/
VarargsAndAnyObjectPicksUpExtraInvocationsTest.java 14 import static org.mockito.Mockito.verify;
31 verify(table, times(2)).newRow(anyString(), (String[]) anyVararg());
41 verify(table, times(2)).newRow(eq("x"), (String[]) anyVararg());
51 verify(table).newRow(anyString(), eq("foo"), anyString(), anyString());
52 verify(table).newRow(anyString(), anyString());
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
A2dpSinkStreamHandlerTest.java 91 verify(mMockAudioManager, times(0)).requestAudioFocus(any());
92 verify(mMockA2dpSink, times(0)).informAudioFocusStateNative(1);
93 verify(mMockA2dpSink, times(0)).informAudioTrackGainNative(1.0f);
101 verify(mMockAudioManager, times(0)).requestAudioFocus(any());
102 verify(mMockA2dpSink, times(0)).informAudioFocusStateNative(1);
103 verify(mMockA2dpSink, times(0)).informAudioTrackGainNative(1.0f);
110 verify(mMockAudioManager, times(1)).requestAudioFocus(any());
111 verify(mMockA2dpSink, times(1)).informAudioFocusStateNative(1);
112 verify(mMockA2dpSink, times(1)).informAudioTrackGainNative(1.0f);
119 verify(mMockAudioManager, times(0)).requestAudioFocus(any())
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/verification/
VerificationOverTimeImplTest.java 18 import static org.mockito.Mockito.verify;
37 impl.verify(null);
38 verify(delegate).verify(null);
46 doThrow(toBeThrown).when(delegate).verify(null);
47 impl.verify(null);
56 doThrow(toBeThrown).when(delegate).verify(null);
57 impl.verify(null);
65 doThrow(toBeThrown).when(delegate).verify(null);
66 impl.verify(null)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
SelfRecoveryTest.java 50 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), anyInt());
56 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), anyInt());
67 verify(mWifiController, never()).sendMessage(anyInt(), anyString());
70 verify(mWifiController, never()).sendMessage(anyInt(), anyString());
79 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_DISABLE_WIFI));
94 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI),
99 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI),
105 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI),
110 // Verify that further attempts to trigger restarts disable wifi
112 verify(mWifiController, never()).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI)
    [all...]
CarrierNetworkNotifierTest.java 33 import static org.mockito.Mockito.verify;
124 verify(mContext).registerReceiver(broadcastReceiverCaptor.capture(), any(), any(), any());
128 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(true),
139 verify(mWifiMetrics).setIsWifiNetworksAvailableNotificationEnabled(CARRIER_NET_NOTIFIER_TAG,
152 verify(mWifiMetrics).setIsWifiNetworksAvailableNotificationEnabled(CARRIER_NET_NOTIFIER_TAG,
163 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification(
165 verify(mWifiMetrics).incrementConnectToNetworkNotification(CARRIER_NET_NOTIFIER_TAG,
167 verify(mNotificationManager).notify(anyInt(), any());
177 verify(mNotificationManager, never()).notify(anyInt(), any());
190 verify(mNotificationManager, never()).notify(anyInt(), any())
    [all...]
OpenNetworkNotifierTest.java 33 import static org.mockito.Mockito.verify;
123 verify(mContext).registerReceiver(broadcastReceiverCaptor.capture(), any(), any(), any());
127 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(true),
138 verify(mWifiMetrics).setIsWifiNetworksAvailableNotificationEnabled(OPEN_NET_NOTIFIER_TAG,
151 verify(mWifiMetrics).setIsWifiNetworksAvailableNotificationEnabled(OPEN_NET_NOTIFIER_TAG,
162 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification(
164 verify(mWifiMetrics).incrementConnectToNetworkNotification(OPEN_NET_NOTIFIER_TAG,
166 verify(mNotificationManager).notify(anyInt(), any());
176 verify(mNotificationManager, never()).notify(anyInt(), any());
189 verify(mNotificationManager, never()).notify(anyInt(), any())
    [all...]
  /external/mockito/src/test/java/org/mockitousage/examples/use/
ExampleTest.java 36 verify(mockDatabase).updateNumberOfArticles("Guardian", 12);
37 verify(mockDatabase).updateNumberOfPolishArticles("Guardian", 5);
38 verify(mockDatabase).updateNumberOfEnglishArticles("Guardian", 7);
45 verify(mockCalculator).countArticles("Guardian");
46 verify(mockCalculator).countArticlesInPolish("Guardian");
53 verify(mockDatabase).updateNumberOfArticles("Guardian", 0);
54 verify(mockDatabase).updateNumberOfPolishArticles("Guardian", 0);
55 verify(mockDatabase).updateNumberOfEnglishArticles("Guardian", 0);
72 verify(mockDatabase).save(articleOne);
73 verify(mockDatabase).save(articleTwo)
    [all...]
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
InputConnectionWrapperTest.java 31 import static org.mockito.Mockito.verify;
70 verify(inputConnection, times(1)).beginBatchEdit();
73 verify(inputConnection, times(1)).clearMetaKeyStates(KeyEvent.META_ALT_ON);
78 verify(inputConnection, times(1)).commitCompletion(completionInfoCaptor.capture());
86 verify(inputConnection, times(1)).commitCorrection(correctionInfoCaptor.capture());
92 verify(inputConnection, times(1)).commitText(sameCharSequence("Text"), eq(1));
95 verify(inputConnection, times(1)).deleteSurroundingText(10, 100);
98 verify(inputConnection, times(1)).deleteSurroundingTextInCodePoints(10, 100);
101 verify(inputConnection, times(1)).endBatchEdit();
104 verify(inputConnection, times(1)).finishComposingText()
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
ImsServiceControllerTest.java 28 import static org.mockito.Mockito.verify;
122 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags));
129 * Verify that if bind is called multiple times, we only call bindService once.
142 verify(mMockContext, times(1)).bindService(any(), any(), anyInt());
161 verify(binder).linkToDeath(any(), anyInt());
162 verify(mMockServiceControllerBinder).createMMTelFeature(eq(1));
163 verify(mMockServiceControllerBinder).createRcsFeature(eq(1));
164 verify(mMockCallbacks).imsServiceFeatureCreated(eq(1), eq(1),
166 verify(mMockCallbacks).imsServiceFeatureCreated(eq(1), eq(2),
168 verify(mMockProxyCallbacks).imsFeatureCreated(eq(1), eq(1))
    [all...]

Completed in 1239 milliseconds

1 23 4 5 6 7 8 91011>>