Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java62 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testEmergencyListener()
77 ArgumentCaptor<Boolean> enableArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
78 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
79 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
80 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
81 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
82 ArgumentCaptor<String> descArg = ArgumentCaptor.forClass(String.class); in testSignalCallback_setWifiIndicators()
109 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
110 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
111 ArgumentCaptor<Integer> typeIconArg = ArgumentCaptor.forClass(Integer.class); in testSignalCallback_setMobileDataIndicators()
[all …]
DNetworkControllerBaseTest.java264 ArgumentCaptor<Boolean> hasNoSimsArg = ArgumentCaptor.forClass(Boolean.class); in verifyHasNoSims()
272 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators()
273 ArgumentCaptor<Integer> typeIconArg = ArgumentCaptor.forClass(Integer.class); in verifyLastQsMobileDataIndicators()
274 ArgumentCaptor<Boolean> dataInArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators()
275 ArgumentCaptor<Boolean> dataOutArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators()
278 ArgumentCaptor.forClass(IconState.class).capture(), in verifyLastQsMobileDataIndicators()
280 ArgumentCaptor.forClass(Integer.class).capture(), in verifyLastQsMobileDataIndicators()
282 ArgumentCaptor.forClass(String.class).capture(), in verifyLastQsMobileDataIndicators()
283 ArgumentCaptor.forClass(String.class).capture(), in verifyLastQsMobileDataIndicators()
284 ArgumentCaptor.forClass(Boolean.class).capture(), in verifyLastQsMobileDataIndicators()
[all …]
DNetworkControllerWifiTest.java137 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection()
138 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection()
149 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon()
150 ArgumentCaptor<Boolean> enabledArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsWifiIcon()
151 ArgumentCaptor<String> descArg = ArgumentCaptor.forClass(String.class); in verifyLastQsWifiIcon()
166 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon()
DNetworkControllerEthernetTest.java35 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastEthernetIcon()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java171 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallWaiting()
198 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallHold()
237 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallEct()
254 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallCcbs()
360 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testSuppServiceNotification()
423 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testIncomingRing()
436 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testOutgoingCallerIdDisplay()
451 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCallForwardingOption()
469 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCallWaiting()
485 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testCellBarring()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java204 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testSpnUpdateShowPlmnOnly()
228 ArgumentCaptor<Integer> intArgumentCaptor = ArgumentCaptor.forClass(Integer.class); in testSpnUpdateShowPlmnOnly()
350 ArgumentCaptor<Integer> integerArgumentCaptor = ArgumentCaptor.forClass(Integer.class); in testUpdatePhoneType()
396 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForVoiceRoamingOn()
443 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForVoiceRoamingOff()
482 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataRoamingOn()
529 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataRoamingOff()
575 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataConnAttach()
619 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegAndUnregForDataConnDetach()
656 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testRegisterForDataRegStateOrRatChange()
[all …]
DGsmCdmaCallTrackerTest.java336 ArgumentCaptor<Message> mCaptorMessage = ArgumentCaptor.forClass(Message.class); in testVoiceCallStartListener()
337 ArgumentCaptor<Long> mCaptorLong = ArgumentCaptor.forClass(Long.class); in testVoiceCallStartListener()
347 ArgumentCaptor<Message> mCaptorMessage = ArgumentCaptor.forClass(Message.class); in testVoiceCallEndedListener()
348 ArgumentCaptor<Long> mCaptorLong = ArgumentCaptor.forClass(Long.class); in testVoiceCallEndedListener()
DCallManagerTest.java145 ArgumentCaptor<String> mCaptorString = ArgumentCaptor.forClass(String.class); in testBasicDial()
146 ArgumentCaptor<Integer> mCaptorInt = ArgumentCaptor.forClass(Integer.class); in testBasicDial()
287 ArgumentCaptor<String> mCaptorString = ArgumentCaptor.forClass(String.class); in testFgCallActiveDial()
288 ArgumentCaptor<Integer> mCaptorInt = ArgumentCaptor.forClass(Integer.class); in testFgCallActiveDial()
DDefaultPhoneNotifierTest.java108 ArgumentCaptor.forClass(SignalStrength.class); in testNotifySignalStrength()
128 ArgumentCaptor<List> cellInfoArgumentCaptor = ArgumentCaptor.forClass(List.class); in testNotifyCellInfo()
246 ArgumentCaptor.forClass(Bundle.class); in testNotifyCellLocation()
DSubscriptionControllerTest.java237 ArgumentCaptor<Intent> captorIntent = ArgumentCaptor.forClass(Intent.class); in testChangeSIMProperty()
285 ArgumentCaptor<Intent> captorIntent = ArgumentCaptor.forClass(Intent.class); in testSetGetMCCMNC()
299 ArgumentCaptor<Intent> captorIntent = ArgumentCaptor.forClass(Intent.class); in testSetDefaultDataSubId()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockLooperTest.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()
DRttServiceTest.java67 .forClass(BroadcastReceiver.class);
117 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in sendRangingRequest()
153 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in sendEnableResponder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTests.java67 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testRecalculateBindAllowance()
80 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testSetMemoryPressure()
100 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testCalcFew()
DTileServiceManagerTests.java86 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testBind()
97 captor = ArgumentCaptor.forClass(Boolean.class); in testBind()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardTest.java224 ArgumentCaptor<Message> mCaptorMessage = ArgumentCaptor.forClass(Message.class); in testCarrierPriviledgeLoadedListener()
225 ArgumentCaptor<Long> mCaptorLong = ArgumentCaptor.forClass(Long.class); in testCarrierPriviledgeLoadedListener()
251 ArgumentCaptor<Message> mCaptorMessage = ArgumentCaptor.forClass(Message.class); in testCardAbsentListener()
252 ArgumentCaptor<Long> mCaptorLong = ArgumentCaptor.forClass(Long.class); in testCardAbsentListener()
DUiccControllerTest.java170 ArgumentCaptor<Message> mCaptorMessage = ArgumentCaptor.forClass(Message.class); in testIccChangedListener()
171 ArgumentCaptor<Long> mCaptorLong = ArgumentCaptor.forClass(Long.class); in testIccChangedListener()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DAccessPointTest.java84 ArgumentCaptor<AccessPoint> accessPoint = ArgumentCaptor.forClass(AccessPoint.class); in verifyOnLevelChangedCallback()
91 ArgumentCaptor<AccessPoint> accessPoint = ArgumentCaptor.forClass(AccessPoint.class); in verifyOnAccessPointsCallback()
/frameworks/support/v4/tests/java/android/support/v4/view/
DBaseViewPagerTest.java250 ArgumentCaptor<Integer> pageSelectedCaptor = ArgumentCaptor.forClass(int.class); in verifyPageSelections()
309 ArgumentCaptor<Integer> pageSelectedCaptor = ArgumentCaptor.forClass(int.class); in testPageSwipes()
596 ArgumentCaptor<Integer> pageScrollStateCaptor = ArgumentCaptor.forClass(int.class); in verifyScrollStateChange()
889 ArgumentCaptor<Integer> positionCaptor = ArgumentCaptor.forClass(int.class); in verifyScrollCallbacksToHigherPage()
890 ArgumentCaptor<Float> positionOffsetCaptor = ArgumentCaptor.forClass(float.class); in verifyScrollCallbacksToHigherPage()
891 ArgumentCaptor<Integer> positionOffsetPixelsCaptor = ArgumentCaptor.forClass(int.class); in verifyScrollCallbacksToHigherPage()
917 ArgumentCaptor<Integer> positionCaptor = ArgumentCaptor.forClass(int.class); in verifyScrollCallbacksToLowerPage()
918 ArgumentCaptor<Float> positionOffsetCaptor = ArgumentCaptor.forClass(float.class); in verifyScrollCallbacksToLowerPage()
919 ArgumentCaptor<Integer> positionOffsetPixelsCaptor = ArgumentCaptor.forClass(int.class); in verifyScrollCallbacksToLowerPage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanStateManagerTest.java100 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testNanEventsDelivered()
157 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testNanEventsNotDelivered()
206 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublish()
286 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishNoCallbacks()
352 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testSubscribe()
432 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testSubscribeNoCallbacks()
502 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMatchAndMessages()
595 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleMessageSources()
694 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMessageWhilePeerChangesIdentity()
780 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testConfigs()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java400 ArgumentCaptor<String> apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
411 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
418 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataSetup()
463 ArgumentCaptor<String> apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
474 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
481 apnTypeArgumentCaptor = ArgumentCaptor.forClass(String.class); in testDataRetry()
698 ArgumentCaptor<Integer> intArgumentCaptor = ArgumentCaptor.forClass(Integer.class); in testDDSResetAutoAttach()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java141 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in verifyHandleMessageAndGetMessage()
242 ArgumentCaptor.forClass(WifiNative.ScanSettings.class); in verifyStartSingleScan()
244 ArgumentCaptor.forClass(WifiNative.ScanEventHandler.class); in verifyStartSingleScan()
254 ArgumentCaptor.forClass(WifiNative.ScanSettings.class); in verifyStartBackgroundScan()
256 ArgumentCaptor.forClass(WifiNative.ScanEventHandler.class); in verifyStartBackgroundScan()
284 ArgumentCaptor.forClass(BroadcastReceiver.class); in setupAndLoadDriver()
510 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in sendSingleScanRequestWhichFailsToStart()
782 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in sendMultipleSingleScanRequestWhilePreviousScanRunning()
952 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPno()
954 ArgumentCaptor.forClass(WifiNative.PnoEventHandler.class); in verifyHwPno()
/frameworks/base/tools/preload/
DMemoryUsage.java157 return forClass(null); in baseline()
174 static MemoryUsage forClass(String className) { in forClass() method in MemoryUsage
DLoadedClass.java54 this.memoryUsage = MemoryUsage.forClass(name); in measureMemoryUsage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java170 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms()
178 intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java260 ArgumentCaptor<Float> floatSlideCaptor = ArgumentCaptor.forClass(float.class); in testDrawerListenerCallbacksOnOpeningViaAPI()
329 ArgumentCaptor<Float> floatSlideCaptor = ArgumentCaptor.forClass(float.class); in testDrawerListenerCallbacksOnClosingViaAPI()
406 ArgumentCaptor<Float> floatSlideCaptor = ArgumentCaptor.forClass(float.class); in testDrawerListenerCallbacksOnOpeningViaSwipes()
454 ArgumentCaptor<Float> floatSlideCaptor = ArgumentCaptor.forClass(float.class); in testDrawerListenerCallbacksOnClosingViaSwipes()

12