Searched refs:verify (Results 1 - 25 of 665) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/utiltests/src/android/util/
H A DIntArrayTest.java37 verify(new int[]{1, 2, 3}, a);
41 verify(new int[]{1, 2, 3, 4, 5, 6}, a);
44 verify(new int[]{1, 2}, a);
47 verify(new int[]{1, 2, 0, 0, 0, 0, 0, 0}, a);
50 verify(new int[]{1, 2, 0, 0, 0, 10, 0, 0}, a);
55 verify(new int[]{1, 2, 0, 0, 0, 20, 10, 0, 0}, a);
61 verify(new int[]{1, 2, 0, 0, 0, 20, 10, 0, 0, 0, 0, 0, 0, 0, 30}, a);
69 verify(backingArray, a);
77 verify(new int[]{10, 20, 50}, a);
80 public void verify(in method in class:IntArrayTest
[all...]
H A DLongArrayTest.java37 verify(new long[]{1, 2, 3}, a);
41 verify(new long[]{1, 2, 3, 4, 5, 6}, a);
44 verify(new long[]{1, 2}, a);
47 verify(new long[]{1, 2, 0, 0, 0, 0, 0, 0}, a);
50 verify(new long[]{1, 2, 0, 0, 0, 10, 0, 0}, a);
55 verify(new long[]{1, 2, 0, 0, 0, 20, 10, 0, 0}, a);
61 verify(new long[]{1, 2, 0, 0, 0, 20, 10, 0, 0, 0, 0, 0, 0, 0, 30}, a);
69 verify(backingArray, a);
77 verify(new long[]{10, 20, 50}, a);
80 public void verify(lon method in class:LongArrayTest
[all...]
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DX509HostnameVerifier.java67 boolean verify(String host, SSLSession session); method in interface:X509HostnameVerifier
69 void verify(String host, SSLSocket ssl) throws IOException; method in interface:X509HostnameVerifier
71 void verify(String host, X509Certificate cert) throws SSLException; method in interface:X509HostnameVerifier
84 * @param host The hostname to verify.
87 void verify(String host, String[] cns, String[] subjectAlts) method in interface:X509HostnameVerifier
H A DBrowserCompatHostnameVerifier.java55 public final void verify( method in class:BrowserCompatHostnameVerifier
59 verify(host, cns, subjectAlts, false);
H A DStrictHostnameVerifier.java62 public final void verify( method in class:StrictHostnameVerifier
66 verify(host, cns, subjectAlts, true);
H A DAllowAllHostnameVerifier.java47 public final void verify( method in class:AllowAllHostnameVerifier
/frameworks/support/persistence/db/ktx/src/test/java/androidx/sqlite/db/
H A DSupportSQLiteDatabaseTest.kt23 import org.mockito.Mockito.verify
29 verify(db).beginTransaction()
35 verify(db).beginTransactionNonExclusive()
41 verify(db).beginTransaction()
47 verify(db).setTransactionSuccessful()
48 verify(db).endTransaction()
61 verify(db, times(0)).setTransactionSuccessful()
62 verify(db).endTransaction()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiNativeInterfaceManagementTest.java34 import static org.mockito.Mockito.verify;
168 mInOrder.verify(mWifiVendorHal).initialize(any());
169 mInOrder.verify(mWificondControl).initialize(any());
170 mInOrder.verify(mWifiVendorHal).registerRadioModeChangeHandler(any());
352 verify(mWifiMonitor).stopMonitoring(IFACE_NAME_1);
353 verify(mNwManagementService).unregisterObserver(mNetworkObserverCaptor1.getValue());
354 verify(mSupplicantStaIfaceHal).teardownIface(IFACE_NAME_1);
355 verify(mWificondControl).tearDownClientInterface(IFACE_NAME_1);
356 verify(mSupplicantStaIfaceHal).deregisterDeathHandler();
357 verify(mWificondContro
[all...]
H A DSelfRecoveryTest.java50 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),
112 verify(mWifiController, never()).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI),
114 verify(mWifiControlle
[all...]
H A DCarrierNetworkNotifierTest.java33 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(mNotificationManage
[all...]
H A DOpenNetworkNotifierTest.java33 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(mNotificationManage
[all...]
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DBatchingListUpdateCallbackTest.java19 import static org.mockito.Mockito.verify;
45 verify(mCallback).onInserted(3, 2);
54 verify(mCallback).onInserted(3, 3);
63 verify(mCallback).onInserted(3, 6);
72 verify(mCallback).onInserted(3, 5);
73 verify(mCallback).onInserted(2, 1);
81 verify(mCallback).onRemoved(3, 2);
90 verify(mCallback).onRemoved(3, 3);
99 verify(mCallback).onRemoved(3, 5);
100 verify(mCallbac
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DCommandQueueTest.java19 import static org.mockito.Mockito.verify;
46 verify(mCallbacks).disable(eq(0), eq(0), eq(false));
60 verify(mCallbacks).setIcon(eq(slot), eq(icon));
64 verify(mCallbacks).removeIcon(eq(slot));
73 verify(mCallbacks).disable(eq(state1), eq(state2), eq(true));
80 verify(mCallbacks).animateExpandNotificationsPanel();
87 verify(mCallbacks).animateCollapsePanels(eq(0));
95 verify(mCallbacks).animateExpandSettingsPanel(eq(panel));
103 verify(mCallbacks).setSystemUiVisibility(eq(1), eq(2), eq(3), eq(4), eq(null), eq(r));
110 verify(mCallback
[all...]
/frameworks/support/lifecycle/runtime/src/test/java/androidx/lifecycle/
H A DLifecycleRegistryTest.java34 import static org.mockito.Mockito.verify;
71 verify(generic).onStateChanged(mLifecycleOwner, ON_CREATE);
74 verify(generic, never()).onStateChanged(mLifecycleOwner, ON_CREATE);
82 verify(testObserver, never()).onStop();
84 verify(testObserver).onStop();
98 verify(observer1).onCreate();
99 verify(observer2).onCreate();
100 verify(observer3).onCreate();
106 verify(observer1).onStart();
107 verify(observer
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DImsServiceControllerTest.java28 import static org.mockito.Mockito.verify;
122 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags));
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));
169 verify(mMockProxyCallback
[all...]
/frameworks/support/persistence/db/src/test/java/androidx/sqlite/db/
H A DSimpleSQLiteQueryTestTest.java21 import static org.mockito.Mockito.verify;
53 verify(program).bindString(1, "bar");
54 verify(program).bindLong(2, 2);
55 verify(program).bindLong(3, 1);
56 verify(program).bindDouble(4, .5f);
57 verify(program).bindNull(5);
58 verify(program).bindBlob(6, bytes);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DPinnedStackControllerTest.java23 import static org.mockito.Mockito.verify;
46 verify(mIPinnedStackListener).onImeVisibilityChanged(false, 0);
47 verify(mIPinnedStackListener).onShelfVisibilityChanged(false, 0);
48 verify(mIPinnedStackListener).onMovementBoundsChanged(any(), any(), any(), eq(false),
50 verify(mIPinnedStackListener).onActionsChanged(any());
51 verify(mIPinnedStackListener).onMinimizedStateChanged(anyBoolean());
58 verify(mIPinnedStackListener).onShelfVisibilityChanged(true, SHELF_HEIGHT);
59 verify(mIPinnedStackListener).onMovementBoundsChanged(any(), any(), any(), eq(false),
61 verify(mIPinnedStackListener, never()).onImeVisibilityChanged(anyBoolean(), anyInt());
/frameworks/base/core/tests/coretests/src/com/android/internal/textservice/
H A DLazyIntToIntMapTest.java25 import static org.mockito.Mockito.verify;
48 verify(func, never()).applyAsInt(anyInt());
51 verify(func, times(0)).applyAsInt(eq(1));
52 verify(func, times(1)).applyAsInt(eq(2));
56 verify(func, times(0)).applyAsInt(eq(1));
57 verify(func, times(1)).applyAsInt(eq(2));
73 verify(func1, never()).applyAsInt(anyInt());
74 verify(func2, never()).applyAsInt(anyInt());
77 verify(func1, times(1)).applyAsInt(eq(2));
78 verify(func
[all...]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DGroupHelperTest.java26 import static org.mockito.Mockito.verify;
86 verify(mCallback, never()).addAutoGroupSummary(
88 verify(mCallback, never()).addAutoGroup(anyString());
89 verify(mCallback, never()).removeAutoGroup(anyString());
90 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString());
103 verify(mCallback, never()).addAutoGroupSummary(
105 verify(mCallback, never()).addAutoGroup(anyString());
106 verify(mCallback, never()).removeAutoGroup(anyString());
107 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString());
120 verify(mCallbac
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DCallbackTest.java24 import static org.mockito.Mockito.verify;
81 verify(mObj, times(1)).onClick();
82 verify(mObj, never()).onClick(any(View.class));
83 verify(mObj, never()).onClickWithParam(any(NotBindableVo.class));
84 verify(mObj, never()).onClickWithParam(any(View.class), any(NotBindableVo.class));
95 verify(mObj, never()).onClick();
96 verify(mObj, times(1)).onClick(mBinding.view2);
97 verify(mObj, never()).onClickWithParam(any(NotBindableVo.class));
98 verify(mObj, never()).onClickWithParam(any(View.class), any(NotBindableVo.class));
109 verify(mOb
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSubscriptionInfoUpdaterTest.java32 import static org.mockito.Mockito.verify;
175 verify(mSubscriptionContent).put(eq(SubscriptionManager.SIM_SLOT_INDEX),
180 verify(mConfigManager).updateConfigForPhoneId(eq(FAKE_SUB_ID_1),
182 verify(mSubscriptionController, times(1)).clearSubInfo();
183 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged();
193 verify(mSubscriptionContent, times(0)).put(anyString(), any());
196 verify(mConfigManager).updateConfigForPhoneId(eq(FAKE_SUB_ID_1),
198 verify(mSubscriptionController, times(0)).clearSubInfo();
199 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged();
209 verify(mSubscriptionConten
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DListRow.java34 verify();
40 verify();
46 verify();
49 private void verify() { method in class:ListRow
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointProvisionerTest.java28 import static org.mockito.Mockito.verify;
112 verify(mOsuNetworkConnection).init(mHandlerCaptor.capture());
126 verify(mOsuNetworkConnection, atLeastOnce())
129 verify(mOsuServerConnection, atLeastOnce())
149 verify(mCallback).onProvisioningFailure(
159 verify(mCallback).onProvisioningStatus(
168 verify(mCallback).onProvisioningFailure(
181 verify(mCallback).onProvisioningStatus(ProvisioningCallback.OSU_STATUS_AP_CONNECTING);
185 verify(mCallback).onProvisioningStatus(ProvisioningCallback.OSU_STATUS_AP_CONNECTED);
187 verify(mCallbac
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DDismissCallbackRegistryTest.java20 import static org.mockito.Mockito.verify;
56 verify(mMockCallback).onDismissCancelled();
65 verify(mMockCallback).onDismissCancelled();
66 verify(mMockCallback2).onDismissCancelled();
74 verify(mMockCallback).onDismissSucceeded();
83 verify(mMockCallback).onDismissSucceeded();
84 verify(mMockCallback2).onDismissSucceeded();
93 verify(mMockCallback, times(1)).onDismissSucceeded();
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifier.java46 public void verify(int resId, int vcardType) throws IOException, VCardException { method in class:PropertyNodesVerifier
47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
50 public void verify(int resId, int vcardType, final VCardParser parser) method in class:PropertyNodesVerifier
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { method in class:PropertyNodesVerifier
58 verify(is, vcardType, parser);
61 public void verify(InputStream is, int vcardType, final VCardParser parser) method in class:PropertyNodesVerifier
84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());

Completed in 1010 milliseconds

1234567891011>>