/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
QSFooterTest.java | 18 import static org.mockito.ArgumentMatchers.anyBoolean; 68 verify(mActivityStarter, never()).startActivity(any(), anyBoolean());
|
TileLayoutTest.java | 23 import static org.mockito.Mockito.anyBoolean; 87 verify(tileRecord.tile, times(1)).setListening(any(), anyBoolean());
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TransformationMethodTest.java | 23 import static org.mockito.Mockito.anyBoolean; 110 verify(mMethod, atLeastOnce()).onFocusChanged(any(), any(), anyBoolean(), anyInt(), any()); 118 verify(mMethod, atLeastOnce()).onFocusChanged(any(), any(), anyBoolean(), anyInt(), any());
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
DetectingMisusedMatchersTest.java | 19 import static org.mockito.Mockito.anyBoolean; 50 anyBoolean();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
MediaNotificationProcessorTest.java | 21 import static org.mockito.ArgumentMatchers.anyBoolean; 64 verify(mColorizer).colorize(any(), anyInt(), anyBoolean()); 93 verify(mColorizer).colorize(any(), anyInt(), anyBoolean());
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
DisallowAddUserTaskTest.java | 20 import static org.mockito.Mockito.anyBoolean; 103 verify(mockUserManager, never()).setUserRestriction(anyString(), anyBoolean(), 138 verify(mockUserManager, never()).setUserRestriction(anyString(), anyBoolean(),
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
ConversationActivityUiStateTest.java | 49 Mockito.anyBoolean()); 73 Mockito.anyBoolean()); 94 Mockito.anyBoolean()); 117 Mockito.anyBoolean());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
AdminGrantedPermissionsPreferenceControllerTestBase.java | 36 import static org.mockito.Matchers.anyBoolean; 130 verify(mObserver, never()).onPreferenceAvailabilityUpdated(eq(mKey), anyBoolean()); 134 verify(mObserver, never()).onPreferenceAvailabilityUpdated(eq(mKey), anyBoolean());
|
EnterpriseInstalledPackagesPreferenceControllerTest.java | 41 import static org.mockito.Mockito.anyBoolean; 136 eq(KEY_NUMBER_ENTERPRISE_INSTALLED_PACKAGES), anyBoolean()); 141 eq(KEY_NUMBER_ENTERPRISE_INSTALLED_PACKAGES), anyBoolean());
|
ExposureChangesCategoryPreferenceControllerTest.java | 39 import static org.mockito.Mockito.anyBoolean; 126 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 132 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 138 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 156 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 163 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 170 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean()); 177 eq(KEY_EXPOSURE_CHANGES_CATEGORY), anyBoolean());
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
ResolverActivityTest.java | 78 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 79 Mockito.anyBoolean(), 108 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 109 Mockito.anyBoolean(), 139 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 140 Mockito.anyBoolean(), 176 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 177 Mockito.anyBoolean(), 219 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 220 Mockito.anyBoolean(), [all...] |
ChooserActivityTest.java | 75 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 76 Mockito.anyBoolean(), 88 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 89 Mockito.anyBoolean(), 102 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 103 Mockito.anyBoolean(), 131 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 132 Mockito.anyBoolean(), 158 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), 159 Mockito.anyBoolean(), [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
PreferenceListTest.java | 64 }).when(mSettings).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); 83 verify(mSettings, never()).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); 152 verify(mSettings, never()).findOrCreatePreference(not(argThat(equalsFake)), anyBoolean());
|
/external/easymock/src/org/easymock/ |
EasyMock.java | 213 public static boolean anyBoolean() {
[all...] |
/external/mockito/src/main/java/org/mockito/ |
ArgumentMatchers.java | 53 * // stubbing using anyBoolean() argument matcher 54 * when(mock.dryRun(anyBoolean())).thenReturn("state"); 64 * when(mock.dryRun(anyBoolean())).thenReturn("state"); 141 * @see #anyBoolean() 281 public static boolean anyBoolean() { [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
PluginManagerTest.java | 75 Mockito.anyBoolean(), Mockito.any(), Mockito.any(), Mockito.any()))
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
StatusBarTest.java | 26 import static org.mockito.ArgumentMatchers.anyBoolean; 30 import static org.mockito.Matchers.anyBoolean; 129 }).when(mStatusBarKeyguardViewManager).dismissWithAction(any(), any(), anyBoolean()); 325 verify(mBarService, never()).onPanelRevealed(anyBoolean(), anyInt());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
SoftApManagerTest.java | 20 import static org.mockito.Mockito.anyBoolean; 95 any(), anyBoolean(), anyInt(), anyInt(), any())).thenReturn(true); 222 eq(expectedSSID.getBytes(StandardCharsets.UTF_8)), anyBoolean(),
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SubscriptionInfoUpdaterTest.java | 21 import static org.mockito.Mockito.anyBoolean; 142 .getSubInfoUsingSlotIndexWithCheck(eq(FAKE_SUB_ID_1), anyBoolean(), anyString()); 221 .getSubInfoUsingSlotIndexWithCheck(eq(FAKE_SUB_ID_1), anyBoolean(), anyString()); 288 .getSubInfoUsingSlotIndexWithCheck(eq(FAKE_SUB_ID_1), anyBoolean(), anyString()); 329 .getSubInfoUsingSlotIndexWithCheck(eq(FAKE_SUB_ID_1), anyBoolean(), anyString()); 377 .getSubInfoUsingSlotIndexWithCheck(anyInt(), anyBoolean(), anyString());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
CdmaInboundSmsHandlerTest.java | 55 import static org.mockito.Mockito.anyBoolean; 133 doReturn(true).when(mTelephonyManager).getSmsReceiveCapableForPhone(anyInt(), anyBoolean());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandlerTest.java | 24 import static org.mockito.Mockito.anyBoolean; 86 doReturn(true).when(mTelephonyManager).getSmsReceiveCapableForPhone(anyInt(), anyBoolean());
|
GsmInboundSmsHandlerTest.java | 25 import static org.mockito.Matchers.anyBoolean; 136 doReturn(true).when(mTelephonyManager).getSmsReceiveCapableForPhone(anyInt(), anyBoolean()); 442 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), 444 anyInt(), anyBoolean(), nullable(String.class)); 455 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), 457 anyInt(), anyBoolean(), nullable(String.class)); 470 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), 472 anyInt(), anyBoolean(), nullable(String.class)); 498 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), 500 anyInt(), anyBoolean(), nullable(String.class)) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallScreeningServiceFilterTest.java | 53 import static org.mockito.Matchers.anyBoolean; 117 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerWifiTest.java | 33 import static org.mockito.Matchers.anyBoolean; 122 anyBoolean(), iconArg.capture(), any(), anyBoolean(), anyBoolean(), 123 any(), anyBoolean()); 268 anyBoolean(), any(), any(), inArg.capture(), outArg.capture(), any(), anyBoolean()); 280 enabledArg.capture(), any(), iconArg.capture(), anyBoolean(), 281 anyBoolean(), descArg.capture(), anyBoolean()); [all...] |
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
LingerMonitorTest.java | 38 import static org.mockito.Mockito.anyBoolean; 317 .showNotification(anyInt(), any(), any(), any(), any(), anyBoolean());
|