Home
last modified time | relevance | path

Searched refs:captor (Results 1 – 20 of 20) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java92 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = in testUnmuteOfSecondIncomingCall() local
99 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall()
109 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
111 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall()
112 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
153 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor =
160 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture());
170 assertMessageArgEquality(correctArgs, captor.getValue());
172 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture());
173 assertMessageArgEquality(correctArgs, captor.getValue());
[all …]
DCallLogManagerTest.java652 ArgumentCaptor<CountryListener> captor = verifyCountryIso(mockDetector, resultIso); in testCountryIso_newCountryDetected() local
655 CountryListener listener = captor.getValue(); in testCountryIso_newCountryDetected()
664 ArgumentCaptor<CountryListener> captor = ArgumentCaptor.forClass(CountryListener.class); in verifyCountryIso() local
665 verify(mockDetector).addCountryListener(captor.capture(), any(Looper.class)); in verifyCountryIso()
667 return captor; in verifyCountryIso()
697 ArgumentCaptor<ContentValues> captor = ArgumentCaptor.forClass(ContentValues.class); in verifyInsertionWithCapture() local
701 .insert(any(String.class), eq(uri), captor.capture()); in verifyInsertionWithCapture()
706 return captor.getValue(); in verifyInsertionWithCapture()
DDirectToVoicemailCallFilterTest.java104 ArgumentCaptor<CallerInfoLookupHelper.OnQueryCompleteListener> captor = in verifyLookupStart() local
106 verify(mCallerInfoLookupHelper).startLookup(eq(handle), captor.capture()); in verifyLookupStart()
107 return captor.getValue(); in verifyLookupStart()
DCallScreeningServiceFilterTest.java216 ArgumentCaptor<ICallScreeningAdapter> captor = in getCallScreeningAdapter() local
218 verify(mCallScreeningService).screenCall(captor.capture(), nullable(ParcelableCall.class)); in getCallScreeningAdapter()
219 return captor.getValue(); in getCallScreeningAdapter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DCurrentDreamPreferenceControllerTest.java86 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearShowsIfActiveDreamInfoHasOptions() local
91 verify(mockPref).setOnGearClickListener(captor.capture()); in gearShowsIfActiveDreamInfoHasOptions()
92 captor.getAllValues().forEach(listener -> assertThat(listener).isNotNull()); in gearShowsIfActiveDreamInfoHasOptions()
103 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearHidesIfActiveDreamInfoHasNoOptions() local
108 verify(mockPref).setOnGearClickListener(captor.capture()); in gearHidesIfActiveDreamInfoHasNoOptions()
109 captor.getAllValues().forEach(listener -> assertThat(listener).isNull()); in gearHidesIfActiveDreamInfoHasNoOptions()
DStartNowPreferenceControllerTest.java71 ArgumentCaptor<OnClickListener> captor = in setsOnClickListenerForStartNow() local
75 verify(mButton).setOnClickListener(captor.capture()); in setsOnClickListenerForStartNow()
76 assertThat(captor.getValue()).isNotNull(); in setsOnClickListenerForStartNow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java201 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOff_switchTurnsOff() local
202 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOff_switchTurnsOff()
210 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOff_switchTurnsOff()
227 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOn_switchTurnsOn() local
228 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOn_switchTurnsOn()
235 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOn_switchTurnsOn()
DBluetoothDeviceDetailsFragmentTest.java109 ArgumentCaptor<Fragment> captor = ArgumentCaptor.forClass(Fragment.class); in renameControlClicked() local
111 verify(ft).add(captor.capture(), eq(RemoteDeviceNameDialogFragment.TAG)); in renameControlClicked()
112 RemoteDeviceNameDialogFragment dialog = (RemoteDeviceNameDialogFragment) captor.getValue(); in renameControlClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java206 final ArgumentCaptor<Bundle> captor = ArgumentCaptor.forClass(Bundle.class); in setUp() local
209 mBundle = captor.getValue(); in setUp()
213 nullable(Fragment.class), nullable(String.class), captor.capture(), anyInt(), in setUp()
354 final ArgumentCaptor<Bundle> captor = ArgumentCaptor.forClass(Bundle.class); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData() local
356 mBundle = captor.getValue(); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
360 nullable(String.class), captor.capture(), anyInt(), nullable(CharSequence.class), in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
DAppButtonsPreferenceControllerTest.java136 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in setUp() local
140 mUninstallIntent = captor.getValue(); in setUp()
144 doAnswer(callable).when(mFragment).startActivityForResult(captor.capture(), anyInt()); in setUp()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DNotificationControllerTest.java163 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationIsLocalOnly() local
166 verify(mNotificationManager).notify(anyInt(), captor.capture()); in testNotificationIsLocalOnly()
167 assertThat(captor.getValue().flags & Notification.FLAG_LOCAL_ONLY) in testNotificationIsLocalOnly()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java106 ArgumentCaptor<Runnable> captor = ArgumentCaptor.forClass(Runnable.class); in executeTaskForTest() local
107 verify(mockExecutor, atLeast(0)).execute(captor.capture()); in executeTaskForTest()
109 return captor.getAllValues(); in executeTaskForTest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java754 ArgumentCaptor<OnClickListener> captor = ArgumentCaptor.forClass(OnClickListener.class); in testSignInButton_shouldStartCaptivePortalApp() local
755 verify(mockSignInButton).setOnClickListener(captor.capture()); in testSignInButton_shouldStartCaptivePortalApp()
756 captor.getValue().onClick(mockSignInButton); in testSignInButton_shouldStartCaptivePortalApp()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Des_wordlist.combined.gz
Dro_wordlist.combined.gz