/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() 142 Mockito.verify(mSignalCallback).setMobileDataIndicators(statusArg.capture(), in testSignalCallback_setMobileDataIndicators() 143 qsArg.capture(), typeIconArg.capture(), qsTypeIconArg.capture(), inArg.capture(), in testSignalCallback_setMobileDataIndicators() 144 outArg.capture(), typeContentArg.capture(), typeContentHtmlArg.capture(), in testSignalCallback_setMobileDataIndicators() 145 descArg.capture(), wideArg.capture(), subIdArg.capture(), eq(roaming)); in testSignalCallback_setMobileDataIndicators() 167 Mockito.verify(mSignalCallback).setSubs(subsArg.capture()); in testSignalCallback_setSubs() 188 Mockito.verify(mSignalCallback).setEthernetIndicators(iconArg.capture()); in testSignalCallback_setEthernetIndicators() [all …]
|
D | NetworkControllerBaseTest.java | 188 .registerDefaultNetworkCallback(callbackArg.capture(), isA(Handler.class)); in setupNetworkController() 365 iconArg.capture(), in verifyLastQsMobileDataIndicators() 367 typeIconArg.capture(), dataInArg.capture(), dataOutArg.capture(), in verifyLastQsMobileDataIndicators() 397 iconArg.capture(), in verifyLastMobileDataIndicators() 399 typeIconArg.capture(), in verifyLastMobileDataIndicators() 437 iconArg.capture(), in verifyLastMobileDataIndicators() 438 qsIconArg.capture(), in verifyLastMobileDataIndicators() 439 typeIconArg.capture(), in verifyLastMobileDataIndicators() 440 qsTypeIconArg.capture(), in verifyLastMobileDataIndicators() 441 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 | 215 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces() 223 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 224 interfaceName.capture()); in testCreateDeleteAllInterfaces() 238 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 239 interfaceName.capture()); in testCreateDeleteAllInterfaces() 259 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 260 interfaceName.capture()); in testCreateDeleteAllInterfaces() 266 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 267 interfaceName.capture()); in testCreateDeleteAllInterfaces() 455 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 | 98 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 99 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 105 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 108 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 119 verify(mDataActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 123 verify(mRadioActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM() 140 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 141 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 148 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() 152 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange() [all …]
|
D | CarrierSignalAgentTest.java | 91 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 100 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 108 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyManifestReceivers() 133 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 142 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 152 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotifyRuntimeReceivers() 181 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 189 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 200 verify(mContext, times(++count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() 204 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); in testNotify() [all …]
|
D | RILTest.java | 343 verify(mRadioProxy, atLeast(1)).getIccCardStatus(mSerialNumberCaptor.capture()); in testRadioErrorWithContinuousSystemErr() 356 verify(mRadioProxy).getIccCardStatus(mSerialNumberCaptor.capture()); in testGetIccCardStatus() 367 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp() 379 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp() 390 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp() 403 .supplyIccPuk2ForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPuk2ForApp() 416 mSerialNumberCaptor.capture(), eq(oldPin), eq(newPin), eq(aid)); in testChangeIccPinForApp() 429 mSerialNumberCaptor.capture(), eq(oldPin2), eq(newPin2), eq(aid)); in testChangeIccPin2ForApp() 440 mSerialNumberCaptor.capture(), eq(netpin)); in testSupplyNetworkDepersonalization() 451 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
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 | 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 | 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/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/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/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/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 …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehaviorTest.java | 138 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onModeDeactivated_stopsObserving() 139 verify(mMockWakefulnessLifecycle).addObserver(observer.capture()); in onModeDeactivated_stopsObserving() 140 verify(mMockOverviewProxyService).addCallback(overviewProxyListener.capture()); in onModeDeactivated_stopsObserving() 214 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onBothAwakeAndUnDoze_handlesShow() 215 verify(mMockWakefulnessLifecycle).addObserver(observer.capture()); in onBothAwakeAndUnDoze_handlesShow() 271 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onSleepOrDoze_handlesHide() 272 verify(mMockWakefulnessLifecycle).addObserver(observer.capture()); in onSleepOrDoze_handlesHide() 315 verify(mMockOverviewProxyService).addCallback(sysUiStateCallback.capture()); in onHomeHandleHide_handlesHide() 344 verify(mMockOverviewProxyService).addCallback(sysUiStateCallback.capture()); in onHomeHandleUnhide_handlesShow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextControllerTest.java | 153 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testAirplaneMode() 176 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCardIOError() 188 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCardIOError() 237 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCallback() 269 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCreateInfo_OneValidSubscription() 293 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCreateInfo_OneValidSubscriptionWithRoaming() 317 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCarrierText_noTextOnReadySimWhenNull() 345 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCarrierText_noTextOnReadySimWhenNull_airplaneMode_wifiOn() 372 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCreateInfo_noSubscriptions() 397 verify(mCarrierTextCallback).updateCarrierInfo(captor.capture()); in testCarrierText_twoValidSubscriptions() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttNativeTest.java | 112 mRttLifecycleCbCaptor.capture(), any()); in setUp() 116 verify(mockRttController).getCapabilities(mGetCapCbCatpr.capture()); in setUp() 134 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequest() 185 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestNotPrivilegedNo80211mcSupportMixed() 238 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilities() 292 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 323 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeRequestNotPrivilegedNo80211mcSupportForAny() 364 verify(mockRttController, times(2)).getCapabilities(mGetCapCbCatpr.capture()); in testRttControllerLifecycle() 414 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeResults() 440 verify(mockRttServiceImpl).onRangingResults(eq(cmdId), mRttResultCaptor.capture()); in testRangeResultsNullArray() [all …]
|
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 …]
|
/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/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 …]
|