Home
last modified time | relevance | path

Searched defs:captor (Results 1 – 25 of 92) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java197 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in setUp() local
293 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_noUsageTimeAndGraphDisabled_hasCorrectSummary() local
313 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_bgTwoMinFgZeroAndGraphDisabled_hasCorrectSummary() local
334 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_bgLessThanAMinFgZeroAndGraphDisabled_hasCorrectSummary() local
356 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_totalUsageLessThanAMinAndGraphDisabled_hasCorrectSummary() local
376 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_TotalAMinutesBgLessThanAMinAndGraphDisabled_hasCorrectSummary() local
395 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_TotalAMinBackgroundZeroAndGraphDisabled_hasCorrectSummary() local
413 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_fgTwoMinBgFourMinAndGraphDisabled_hasCorrectSummary() local
428 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_noUsageTime_hasCorrectSummary() local
445 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testInitHeader_backgroundTwoMinForegroundZero_hasCorrectSummary() local
[all …]
DExpandDividerPreferenceTest.java78 final ArgumentCaptor<Runnable> captor = ArgumentCaptor.forClass(Runnable.class); in testSetTitle_setTitleContentIntoTextView() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java187 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_callsHalWithDuckingInfo() local
200 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_convertsUsagesToXsdStrings() local
217 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_passesAlongAddressesToDuck() local
233 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_passesAlongAddressesToUnduck() local
247 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_passesAlongZoneId() local
263 ArgumentCaptor<DuckingInfo[]> captor = ArgumentCaptor.forClass(DuckingInfo[].class); in onDevicesToDuckChange_multipleZones_passesADuckingInfoPerZone() local
280 ArgumentCaptor<DeathRecipient> captor = ArgumentCaptor.forClass(DeathRecipient.class); in binderDied_fetchesNewBinder() local
293 ArgumentCaptor<DeathRecipient> captor = ArgumentCaptor.forClass(DeathRecipient.class); in binderDied_relinksToDeath() local
306 ArgumentCaptor<DeathRecipient> captor = ArgumentCaptor.forClass( in binderDied_callsDeathRecipient() local
338 ArgumentCaptor<MutingInfo[]> captor = ArgumentCaptor.forClass(MutingInfo[].class); in onDevicesToMuteChange_passesAlongZoneId() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DTetherSettingsTest.java198 final ArgumentCaptor<BroadcastReceiver> captor = in testBluetoothState_updateBluetoothState_bluetoothTetheringStateOn() local
231 final ArgumentCaptor<BroadcastReceiver> captor = in testBluetoothState_updateBluetoothState_bluetoothTetheringStateOff() local
294 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in onReceive_usbIsConnected_tetheringPreferenceIsEnabled() local
309 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in onReceive_usbIsDisconnected_tetheringPreferenceIsDisabled() local
324 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in onReceive_mediaIsShared_tetheringPreferenceIsDisabled() local
338 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in onReceive_mediaIsUnshared_tetheringPreferenceIsEnabled() local
379 ArgumentCaptor<BroadcastReceiver> captor, FragmentActivity activity) { in setupUsbStateComponents()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java347 ArgumentCaptor<RestrictedLockUtils.EnforcedAdmin> captor = ArgumentCaptor.forClass( in updateUserList_addUserDisallowedByAdmin_shouldShowDisabledAddUser() local
419 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_shouldAddAdminUserPreference() local
431 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingGuest_shouldAddGuestUserPreference() local
450 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference() local
469 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference() local
489 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingManagedUser_shouldNotAddUserPreference() local
506 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference() local
531 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref() local
553 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_guestWithoutInitializedFlag_shouldNotSetSummary() local
569 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_activeUserWithoutInitializedFlag_shouldNotSetSummary() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java181 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_onePlan_basic() local
207 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlan_basic() local
234 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noCarrier_basic() local
262 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlanData_basic() local
307 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_warningOnly() local
327 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_limitOnly() local
347 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_limitAndWarning() local
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/
DAutofillPickerFragmentTest.java85 ArgumentCaptor<Preference> captor = ArgumentCaptor.forClass(Preference.class); in selectedService() local
100 ArgumentCaptor<Preference> captor = ArgumentCaptor.forClass(Preference.class); in selectedNone() local
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java134 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local
158 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityNotFound_DoNothing() local
172 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
DEuiccPreferenceControllerTest.java67 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceTreeClick_startActivity() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DCurrentDreamPreferenceControllerTest.java86 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearShowsIfActiveDreamInfoHasOptions() local
103 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearHidesIfActiveDreamInfoHasNoOptions() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupOnboardingTest.java126 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in dismissNotificationAction_setsOnboarded() local
147 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake() local
171 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in openWifiSettingsAction_setsOnboardedAndOpensWifiSettings() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetherPreferenceControllerTest.java118 ArgumentCaptor<TetheringManager.TetheringEventCallback> captor = in onTetheringSupported_false_isUnsupportedOnDevice() local
134 ArgumentCaptor<TetheringManager.TetheringEventCallback> captor = in onTetheringSupported_true_isAvailable() local
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java204 ArgumentCaptor<String> captor = ArgumentCaptor.forClass(String.class); in testClickCallActionButton_ContactHasOneNumber_placeCall() local
244 ArgumentCaptor<String> captor = ArgumentCaptor.forClass(String.class); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber() local
260 ArgumentCaptor<Contact> captor = ArgumentCaptor.forClass(Contact.class); in testClickShowContactDetailView_hasContactDetail_showContactDetail() local
287 ArgumentCaptor<Contact> captor = ArgumentCaptor.forClass(Contact.class); in testClickShowContactDetailView_hasAddressButNoPhoneNumber_dependOnConfig() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/
DAutoTimeZoneTogglePreferenceControllerTest.java94 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_autoTimeZoneSet_shouldSendIntent() local
107 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_autoTimeZoneUnset_shouldSendIntent() local
DAutoDatetimeTogglePreferenceControllerTest.java94 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_autoTimeZoneSet_shouldSendIntent() local
107 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_autoTimeZoneUnset_shouldSendIntent() local
DTimeFormatTogglePreferenceControllerTest.java97 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_24HourSet_shouldSendIntent() local
112 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceChange_12HourSet_shouldSendIntent() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBackendTest.java206 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveConversationSenders_importantToNone() local
230 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveConversationSenders_noneToAll() local
255 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveSenders_doesNotChangeConversations() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DLocationServicesPreferenceControllerTest.java95 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass( in onStart_registersBroadcastReceiver() local
107 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass( in onStop_unregistersBroadcastReceiver() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDisconnectedCallNotifierTest.java89 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationShownAfterEmergencyCall() local
112 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationShownForDisconnectedEmergencyCall() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DWifiConnectionPreferenceControllerTest.java115 final ArgumentCaptor<WifiEntryPreference> captor = ArgumentCaptor.forClass( in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved() local
137 final ArgumentCaptor<WifiEntryPreference> captor = ArgumentCaptor.forClass( in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced() local
DMobileNetworkSummaryControllerTest.java364 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled() local
379 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onResume_oneSubscriptionAirplaneMode_isDisabled() local
426 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java210 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOff_switchTurnsOff() local
234 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOn_switchTurnsOn() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPowerListenerTest.java80 ArgumentCaptor<CarPowerPolicyFilter> captor = ArgumentCaptor.forClass( in startListeningForPolicyChanges_addsPowerPolicyListener() local
180 ArgumentCaptor<ICarPowerPolicyListener> captor = ArgumentCaptor.forClass( in registerAndGetChangeListener() local
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsPreferenceControllerTest.java188 ArgumentCaptor<NotificationListenerFilter> captor = in onPreferenceChange_false() local
214 ArgumentCaptor<NotificationListenerFilter> captor = in onPreferenceChange_true() local
DTypeFilterPreferenceControllerTest.java240 ArgumentCaptor<NotificationListenerFilter> captor = in onPreferenceChange_true() local
258 ArgumentCaptor<NotificationListenerFilter> captor = in onPreferenceChange_false() local

1234