Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java167 SensorEventListener listener = invocation.getArgument(0); in testDeviceOnEarCorrectlyDetected()
168 Sensor sensor = invocation.getArgument(1); in testDeviceOnEarCorrectlyDetected()
188 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithProxNotSensed()
189 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithProxNotSensed()
208 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithWrongOrientation()
209 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithWrongOrientation()
230 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithMissingSensor()
231 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithMissingSensor()
250 SensorEventListener listener = invocation.getArgument(0); in testDeviceIsNotOnEarWithTimeout()
251 Sensor sensor = invocation.getArgument(1); in testDeviceIsNotOnEarWithTimeout()
[all …]
DRingerTest.java128 Uri ringtoneUriForEffect = invocation.getArgument(0); in setUp()
DCallsManagerTest.java334 Uri handle = invocation.getArgument(0); in setupCallerInfoLookupHelper()
335 CallerInfoLookupHelper.OnQueryCompleteListener listener = invocation.getArgument(1); in setupCallerInfoLookupHelper()
DTelecomServiceImplTest.java202 mDefaultDialerObserver = invocation.getArgument(1); in setUp()
DInCallControllerTests.java174 int uid = invocation.getArgument(0); in setUp()
/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/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/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/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceTestBase.java133 BroadcastReceiver receiver = invocation.getArgument(0); in setUp()
134 IntentFilter intentFilter = invocation.getArgument(1); in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java107 invocation.getArgument(0), invocation.getArgument(1))); in setUp()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java401 return getAllByName(invocation.getMock(), invocation.getArgument(0)); in startMocking()
420 String hostname = (String) invocation.getArgument(posHostname); in mockQuery()
421 Executor executor = (Executor) invocation.getArgument(posExecutor); in mockQuery()
422 DnsResolver.Callback<List<InetAddress>> callback = invocation.getArgument(posCallback); in mockQuery()
426 ? getAnswer(invocation.getMock(), hostname, invocation.getArgument(posType)) : in mockQuery()
486 URL url = invocation.getArgument(0); in setUp()
530 mRegisteredReceivers.add(invocation.getArgument(0)); in setUp()
535 mRegisteredReceivers.remove(invocation.getArgument(0)); in setUp()
1029 int defaultValue = invocation.getArgument(2); in testGetIntSetting()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DBigArguments.java36 public static Object getArgument(String name) { in getArgument() method in BigArguments
DDvrSeriesScheduledFragment.java84 mPrograms = (List<Program>) BigArguments.getArgument(SERIES_SCHEDULED_KEY_PROGRAMS); in onAttach()
DDvrSeriesSettingsFragment.java106 (List<Program>) BigArguments.getArgument(DvrSeriesSettingsActivity.PROGRAM_LIST); in onAttach()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapMsChapV2Test.java145 byte[] dst = invocation.getArgument(0); in verifyEapMsChapV2Challenge()
DEapSimTest.java247 byte[] dst = invocation.getArgument(0); in verifyEapSimStart()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrSchedulesActivity.java71 if (BigArguments.getArgument( in onCreate()
DDvrSeriesSchedulesFragment.java136 (List<Program>) BigArguments.getArgument(SERIES_SCHEDULES_KEY_SERIES_PROGRAMS); in onAttach()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java476 final String l2Key = invocation.getArgument(0);
477 ((OnNetworkAttributesRetrievedListener) invocation.getArgument(1))
762 ((OnNetworkAttributesRetrievedListener) invocation.getArgument(1))
2111 final String l2Key = invocation.getArgument(0);
2112 ((OnNetworkAttributesRetrievedListener) invocation.getArgument(1))
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2ChallengeStateTest.java77 byte[] dst = invocation.getArgument(0); in testProcessChallenge()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java135 final UnrestrictedDataAccessPreference preference = invocation.getArgument(0); in onRebuildComplete_restricted_shouldBeDisabled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java129 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java263 BatteryStats.HistoryItem record = invocation.getArgument(0); in mockBatteryStatsHistory()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java147 .thenAnswer(invocation -> invocation.getArgument(1)); in setUp()