/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackHandlerTest.java | 75 Mockito.verify(mEmengencyListener).setEmergencyCallsOnly(captor.capture()); in testEmergencyListener() 99 Mockito.verify(mSignalCallback).setWifiIndicators(enableArg.capture(), in testSignalCallback_setWifiIndicators() 100 statusArg.capture(), qsArg.capture(), inArg.capture(), outArg.capture(), in testSignalCallback_setWifiIndicators() 101 descArg.capture(), isTransient.capture(), secondary.capture()); in testSignalCallback_setWifiIndicators() 139 Mockito.verify(mSignalCallback).setMobileDataIndicators(statusArg.capture(), in testSignalCallback_setMobileDataIndicators() 140 qsArg.capture(), typeIconArg.capture(), qsTypeIconArg.capture(), inArg.capture(), in testSignalCallback_setMobileDataIndicators() 141 outArg.capture(), typeContentArg.capture(), descArg.capture(), wideArg.capture(), in testSignalCallback_setMobileDataIndicators() 142 subIdArg.capture(), eq(roaming)); in testSignalCallback_setMobileDataIndicators() 163 Mockito.verify(mSignalCallback).setSubs(subsArg.capture()); in testSignalCallback_setSubs() 184 Mockito.verify(mSignalCallback).setEthernetIndicators(iconArg.capture()); in testSignalCallback_setEthernetIndicators() [all …]
|
D | NetworkControllerBaseTest.java | 176 .registerDefaultNetworkCallback(callbackArg.capture(), isA(Handler.class)); in setupNetworkController() 349 iconArg.capture(), in verifyLastQsMobileDataIndicators() 351 typeIconArg.capture(), dataInArg.capture(), dataOutArg.capture(), in verifyLastQsMobileDataIndicators() 381 iconArg.capture(), in verifyLastMobileDataIndicators() 383 typeIconArg.capture(), in verifyLastMobileDataIndicators() 421 iconArg.capture(), in verifyLastMobileDataIndicators() 422 qsIconArg.capture(), in verifyLastMobileDataIndicators() 423 typeIconArg.capture(), in verifyLastMobileDataIndicators() 424 qsTypeIconArg.capture(), in verifyLastMobileDataIndicators() 425 dataInArg.capture(), in verifyLastMobileDataIndicators() [all …]
|
D | NetworkControllerWifiTest.java | 211 anyBoolean(), any(), any(), inArg.capture(), outArg.capture(), any(), anyBoolean(), in verifyLastQsDataDirection() 224 enabledArg.capture(), any(), iconArg.capture(), anyBoolean(), in verifyLastQsWifiIcon() 225 anyBoolean(), descArg.capture(), anyBoolean(), any()); in verifyLastQsWifiIcon() 237 anyBoolean(), iconArg.capture(), any(), anyBoolean(), anyBoolean(), in verifyLastWifiIcon()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 177 verify(mMockContext, times(3)).registerReceiver(bcastRxCaptor.capture(), in setUp() 264 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testRequestMacAddresses() 271 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), in testRequestMacAddresses() 284 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 288 inOrder.verify(mockSessionCallback1).onSessionStarted(sessionId.capture()); in testRequestMacAddresses() 292 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 296 inOrder.verify(mockSessionCallback2).onSessionStarted(sessionId.capture()); in testRequestMacAddresses() 303 inOrder.verify(mockSessionCallback1).onMatch(peerIdCaptor.capture(), isNull(), in testRequestMacAddresses() 305 inOrder.verify(mockSessionCallback1).onMatchWithDistance(peerIdCaptor.capture(), isNull(), in testRequestMacAddresses() 312 inOrder.verify(mockSessionCallback2).onMatch(peerIdCaptor.capture(), isNull(), isNull()); in testRequestMacAddresses() [all …]
|
D | WifiAwareNativeManagerTest.java | 105 mManagerStatusListenerCaptor.capture(), any()); in setUp() 129 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface() 147 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface() 177 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testReferenceCounting() 185 mInOrder.verify(mHalDeviceManager).createNanIface(mDestroyedListenerCaptor.capture(), in testReferenceCounting() 199 mInOrder.verify(mHalDeviceManager).createNanIface(mDestroyedListenerCaptor.capture(), in testReferenceCounting() 238 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testRequestFlowWithAsyncDeletes() 246 mInOrder.verify(mHalDeviceManager).createNanIface(mDestroyedListenerCaptor.capture(), in testRequestFlowWithAsyncDeletes() 280 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testBasicFlowHal12() 288 mInOrder.verify(mHalDeviceManager).createNanIface(mDestroyedListenerCaptor.capture(), in testBasicFlowHal12()
|
D | WifiAwareDataPathStateManagerTest.java | 214 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces() 222 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 223 interfaceName.capture()); in testCreateDeleteAllInterfaces() 237 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 238 interfaceName.capture()); in testCreateDeleteAllInterfaces() 258 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 259 interfaceName.capture()); in testCreateDeleteAllInterfaces() 265 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 266 interfaceName.capture()); in testCreateDeleteAllInterfaces() 454 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testDestroyNdiDuringNdpSetupResponder() [all …]
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooperTest.java | 88 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 90 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 92 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 94 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement() 146 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove() 148 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove() 175 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 177 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 179 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce() 209 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeTwice() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 86 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 104 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorWepProhibhited() 122 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigAuthError() 140 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigPbcOverlapError() 158 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigError() 175 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventSuccess() 190 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventOverlap() 205 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventTimeout() 221 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastAnqpDoneEvent() 242 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastIconDoneEvent() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierActionAgentTest.java | 110 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 111 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 118 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 121 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 134 verify(mDataActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 138 verify(mRadioActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 155 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 156 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 164 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 168 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() [all …]
|
D | CarrierSignalAgentTest.java | 105 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 114 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 122 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 147 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 156 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 166 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 195 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 203 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 214 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 218 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() [all …]
|
D | RILTest.java | 334 verify(mRadioProxy, atLeast(1)).getIccCardStatus(mSerialNumberCaptor.capture()); in testRadioErrorWithContinuousSystemErr() 347 verify(mRadioProxy).getIccCardStatus(mSerialNumberCaptor.capture()); in testGetIccCardStatus() 358 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp() 370 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp() 381 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp() 394 .supplyIccPuk2ForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPuk2ForApp() 407 mSerialNumberCaptor.capture(), eq(oldPin), eq(newPin), eq(aid)); in testChangeIccPinForApp() 420 mSerialNumberCaptor.capture(), eq(oldPin2), eq(newPin2), eq(aid)); in testChangeIccPin2ForApp() 431 mSerialNumberCaptor.capture(), eq(netpin)); in testSupplyNetworkDepersonalization() 442 verify(mRadioProxy).getCurrentCalls(mSerialNumberCaptor.capture()); in testGetCurrentCalls() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 186 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 251 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected() 271 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected() 283 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 289 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 302 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal() 319 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_fromMouseWithInjectedGestureInProgress_shouldNotCancelAndPassReal() 346 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 366 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew() 393 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew() [all …]
|
/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 | 223 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 230 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 267 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 274 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 313 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 320 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 361 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 368 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 407 eq("power_double_tap_interval"), intervalCaptor.capture()); in testInterceptPowerKeyDown_longpress() 413 eq("power_consecutive_short_tap_count"), tapCountCaptor.capture()); in testInterceptPowerKeyDown_longpress() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginInstanceManagerTest.java | 138 verify(sMockPlugin).onCreate(ArgumentCaptor.forClass(Context.class).capture(), in testPluginCreate() 139 ArgumentCaptor.forClass(Context.class).capture()); in testPluginCreate() 153 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testPluginDestroy() 185 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testReloadOnChange() 189 ArgumentCaptor.forClass(Context.class).capture(), in testReloadOnChange() 190 ArgumentCaptor.forClass(Context.class).capture()); in testReloadOnChange() 225 verify(sMockPlugin).onCreate(ArgumentCaptor.forClass(Context.class).capture(), in testNonDebuggable_whitelist() 226 ArgumentCaptor.forClass(Context.class).capture()); in testNonDebuggable_whitelist() 266 ArgumentCaptor.forClass(ComponentName.class).capture(), in testDisableWhitelisted() 267 ArgumentCaptor.forClass(int.class).capture(), in testDisableWhitelisted() [all …]
|
D | PluginManagerTest.java | 180 ArgumentCaptor.forClass(String.class).capture()); in testExceptionHandler_foundPlugin() 183 ArgumentCaptor.forClass(Thread.class).capture(), in testExceptionHandler_foundPlugin() 184 ArgumentCaptor.forClass(Throwable.class).capture()); in testExceptionHandler_foundPlugin() 195 ArgumentCaptor.forClass(String.class).capture()); in testExceptionHandler_noFoundPlugin() 198 ArgumentCaptor.forClass(Thread.class).capture(), in testExceptionHandler_noFoundPlugin() 199 ArgumentCaptor.forClass(Throwable.class).capture()); in testExceptionHandler_noFoundPlugin()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMonitorTest.java | 68 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastSupplicantDisconnectionEvent() 84 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers() 86 verify(mSecondHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers() 100 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceIsNull() 114 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceHandlerIsNull()
|
D | WifiP2pServiceImplTest.java | 646 intentCaptor.capture(), eq(UserHandle.ALL), permissionCaptor.capture()); in checkSendThisDeviceChangedBroadcast() 683 intentCaptor.capture(), eq(UserHandle.ALL)); in checkSendP2pPersistentGroupsChangedBroadcast() 747 verify(mContext, times(2)).registerReceiver(mBcastRxCaptor.capture(), in setUpWifiP2pServiceImpl() 752 mAvailListenerCaptor.capture(), any(Handler.class)); in setUpWifiP2pServiceImpl() 1356 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenNoChannelUpdated() 1375 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenChannelUpdateWrongPkgName() 1394 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenPermissionDenied() 1418 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenLocationModeDisabled() 1439 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersSuccess() 1456 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestGroupInfoFailureWhenNoChannelUpdated() [all …]
|
D | SupplicantP2pIfaceCallbackTest.java | 157 verify(mMonitor).broadcastP2pDeviceFound(eq(mIface), deviceCaptor.capture()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 430 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 437 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 446 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 453 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 462 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 469 anyString(), discEventCaptor.capture()); in testOnProvisionDiscoveryCompleted() 483 verify(mMonitor).broadcastP2pApStaConnected(any(String.class), p2pDeviceCaptor.capture()); in testStaAuth_success() 497 verify(mMonitor).broadcastP2pApStaConnected(any(String.class), p2pDeviceCaptor.capture()); in testStaAuth_noDeviceAddress_success() 533 respListCaptor.capture()); in testOnServiceDiscoveryResponseCompleted_success() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 171 inOrder.verify(mockAwareService).connect(binder.capture(), any(), in testConnectFlow() 172 clientProxyCallback.capture(), isNull(), eq(false)); in testConnectFlow() 175 inOrder.verify(mockCallback).onAttached(sessionCaptor.capture()); in testConnectFlow() 193 inOrder.verify(mockAwareService).connect(binder.capture(), any(), any(), isNull(), in testConnectFlow() 215 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testConnectFailure() 223 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testConnectFailure() 227 inOrder.verify(mockCallback).onAttached(sessionCaptor.capture()); in testConnectFailure() 252 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testInvalidConnectSequence() 260 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testInvalidConnectSequence() 307 inOrder.verify(mockAwareService).connect(any(), any(), clientProxyCallback.capture(), in testPublishFlow() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettingsTest.java | 93 stringCaptor.capture()); in testSetDataAllowedInVoiceCall() 100 stringCaptor.capture()); in testSetDataAllowedInVoiceCall() 111 stringCaptor.capture()); in testSetAlwaysAllowMmsData() 119 stringCaptor.capture()); in testSetAlwaysAllowMmsData()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 230 verify(mockContext, times(2)).registerReceiver(bcastRxCaptor.capture(), in setUp() 274 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(requests[i]), eq(true)); in testRangingFlow() 331 verify(mockNative).rangeRequest(mIntCaptor.capture(), mRequestCaptor.capture(), eq(true)); in testRangingFlowUsingAwarePeerHandles() 356 verify(mockCallback).onRangingResults(mListCaptor.capture()); in testRangingFlowUsingAwarePeerHandles() 400 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(requests[i]), eq(true)); in testRangingFlowNativeFailure() 450 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(request), eq(true)); in testRangingRequestWithoutRuntimePermission() 496 verify(mockIbinder, times(numIter)).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDeathOfRangingApp() 501 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(requests[i]), eq(true)); in testBinderDeathOfRangingApp() 511 (ArrayList) mListCaptor.capture()); in testBinderDeathOfRangingApp() 569 verify(mockIbinder).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDeathWithWorkSource() [all …]
|
D | RttNativeTest.java | 110 mRttLifecycleCbCaptor.capture(), any()); in setUp() 114 verify(mockRttController).getCapabilities(mGetCapCbCatpr.capture()); in setUp() 132 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequest() 183 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestNotPrivilegedNo80211mcSupportMixed() 236 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilities() 290 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 321 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeRequestNotPrivilegedNo80211mcSupportForAny() 362 verify(mockRttController, times(2)).getCapabilities(mGetCapCbCatpr.capture()); in testRttControllerLifecycle() 412 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeResults() 438 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeResultsNullArray() [all …]
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | types.hal | 138 * Create a request suitable for still image capture. Specifically, this 151 * Create a request suitable for still image capture while recording 158 * Create a request suitable for zero shutter lag still capture. This means 164 * A basic template for direct application control of capture 167 * quality. The manual capture parameters (exposure, sensitivity, and so on) 175 * Either size of the capture request / result metadata sent through FMQ or 215 * This must contain the information which needs to be submitted with a capture 233 * Information about a capture, available to a device client on various 253 * The partial result count (index) for this capture result. 264 * For capture result errors, the physical camera ID in case the respective request contains [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 187 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallWaiting() 214 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallHold() 253 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallEct() 270 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testHandleInCallMmiCommandCallCcbs() 374 verify(mTestHandler, times(1)).sendMessageAtTime(messageArgumentCaptor.capture(), in testSuppServiceNotification() 438 verify(mTestHandler, times(1)).sendMessageAtTime(messageArgumentCaptor.capture(), in testIncomingRing() 451 verify(mImsUtInterface).queryCLIR(messageArgumentCaptor.capture()); in testOutgoingCallerIdDisplay() 455 verify(mImsUtInterface).updateCLIR(eq(1234), messageArgumentCaptor.capture()); in testOutgoingCallerIdDisplay() 468 (String) eq(null), messageArgumentCaptor.capture()); in testCallForwardingOption() 485 verify(mImsUtInterface).queryCallWaiting(messageArgumentCaptor.capture()); in testCallWaiting() [all …]
|