Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DSettingsStorageServiceTest.java88 public boolean matches(Intent argument) { in testFormatAsPublic_success_fromPrivate()
89 return super.matches(argument) in testFormatAsPublic_success_fromPrivate()
90 && TextUtils.equals(argument.getStringExtra(DiskInfo.EXTRA_DISK_ID), in testFormatAsPublic_success_fromPrivate()
92 && argument.getBooleanExtra(SettingsStorageService.EXTRA_SUCCESS, in testFormatAsPublic_success_fromPrivate()
118 public boolean matches(Intent argument) { in testFormatAsPublic_success_fromNonPrivate()
119 return super.matches(argument) in testFormatAsPublic_success_fromNonPrivate()
120 && TextUtils.equals(argument.getStringExtra(DiskInfo.EXTRA_DISK_ID), in testFormatAsPublic_success_fromNonPrivate()
122 && argument.getBooleanExtra(SettingsStorageService.EXTRA_SUCCESS, in testFormatAsPublic_success_fromNonPrivate()
144 public boolean matches(Intent argument) { in testFormatAsPublic_failure()
145 return super.matches(argument) in testFormatAsPublic_failure()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragmentTest.java117 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters() local
118 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
121 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
139 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters() local
140 verify(mMockSyncListener, times(1)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
143 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
161 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters() local
162 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
165 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
185 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesHaveActiveSyncs_shouldCancelSyncForSyncableAdapters() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilePreferenceControllerTest.java108 ArgumentCaptor<ComponentName> argument = ArgumentCaptor.forClass(ComponentName.class); in preferenceChecked_shouldAddTile() local
109 verify(mStatusBarService).addTile(argument.capture()); in preferenceChecked_shouldAddTile()
110 assertThat(argument.getValue().getClassName()).isEqualTo(SERVICE_INFO_NAME); in preferenceChecked_shouldAddTile()
111 assertThat(argument.getValue().getPackageName()).isEqualTo(mContext.getPackageName()); in preferenceChecked_shouldAddTile()
119 ArgumentCaptor<ComponentName> argument = ArgumentCaptor.forClass(ComponentName.class); in preferenceUnchecked_shouldRemoveTile() local
120 verify(mStatusBarService).remTile(argument.capture()); in preferenceUnchecked_shouldRemoveTile()
121 assertThat(argument.getValue().getClassName()).isEqualTo(SERVICE_INFO_NAME); in preferenceUnchecked_shouldRemoveTile()
122 assertThat(argument.getValue().getPackageName()).isEqualTo(mContext.getPackageName()); in preferenceUnchecked_shouldRemoveTile()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java108 public Builder addArgumentString(String argumentKey, String argument) { in addArgumentString() argument
112 mArgs.putString(argumentKey, argument); in addArgumentString()
117 public Builder addArgumentBoolean(String argumentKey, boolean argument) { in addArgumentBoolean() argument
121 mArgs.putBoolean(argumentKey, argument); in addArgumentBoolean()
126 public Builder addArgumentParcelable(String argumentKey, Parcelable argument) { in addArgumentParcelable() argument
130 mArgs.putParcelable(argumentKey, argument); in addArgumentParcelable()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java336 public Object argument; field in PhoneInterfaceManager.MainThreadRequest
348 public MainThreadRequest(Object argument) { in MainThreadRequest() argument
349 this.argument = argument; in MainThreadRequest()
352 MainThreadRequest(Object argument, Phone phone, WorkSource workSource) { in MainThreadRequest() argument
353 this.argument = argument; in MainThreadRequest()
360 MainThreadRequest(Object argument, Integer subId, WorkSource workSource) { in MainThreadRequest() argument
361 this.argument = argument; in MainThreadRequest()
408 Pair<String, ResultReceiver> ussdObject = (Pair) request.argument; in handleMessage()
440 getPhoneFromRequest(request).handlePinMmi((String) request.argument) in handleMessage()
449 iccArgument = (IccAPDUArgument) request.argument; in handleMessage()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAppPickerFragment.java124 final Bundle argument = new Bundle(); in init() local
125 argument.putString(EXTRA_KEY, key); in init()
126 argument.putCharSequence(EXTRA_MESSAGE, message); in init()
127 setArguments(argument); in init()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAppPickerFragment.java124 final Bundle argument = new Bundle(); in init() local
125 argument.putString(EXTRA_KEY, key); in init()
126 argument.putCharSequence(EXTRA_MESSAGE, message); in init()
127 setArguments(argument); in init()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java67 ArgumentCaptor<ProfileService> argument = ArgumentCaptor.forClass(ProfileService.class); in setAllProfilesState() local
70 argument.capture(), eq(state)); in setAllProfilesState()
71 List<ProfileService> argumentProfiles = argument.getAllValues(); in setAllProfilesState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkPreferenceControllerTest.java192 ArgumentCaptor<Intent> argument = ArgumentCaptor.forClass(Intent.class); in handlePreferenceTreeClick_mobileFeatureDisabled_sendIntent() local
196 verify(mContext).startActivity(argument.capture()); in handlePreferenceTreeClick_mobileFeatureDisabled_sendIntent()
197 final ComponentName componentName = argument.getValue().getComponent(); in handlePreferenceTreeClick_mobileFeatureDisabled_sendIntent()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java157 final Bundle argument = new Bundle(); in newInstance() local
158 argument.putString(EXTRA_KEY, key); in newInstance()
159 fragment.setArguments(argument); in newInstance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java159 final Bundle argument = new Bundle(); in newInstance() local
160 argument.putString(EXTRA_KEY, key); in newInstance()
161 fragment.setArguments(argument); in newInstance()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java118 ArgumentCaptor<IntentFilter> argument = ArgumentCaptor.forClass(IntentFilter.class); in testRegistersToReceiveEvents() local
120 verify(mMockContext).registerReceiver(eq(mCarUserService), argument.capture()); in testRegistersToReceiveEvents()
121 IntentFilter intentFilter = argument.getValue(); in testRegistersToReceiveEvents()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java217 ArgumentCaptor<Location> argument = ArgumentCaptor.forClass(Location.class); in testLoadsLocationWithHeadlessSystemUser() local
218 when(mMockLocationManagerProxy.injectLocation(argument.capture())).thenReturn(true); in testLoadsLocationWithHeadlessSystemUser()
223 Location location = argument.getValue(); in testLoadsLocationWithHeadlessSystemUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java434 final ArgumentCaptor<UserHandle> argument = ArgumentCaptor.forClass(UserHandle.class); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow() local
436 .startActivityForResultAsUser(any(Intent.class), anyInt(), argument.capture()); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow()
437 assertThat(argument.getValue().getIdentifier()).isEqualTo(userId); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined10 # Each word has a `word' entry and at least a `f' argument denoting its
Dlv_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Den_US_wordlist.combined.gz
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile1299 # gcc). The argument of the tag is a list of macros of the form: name
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1299 # gcc). The argument of the tag is a list of macros of the form: name
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in1989 # gcc). The argument of the tag is a list of macros of the form: name or
/packages/apps/TV/res/raw/
Dthird_party_licenses3036 the facility, other than as an argument passed when the facility

12