Home
last modified time | relevance | path

Searched refs:getArguments (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java75 throw new IllegalStateException((String) invocation.getArguments()[1]); in makeSpyLogThrowExceptionForWtf()
82 throw (Throwable) invocation.getArguments()[2]; in makeSpyLogThrowExceptionForWtf()
96 "Mock logging WTF: " + invocation.getArguments()[0], in makeSpyLogDoLogErrorForWtf()
97 (String) invocation.getArguments()[1]); in makeSpyLogDoLogErrorForWtf()
106 "Mock logging WTF: " + invocation.getArguments()[0], in makeSpyLogDoLogErrorForWtf()
107 (String) invocation.getArguments()[1], in makeSpyLogDoLogErrorForWtf()
108 (Throwable) invocation.getArguments()[2]); in makeSpyLogDoLogErrorForWtf()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING); in onCreateDialog()
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON); in onCreateDialog()
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC); in onCreateDialog()
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST); in onCreateDialog()
109 getArguments().getParcelable(ARG_OPTIONS), in onClick()
110 getArguments().getBoolean(ARG_ALWAYS_ON), in onClick()
111 getArguments().getBoolean(ARG_LOCKDOWN_DST)); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java269 Bundle args = getArguments(); in onCreate()
275 mTitle = getArguments().getString(TITLE_KEY); in onCreate()
276 mMessage = getArguments().getString(MESSAGE_KEY); in onCreate()
277 mPosLabel = getArguments().getString(POSITIVE_KEY); in onCreate()
278 mNegLabel = getArguments().getString(NEGATIVE_KEY); in onCreate()
279 mNeuLabel = getArguments().getString(NEUTRAL_KEY); in onCreate()
286 outState.putBundle(ALL_ARGUMENTS_KEY, getArguments()); in onSaveInstanceState()
314 mDismissListener.onDismiss(getArguments().getBundle(ARGUMENTS_KEY), positiveResult); in onDialogClosed()
323 mConfirmListener.onConfirm(getArguments().getBundle(ARGUMENTS_KEY)); in onClick()
327 mRejectListener.onReject(getArguments().getBundle(ARGUMENTS_KEY)); in onClick()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothActionFragment.java95 Bundle args = getArguments(); in onCreateActions()
106 Bundle args = getArguments(); in onGuidedActionClicked()
127 Bundle args = getArguments(); in onViewCreated()
146 Bundle args = getArguments(); in onGuidedActionEditedAndProceed()
166 Bundle args = getArguments(); in getTitleImpl()
175 Bundle args = getArguments(); in getSummaryImpl()
180 Bundle args = getArguments(); in getDrawableImpl()
187 Bundle args = getArguments(); in getChoices()
DBluetoothAccessoryFragment.java120 Bundle bundle = getArguments(); in onCreate()
338 getArguments().getString(ARG_ACCESSORY_NAME), in onCreateGuidance()
339 getContext().getDrawable(getArguments().getInt(ARG_ACCESSORY_ICON_ID, in onCreateGuidance()
349 .title(getArguments().getString(ARG_ACCESSORY_NAME)) in onCreateActions()
357 getArguments().getString(ARG_ACCESSORY_NAME)) in onGuidedActionEditedAndProceed()
429 mDevice = getArguments().getParcelable(ARG_DEVICE); in onCreate()
464 getArguments().getString(ARG_ACCESSORY_NAME), in onCreateGuidance()
465 getContext().getDrawable(getArguments().getInt(ARG_ACCESSORY_ICON_ID, in onCreateGuidance()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityServiceFragment.java75 screen.setTitle(getArguments().getString(ARG_LABEL)); in onCreatePreferences()
84 final String activityName = getArguments().getString(ARG_SETTINGS_ACTIVITY_NAME); in onCreatePreferences()
86 final String packageName = getArguments().getString(ARG_PACKAGE_NAME); in onCreatePreferences()
111 final String packageName = getArguments().getString(ARG_PACKAGE_NAME); in updateEnablePref()
112 final String serviceName = getArguments().getString(ARG_SERVICE_NAME); in updateEnablePref()
120 getArguments().getString(ARG_LABEL), !enabled); in updateEnablePref()
161 String serviceName = getArguments().getString(ARG_SERVICE_NAME); in getPageId()
DAccessibilityServiceConfirmationFragment.java87 final CharSequence label = getArguments().getCharSequence(ARG_LABEL); in onCreateGuidance()
96 if (getArguments().getBoolean(ARG_ENABLING)) { in onCreateGuidance()
130 final ComponentName component = getArguments().getParcelable(ARG_COMPONENT); in onGuidedActionClicked()
132 final boolean enabling = getArguments().getBoolean(ARG_ENABLING); in onGuidedActionClicked()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DInfoFragment.java53 Icon image = getArguments().getParcelable(SlicesConstants.EXTRA_PREFERENCE_INFO_IMAGE); in updateInfo()
54 Icon titleIcon = getArguments().getParcelable( in updateInfo()
56 String title = getArguments().getString(SlicesConstants.EXTRA_PREFERENCE_INFO_TEXT); in updateInfo()
57 String summary = getArguments().getString(SlicesConstants.EXTRA_PREFERENCE_INFO_SUMMARY); in updateInfo()
58 boolean hasStatus = getArguments().getBoolean(EXTRA_INFO_HAS_STATUS); in updateInfo()
59 boolean status = getArguments().getBoolean(SlicesConstants.EXTRA_PREFERENCE_INFO_STATUS); in updateInfo()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/
DSpeedBumpDialogFragment.java84 String title = getArguments().getString(ARG_TITLE); in onCreateDialog()
85 String message = getArguments().getString(ARG_MESSAGE); in onCreateDialog()
86 String positiveButtonText = getArguments().getString(ARG_POS_BTN_TEXT); in onCreateDialog()
87 String negativeButtonTextId = getArguments().getString(ARG_NEG_BTN_TEXT); in onCreateDialog()
90 (OnClickListener) getArguments().getSerializable(ARG_POS_BTN_LISTENER); in onCreateDialog()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java61 String title = getArguments().getString(TITLE); in onCreate()
62 mTrackerLabel = getArguments().getString(TRACKER_LABEL); in onCreate()
74 String title = getArguments().getString(TITLE); in onCreateView()
79 String url = getArguments().getString(URL); in onCreateView()
/packages/apps/Dialer/java/com/android/incallui/
DRttRequestDialogFragment.java75 CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onCreateDialog()
99 DialerCall call = CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onPositiveButtonClick()
100 call.respondToRttRequest(true, getArguments().getInt(ARG_RTT_REQUEST_ID)); in onPositiveButtonClick()
107 DialerCall call = CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onNegativeButtonClick()
108 call.respondToRttRequest(false, getArguments().getInt(ARG_RTT_REQUEST_ID)); in onNegativeButtonClick()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java69 getArguments() == null ? null : getArguments().getString(EXTRA_REGION_ID); in onCreate()
85 intent.putExtra(EXTRA_RESULT_REGION_ID, getArguments().getString(EXTRA_REGION_ID)); in prepareResultData()
91 if (getArguments() == null) { in getAllTimeZoneInfos()
96 String regionId = getArguments().getString(EXTRA_REGION_ID); in getAllTimeZoneInfos()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLineupFragment.java53 lineups = getArguments().getStringArrayList(KEY_LINEUP_NAMES); in onCreate()
62 Bundle arguments = this.args != null ? this.args : getArguments(); in onCreateContentFragment()
142 lineups = getArguments().getStringArrayList(KEY_LINEUP_NAMES); in onCreate()
143 matchNumbers = getArguments().getIntegerArrayList(KEY_MATCH_NUMBERS); in onCreate()
144 defaultLineup = getArguments().getInt(KEY_DEFAULT_LINEUP); in onCreate()
145 this.lineupNotFound = getArguments().getBoolean(KEY_LINEUP_NOT_FOUND); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java68 targetFragment = getArguments().getString(PARAM_TARGET_FRAGMENT); in onCreate()
70 arguments.putAll(getArguments().getBundle(PARAM_ARGUMENTS)); in onCreate()
71 phoneAccountHandleKey = getArguments().getString(PARAM_PHONE_ACCOUNT_HANDLE_KEY); in onCreate()
72 titleRes = getArguments().getInt(PARAM_TARGET_TITLE_RES, 0); in onCreate()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DNumberingPreferencesFragment.java40 String option = getArguments().getString( in initTitle()
51 String selectedLanguage = getArguments().getString( in initTitle()
81 new NumberingSystemItemController(context, getArguments()); in createPreferenceControllers()
103 String option = getArguments().getString( in getMetricsCategory()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionsFragment.java115 mPackageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
116 mUser = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
117 mIsSystemPermsScreen = getArguments().getBoolean(IS_SYSTEM_PERMS_SCREEN, true); in onCreate()
118 UserHandle userHandle = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
133 getArguments().getLong(EXTRA_SESSION_ID, 0)); in onCreate()
184 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in showAllPermissions()
185 getArguments().getParcelable(Intent.EXTRA_USER), in showAllPermissions()
186 getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID)); in showAllPermissions()
315 getArguments().getLong(EXTRA_SESSION_ID), false); in setAdditionalPermissionsPreference()
358 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in logAppPermissionsFragmentView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionsFragment.java116 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
117 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
147 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onResume()
148 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in onResume()
174 getArguments().getString(Intent.EXTRA_PACKAGE_NAME)); in onOptionsItemSelected()
190 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in onViewCreated()
191 getArguments().getParcelable(Intent.EXTRA_USER), in onViewCreated()
276 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in loadPreferences()
277 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in loadPreferences()
501 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in onViewCreated()
[all …]
DAppPermissionFragment.java148 mPackageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
149 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate()
151 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate()
172 mUser = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
181 mSessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate()
433 Bundle args = getArguments().deepCopy(); in showConfirmDialog()
466 boolean isGrantFileAccess = getArguments().getSerializable(CHANGE_REQUEST) in onCreateDialog()
473 .setMessage(getArguments().getInt(MSG)) in onCreateDialog()
484 getArguments().getSerializable(CHANGE_REQUEST), in onCreateDialog()
485 getArguments().getInt(BUTTON), in onCreateDialog()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOperationDialogFragment.java89 getArguments().getInt(FileOperationService.EXTRA_DIALOG_TYPE); in onCreateDialog()
91 getArguments().getInt(FileOperationService.EXTRA_OPERATION_TYPE); in onCreateDialog()
92 final ArrayList<Uri> uriList = getArguments().getParcelableArrayList( in onCreateDialog()
94 final ArrayList<DocumentInfo> docList = getArguments().getParcelableArrayList( in onCreateDialog()
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/
DThreadNetworkControllerTest.java103 return (IStateCallback) invocation.getArguments()[0]; in getStateCallback()
107 return (IOperationReceiver) invocation.getArguments()[0]; in getOperationReceiver()
111 return (IOperationReceiver) invocation.getArguments()[1]; in getJoinReceiver()
115 return (IOperationReceiver) invocation.getArguments()[1]; in getScheduleMigrationReceiver()
120 return (IOperationReceiver) invocation.getArguments()[1]; in getSetTestNetworkAsUpstreamReceiver()
124 return (IOperationReceiver) invocation.getArguments()[1]; in getSetChannelMaxPowersReceiver()
129 return (IActiveOperationalDatasetReceiver) invocation.getArguments()[1]; in getCreateDatasetReceiver()
134 return (IOperationalDatasetCallback) invocation.getArguments()[0]; in getOperationalDatasetCallback()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DAlertDialogFragment.java54 .setTitle(getArguments().getString(ARG_TITLE)) in onCreateDialog()
56 if (!TextUtils.isEmpty(getArguments().getString(ARG_MSG))) { in onCreateDialog()
57 builder.setMessage(getArguments().getString(ARG_MSG)); in onCreateDialog()
DWarningDialogFragment.java79 String title = getArguments().getString(ARG_TITLE); in onCreateDialog()
80 String message = getArguments().getString(ARG_MSG); in onCreateDialog()
81 String leftButton = getArguments().getString(ARG_POS_BUTTON_STRING); in onCreateDialog()
82 String rightButton = getArguments().getString(ARG_NEG_BUTTON_STRING); in onCreateDialog()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java112 final boolean isBlocked = getArguments().containsKey(ARG_BLOCK_ID); in onCreateDialog()
114 number = getArguments().getString(ARG_NUMBER); in onCreateDialog()
115 displayNumber = getArguments().getString(ARG_DISPLAY_NUMBER); in onCreateDialog()
116 countryIso = getArguments().getString(ARG_COUNTRY_ISO); in onCreateDialog()
126 parentView = getActivity().findViewById(getArguments().getInt(ARG_PARENT_VIEW_ID)); in onCreateDialog()
308 getArguments().getInt(ARG_BLOCK_ID)); in unblockNumber()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DBuyerInputGeneratorTest.java176 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
178 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
227 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
229 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
382 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCA()
384 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCA()
462 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCAPayloadMetricsEnabled()
464 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCAPayloadMetricsEnabled()
550 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithRenderIdIfFlagFalse()
552 .thenAnswer(i -> i.getArguments()[0]); in testBuyerInputGenerator_returnsBuyerInputsWithRenderIdIfFlagFalse()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardLayoutSelectionFragment.java74 mInputDeviceIdentifier = getArguments().getParcelable(ARG_INPUT_DEVICE_IDENTIFIER); in onCreatePreferences()
75 String mDeviceName = getArguments().getString(ARG_DEVICE_NAME); in onCreatePreferences()
76 mDeviceId = getArguments().getInt(ARG_DEVICE_ID); in onCreatePreferences()
77 String currentLayoutIdentifier = getArguments().getString(ARG_LAYOUT_IDENTIFIER); in onCreatePreferences()

12345678910>>...24