/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/common/ |
D | SingleLiveEventTest.java | 56 private ArgumentCaptor<String> mCaptor; field in SingleLiveEventTest 76 verify(mMockObserver1, times(1)).onChanged(mCaptor.capture()); in test_onChangeCalledAfterSetValue() 77 assertThat(mCaptor.getValue()).isEqualTo(VALUE); in test_onChangeCalledAfterSetValue() 88 verify(mMockObserver1, times(1)).onChanged(mCaptor.capture()); in test_onChangeOnlyHandledOnce() 89 assertThat(mCaptor.getValue()).isEqualTo(VALUE); in test_onChangeOnlyHandledOnce()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteFragmentTest.java | 108 ArgumentCaptor<String> mCaptor = ArgumentCaptor.forClass(String.class); in testOnItemClick_contactHasPrimaryNumber_placeCall() local 109 verify(mMockUiCallManager).placeCall(mCaptor.capture()); in testOnItemClick_contactHasPrimaryNumber_placeCall() 110 assertThat(mCaptor.getValue()).isEqualTo(RAW_NUMBER); in testOnItemClick_contactHasPrimaryNumber_placeCall() 121 ArgumentCaptor<String> mCaptor = ArgumentCaptor.forClass(String.class); in testOnItemClick_contactHasOnlyOneNumber_placeCall() local 122 verify(mMockUiCallManager).placeCall(mCaptor.capture()); in testOnItemClick_contactHasOnlyOneNumber_placeCall() 123 assertThat(mCaptor.getValue()).isEqualTo(RAW_NUMBER); in testOnItemClick_contactHasOnlyOneNumber_placeCall()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsTemperaturePreferenceControllerTest.java | 56 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsTemperaturePreferenceControllerTest 72 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 90 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsPressurePreferenceControllerTest.java | 57 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsPressurePreferenceControllerTest 73 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 91 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.TIRE_PRESSURE_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsDistancePreferenceControllerTest.java | 56 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsDistancePreferenceControllerTest 72 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 90 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.DISTANCE_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsFuelConsumptionPreferenceControllerTest.java | 57 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsFuelConsumptionPreferenceControllerTest 73 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 90 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.FUEL_VOLUME_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsVolumePreferenceControllerTest.java | 56 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsVolumePreferenceControllerTest 72 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 90 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.FUEL_VOLUME_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsEnergyConsumptionPreferenceControllerTest.java | 57 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsEnergyConsumptionPreferenceControllerTest 73 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 91 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.EV_BATTERY_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
D | UnitsSpeedPreferenceControllerTest.java | 57 private ArgumentCaptor<Integer> mCaptor = ArgumentCaptor.forClass(Integer.class); field in UnitsSpeedPreferenceControllerTest 73 when(mCarUnitsManager.getUnitsSupportedByProperty(mCaptor.capture())) in setUp() 91 assertThat(mCaptor.getValue()).isEqualTo(VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS); in onCarServiceConnected_setsPreferenceEntriesAndValue()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 149 ArgumentCaptor<Notification> mCaptor; field in NetworkNotificationManagerTest 156 mCaptor = ArgumentCaptor.forClass(Notification.class); in setUp()
|