Home
last modified time | relevance | path

Searched refs:getArgument (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DSensorToggleControllerTest.java99 doAnswer(invocation -> mMicState.get(invocation.getArgument(1))) in setUp()
101 doAnswer(invocation -> mCamState.get(invocation.getArgument(1))) in setUp()
105 mMicState.put(0, invocation.getArgument(2)); in setUp()
106 mMicState.put(10, invocation.getArgument(2)); in setUp()
113 mCamState.put(0, invocation.getArgument(2)); in setUp()
114 mCamState.put(10, invocation.getArgument(2)); in setUp()
122 mMicState.put(0, invocation.getArgument(2)); in setUp()
123 mMicState.put(10, invocation.getArgument(2)); in setUp()
134 mCamState.put(0, invocation.getArgument(2)); in setUp()
135 mCamState.put(10, invocation.getArgument(2)); in setUp()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java284 SensorEventListener listener = invocation.getArgument(0); in testDeviceOnEarCorrectlyDetected()
285 Sensor sensor = invocation.getArgument(1); in testDeviceOnEarCorrectlyDetected()
305 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithProxNotSensed()
306 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithProxNotSensed()
325 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithWrongOrientation()
326 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithWrongOrientation()
347 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithMissingSensor()
348 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithMissingSensor()
367 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithTimeout()
368 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithTimeout()
[all …]
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DOverlayManagerMocks.java104 mockOverlay.targetPackage.equals(inv.getArgument(0)) in setUpMock()
105 && mockOverlay.category.equals(inv.getArgument(1))) in setUpMock()
111 setEnabled(invocation.getArgument(0), in setUpMock()
113 invocation.getArgument(1))); in setUpMock()
118 invocation.getArgument(0), in setUpMock()
120 invocation.getArgument(1))); in setUpMock()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DManageExternalStorageDetailsTest.java167 int code = invocation.getArgument(0); in mockAppOpsOperations()
168 int uid = invocation.getArgument(1); in mockAppOpsOperations()
169 int mode = invocation.getArgument(2); in mockAppOpsOperations()
184 String packageName = invocation.getArgument(0); in mockAppOpsOperations()
185 int uid = invocation.getArgument(1); in mockAppOpsOperations()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DEvsHalServiceTest.java96 events.add(invocation.getArgument(0)); in requestToStartRearviewViaEvsServiceRequest()
97 events.add(invocation.getArgument(1) ? TRUE : FALSE); in requestToStartRearviewViaEvsServiceRequest()
113 events.add(invocation.getArgument(0)); in requestToStopRearviewViaEvsServiceRequest()
114 events.add(invocation.getArgument(1) ? TRUE : FALSE); in requestToStopRearviewViaEvsServiceRequest()
DInputHalServiceTest.java195 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener_mainDisplay()
219 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener_clusterDisplay()
377 RotaryEvent event = invocation.getArgument(0); in dispatchesRotaryEvent_singleVolumeUp_anyDisplay()
409 RotaryEvent event = invocation.getArgument(0); in dispatchesRotaryEvent_multipleNavigatePrevious_anyDisplay()
444 CustomInputEvent event = invocation.getArgument(0); in dispatchesCustomInputEvent_mainDisplay()
470 CustomInputEvent event = invocation.getArgument(0); in dispatchesCustomInputEvent_clusterDisplay()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DTlsSessionTest.java203 ByteBuffer buffer = invocation.getArgument(1); in setupWrap()
227 ByteBuffer buffer = invocation.getArgument(1); in setupChainedWrap()
245 ByteBuffer buffer = invocation.getArgument(1); in setupUnwrap()
267 ByteBuffer buffer = invocation.getArgument(1); in setupChainedWrap_exception()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt168 val handler = inv.getArgument<Handler>(0) in setUp()
169 val log = inv.getArgument<SharedLog>(1) in setUp()
170 val cb = inv.getArgument<IpNeighborMonitor.NeighborEventConsumer>(2) in setUp()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt212 object : MultinetworkPolicyTracker(inv.getArgument(0), inv.getArgument(1), in <lambda>()
213 inv.getArgument(2)) { in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPickerTest.java135 return invocation.getArgument(1); in noDialogOnNoAssistantSelected()
146 return invocation.getArgument(1); in dialogTextHasAssistantName()
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java307 ((Point) i.getArgument(0)).set(p.x, p.y); in createDisplayInfo()
311 ((Point) i.getArgument(0)).set(p.x, p.y); in createDisplayInfo()
312 ((Point) i.getArgument(1)).set(p.x, p.y); in createDisplayInfo()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapTtlsTest.java635 byte[] dst = invocation.getArgument(0); in processAndVerifyMsChapV2ChallengeRequest()
748 ByteBuffer buffer = invocation.getArgument(1); in setupUnwrap()
759 ByteBuffer buffer = invocation.getArgument(1); in setupWrap()
DEapMsChapV2Test.java148 byte[] dst = invocation.getArgument(0); in verifyEapMsChapV2Challenge()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceTestBase.java147 BroadcastReceiver receiver = invocation.getArgument(0); in setUp()
148 IntentFilter intentFilter = invocation.getArgument(1); in setUp()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java118 NetworkTemplate template = inv.getArgument(0); in testQueryDetails()
129 NetworkTemplate template = inv.getArgument(0); in testQueryDetails()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DBigArguments.java36 public static Object getArgument(String name) { in getArgument() method in BigArguments
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java86 info.packageName = invocation.getArgument(0); in stubPackageManagerToReturnAppPackageAndName()
91 + ((ApplicationInfo) invocation.getArgument(0)).packageName); in stubPackageManagerToReturnAppPackageAndName()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java334 MediaController.Callback callback = invocation.getArgument(0); in mockPlaybackStateChange()
342 invocation.getArgument(3); in mockPlaybackStateChange()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DMessageTransportWrapperTest.java319 consumerCaptor.add(it.getArgument(0)); in trackerRegStateChanged()
333 consumerCaptor.add(it.getArgument(0)); in closeTrackerGracefully()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java214 UserLifecycleListener listener = invocation.getArgument(0); in setUp()
221 UserLifecycleListener listener = invocation.getArgument(0); in setUp()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java422 return getAllByName(invocation.getMock(), invocation.getArgument(0)); in startMocking()
441 String hostname = (String) invocation.getArgument(posHostname); in mockQuery()
442 Executor executor = (Executor) invocation.getArgument(posExecutor); in mockQuery()
443 DnsResolver.Callback<List<InetAddress>> callback = invocation.getArgument(posCallback); in mockQuery()
447 ? getAnswer(invocation.getMock(), hostname, invocation.getArgument(posType)) : in mockQuery()
507 URL url = invocation.getArgument(0); in setUp()
551 mRegisteredReceivers.add(invocation.getArgument(0)); in setUp()
556 mRegisteredReceivers.remove(invocation.getArgument(0)); in setUp()
1050 int defaultValue = invocation.getArgument(2); in testGetIntSetting()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrSchedulesActivity.java71 if (BigArguments.getArgument( in onCreate()
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/
DMockCallManager.java518 Call.Callback callback = inv.getArgument(0); in mockCallFunctions()
527 Call.Callback callback = inv.getArgument(0); in mockCallFunctions()
DFakeTelecomManager.java83 Uri uri = inv.getArgument(0); in FakeTelecomManager()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DRssiUtilTest.java109 int rssi = invocation.getArgument(0); in testGetMaxSignalLevel()

123