Home
last modified time | relevance | path

Searched refs:forClass (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java71 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testEmergencyListener()
87 ArgumentCaptor<Boolean> enableArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
88 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
89 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
90 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
91 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
92 ArgumentCaptor<String> descArg = ArgumentCaptor.forClass(String.class); in testSignalCallback_setWifiIndicators()
93 ArgumentCaptor<Boolean> isTransient = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
123 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
124 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
[all …]
DNetworkControllerBaseTest.java299 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators()
300 ArgumentCaptor<Integer> typeIconArg = ArgumentCaptor.forClass(Integer.class); in verifyLastQsMobileDataIndicators()
301 ArgumentCaptor<Boolean> dataInArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators()
302 ArgumentCaptor<Boolean> dataOutArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators()
333 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
334 ArgumentCaptor<Integer> typeIconArg = ArgumentCaptor.forClass(Integer.class); in verifyLastMobileDataIndicators()
354 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
355 ArgumentCaptor<Integer> typeIconArg = ArgumentCaptor.forClass(Integer.class); in verifyLastMobileDataIndicators()
356 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
357 ArgumentCaptor<Integer> qsTypeIconArg = ArgumentCaptor.forClass(Integer.class); in verifyLastMobileDataIndicators()
[all …]
DNetworkControllerWifiTest.java154 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection()
155 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection()
165 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon()
166 ArgumentCaptor<Boolean> enabledArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsWifiIcon()
167 ArgumentCaptor<String> descArg = ArgumentCaptor.forClass(String.class); in verifyLastQsWifiIcon()
180 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon()
DExtensionControllerImplTest.java75 ArgumentCaptor<PluginListener> listener = ArgumentCaptor.forClass(PluginListener.class); in testPlugin()
116 ArgumentCaptor<ConfigurationListener> captor = ArgumentCaptor.forClass( in testUiMode()
163 ArgumentCaptor<ConfigurationListener> captor = ArgumentCaptor.forClass( in testSortOrder()
174 ArgumentCaptor<Tunable> tunable = ArgumentCaptor.forClass(Tunable.class); in testSortOrder()
180 ArgumentCaptor<PluginListener> listener = ArgumentCaptor.forClass(PluginListener.class); in testSortOrder()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java83 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
101 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
119 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventFailDueToConfigAuthError()
137 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
155 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventFailDueToConfigError()
172 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventSuccess()
187 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventOverlap()
202 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastWpsEventTimeout()
218 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastAnqpDoneEvent()
239 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastIconDoneEvent()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
DPluginInstanceManagerTest.java128 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 …]
DPluginManagerTest.java129 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/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java134 .forClass(IWifiAwareEventCallback.class); in testConnectFlow()
135 ArgumentCaptor<WifiAwareSession> sessionCaptor = ArgumentCaptor.forClass( in testConnectFlow()
137 ArgumentCaptor<IBinder> binder = ArgumentCaptor.forClass(IBinder.class); in testConnectFlow()
178 ArgumentCaptor<WifiAwareSession> sessionCaptor = ArgumentCaptor.forClass( in testConnectFailure()
181 .forClass(IWifiAwareEventCallback.class); in testConnectFailure()
218 .forClass(IWifiAwareEventCallback.class); in testInvalidConnectSequence()
263 ArgumentCaptor<WifiAwareSession> sessionCaptor = ArgumentCaptor.forClass( in testPublishFlow()
266 .forClass(IWifiAwareEventCallback.class); in testPublishFlow()
268 .forClass(IWifiAwareDiscoverySessionCallback.class); in testPublishFlow()
270 .forClass(PublishDiscoverySession.class); in testPublishFlow()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java84 ArgumentCaptor<Intent> mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotifyManifestReceivers()
101 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotifyManifestReceivers()
126 ArgumentCaptor<Intent> mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotifyRuntimeReceivers()
144 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotifyRuntimeReceivers()
177 ArgumentCaptor<Intent> mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
185 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
196 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
200 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
208 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
212 mCaptorIntent = ArgumentCaptor.forClass(Intent.class); in testNotify()
[all …]
DServiceStateTrackerTest.java255 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testSpnUpdateShowPlmnOnly()
283 ArgumentCaptor<Integer> intArgumentCaptor = ArgumentCaptor.forClass(Integer.class); in testSpnUpdateShowPlmnOnly()
414 ArgumentCaptor<Integer> integerArgumentCaptor = ArgumentCaptor.forClass(Integer.class); in testUpdatePhoneType()
460 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForVoiceRoamingOn()
507 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForVoiceRoamingOff()
546 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataRoamingOn()
593 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataRoamingOff()
639 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndInvalidregForDataConnAttach()
685 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataConnAttach()
729 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataConnDetach()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java138 ArgumentCaptor<Integer> left1 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
139 ArgumentCaptor<Integer> top1 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
140 ArgumentCaptor<Integer> right1 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
141 ArgumentCaptor<Integer> bottom1 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
144 ArgumentCaptor<Integer> left2 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
145 ArgumentCaptor<Integer> top2 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
146 ArgumentCaptor<Integer> right2 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
147 ArgumentCaptor<Integer> bottom2 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java218 final ArgumentCaptor<Integer> intervalCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
225 final ArgumentCaptor<Integer> tapCountCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
262 final ArgumentCaptor<Integer> intervalCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
269 final ArgumentCaptor<Integer> tapCountCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
308 final ArgumentCaptor<Integer> intervalCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
315 final ArgumentCaptor<Integer> tapCountCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
356 final ArgumentCaptor<Integer> intervalCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete()
363 final ArgumentCaptor<Integer> tapCountCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete()
402 final ArgumentCaptor<Integer> intervalCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete()
409 final ArgumentCaptor<Integer> tapCountCaptor = ArgumentCaptor.forClass(Integer.class); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMonitorTest.java66 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastSupplicantDisconnectionEvent()
82 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastEventToTwoHandlers()
98 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastEventWhenIfaceIsNull()
112 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testBroadcastEventWhenIfaceHandlerIsNull()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java149 ArgumentCaptor<BroadcastReceiver> bcastRxCaptor = ArgumentCaptor.forClass( in setUp()
212 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown()
260 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageDisablesApis()
302 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageFlow()
303 ArgumentCaptor<SparseArray> sparseArrayCaptor = ArgumentCaptor.forClass(SparseArray.class); in testDisableUsageFlow()
389 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalFailureEnableAndConfigure()
438 ArgumentCaptor<Short> transactionIdCapture = ArgumentCaptor.forClass(Short.class); in testAwareEventsDelivery()
523 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalNoResponseTimeout()
587 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishFail()
657 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishSuccessTerminated()
[all …]
DWifiAwareDataPathStateManagerTest.java191 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testCreateDeleteAllInterfaces()
192 ArgumentCaptor<String> interfaceName = ArgumentCaptor.forClass(String.class); in testCreateDeleteAllInterfaces()
311 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDestroyNdiDuringNdpSetupResponder()
370 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testMultipleNdpsOnSingleNdi()
371 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdpsOnSingleNdi()
473 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleIdenticalRequests()
474 ArgumentCaptor<Messenger> agentMessengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testMultipleIdenticalRequests()
588 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdi()
589 ArgumentCaptor<String> ifNameCaptor = ArgumentCaptor.forClass(String.class); in testMultipleNdi()
976 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testDataPathInitiatorUtility()
[all …]
DWifiAwareNativeManagerTest.java53 ArgumentCaptor.forClass(HalDeviceManager.ManagerStatusListener.class);
55 mDestroyedListenerCaptor = ArgumentCaptor.forClass(
58 mAvailListenerCaptor = ArgumentCaptor.forClass(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java181 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallWaiting()
208 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallHold()
247 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallEct()
264 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallCcbs()
370 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testSuppServiceNotification()
433 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testIncomingRing()
446 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testOutgoingCallerIdDisplay()
462 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCallForwardingOption()
480 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCallWaiting()
516 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCellBarring()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPlaybackSupportFragmentTest.java112 ArgumentCaptor.forClass(Presenter.ViewHolder.class); in testSelectedListener()
113 ArgumentCaptor<Object> itemCaptor = ArgumentCaptor.forClass(Object.class); in testSelectedListener()
115 ArgumentCaptor.forClass(RowPresenter.ViewHolder.class); in testSelectedListener()
116 ArgumentCaptor<Row> rowCaptor = ArgumentCaptor.forClass(Row.class); in testSelectedListener()
179 ArgumentCaptor.forClass(Presenter.ViewHolder.class); in testClickedListener()
180 ArgumentCaptor<Object> itemCaptor = ArgumentCaptor.forClass(Object.class); in testClickedListener()
182 ArgumentCaptor.forClass(RowPresenter.ViewHolder.class); in testClickedListener()
183 ArgumentCaptor<Row> rowCaptor = ArgumentCaptor.forClass(Row.class); in testClickedListener()
DPlaybackFragmentTest.java109 ArgumentCaptor.forClass(Presenter.ViewHolder.class); in testSelectedListener()
110 ArgumentCaptor<Object> itemCaptor = ArgumentCaptor.forClass(Object.class); in testSelectedListener()
112 ArgumentCaptor.forClass(RowPresenter.ViewHolder.class); in testSelectedListener()
113 ArgumentCaptor<Row> rowCaptor = ArgumentCaptor.forClass(Row.class); in testSelectedListener()
176 ArgumentCaptor.forClass(Presenter.ViewHolder.class); in testClickedListener()
177 ArgumentCaptor<Object> itemCaptor = ArgumentCaptor.forClass(Object.class); in testClickedListener()
179 ArgumentCaptor.forClass(RowPresenter.ViewHolder.class); in testClickedListener()
180 ArgumentCaptor<Row> rowCaptor = ArgumentCaptor.forClass(Row.class); in testClickedListener()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java75 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testNoTimeMovement()
107 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchNoTimeMove()
135 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeOnce()
167 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeTwice()
203 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchReverseOrder()
239 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAllMultipleTimes()
347 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testAutoDispatchStopsCleanlyWithoutDispatchingAMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java278 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in checkRequestPinShortcut()
353 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_explicitTargetActivity()
435 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_noTargetActivity_noMainActivity()
497 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_dynamicExists()
552 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_manifestExists()
633 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_dynamicExists_alreadyPinned()
713 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_manifestExists_alreadyPinned()
876 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
939 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother()
997 final ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); in testRequestPinShortcut_launcherAlreadyHasPinned()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java85 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testRecalculateBindAllowance()
99 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testSetMemoryPressure()
120 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testCalcFew()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiEditTextHelperTest.java106 final ArgumentCaptor<TextWatcher> argumentCaptor = ArgumentCaptor.forClass( in testAttachesTextWatcher()
118 final ArgumentCaptor<TextWatcher> argumentCaptor = ArgumentCaptor.forClass( in testSetMaxCount()
139 final ArgumentCaptor<TextWatcher> argumentCaptor = ArgumentCaptor.forClass( in testSetEmojiReplaceStrategy()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java503 ArgumentCaptor<String> apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
514 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
521 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
537 ArgumentCaptor<DataProfile> dpCaptor = ArgumentCaptor.forClass(DataProfile.class); in testDataSetup()
568 ArgumentCaptor<String> apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
579 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
586 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
603 ArgumentCaptor<DataProfile> dpCaptor = ArgumentCaptor.forClass(DataProfile.class); in testDataRetry()
629 dpCaptor = ArgumentCaptor.forClass(DataProfile.class); in testDataRetry()
665 ArgumentCaptor<DataProfile> dpCaptor = ArgumentCaptor.forClass(DataProfile.class); in testUserDisableData()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java241 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
265 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
290 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
314 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
340 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
369 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
399 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
428 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
461 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
527 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()

123456