Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 38) 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/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java211 return argument -> argument.length == 1 && argument[0].equals(expectedArg); in stringArrayMatcher()
216 return argument -> { in eventMatcher()
217 if (argument.containsKey(Events.EVENT_COLOR) && in eventMatcher()
218 !argument.getAsInteger(Events.EVENT_COLOR).equals( in eventMatcher()
223 return argument.getAsString(Events.CALENDAR_ID).equals(calendarId) && in eventMatcher()
224 argument.getAsString(Events.TITLE).equals(event.getTitle()) && in eventMatcher()
225 argument.getAsString(Events.DESCRIPTION).equals(event.getDescription()) && in eventMatcher()
226 argument.getAsString(Events._SYNC_ID).equals( in eventMatcher()
228 argument.getAsLong(Events.DTSTART).equals( in eventMatcher()
230 argument.getAsLong(Events.DTEND).equals( in eventMatcher()
[all …]
DCalendarCleanerTest.java171 return argument -> argument.length == 1 && argument[0].equals(expectedArg); in createStringArrayMatcher()
176 return argument -> selection.equals(argument.get(ContentResolver.QUERY_ARG_SQL_SELECTION)) in selectionBundleMatcher()
178 argument.getStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS)); in selectionBundleMatcher()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragmentTest.java115 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters() local
116 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
119 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
136 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters() local
137 verify(mMockSyncListener, times(1)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
140 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
157 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters() local
158 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
161 List<String> values = argument.getAllValues(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
180 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.java370 public Object argument; field in PhoneInterfaceManager.MainThreadRequest
382 public MainThreadRequest(Object argument) { in MainThreadRequest() argument
383 this.argument = argument; in MainThreadRequest()
386 MainThreadRequest(Object argument, Phone phone, WorkSource workSource) { in MainThreadRequest() argument
387 this.argument = argument; in MainThreadRequest()
394 MainThreadRequest(Object argument, Integer subId, WorkSource workSource) { in MainThreadRequest() argument
395 this.argument = argument; in MainThreadRequest()
442 Pair<String, ResultReceiver> ussdObject = (Pair) request.argument; in handleMessage()
474 getPhoneFromRequest(request).handlePinMmi((String) request.argument) in handleMessage()
483 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.java68 ArgumentCaptor<ProfileService> argument = ArgumentCaptor.forClass(ProfileService.class); in setAllProfilesState() local
71 argument.capture(), eq(state)); in setAllProfilesState()
72 List<ProfileService> argumentProfiles = argument.getAllValues(); in setAllProfilesState()
/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/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/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.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
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, ...
/packages/modules/DnsResolver/
Dstats.proto237 SYS_EINVAL = 22; // Invalid argument
/packages/modules/Cronet/api/
Dlint-baseline.txt51 Listeners should always be at end of argument list (method `newUrlRequestBuilder`)
/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