/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/ |
D | SensorToggleControllerTest.java | 99 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/ |
D | SystemStateHelperTest.java | 284 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/ |
D | OverlayManagerMocks.java | 104 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/ |
D | ManageExternalStorageDetailsTest.java | 167 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/ |
D | EvsHalServiceTest.java | 96 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()
|
D | InputHalServiceTest.java | 195 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/ |
D | TlsSessionTest.java | 203 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/ |
D | IpReachabilityMonitorTest.kt | 168 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/ |
D | ConnectivityServiceIntegrationTest.kt | 212 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/ |
D | NotificationAssistantPickerTest.java | 135 return invocation.getArgument(1); in noDialogOnNoAssistantSelected() 146 return invocation.getArgument(1); in dialogTextHasAssistantName()
|
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/ |
D | OrientationTouchTransformerTest.java | 307 ((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/ |
D | EapTtlsTest.java | 635 byte[] dst = invocation.getArgument(0); in processAndVerifyMsChapV2ChallengeRequest() 748 ByteBuffer buffer = invocation.getArgument(1); in setupUnwrap() 759 ByteBuffer buffer = invocation.getArgument(1); in setupWrap()
|
D | EapMsChapV2Test.java | 148 byte[] dst = invocation.getArgument(0); in verifyEapMsChapV2Challenge()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastServiceTestBase.java | 147 BroadcastReceiver receiver = invocation.getArgument(0); in setUp() 148 IntentFilter intentFilter = invocation.getArgument(1); in setUp()
|
/packages/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 118 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() 129 NetworkTemplate template = inv.getArgument(0); in testQueryDetails()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | BigArguments.java | 36 public static Object getArgument(String name) { in getArgument() method in BigArguments
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryEntryTest.java | 86 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/ |
D | CarMediaServiceTest.java | 334 MediaController.Callback callback = invocation.getArgument(0); in mockPlaybackStateChange() 342 invocation.getArgument(3); in mockPlaybackStateChange()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | MessageTransportWrapperTest.java | 319 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/ |
D | MockedCarTestBase.java | 214 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/ |
D | NetworkMonitorTest.java | 422 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/ |
D | DvrSchedulesActivity.java | 71 if (BigArguments.getArgument( in onCreate()
|
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/ |
D | MockCallManager.java | 518 Call.Callback callback = inv.getArgument(0); in mockCallFunctions() 527 Call.Callback callback = inv.getArgument(0); in mockCallFunctions()
|
D | FakeTelecomManager.java | 83 Uri uri = inv.getArgument(0); in FakeTelecomManager()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | RssiUtilTest.java | 109 int rssi = invocation.getArgument(0); in testGetMaxSignalLevel()
|