/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackHandlerTest.java | 72 Mockito.verify(mEmengencyListener).setEmergencyCallsOnly(captor.capture()); in testEmergencyListener() 94 Mockito.verify(mSignalCallback).setWifiIndicators(enableArg.capture(), in testSignalCallback_setWifiIndicators() 95 statusArg.capture(), qsArg.capture(), inArg.capture(), outArg.capture(), in testSignalCallback_setWifiIndicators() 96 descArg.capture(), isTransient.capture()); in testSignalCallback_setWifiIndicators() 133 Mockito.verify(mSignalCallback).setMobileDataIndicators(statusArg.capture(), in testSignalCallback_setMobileDataIndicators() 134 qsArg.capture(), typeIconArg.capture(), qsTypeIconArg.capture(), inArg.capture(), in testSignalCallback_setMobileDataIndicators() 135 outArg.capture(), typeContentArg.capture(), descArg.capture(), wideArg.capture(), in testSignalCallback_setMobileDataIndicators() 136 subIdArg.capture(), eq(roaming)); in testSignalCallback_setMobileDataIndicators() 157 Mockito.verify(mSignalCallback).setSubs(subsArg.capture()); in testSignalCallback_setSubs() 178 Mockito.verify(mSignalCallback).setEthernetIndicators(iconArg.capture()); in testSignalCallback_setEthernetIndicators() [all …]
|
D | NetworkControllerBaseTest.java | 306 iconArg.capture(), in verifyLastQsMobileDataIndicators() 308 typeIconArg.capture(), dataInArg.capture(), dataOutArg.capture(), in verifyLastQsMobileDataIndicators() 338 iconArg.capture(), in verifyLastMobileDataIndicators() 340 typeIconArg.capture(), in verifyLastMobileDataIndicators() 362 iconArg.capture(), in verifyLastMobileDataIndicators() 363 qsIconArg.capture(), in verifyLastMobileDataIndicators() 364 typeIconArg.capture(), in verifyLastMobileDataIndicators() 365 qsTypeIconArg.capture(), in verifyLastMobileDataIndicators() 366 dataInArg.capture(), in verifyLastMobileDataIndicators() 367 dataOutArg.capture(), in verifyLastMobileDataIndicators()
|
D | NetworkControllerWifiTest.java | 158 anyBoolean(), any(), any(), inArg.capture(), outArg.capture(), any(), anyBoolean()); in verifyLastQsDataDirection() 170 enabledArg.capture(), any(), iconArg.capture(), anyBoolean(), in verifyLastQsWifiIcon() 171 anyBoolean(), descArg.capture(), anyBoolean()); in verifyLastQsWifiIcon() 183 anyBoolean(), iconArg.capture(), any(), anyBoolean(), anyBoolean(), in verifyLastWifiIcon()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | PlaybackSupportFragmentTest.java | 123 verify(selectedListener, times(1)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 124 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 130 verify(selectedListener, times(2)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 131 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 141 verify(selectedListener, times(3)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 142 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 190 verify(clickedListener, times(1)).onItemClicked(itemVHCaptor.capture(), in testClickedListener() 191 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testClickedListener() 200 verify(clickedListener, times(2)).onItemClicked(itemVHCaptor.capture(), in testClickedListener() 201 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testClickedListener() [all …]
|
D | PlaybackFragmentTest.java | 120 verify(selectedListener, times(1)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 121 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 127 verify(selectedListener, times(2)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 128 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 138 verify(selectedListener, times(3)).onItemSelected(itemVHCaptor.capture(), in testSelectedListener() 139 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testSelectedListener() 187 verify(clickedListener, times(1)).onItemClicked(itemVHCaptor.capture(), in testClickedListener() 188 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testClickedListener() 197 verify(clickedListener, times(2)).onItemClicked(itemVHCaptor.capture(), in testClickedListener() 198 itemCaptor.capture(), rowVHCaptor.capture(), rowCaptor.capture()); in testClickedListener() [all …]
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooperTest.java | 83 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 85 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 87 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 89 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 115 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove() 117 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove() 144 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 146 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 148 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 178 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeTwice() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 157 verify(mMockContext).registerReceiver(bcastRxCaptor.capture(), any(IntentFilter.class)); in setUp() 220 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testAwareDataPathInterfaceUpDown() 228 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testAwareDataPathInterfaceUpDown() 238 inOrder.verify(mMockNative).disable(transactionId.capture()); in testAwareDataPathInterfaceUpDown() 266 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageDisablesApis() 275 inOrder.verify(mMockNative).disable(transactionId.capture()); in testDisableUsageDisablesApis() 312 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageFlow() 321 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testDisableUsageFlow() 327 sparseArrayCaptor.capture()); in testDisableUsageFlow() 334 inOrder.verify(mMockNative).disable(transactionId.capture()); in testDisableUsageFlow() [all …]
|
D | WifiAwareDataPathStateManagerTest.java | 198 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces() 206 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 207 interfaceName.capture()); in testCreateDeleteAllInterfaces() 221 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 222 interfaceName.capture()); in testCreateDeleteAllInterfaces() 242 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 243 interfaceName.capture()); in testCreateDeleteAllInterfaces() 249 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 250 interfaceName.capture()); in testCreateDeleteAllInterfaces() 331 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testDestroyNdiDuringNdpSetupResponder() [all …]
|
D | WifiAwareNativeManagerTest.java | 101 mManagerStatusListenerCaptor.capture(), any()); in testControlFlow() 109 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any()); in testControlFlow() 113 mDestroyedListenerCaptor.capture(), any()); in testControlFlow() 122 mDestroyedListenerCaptor.capture(), any()); in testControlFlow() 140 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any()); in testControlFlow() 144 mDestroyedListenerCaptor.capture(), any()); in testControlFlow()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 84 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 102 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorWepProhibhited() 120 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigAuthError() 138 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigPbcOverlapError() 156 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigError() 173 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventSuccess() 188 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventOverlap() 203 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventTimeout() 219 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastAnqpDoneEvent() 240 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastIconDoneEvent() [all …]
|
D | WifiServiceImplTest.java | 598 .sendMessage(eq(CMD_SET_AP), eq(1), eq(0), mSoftApModeConfigCaptor.capture()); in testSetWifiApEnabledWithProperPermissionsWithNullConfig() 615 eq(CMD_SET_AP), eq(1), eq(0), mSoftApModeConfigCaptor.capture()); in testSetWifiApEnabledWithProperPermissionsWithValidConfig() 630 .sendMessage(eq(CMD_SET_AP), eq(0), eq(0), mSoftApModeConfigCaptor.capture()); in testSetWifiApEnabledFalseWithProperPermissionsWithNullConfig() 684 .sendMessage(eq(CMD_SET_AP), eq(1), eq(0), mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndNullConfig() 707 .sendMessage(eq(CMD_SET_AP), eq(1), eq(0), mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndValidConfig() 1060 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() 1069 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() 1085 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() 1095 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() 1111 verify(mContext).registerReceiver(mBroadcastReceiverCaptor.capture(), in testRegisteredCallbacksTriggeredOnSoftApDisabling() [all …]
|
D | WifiConnectivityManagerTest.java | 188 doNothing().when(scanner).registerScanListener(allSingleScanListenerCaptor.capture()); in mockWifiScanner() 1224 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in blacklistAndReenableBssid() 1235 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in blacklistAndReenableBssid() 1257 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in blacklistNetworkImmediatelyIfApHasNoCapacityForNewStation() 1279 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in verifyBlacklistRefreshedAfterScanResults() 1302 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in verifyBlacklistRefreshedAfterScanResults() 1324 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in clearBssidBlacklistWhenExitingWifiClientMode() 1334 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in clearBssidBlacklistWhenExitingWifiClientMode() 1357 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in clearBssidBlacklistWhenPreparingForForcedConnection() 1367 mBssidBlacklistCaptor.capture(), mSsidWhitelistCaptor.capture()); in clearBssidBlacklistWhenPreparingForForcedConnection() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
D | PluginInstanceManagerTest.java | 128 verify(sMockPlugin).onCreate(ArgumentCaptor.forClass(Context.class).capture(), in testPluginCreate() 129 ArgumentCaptor.forClass(Context.class).capture()); in testPluginCreate() 143 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testPluginDestroy() 175 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testReloadOnChange() 179 ArgumentCaptor.forClass(Context.class).capture(), in testReloadOnChange() 180 ArgumentCaptor.forClass(Context.class).capture()); in testReloadOnChange() 209 ArgumentCaptor.forClass(ComponentName.class).capture(), in testCheckAndDisable() 210 ArgumentCaptor.forClass(int.class).capture(), in testCheckAndDisable() 211 ArgumentCaptor.forClass(int.class).capture()); in testCheckAndDisable() 217 ArgumentCaptor.forClass(ComponentName.class).capture(), in testCheckAndDisable() [all …]
|
D | PluginManagerTest.java | 129 ArgumentCaptor.forClass(String.class).capture()); in testExceptionHandler_foundPlugin() 132 ArgumentCaptor.forClass(Thread.class).capture(), in testExceptionHandler_foundPlugin() 133 ArgumentCaptor.forClass(Throwable.class).capture()); in testExceptionHandler_foundPlugin() 144 ArgumentCaptor.forClass(String.class).capture()); in testExceptionHandler_noFoundPlugin() 147 ArgumentCaptor.forClass(Thread.class).capture(), in testExceptionHandler_noFoundPlugin() 148 ArgumentCaptor.forClass(Throwable.class).capture()); in testExceptionHandler_noFoundPlugin()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierSignalAgentTest.java | 85 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 94 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 102 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 127 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 136 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 146 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 178 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 186 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 197 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 201 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() [all …]
|
D | CarrierActionAgentTest.java | 112 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 113 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 119 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 122 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 133 verify(mDataActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 137 verify(mRadioActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
|
D | ServiceStateTrackerTest.java | 257 .sendStickyBroadcastAsUser(intentArgumentCaptor.capture(), eq(UserHandle.ALL)); in testSpnUpdateShowPlmnOnly() 284 verify(mTelephonyManager).setDataNetworkTypeForPhone(anyInt(), intArgumentCaptor.capture()); in testSpnUpdateShowPlmnOnly() 415 verify(mRuimRecords).registerForRecordsLoaded(eq(sst), integerArgumentCaptor.capture(), in testUpdatePhoneType() 461 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForVoiceRoamingOn() 508 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForVoiceRoamingOff() 547 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataRoamingOn() 594 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataRoamingOff() 640 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndInvalidregForDataConnAttach() 686 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataConnAttach() 730 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataConnDetach() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 141 inOrder.verify(mockAwareService).connect(binder.capture(), any(), in testConnectFlow() 142 clientProxyCallback.capture(), isNull(), eq(false)); in testConnectFlow() 145 inOrder.verify(mockCallback).onAttached(sessionCaptor.capture()); in testConnectFlow() 163 inOrder.verify(mockAwareService).connect(binder.capture(), any(), any(), isNull(), in testConnectFlow() 185 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testConnectFailure() 193 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testConnectFailure() 197 inOrder.verify(mockCallback).onAttached(sessionCaptor.capture()); in testConnectFailure() 222 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testInvalidConnectSequence() 230 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testInvalidConnectSequence() 277 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testPublishFlow() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 182 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 247 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected() 267 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected() 279 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 285 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 298 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal() 325 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 345 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew() 372 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew() 389 verify(next, times(5)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() [all …]
|
D | ActionReplacingCallbackTest.java | 132 mInteractionIdCaptor.capture(), eq(mActionReplacingCallback), eq(0), in setUp() 156 verify(mMockServiceCallback).setFindAccessibilityNodeInfoResult(mInfoCaptor.capture(), in testCallbacks_singleRootNodeThenReplacer_returnsNodeWithReplacedActions() 175 verify(mMockServiceCallback).setFindAccessibilityNodeInfoResult(mInfoCaptor.capture(), in testCallbacks_singleNonrootNodeThenReplacer_returnsNodeWithNoActions() 194 verify(mMockServiceCallback).setFindAccessibilityNodeInfoResult(mInfoCaptor.capture(), in testCallbacks_replacerThenSingleRootNode_returnsNodeWithReplacedActions() 211 verify(mMockServiceCallback).setFindAccessibilityNodeInfosResult(mInfoListCaptor.capture(), in testCallbacks_multipleNodesThenReplacer_clearsActionsAndAddsSomeToRoot() 232 verify(mMockServiceCallback).setFindAccessibilityNodeInfosResult(mInfoListCaptor.capture(), in testCallbacks_replacerThenMultipleNodes_clearsActionsAndAddsSomeToRoot() 262 verify(mMockServiceCallback).setFindAccessibilityNodeInfoResult(mInfoCaptor.capture(), in testConstructor_actionReplacerThrowsException_passesDataToService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileLayoutTest.java | 143 .layout(left1.capture(), top1.capture(), right1.capture(), bottom1.capture()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds() 149 .layout(left2.capture(), top2.capture(), right2.capture(), bottom2.capture()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 220 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 227 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 264 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 271 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 310 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 317 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 358 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 365 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 404 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() 411 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMonitorTest.java | 67 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastSupplicantDisconnectionEvent() 83 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers() 85 verify(mSecondHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers() 99 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceIsNull() 113 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceHandlerIsNull()
|
D | SupplicantP2pIfaceCallbackTest.java | 379 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 386 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 395 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 402 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 411 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 418 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 432 verify(mMonitor).broadcastP2pApStaConnected(any(String.class), p2pDeviceCaptor.capture()); in testStaAuth_success() 446 verify(mMonitor).broadcastP2pApStaConnected(any(String.class), p2pDeviceCaptor.capture()); in testStaAuth_noDeviceAddress_success() 482 respListCaptor.capture()); in testOnServiceDiscoveryResponseCompleted_success()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 182 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallWaiting() 209 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallHold() 248 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallEct() 265 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallCcbs() 371 verify(mTestHandler, times(1)).sendMessageAtTime(messageArgumentCaptor.capture(), in testSuppServiceNotification() 434 verify(mTestHandler, times(1)).sendMessageAtTime(messageArgumentCaptor.capture(), in testIncomingRing() 447 verify(mImsUtInterface).queryCLIR(messageArgumentCaptor.capture()); in testOutgoingCallerIdDisplay() 451 verify(mImsUtInterface).updateCLIR(eq(1234), messageArgumentCaptor.capture()); in testOutgoingCallerIdDisplay() 464 (String) eq(null), messageArgumentCaptor.capture()); in testCallForwardingOption() 481 verify(mImsUtInterface).queryCallWaiting(messageArgumentCaptor.capture()); in testCallWaiting() [all …]
|