Home
last modified time | relevance | path

Searched refs:bundleCaptor (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java117 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testHandleEvent_launchingMaps() local
118 verify(mService).startActivity(intentCaptor.capture(), bundleCaptor.capture()); in testHandleEvent_launchingMaps()
130 assertThat(bundleCaptor.getValue().getInt("android.activity.launchDisplayId")).isEqualTo( in testHandleEvent_launchingMaps()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2675 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testAddNetwork() local
2679 bundleCaptor.capture()); in testAddNetwork()
2682 bundleCaptor.getValue().getParcelable(EXTRA_PARAM_KEY_ATTRIBUTION_SOURCE)); in testAddNetwork()
2684 assertNull(bundleCaptor.getValue().getParcelable(EXTRA_PARAM_KEY_ATTRIBUTION_SOURCE)); in testAddNetwork()
2719 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testUpdateNetwork() local
2724 bundleCaptor.capture()); in testUpdateNetwork()
2727 bundleCaptor.getValue().getParcelable(EXTRA_PARAM_KEY_ATTRIBUTION_SOURCE)); in testUpdateNetwork()
2729 assertNull(bundleCaptor.getValue().getParcelable(EXTRA_PARAM_KEY_ATTRIBUTION_SOURCE)); in testUpdateNetwork()
4260 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testGetTwtCapabilities() local
4269 bundleCaptor.capture()); in testGetTwtCapabilities()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java673 ArgumentCaptor<Bundle> bundleCaptor = in testDialerHandleMissedCall() local
680 eq(android.Manifest.permission.READ_PHONE_STATE), bundleCaptor.capture()); in testDialerHandleMissedCall()
685 assertNotNull("Not expecting null options bundle", bundleCaptor.getValue()); in testDialerHandleMissedCall()
686 BroadcastOptions options = new BroadcastOptions(bundleCaptor.getValue()); in testDialerHandleMissedCall()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionNotificationManagerTest.java594 ArgumentCaptor<PersistableBundle> bundleCaptor = in testOnControleeRemoved() local
599 bundleCaptor.capture()); in testOnControleeRemoved()
602 FiraOnControleeRemovedParams.fromBundle(bundleCaptor.getValue()); in testOnControleeRemoved()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java951 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testScanWithBundle() local
955 eq(SCAN_FREQ_SET), ssidSetCaptor.capture(), bundleCaptor.capture()); in testScanWithBundle()
959 eq(SCAN_FREQ_SET), ssidSetCaptor.capture(), bundleCaptor.capture()); in testScanWithBundle()
963 Bundle bundle = bundleCaptor.getValue(); in testScanWithBundle()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java790 ArgumentCaptor<PersistableBundle> bundleCaptor = ArgumentCaptor.forClass( in testPoseUpdate() local
794 .updatePose(shCaptor.capture(), bundleCaptor.capture()); in testPoseUpdate()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2278 final ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in setupAndLaunchCaptivePortalApp() local
2281 .startCaptivePortalApp(networkCaptor.capture(), bundleCaptor.capture()); in setupAndLaunchCaptivePortalApp()
2283 final Bundle bundle = bundleCaptor.getValue(); in setupAndLaunchCaptivePortalApp()
3183 final ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testDismissPortalInValidatedNetworkEnabled() local
3186 .startCaptivePortalApp(networkCaptor.capture(), bundleCaptor.capture()); in testDismissPortalInValidatedNetworkEnabled()
3188 final Bundle bundle = bundleCaptor.getValue(); in testDismissPortalInValidatedNetworkEnabled()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java309 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in testBluetoothCallQualityReport() local
313 bundleCaptor.capture()); in testBluetoothCallQualityReport()
314 Bundle bundle = bundleCaptor.getValue(); in testBluetoothCallQualityReport()